求助:ubuntu16.04,内核4.15.18,编译安装后重新启动失败

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
fga333
帖子: 17
注册时间: 2019-07-28 14:27
系统: ubuntu16

求助:ubuntu16.04,内核4.15.18,编译安装后重新启动失败

#1

帖子 fga333 » 2019-07-28 14:42

大家好,我用的ubuntu16.04,内核下载版本4.15.18.
按照如下操作编译:
sudo make mrproper
sudo make clean
sudo make menuconfig
sudo make -j8
sudo make modules
sudo make modules_install
sudo make install

编译完以后重启,打印以下错误:
[ 8.417172] machinecheck machinecheck0: hash matches
[ 8.423372] rtc_cmos 00:06: setting system clock to 2019-07-24 12:59:03 UTC (1563973143)
[ 8.433543] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 8.440502] EDD information not available.
[ 8.445833] md: Waiting for all devices to be available before autodetect
[ 8.453566] md: If you don't use raid, use raid=noautodetect
[ 8.460486] md: Autodetecting RAID arrays.
[ 8.465503] md: autorun ...
[ 8.469190] md: ... autorun DONE.
[ 8.473454] VFS: Cannot open root device "UUID=bb8d7c17-f44e-48c3-8060-77d846b01135" or unknown-block(0,0): error -6
[ 8.485758] Please append a correct "root=" boot option; here are the available partitions:
[ 8.495927] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 8.506021] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.15.18 #1
[ 8.512948] Hardware name: Default string Default string/Default string, BIOS 5.12 06/06/2018
[ 8.523335] Call Trace:
[ 8.526715] dump_stack+0x63/0x8b
[ 8.530956] panic+0xe4/0x244
[ 8.534851] mount_block_root+0x1fd/0x2ac
[ 8.539801] mount_root+0x38/0x3a
[ 8.544035] prepare_namespace+0x13f/0x194
[ 8.549045] kernel_init_freeable+0x20f/0x238
[ 8.554308] ? rest_init+0xb0/0xb0
[ 8.558605] kernel_init+0xe/0x110
[ 8.561977] usb 1-3: New USB device found, idVendor=1a2c, idProduct=2124
[ 8.561980] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 8.561982] usb 1-3: Product: USB Keyboard
[ 8.561984] usb 1-3: Manufacturer: SEM
[ 8.588120] ret_from_fork+0x35/0x40
[ 8.592634] Kernel Offset: 0x8c00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 8.605026] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 8.615808] ------------[ cut here ]------------
[ 8.621321] sched: Unexpected reschedule of offline CPU#1!
[ 8.627722] WARNING: CPU: 0 PID: 1 at arch/x86/kernel/smp.c:128 native_smp_send_reschedule+0x3f/0x50
[ 8.638649] Modules linked in:
[ 8.642580] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.15.18 #1
[ 8.649461] Hardware name: Default string Default string/Default string, BIOS 5.12 06/06/2018
[ 8.659709] RIP: 0010:native_smp_send_reschedule+0x3f/0x50
[ 8.666062] RSP: 0000:ffff9b8f3fc03e50 EFLAGS: 00010086
[ 8.672146] RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff8ae627a8
[ 8.680137] RDX: 0000000000000001 RSI: 0000000000000092 RDI: 0000000000000046
[ 8.688127] RBP: ffff9b8f3fc03e50 R08: 0000000000000000 R09: 00000000000002d5
[ 8.696124] R10: 00000000000007c8 R11: 0000000000000001 R12: ffff9b8f3fca2940
[ 8.704135] R13: 0000000000000000 R14: 00000000fffee372 R15: ffff9b8f3fc1ce28
[ 8.712143] FS: 0000000000000000(0000) GS:ffff9b8f3fc00000(0000) knlGS:0000000000000000
[ 8.721989] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 8.728651] CR2: ffffbc4540758000 CR3: 000000017a00a000 CR4: 00000000003406f0
[ 8.736724] Call Trace:
[ 8.740117] <IRQ>
[ 8.743054] trigger_load_balance+0x12a/0x230
[ 8.748339] scheduler_tick+0xae/0xd0
[ 8.752922] ? tick_sched_do_timer+0x40/0x40
[ 8.758116] update_process_times+0x47/0x60
[ 8.763228] tick_sched_handle+0x2a/0x60
[ 8.768057] tick_sched_timer+0x39/0x80
[ 8.772774] __hrtimer_run_queues+0xe7/0x230
[ 8.777903] hrtimer_interrupt+0xb1/0x200
[ 8.782750] smp_apic_timer_interrupt+0x6f/0x140
[ 8.788194] apic_timer_interrupt+0x84/0x90
[ 8.793204] </IRQ>
[ 8.796103] RIP: 0010:panic+0x1fe/0x244
[ 8.800721] RSP: 0000:ffffbc454064fd80 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff11
[ 8.809881] RAX: 0000000000000057 RBX: ffff9b8f38ae6000 RCX: ffffffff8ae627a8
[ 8.817839] RDX: 0000000000000000 RSI: 0000000000000096 RDI: 0000000000000046
[ 8.825786] RBP: ffffbc454064fdf8 R08: 0000000000000000 R09: 00000000000002d3
[ 8.833717] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
[ 8.841640] R13: 0000000000000000 R14: ffff9b8f38ae6000 R15: 0000000000008001
[ 8.849556] mount_block_root+0x1fd/0x2ac
[ 8.854349] mount_root+0x38/0x3a
[ 8.858434] prepare_namespace+0x13f/0x194
[ 8.863297] kernel_init_freeable+0x20f/0x238
[ 8.868430] ? rest_init+0xb0/0xb0
[ 8.872597] kernel_init+0xe/0x110
[ 8.876729] ret_from_fork+0x35/0x40
[ 8.881018] Code: 92 c0 84 c0 74 17 48 8b 05 0f 89 13 01 be fd 00 00 00 48 8b 40 30 e8 c1 ad ba 00 5d c3 89 fe 48 c7 c7 20 c0 ca 8a e8 41 45 03 00 <0f> 0b 5d c3 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00
[ 8.902102] ---[ end trace 5e544013fe1e0827 ]---
请求帮助,谢谢!
头像
astolia
论坛版主
帖子: 6450
注册时间: 2008-09-18 13:11

Re: 求助:ubuntu16.04,内核4.15.18,编译安装后重新启动失败

#2

帖子 astolia » 2019-07-30 14:43

能不能自己先尝试读一下?

代码: 全选

VFS: Cannot open root device "UUID=bb8d7c17-f44e-48c3-8060-77d846b01135" or unknown-block(0,0): error -6
先确认uuid为指定值的分区是否存在。再检查make menuconfig时是不是把相关驱动选了m或n
fga333
帖子: 17
注册时间: 2019-07-28 14:27
系统: ubuntu16

Re: 求助:ubuntu16.04,内核4.15.18,编译安装后重新启动失败

#3

帖子 fga333 » 2019-08-15 14:28

astolia 写了: 2019-07-30 14:43 能不能自己先尝试读一下?

代码: 全选

VFS: Cannot open root device "UUID=bb8d7c17-f44e-48c3-8060-77d846b01135" or unknown-block(0,0): error -6
先确认uuid为指定值的分区是否存在。再检查make menuconfig时是不是把相关驱动选了m或n
uuid指定指定的分区是存在的,make menuconfig打开后直接退出,也没改什么配置。

发现在ubuntu16.04.4有此问题,在ubuntu16.04.5却没有。
回复