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

[microblaze-uclinux] Re: No filesystem could mount root



Thanks a lot! That was it. I was using image.elf and it seems that it
did not contain the romfs. Now everything is working fine!

Bertrand

On Dec 30, 2007 4:40 AM, Michal Simek <Monstr@xxxxxxxxx> wrote:
> Hi,
>
> look at this part of log.
>
> uclinux[mtd]: RAM probe address=0x8c1b6000 size=0x0
> Creating 1 MTD partitions on "RAM":
> 0x00000000-0x00000000 : "ROMfs"
> mtd: partition "ROMfs" is out of reach -- disabled
> mtd: Giving out device 0 to ROMfs
> uclinux[mtd]: set ROMfs to be root filesystem index=0
>
> This seem to be that you start only linux kernel without FS.  You have to use image.bin instead of linux.bin.
> Check init part drivers/mtd/maps/uclinux.c and you can add some printk debugs message.
>
> Cheers,
> Michal Simek
>
>
>
>
> (I think this mail did not reach the list last time I sent it, I'm
> resending it, sorry if you already received it once)
>
> Hi,
>
> I'm trying to use petalinux on an Avnet XC5VL50 board and edk 9.2. I'm
> skipping the use of FS-boot and U-boot for now since I have some
> problems making them work right. I'm thus booting linux by downloading
> the kernel image into DDR SDRAM using XMD.
>
> The kernel is booting, but eventually it fails on a kernel panic. As
> far as I can interpret the output, it seems that the kernel cannot
> find the romfs. Unfortunately, I have no idea why it is so. I've
> double checked the kernel options, and can't find any clue in order to
> solve this. Maybe some of you can help me to identify the problem?
>
> I included the kernel boot output below.
>
> Regards,
>
> ----------
>
> Linux version 2.6.20-uc0 (rousseau@toaster) (gcc version 3.4.1 ( PetaLinu7
> setup_cpuinfo: initialising
> setup_cpuinfo: No PVR support in CPU.  Using static compile-time info
> set_cpuinfo_static: Using static CPU info.
> setup_memory: max_mapnr: 0x8ffff
> setup_memory: min_low_pfn: 0x8c000
> setup_memory: max_low_pfn: 0x4000
> On node 0 totalpages: 16384
>  DMA zone: 128 pages used for memmap
>  DMA zone: 0 pages reserved
>  DMA zone: 16256 pages, LIFO batch:3
>  Normal zone: 0 pages used for memmap
> Built 1 zonelists.  Total pages: 16256
> Kernel command line: �  ��  ��
> OPB INTC #0 at 0x81800000
> PID hash table entries: 256 (order: 8, 1024 bytes)
> Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
> Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
> Memory: 63072k/65536k available
> Calibrating delay loop... 49.45 BogoMIPS (lpj=247296)
> Mount-cache hash table entries: 512
> NET: Registered protocol family 16
> NET: Registered protocol family 2
> IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
> TCP established hash table entries: 2048 (order: 1, 8192 bytes)
> TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
> TCP: Hash tables configured (established 2048 bind 1024)
> TCP reno registered
> io scheduler noop registered
> io scheduler anticipatory registered
> io scheduler deadline registered
> io scheduler cfq registered (default)
> xgpio0 #0 at 0x81420000 mapped to 0x81420000 device: 10,185 not using IRQ
> xgpio1 #1 at 0x81440000 mapped to 0x81440000 device: 10,186 not using IRQ
> xgpio2 #2 at 0x81400000 mapped to 0x81400000 device: 10,187 not using IRQ
> uartlite.0: ttyS0 at MMIO 0x84000000 (irq = 0) is a uartlite
> RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
> eth0: using fifo mode.
> eth0: No PHY detected.  Assuming a PHY at address 0.
> eth0: Xilinx EMACLite #0 at 0x81000000 mapped to 0x81000000, irq=2
> uclinux[mtd]: RAM probe address=0x8c1b6000 size=0x0
> Creating 1 MTD partitions on "RAM":
> 0x00000000-0x00000000 : "ROMfs"
> mtd: partition "ROMfs" is out of reach -- disabled
> mtd: Giving out device 0 to ROMfs
> uclinux[mtd]: set ROMfs to be root filesystem index=0
> Generic platform RAM MTD, (c) 2004 Simtec Electronics
> i8042.c: i8042 controller self test timeout.
> mice: PS/2 mouse device common for all mice
> TCP cubic registered
> NET: Registered protocol family 1
> mtdblock_open
> ok
> end_request: I/O error, dev mtdblock0, sector 2
> EXT2-fs: unable to read superblock
> mtdblock_release
> ok
> mtdblock_open
> ok
> mtdblock_release
> ok
> mtdblock_open
> ok
> end_request: I/O error, dev mtdblock0, sector 0
> romfs: unable to read superblock
> mtdblock_release
> ok
> No filesystem could mount root, tried:  ext2 cramfs romfs
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block)
>  <0>Rebooting in 120 seconds..Machine restart...
>
> Stack:
>  8ffe3e84 00000000 00000000 00018d1c 00000000 8c01b64c 8c1790d0 0000000b
>  0000000b 00000000 ffffcbcc 00000bcc 8c009adc 8c0e4bfc 000000a0 000000a0
>  000000a0 000000a0 00000001 8c19ea88 8c179f38 00000078 8c1b7518 00000000
> Call Trace: [<8c01b64c>] [<8c009adc>] [<8c0e4bfc>] [<8c19ea88>] [<8c19ee6
>
> --
> Bertrand Rousseau
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>
>
>



-- 
Bertrand Rousseau
Place communale 1, 1450 Chastre, Belgium
e-mail : bertrand.rousseau@xxxxxxxxx
tel : +32 485 96 69 86

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/