[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Kernel Panic when mounting VFS /dev/root



Hello,

I am experiencing a problem when booting on my kernel : it cannot mount
the /dev/root filesystem. Since I only have RAM on my custom board, the
filesystem is in that RAM and I use the MTD driver to read it.

I found an interesting article about that problem :
http://www.ucdot.org/article.pl?sid=03/01/11/1049210&mode=thread

I have added his code to find the error, but to be honest, I don't get
what's wrong here and why the fs isn't mounted, because I don't
understand very well the end of his message. Anyway, here is my kernel
bootlog (with his recommended added code) :

> ROPES bootloader Menu
> ---------------------
> 
> 1.    Test the SDRAM
> 2.    Download Kernel from serial port
> 3.    Launch the Kernel from memory
> 
> 
> Make your choice>3
> Linux version 2.4.29-uc0 (valentin@centrino) (gcc version 2.95.3-4 Xilinx EDK 6.3 Build EDK_Gmm.12.2) #16 mer jun 15 14:25:21 CEST 2005
> On node 0 totalpages: 8192
> zone(0): 8192 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> CPU: MICROBLAZE
> Console: xmbserial on UARTLite
> Kernel command line:
> Calibrating delay loop... 33.07 BogoMIPS
> Memory: 32MB = 32MB total
> Memory: 31664KB available (549K code, 193K data, 32K init)
> Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
> Inode cache hash table entries: 2048 (order: 2, 16384 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: 8192 (order: 3, 32768 bytes)
> POSIX conformance testing by UNIFIX
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Microblaze UARTlite serial driver version 1.00
> ttyS0 at 0xffff2000 (irq = 1) is a Microblaze UARTlite
> Starting kswapd
> xgpio #0 at 0xFFFF5000 mapped to 0xFFFF5000
> Xilinx GPIO registered
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> uclinux[mtd]: RAM probe address=0x800b9afc size=0xbe88c000
> uclinux[mtd]: root filesystem index=0
> *******
> VFS: test name = </dev/root>
> VFS: fs_name = <ext2>
> VFS: root name <1f:00>
> *******
> VFS: tried fs_name = <ext2> err= -22
> Kernel panic: VFS: Unable to mount root fs on 1f:00

Has anyone already experienced that problem and has a way to solve it ?
Should I add a kernel command line ?

Thx a lot

Valentin
___________________________
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/