Re: 4.9.0-rc6+ boot problem

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

 



2016-11-29 03:04-0800, Kui Zhang:
> Looks like my boot issue might be kvm related. System boots fine with
> CONFIG_KVM=m

v4.9-rc6 has some funny changes around modversion, although your bug
looks even more random ...

Can you reproduce with v4.9-rc7 built from a clean repo?
Please send your config if the bug still happens.

Thanks.

> --- .config 2016-11-29 02:41:24.753930839 -0800
> +++ .config.working 2016-11-29 02:41:11.029065291 -0800
> @@ -3544,7 +3544,7 @@
>  # CONFIG_IMG_ASCII_LCD is not set
>  # CONFIG_UIO is not set
>  # CONFIG_VFIO is not set
> -CONFIG_IRQ_BYPASS_MANAGER=y
> +CONFIG_IRQ_BYPASS_MANAGER=m
>  # CONFIG_VIRT_DRIVERS is not set
> 
>  #
> @@ -4553,7 +4553,7 @@
>  CONFIG_KVM_COMPAT=y
>  CONFIG_HAVE_KVM_IRQ_BYPASS=y
>  CONFIG_VIRTUALIZATION=y
> -CONFIG_KVM=y
> +CONFIG_KVM=m
>  CONFIG_KVM_INTEL=m
>  # CONFIG_KVM_AMD is not set
>  # CONFIG_KVM_MMU_AUDIT is not set
> 
> On Sun, Nov 27, 2016 at 2:23 PM, Kui Zhang <kuizhang@xxxxxxxxx> wrote:
> > Hello,
> >
> > I am having problem booting 4.9.0-rc6+ on my laptop.
> >
> > 4.9.0-rc5+ works, so not likely hardware issues.
> >
> >
> > Ubuntu Zesty Zapus
> >
> > ###
> > gcc-6 with
> >
> > CONFIG_PCI_QUIRKS=y
> > CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
> >
> > After grub, screen turns off. No pre modeset messages. Then system
> > reboot itself.
> >
> > When
> >
> > CONFIG_PCI_QUIRKS not set
> > CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS not set
> >
> >
> > System would boot up to: "Clocksource: Switched to clocksource hpet". then loop
> >
> > '''
> > Could not create tracefs '' directory
> > Could not create directory for event
> >  '''
> >
> > ###
> > gcc-4.9 system would panic with above settings on.
> >
> > With them off, setting would boot to login prompt. Only one working terminal.
> >
> > Login works.
> > dmesg works
> >
> > lsmod hangs
> >
> >
> >
> > [    8.436647] BUG: unable to handle kernel paging request at 0000000016000000
> > [    8.437448] IP: [<ffffffff974dea56>] strcmp+0x16/0x30
> > [    8.438224] PGD 0
> >
> > [    8.438992] Oops: 0000 [#1] SMP
> > [    8.439750] Modules linked in:
> > [    8.440506] CPU: 6 PID: 430 Comm: systemd-udevd Not tainted 4.9.0-rc6+ #14
> > [    8.441266] Hardware name: Notebook
> > P15SM-A/SM1-A                    /P15SM-A/SM1-A                    ,
> > BIOS 4.6.5 04/20/2015
> > [    8.442239] task: ffffa3d3a436e3c0 task.stack: ffffba3641604000
> > [    8.443033] RIP: 0010:[<ffffffff974dea56>]  [<ffffffff974dea56>]
> > strcmp+0x16/0x30
> > [    8.443828] RSP: 0018:ffffba3641607bf0  EFLAGS: 00010202
> > [    8.444603] RAX: 000000000000006d RBX: ffffffff97fc33c0 RCX: 0000000000000a1f
> > [    8.445382] RDX: 000000000000143e RSI: 0000000016000001 RDI: ffffba3641669fe7
> > [    8.446149] RBP: ffffba3641607bf0 R08: ffffffff9716cb90 R09: ffffffffc0409000
> > [    8.446917] R10: 00003fffffe00000 R11: 0000000000002000 R12: 0000000000000a1f
> > [    8.447683] R13: 0000000000000010 R14: 000000000000143e R15: 0000000000000000
> > [    8.448446] FS:  00007f4830a4c8c0(0000) GS:ffffa3d3afb80000(0000)
> > knlGS:0000000000000000
> > [    8.449202] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> > [    8.449957] CR2: 0000000016000000 CR3: 0000000224a12000 CR4: 00000000001406e0
> > [    8.450710] Stack:
> > [    8.451457]  ffffba3641607c00 ffffffff9716cba2 ffffba3641607c50
> > ffffffff974ebede
> > [    8.452232]  ffffffff9716cb90 ffffffff97fb91d0 ffffba3641669fe6
> > ffffba3641607cb8
> > [    8.453005]  0000000000000000 ffffffff97c2e840 ffffba3641687f00
> > ffffba3641607e80
> > [    8.453779] Call Trace:
> > [    8.454608]  [<ffffffff9716cba2>] cmp_name+0x12/0x20
> > [    8.455621]  [<ffffffff974ebede>] bsearch+0x5e/0x90
> > [    8.456656]  [<ffffffff9716cb90>] ? unregister_module_notifier+0x20/0x20
> > [    8.457444]  [<ffffffff9716cd2b>] find_symbol_in_section+0x3b/0xf0
> > [    8.458228]  [<ffffffff9716ccf0>] ? mod_find_symname+0x70/0x70
> > [    8.459018]  [<ffffffff9716d8d6>] each_symbol_section+0x26/0x50
> > [    8.459801]  [<ffffffff9716d9d6>] find_symbol+0x36/0xa0
> > [    8.460570]  [<ffffffff9716cbf8>] ? find_sec+0x48/0x80
> > [    8.461553]  [<ffffffff9716e82a>] resolve_symbol.isra.61+0x4a/0xb0
> > [    8.461556]  [<ffffffff9716df36>] ? get_modinfo.isra.56+0x46/0xa0
> > [    8.461558]  [<ffffffff9716fdb7>] load_module+0xc57/0x2700
> > [    8.461560]  [<ffffffff97480dc4>] ? ima_post_read_file+0x74/0x90
> > [    8.461563]  [<ffffffff9743e23b>] ? security_kernel_post_read_file+0x6b/0x80
> > [    8.461566]  [<ffffffff9727c7f2>] ? kernel_read_file+0x172/0x190
> > [    8.461568]  [<ffffffff97171a56>] SYSC_finit_module+0x96/0xd0
> > [    8.461569]  [<ffffffff97171aae>] SyS_finit_module+0xe/0x10
> > [    8.461571]  [<ffffffff97002b1a>] do_syscall_64+0x6a/0x220
> > [    8.461574]  [<ffffffff97a0a08a>] entry_SYSCALL64_slow_path+0x25/0x25
> > [    8.461591] Code: 01 0f b6 4e ff 48 83 c2 01 84 c9 88 4a ff 75 ed
> > 5d c3 0f 1f 00 55 48 89 e5 eb 04 84 c0 74 18 48 83 c7 01 48 83 c6 01
> > 0f b6 47 ff <3a> 46 ff 74 eb 19 c0 5d 83 c8 01 c3 31 c0 5d c3 66 2e 0f
> > 1f 84
> > [    8.461593] RIP  [<ffffffff974dea56>] strcmp+0x16/0x30
> > [    8.461594]  RSP <ffffba3641607bf0>
> > [    8.461594] CR2: 0000000016000000
> > [    8.461605] ---[ end trace 470acb4c22b46ca8 ]---
> >
> >
> > [    7.367754] BUG: unable to handle kernel paging request at 000000002c000000
> > [    7.368663] IP: [<ffffffffad4dddc6>] strcmp+0x16/0x30
> > [    7.369408] PGD 0
> >
> > [    7.370111] Oops: 0000 [#1] SMP
> > [    7.370805] Modules linked in:
> > [    7.371504] CPU: 0 PID: 360 Comm: systemd-modules Tainted: G
> >    O    4.9.0-rc5 #17
> > [    7.372211] Hardware name: Notebook
> > P15SM-A/SM1-A                    /P15SM-A/SM1-A                    ,
> > BIOS 4.6.5 04/20/2015
> > [    7.372963] task: ffff8f02659b4740 task.stack: ffffa9de81274000
> > [    7.373687] RIP: 0010:[<ffffffffad4dddc6>]  [<ffffffffad4dddc6>]
> > strcmp+0x16/0x30
> > [    7.374444] RSP: 0018:ffffa9de81277c20  EFLAGS: 00010202
> > [    7.375169] RAX: 0000000000000070 RBX: ffffffffadfc3390 RCX: 0000000000000a1e
> > [    7.375899] RDX: 000000000000143d RSI: 000000002c000001 RDI: ffffa9de811f2da1
> > [    7.376633] RBP: ffffa9de81277c20 R08: ffffffffad16c550 R09: ffffffffc03ca000
> > [    7.377364] R10: 00003fffffe00000 R11: 0000000000002000 R12: 0000000000000a1e
> > [    7.378097] R13: 0000000000000010 R14: 000000000000143d R15: 0000000000000000
> > [    7.378832] FS:  00007fa5291ef8c0(0000) GS:ffff8f026fa00000(0000)
> > knlGS:0000000000000000
> > [    7.379591] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> > [    7.380327] CR2: 000000002c000000 CR3: 00000002228f0000 CR4: 00000000001406f0
> > [    7.381073] Stack:
> > [    7.381796]  ffffa9de81277c30 ffffffffad16c562 ffffa9de81277c80
> > ffffffffad4eb23e
> > [    7.382557]  ffffffffad16c550 ffffffffadfb91b0 ffffa9de811f2da0
> > ffffa9de81277ce8
> > [    7.383275]  0000000000000000 ffffffffadc2e7c0 ffffa9de811f46b0
> > ffffa9de81277eb0
> > [    7.383986] Call Trace:
> > [    7.384697]  [<ffffffffad16c562>] cmp_name+0x12/0x20
> > [    7.385403]  [<ffffffffad4eb23e>] bsearch+0x5e/0x90
> > [    7.386188]  [<ffffffffad16c550>] ? unregister_module_notifier+0x20/0x20
> > [    7.387304]  [<ffffffffad16c6eb>] find_symbol_in_section+0x3b/0xf0
> > [    7.388407]  [<ffffffffad16c6b0>] ? mod_find_symname+0x70/0x70
> > [    7.389504]  [<ffffffffad16d296>] each_symbol_section+0x26/0x50
> > [    7.390590]  [<ffffffffad16d396>] find_symbol+0x36/0xa0
> > [    7.391662]  [<ffffffffad16c5b8>] ? find_sec+0x48/0x80
> > [    7.392734]  [<ffffffffad16e1ea>] resolve_symbol.isra.61+0x4a/0xb0
> > [    7.393804]  [<ffffffffad16d8f6>] ? get_modinfo.isra.56+0x46/0xa0
> > [    7.394880]  [<ffffffffad16f777>] load_module+0xc57/0x2700
> > [    7.395948]  [<ffffffffad4800b4>] ? ima_post_read_file+0x74/0x90
> > [    7.397015]  [<ffffffffad43d6cb>] ? security_kernel_post_read_file+0x6b/0x80
> > [    7.398070]  [<ffffffffad27bfd2>] ? kernel_read_file+0x172/0x190
> > [    7.399118]  [<ffffffffad171416>] SYSC_finit_module+0x96/0xd0
> > [    7.400169]  [<ffffffffad17146e>] SyS_finit_module+0xe/0x10
> > [    7.401205]  [<ffffffffada08b64>] entry_SYSCALL_64_fastpath+0x17/0x98
> > [    7.402242] Code: 01 0f b6 4e ff 48 83 c2 01 84 c9 88 4a ff 75 ed
> > 5d c3 0f 1f 00 55 48 89 e5 eb 04 84 c0 74 18 48 83 c7 01 48 83 c6 01
> > 0f b6 47 ff <3a> 46 ff 74 eb 19 c0 5d 83 c8 01 c3 31 c0 5d c3 66 2e 0f
> > 1f 84
> > [    7.403491] RIP  [<ffffffffad4dddc6>] strcmp+0x16/0x30
> > [    7.404605]  RSP <ffffa9de81277c20>
> > [    7.405706] CR2: 000000002c000000
> > [    7.406815] ---[ end trace 5658e0e68fb01f05 ]---
> >
> >
> > Thanks
> > Kui.Z
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux