* gregkh@suse.de wrote: > This is a note to let you know that I've just added the patch titled > > Subject: PCI: PCIE ASPM support > > to my gregkh-2.6 tree. Its filename is > > pci-pcie-aspm-support.patch uhm. One week ago this patch was added to your PCI tree. It never touched -mm AFAICS and today it was merged upstream (commit 6c723d5bd89f03fc3ef627d50f89ade054d2ee3b): Which is not necessarily a problem in itself, as long as you test it through and are reasonably sure that it wont break systems en masse. But this patch very evidently was not tested in any sufficient manner on its primary platform (x86) because my randconfig testsystems (bog standard x86 hw) started crashing during bootup almost immediately: [ 22.716747] initcall 0xc0a7b517 ran for 0 msecs: random32_reseed+0x0/0x24() [ 22.722413] Calling initcall 0xc0a7bac1: pci_sysfs_init+0x0/0x44() [ 22.730099] BUG: unable to handle kernel NULL pointer dereference at 0000000c [ 22.737093] IP: [] pcie_aspm_create_sysfs_dev_files+0x1e/0x58 [ 22.740003] *pde = 00000000 [ 22.742848] Oops: 0000 [#1] PREEMPT DEBUG_PAGEALLOC [ 22.747699] [ 22.749174] Pid: 1, comm: swapper Not tainted (2.6.24 #5) [ 22.750000] EIP: 0060:[] EFLAGS: 00010246 CPU: 0 [ 22.750000] EIP is at pcie_aspm_create_sysfs_dev_files+0x1e/0x58 [ 22.750000] EAX: c32cf504 EBX: c32cf5d0 ECX: 00000000 EDX: 00000000 [ 22.750000] ESI: 00000000 EDI: c32cf5d0 EBP: c327df50 ESP: c327df48 [ 22.750000] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 22.750000] Process swapper (pid: 1, ti=c327d000 task=c327c000 task.ti=c327d000) [ 22.750000] Stack: 00000000 00000000 c327df84 c0340c38 c327df74 c0340188 ffffffff c32cf708 [ 22.750000] 00000000 00000000 00000006 c32cf6a8 00000000 c32cf5d0 00000000 c327df94 [ 22.750000] c0a7badb 00000000 00000000 c327dfe0 c0a6c673 dbc866c8 00000008 00000000 [ 22.750000] Call Trace: [ 22.750000] [] ? pci_create_sysfs_dev_files+0x24f/0x2f2 [ 22.750000] [] ? pci_get_subsys+0xc2/0xcb [ 22.750000] [] ? pci_sysfs_init+0x1a/0x44 [ 22.750000] [] ? kernel_init+0xb2/0x20b [ 22.750000] [] ? kernel_init+0x0/0x20b [ 22.750000] [] ? kernel_thread_helper+0x7/0x10 [ 22.750000] ======================= [ 22.750000] Code: 84 16 9b c0 e8 2d 6b e4 ff 5b 5e 5d c3 55 89 e5 56 53 89 c3 8b 70 48 f6 80 dd 03 00 00 04 74 41 8a 40 32 3c 04 74 04 3c 06 75 36 <83> 7e 0c 00 74 15 8d 83 38 01 00 00 b9 7c 16 9b c0 ba 68 16 9b [ 22.750000] EIP: [] pcie_aspm_create_sysfs_dev_files+0x1e/0x58 SS:ESP 0068:c327df48 [ 22.750003] ---[ end trace 204172de9b5128e1 ]--- config attached. The crash is fully repeatable on multiple systems. (can try any test-patch) To add insult to injury, the new option is also default-enabled _AND_ experimental: config PCIEASPM bool "PCI Express ASPM support(Experimental)" depends on PCI && EXPERIMENTAL default y and it only depends on PCI, so this will crash just about every system out there that tracks -git. please ... i've punched it out of the randconfig space via the hack below, to keep the tests going. Ingo Index: linux/drivers/pci/pcie/Kconfig =================================================================== --- linux.orig/drivers/pci/pcie/Kconfig +++ linux/drivers/pci/pcie/Kconfig @@ -33,6 +33,10 @@ source "drivers/pci/pcie/aer/Kconfig" config PCIEASPM bool "PCI Express ASPM support(Experimental)" depends on PCI && EXPERIMENTAL + + # bootup crashes, Sat Feb 2 11:37:58 CET 2008 + depends on 0 + default y help This enables PCI Express ASPM (Active State Power Management) and