Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 159731 Details for
Bug 249105
[cpuidle] Crash as guest in qemu-0.9.0-2
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Kernel fix.
linux-acpi-without-cpus.patch (text/plain), 988 bytes, created by
Jan Kratochvil
on 2007-07-21 20:36:35 UTC
(
hide
)
Description:
Kernel fix.
Filename:
MIME Type:
Creator:
Jan Kratochvil
Created:
2007-07-21 20:36:35 UTC
Size:
988 bytes
patch
obsolete
>[PATCH 2.6.23-0.35.rc0.git6.fc7 1/1] acpi: Fix Oops in QEMU (ACPI with no CPUs) > >qemu-0.9.0 provides ACPI for the guest OS but without any CPU type nodes. >Kernel would crash with: > Unable to handle kernel NULL pointer dereference at 0000000000000018 RIP: > [<ffffffff81167181>] acpi_idle_init+0x17/0x110 >due to > processors[cpu] == NULL > >With the patch it will skip the initialization and report instead: > cpuidle: driver acpi_idle failed to attach to cpu 0 > >Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com> > >--- linux-2.6.22.x86_64/drivers/acpi/processor_idle.c-orig 2007-07-21 09:08:25.000000000 +0200 >+++ linux-2.6.22.x86_64/drivers/acpi/processor_idle.c 2007-07-21 22:25:58.000000000 +0200 >@@ -1064,6 +1064,10 @@ static int acpi_idle_init(struct cpuidle > > struct acpi_processor *pr = processors[cpu]; > >+ /* ACPI may exist but it does not have to provide any CPU type nodes. */ >+ if (pr == NULL) >+ return -EINVAL; >+ > if (!pr->flags.power_setup_done) > return -EINVAL; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 249105
: 159731