[Bug 1023358] New: qemu-kvm broken with newer kernal
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358 Bug ID: 1023358 Summary: qemu-kvm broken with newer kernal Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: matwey.kornilov@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 712693 --> http://bugzilla.opensuse.org/attachment.cgi?id=712693&action=edit qemu-kvm output when host run at 3.16.7-144-vanilla Hello, I am suffering the following issue appearing under the specific circumstances. I use openSUSE Leap 42.1 and qemu 2.3.1 I run qemu as the following: qemu-kvm -machine accel=kvm -nodefaults -no-reboot -nographic -cpu host -vga none -kernel ../.build.kernel.kvm -initrd ../.build.initrd.kvm -append 'panic=1 no-kvmclock console=ttyS0 loglevel=7' -m 1024 -serial stdio This command has its origins in obs-build script, so initially I've tried to understand why my workers are broken. I've found that when kernel 3.16.7-144.g9e83cdb-vanilla (-default has the same 'good' behaviour) is booted then the command results the following (I call this as normal behaviour). Please find normal.log file attached here. When kernel 4.1.36-44-vanilla (4.9.7 also shows the same 'bad' behaviour) is booted then the same command with the same qemu binary fails as the following (please find full bad.log attached here): [ 0.416000] smpboot: CPU0: Intel(R) Xeon(R) CPU X5675 @ 3.07GHz (fam: 06, model: 2c, stepping: 02) [ 0.424000] divide error: 0000 [#1] SMP [ 0.424000] Modules linked in: [ 0.424000] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 3.16.6-2-default #1 [ 0.424000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.8.1-0-g4adadbd-20150316_085822-nilsson.home.kraxel.org 04/01/2014 [ 0.424000] task: f6080dd0 ti: f6082000 task.ti: f6082000 [ 0.424000] EIP: 0060:[<c02af449>] EFLAGS: 00010246 CPU: 0 [ 0.424000] EIP is at clockevents_config.part.3+0x29/0xa0 [ 0.424000] EAX: ffffffff EBX: f672a780 ECX: 00000000 EDX: 00000000 [ 0.424000] ESI: 00000000 EDI: ffffffff EBP: f6083f1c ESP: f6083f04 [ 0.424000] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [ 0.424000] CR0: 8005003b CR2: ffffffff CR3: 00c07000 CR4: 000006d0 [ 0.424000] Stack: [ 0.424000] 00000246 00000001 c0c1a920 f672a780 c0ae4600 f672a800 f6083f28 c02af6e1 [ 0.424000] f672a780 f6083f3c c0231513 ffffffff c0bf5008 c0afc920 f6083fac c0b5aa6c [ 0.424000] f6083f54 f6083fac c0212786 c08a074e 00000002 00000000 c0bf5008 c0afc920 [ 0.424000] Call Trace: [ 0.424000] [<c02af6e1>] clockevents_config_and_register+0x21/0x30 [ 0.424000] [<c0231513>] setup_APIC_timer+0xe3/0x130 [ 0.424000] [<c0b5aa6c>] setup_boot_APIC_clock+0x404/0x40b [ 0.424000] [<c0b58f56>] native_smp_prepare_cpus+0x2da/0x2e4 [ 0.424000] [<c0b4cc4b>] kernel_init_freeable+0x90/0x1d4 [ 0.424000] [<c0712bf0>] kernel_init+0x10/0xe0 [ 0.424000] [<c071f271>] ret_from_kernel_thread+0x21/0x30 [ 0.424000] [<c0712be0>] rest_init+0x70/0x70 [ 0.424000] DWARF2 unwinder stuck at kernel_init+0x0/0xe0 [ 0.424000] [ 0.424000] Leftover inexact backtrace: [ 0.424000] [ 0.424000] Code: c3 90 55 89 e5 57 56 53 83 ec 0c 66 66 66 66 90 31 f6 89 c3 89 d1 8b 40 4c 31 d2 85 d2 89 c7 74 08 89 d0 31 d2 f7 f1 89 c6 89 f8 <f7> f1 89 f2 89 d7 09 c7 c7 45 f0 01 00 00 00 75 5e 8b 45 f0 8d [ 0.424000] EIP: [<c02af449>] clockevents_config.part.3+0x29/0xa0 SS:ESP 0068:f6083f04 [ 0.428000] ---[ end trace 531fb612ce46eee3 ]--- [ 0.432000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 0.432000] [ 0.432000] Rebooting in 1 seconds.. У вас есть новая почта в /var/spool/mail/matwey matwey@epsilon:~/temp> tail -f bad.log [ 0.424000] DWARF2 unwinder stuck at kernel_init+0x0/0xe0 [ 0.424000] [ 0.424000] Leftover inexact backtrace: [ 0.424000] [ 0.424000] Code: c3 90 55 89 e5 57 56 53 83 ec 0c 66 66 66 66 90 31 f6 89 c3 89 d1 8b 40 4c 31 d2 85 d2 89 c7 74 08 89 d0 31 d2 f7 f1 89 c6 89 f8 <f7> f1 89 f2 89 d7 09 c7 c7 45 f0 01 00 00 00 75 5e 8b 45 f0 8d [ 0.424000] EIP: [<c02af449>] clockevents_config.part.3+0x29/0xa0 SS:ESP 0068:f6083f04 [ 0.428000] ---[ end trace 531fb612ce46eee3 ]--- [ 0.432000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 0.432000] [ 0.432000] Rebooting in 1 seconds.. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358#c1
--- Comment #1 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358
Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358#c2
--- Comment #2 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358#c3
--- Comment #3 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358
Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358
Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358#c4
--- Comment #4 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358
Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358#c5
--- Comment #5 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358#c6
--- Comment #6 from Matwey Kornilov
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358
http://bugzilla.opensuse.org/show_bug.cgi?id=1023358#c7
--- Comment #7 from Matwey Kornilov
participants (1)
-
bugzilla_noreply@novell.com