This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Unable to boot with kernel 2.6.37

Other Parts Discussed in Thread: AM3505

Hi

We have a custom design of AM3505 on linux kernel 2.6.32.

Now we are migrating to linux kernel 2.6.37. I am able to generate uImage for this new kernel + old driver file.

But while booting with is uImage I am getting following error.

VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00             512 mtdblock0  (driver?)
1f01            1792 mtdblock1  (driver?)
1f02             256 mtdblock2  (driver?)
1f03            5120 mtdblock3  (driver?)
1f04         1040896 mtdblock4  (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[<c008000c>] (unwind_backtrace+0x0/0xec) from [<c037df14>] (panic+0x54/0x170)
[<c037df14>] (panic+0x54/0x170) from [<c0009140>] (mount_block_root+0x1d0/0x210)
[<c0009140>] (mount_block_root+0x1d0/0x210) from [<c0009220>] (mount_root+0xa0/0xbc)
[<c0009220>] (mount_root+0xa0/0xbc) from [<c00093a0>] (prepare_namespace+0x164/0x1bc)
[<c00093a0>] (prepare_namespace+0x164/0x1bc) from [<c0008708>] (kernel_init+0x10c/0x14c)
[<c0008708>] (kernel_init+0x10c/0x14c) from [<c007ba78>] (kernel_thread_exit+0x0/0x8)

Can you please help me on this.

  • Vaibhav,

    Looks like you are trying to do NFS mount and its failing. Can you confirm the following.

    1. You have a proper network interface.

    2. A working Ethernet driver  and the interface has received an IP before mounting the kernel.