Kernel Bug Tracker – Bug 13891
PCI resources allocation problem on HP nx6325
Last modified: 2009-08-03 20:42:03 UTC
There is a PCI resources allocation problem on HP nx6325 introduced by the following commit:
Author: Matthew Wilcox <firstname.lastname@example.org>
Date: Wed Jun 17 16:33:35 2009 -0400
x86: Use pci_claim_resource
Instead of open-coding pci_find_parent_resource and request_resource,
just call pci_claim_resource.
Signed-off-by: Matthew Wilcox <email@example.com>
Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
As a result, the audio adapter doesn't work on the affected system.
Created attachment 22573 [details]
/proc/iomem and /proc/ioports from HP nx6325 (2.6.31-rc5)
Created attachment 22574 [details]
/proc/iomem and /proc/ioports from HP nx6325 (2.6.31-rc5 with commit a76117dfd687 reverted)
Clearly, the audio adapter is not present in the memory resources attached in comment #1, while it is present in the memory resources attached in comment #2 (ie. with the commit above reverted).
This appears to be related to the allocation of resources for sata_sil, which is different in both kernels and doesn't look correct in the failing case.
Created attachment 22575 [details]
dmesg output from 2.6.31-rc5 (with a few additional unrelated patches)
Created attachment 22576 [details]
dmesg output from 2.6.31-rc5 with commit a76117dfd687 reverted
The HP nx6325 also suffers from hibernation regression where some devices don't work after resume (keyboard, network adapter), which also appears to be fixed by reverting commit a76117dfd687ec4be0a9a05214f3009cc5f73a42.
Handled-By : Linus Torvalds <email@example.com>
Patch : http://patchwork.kernel.org/patch/38774/
Fixed by commit 79896cf42f6a96d7e14f2dc3473443d68d74031d .
The hibernation regression described in comment #6 is a different bug. It is not fixed by the above commit.