0%

Linux 内核 4.9 无法挂载文件系统

Linux 内核 4.9 启动时发现无法挂载文件系统,检查 Documentation/Changes 中的 Current Minimal Requirements

信息

[    1.351872] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,4)
[    1.360234] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.9.y #1
[    1.366069] Hardware name: nationalchip sirius
[    1.370557] [<c010f2c4>] (unwind_backtrace) from [<c010b868>] (show_stack+0x10/0x14)
[    1.378319] [<c010b868>] (show_stack) from [<c0393da4>] (dump_stack+0x94/0xa8)
[    1.385558] [<c0393da4>] (dump_stack) from [<c01c796c>] (panic+0xdc/0x254)
[    1.392452] [<c01c796c>] (panic) from [<c0801254>] (mount_block_root+0x248/0x294)
[    1.399951] [<c0801254>] (mount_block_root) from [<c08014a8>] (mount_root+0x11c/0x124)
[    1.407881] [<c08014a8>] (mount_root) from [<c0801634>] (prepare_namespace+0x184/0x1c8)
[    1.415898] [<c0801634>] (prepare_namespace) from [<c0800e68>] (kernel_init_freeable+0x268/0x278)
[    1.424782] [<c0800e68>] (kernel_init_freeable) from [<c05cce60>] (kernel_init+0x8/0x114)
[    1.432974] [<c05cce60>] (kernel_init) from [<c0107678>] (ret_from_fork+0x14/0x3c)
[    1.440556] CPU0: stopping
[    1.443276] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.y #1

Minimal Requirements

====================== ===============  ========================================
        Program        Minimal version       Command to check the version
====================== ===============  ========================================
GNU C                  3.2              gcc --version
GNU make               3.80             make --version
binutils               2.12             ld -v
util-linux             2.10o            fdformat --version
module-init-tools      0.9.10           depmod -V
e2fsprogs              1.41.4           e2fsck -V
jfsutils               1.1.3            fsck.jfs -V
reiserfsprogs          3.6.3            reiserfsck -V
xfsprogs               2.6.0            xfs_db -V
squashfs-tools         4.0              mksquashfs -version

更新 mksquashfs v4.2 解决此问题