Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

时间:2023-01-13 16:52:51

[    1.870000] clk: Not disabling unused clocks
[    1.895000] Waiting 5 sec before mounting root device...
[  101.960000] VFS: Unable to mount root fs via NFS, trying floppy.
[  101.965000] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
[  101.970000] Please append a correct "root=" boot option; here are the available partitions:
[  101.980000] b300         3817472 mmcblk0  driver: mmcblk
[  101.985000]   b301         2114343 mmcblk0p1 00000000-01
[  101.990000]   b302          309507 mmcblk0p2 00000000-02
[  101.995000]   b303         1051578 mmcblk0p3 00000000-03
[  102.000000]   b304          309507 mmcblk0p4 00000000-04
[  102.005000] b318             512 mmcblk0rpmb  (driver?)
[  102.010000] b310            4096 mmcblk0boot1  (driver?)
[  102.015000] b308            4096 mmcblk0boot0  (driver?)
[  102.020000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[  102.020000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.14.25 #6
[  102.020000] [<c0013e50>] (unwind_backtrace) from [<c0011268>] (show_stack+0x10/0x14)
[  102.020000] [<c0011268>] (show_stack) from [<c03f9630>] (dump_stack+0x64/0xb4)
[  102.020000] [<c03f9630>] (dump_stack) from [<c03f6ac0>] (panic+0x8c/0x1dc)
[  102.020000] [<c03f6ac0>] (panic) from [<c055b038>] (mount_block_root+0x188/0x234)
[  102.020000] [<c055b038>] (mount_block_root) from [<c055b2b8>] (mount_root+0xe8/0x108)
[  102.020000] [<c055b2b8>] (mount_root) from [<c055b438>] (prepare_namespace+0x160/0x1c4)
[  102.020000] [<c055b438>] (prepare_namespace) from [<c055acd4>] (kernel_init_freeable+0x180/0x1c8)
[  102.020000] [<c055acd4>] (kernel_init_freeable) from [<c03f5db0>] (kernel_init+0x8/0xe4)
[  102.020000] [<c03f5db0>] (kernel_init) from [<c000e4b8>] (ret_from_fork+0x14/0x3c)
[  102.105000] CPU1: stopping
[  102.105000] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.14.25 #6
[  102.105000] [<c0013e50>] (unwind_backtrace) from [<c0011268>] (show_stack+0x10/0x14)
[  102.105000] [<c0011268>] (show_stack) from [<c03f9630>] (dump_stack+0x64/0xb4)
[  102.105000] [<c03f9630>] (dump_stack) from [<c00131fc>] (handle_IPI+0x154/0x180)
[  102.105000] [<c00131fc>] (handle_IPI) from [<c0008568>] (gic_handle_irq+0x60/0x68)
[  102.105000] [<c0008568>] (gic_handle_irq) from [<c0011d80>] (__irq_svc+0x40/0x70)
[  102.105000] Exception stack(0xee8c9fa0 to 0xee8c9fe8)
[  102.105000] 9fa0: 00000001 00000000 000014b6 00000000 ee8c8000 c059a494 c04014a8 c05ce959
[  102.105000] 9fc0: c05ce959 413fc090 00000001 00000000 f8500420 ee8c9fe8 c000f00c c000f010
[  102.105000] 9fe0: 60000113 ffffffff
[  102.105000] [<c0011d80>] (__irq_svc) from [<c000f010>] (arch_cpu_idle+0x28/0x30)
[  102.105000] [<c000f010>] (arch_cpu_idle) from [<c0058d74>] (cpu_startup_entry+0x9c/0x138)
[  102.105000] [<c0058d74>] (cpu_startup_entry) from [<40008604>] (0x40008604)
[  102.105000] CPU3: stopping
[  102.105000] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 3.14.25 #6
[  102.105000] [<c0013e50>] (unwind_backtrace) from [<c0011268>] (show_stack+0x10/0x14)
[  102.105000] [<c0011268>] (show_stack) from [<c03f9630>] (dump_stack+0x64/0xb4)
[  102.105000] [<c03f9630>] (dump_stack) from [<c00131fc>] (handle_IPI+0x154/0x180)
[  102.105000] [<c00131fc>] (handle_IPI) from [<c0008568>] (gic_handle_irq+0x60/0x68)
[  102.105000] [<c0008568>] (gic_handle_irq) from [<c0011d80>] (__irq_svc+0x40/0x70)
[  102.105000] Exception stack(0xee8cdfa0 to 0xee8cdfe8)
[  102.105000] dfa0: 00000003 00000000 000008d0 00000000 ee8cc000 c059a494 c04014a8 c05ce959
[  102.105000] dfc0: c05ce959 413fc090 00000001 00000000 c05a1140 ee8cdfe8 c000f00c c000f010
[  102.105000] dfe0: 60000113 ffffffff
[  102.105000] [<c0011d80>] (__irq_svc) from [<c000f010>] (arch_cpu_idle+0x28/0x30)
[  102.105000] [<c000f010>] (arch_cpu_idle) from [<c0058d74>] (cpu_startup_entry+0x9c/0x138)
[  102.105000] [<c0058d74>] (cpu_startup_entry) from [<40008604>] (0x40008604)
[  102.105000] CPU2: stopping
[  102.105000] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 3.14.25 #6
[  102.105000] [<c0013e50>] (unwind_backtrace) from [<c0011268>] (show_stack+0x10/0x14)
[  102.105000] [<c0011268>] (show_stack) from [<c03f9630>] (dump_stack+0x64/0xb4)
[  102.105000] [<c03f9630>] (dump_stack) from [<c00131fc>] (handle_IPI+0x154/0x180)
[  102.105000] [<c00131fc>] (handle_IPI) from [<c0008568>] (gic_handle_irq+0x60/0x68)
[  102.105000] [<c0008568>] (gic_handle_irq) from [<c0011d80>] (__irq_svc+0x40/0x70)
[  102.105000] Exception stack(0xee8cbfa0 to 0xee8cbfe8)
[  102.105000] bfa0: 00000002 00000000 000014c6 00000000 ee8ca000 c059a494 c04014a8 c05ce959
[  102.105000] bfc0: c05ce959 413fc090 00000001 00000000 f8500520 ee8cbfe8 c000f00c c000f010
[  102.105000] bfe0: 60000113 ffffffff
[  102.105000] [<c0011d80>] (__irq_svc) from [<c000f010>] (arch_cpu_idle+0x28/0x30)
[  102.105000] [<c000f010>] (arch_cpu_idle) from [<c0058d74>] (cpu_startup_entry+0x9c/0x138)
[  102.105000] [<c0058d74>] (cpu_startup_entry) from [<40008604>] (0x40008604)

这个,exynos4412 开发板  编译好的内核,在12.04的ubuntu上  可以通过nfs挂载根文件系统   同样的uboot文件 内核 设备树文件,但是在18.10的ubuntu上就不行。。网上找了一堆解决办法,也搞不定,有没有人遇到过这种情况,请大神帮忙解决一下啊

1 个解决方案

#1


该回复于2018-05-19 13:34:50被管理员删除

#1


该回复于2018-05-19 13:34:50被管理员删除