Bug 249105
Summary: | [cpuidle] Crash as guest in qemu-0.9.0-2 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Kratochvil <jan.kratochvil> | ||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | Keywords: | Patch, Reopened | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | kernel-2.6.23-0.44.rc0.git16.fc8 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-10-05 00:03:12 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jan Kratochvil
2007-07-20 21:56:19 UTC
Created attachment 159731 [details]
Kernel fix.
More easily workaroundable by: qemu -no-acpi
It is a FEAT for QEMU - it could support the ACPI CPU type nodes but it does
not support it.
But kernel should not crash on it.
Problem no longer present on: kernel-2.6.23-0.44.rc0.git16.fc8 Crashed again (without the -no-acpi workaround) on: kernel-2.6.23-0.129.rc3.git4.fc8.x86_64 kvm-24-1.x86_64 Activating ISA DMA hang workarounds. pci_hotplug: PCI Hot Plug PCI Core version: 0.5 Unable to handle kernel NULL pointer dereference at 000000000000001c RIP: [<ffffffff811701d9>] acpi_idle_init+0x17/0x110 PGD 0 Oops: 0000 [1] SMP CPU 0 Modules linked in: Pid: 1, comm: swapper Not tainted 2.6.23-0.129.rc3.git4.fc8 #1 RIP: 0010:[<ffffffff811701d9>] [<ffffffff811701d9>] acpi_idle_init+0x17/0x110 RSP: 0000:ffff81000fcb9e40 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8100013f0000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff813be6e0 RDI: ffff8100013f0000 RBP: 0000000000000000 R08: ffffffff813be6e0 R09: ffff81000fcb9e50 R10: ffffffff811e14ec R11: ffff81000ff31be0 R12: ffff8100013f0000 R13: 0000000000000000 R14: ffffffff814bbd40 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffffffff813d9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 000000000000001c CR3: 0000000000201000 CR4: 00000000000006e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process swapper (pid: 1, threadinfo ffff81000fcb8000, task ffff81000fcb6000) Stack: ffff8100013f0000 00000000fffffffb ffffffff813a7800 0000000000000000 ffffffff814bbd40 ffffffff811e1340 2222222222222222 ffff8100013f0000 0000000000000001 ffffffff811e141b 0000000000000000 ffffffff813a7800 Call Trace: [<ffffffff811e1340>] cpuidle_attach_driver+0x55/0xa3 [<ffffffff811e141b>] cpuidle_switch_driver+0x8d/0x100 [<ffffffff811e1537>] cpuidle_register_driver+0x6c/0xac [<ffffffff814b137d>] acpi_processor_init+0xe0/0xf1 [<ffffffff81496768>] kernel_init+0x206/0x375 [<ffffffff81269a3b>] trace_hardirqs_on_thunk+0x35/0x37 [<ffffffff810541d9>] trace_hardirqs_on+0x12e/0x151 [<ffffffff8100cb18>] child_rip+0xa/0x12 [<ffffffff8100c22c>] restore_args+0x0/0x30 [<ffffffff81496562>] kernel_init+0x0/0x375 [<ffffffff8100cb0e>] child_rip+0x0/0x12 Code: 8a 45 1c 84 c0 0f 89 e0 00 00 00 a8 01 0f 84 d8 00 00 00 48 RIP [<ffffffff811701d9>] acpi_idle_init+0x17/0x110 RSP <ffff81000fcb9e40> CR2: 000000000000001c Kernel panic - not syncing: Attempted to kill init! ok, so this bug went away for a while when I dropped the cpuidle patch (part of the highres timer/tickless64 patchkit we carry). I'll point the upstream cpuidle developer at this. Fixed by adding a check for NULL in the code. |