[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] More details of my problem - uClinux freezes too
At Sun, 29 Feb 2004 22:36:27 +0100,
Ivan wrote:
[...]
> The execution stops in function kmem_cache_estimate(), in
> uClinux-2.4.x/mmnommu/slab.c. I think that the line "zone(0): 5Bc pages"
> would be "zone(0): 512 pages", because 2 MB/4906 = 512 (in mbvanilla
> case, this value is 16 MB/4096 = 4096) ¿don't it?
yes.
I have changed ERAM_SIZE to 0x00200000 on my board to see whether
microblaze linux works with 2MiB of ram or not. the boot log i got is
some like this:
Linux version 2.4.24-uc0 (yashi@wat) (gcc version 2.95.3-4 Xilinx EDK 6.1 Build EDK_G.11) #197 Mon Mar 1 08:50:17 JST 2004
On node 0 totalpages: 512
zone(0): 512 pages.
zone(1): 0 pages.
zone(2): 0 pages.
CPU: MICROBLAZE
Kernel command line:
Console: xmbserial on UARTLite
Calibrating delay loop... 14.13 BogoMIPS
Memory: 976k/2048k available (486k code, 24k reserved, 33k data, 31k init)
Dentry cache hash table entries: 512 (order: 0, 4096 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 1024 (order: 0, 4096 bytes)
:
:
> i try to execute the image.bin in demo package, but the output is
> similar to the previous one:
>
> Linux version 2.4.21-uc0 (jwilliam@g435-9029) (gcc version 2.95.3-4
> Xilinx EDK3On node 0 totalpages: 40 zone(0): 0 pages.
> zone(1): 40 zone(2): 0 pages.
> CPU: MICROBLAZE
> Console: xmbserial on UARTLite
> Kernel command line:
>
> In default kernel settings the cache is not used, so the problem can not
> be the cache (i don't use it in the platform configuration too) ¿?
well, kmem_cache_estimate() is not for icache/dcache. it's for slab
cache.
can you put printk in kmem_cache_estimate() to see exactly where the
kernel stoped?
regards,
--
yashi
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/