http://bugzilla.kernel.org/show_bug.cgi?id=13628
Summary: NULL dereference in acpi_get_pci_dev
Product: ACPI
Version: 2.5
Kernel Version: 2.6.31-rc1
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Config-Other
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes
Created an attachment (id=22106)
--> (http://bugzilla.kernel.org/attachment.cgi?id=22106)
dmesg - bootup and BUGs
I'm getting a video-related kernel BUG (null dereference) when loading
thinkpad_acpi. i915 also seems to trigger the same BUG, and Xorg fails to start
(at least when using kernel modesetting).
This is a Lenovo Thinkpad R61 7733A82.
Last known working version: 2.6.30
First know failing version: 2.6.31-rc1
Distro: Ubuntu 8.04.2 amd64
git bisect says:
1e4cffe78e1decd937c7b78410eec87da6b87954 is first bad commit
commit 1e4cffe78e1decd937c7b78410eec87da6b87954
Author: Alexander Chiang <[email protected]>
Date: Wed Jun 10 19:56:00 2009 +0000
ACPI: video: convert to acpi_get_pci_dev
Now that acpi_get_pci_dev is available, let's use it instead of
acpi_get_physical_pci_device()
Cc: Thomas Renninger <[email protected]>
Signed-off-by: Alex Chiang <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Len Brown <[email protected]>
:040000 040000 0499fac9c0a9b479379f42d120ed72d75b9c2174
ac8c0684bcce4b5ce652338b4435269e531bf600 M drivers
The BUG in question is included in the attached dmesg log (starting at line
1309). The most useful-looking bits are:
> [ 9.510698] BUG: unable to handle kernel NULL pointer dereference at
> 0000000000000018
> [ 9.510955] IP: [<ffffffff811567e4>] acpi_get_pci_dev+0xf6/0x142
Playing with objdump suggests that the kernel is crashing at this line in
acpi_get_pci_dev (drivers/acpi/pci_root.c):
> pbus = pdev->subordinate;
pdev, which comes from a pci_get_slot call, does indeed seem to be NULL, hence
the BUG.
Hope this helps!
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
------------------------------------------------------------------------------
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla