I'm attempting to upgrade the kernel on an LFS box from 2.6.15 to 2.6.17.7 to get the bcm403 drivers. Upon reboot, I'm getting a kernel panic unless acpi=off is passed to the kernel. Does anyone have any pointers for me? I'm sure it's probably something stupid I've done. I've searched google / linuxquestions / usenet for related issues, but not come across any mention of acpi wrt 2.6.17. Thanks in advance for any assistance.
Precise steps:
1. Download 2.6.17.7 from kernel.org
2. Extract in /usr/src
3. Copy .config from 2.6.15 to 2.6.17.7
4. make clean
5. make oldconfig
6. make && make modules_install && make install
7. shutdown -r now
8. Select test kernel [2.6.17.7] in grub - my installkernel creates a symlink for this
9. Kernel panic occurs in acpi-related section
10. Big Red Button
11. Select test kernel in grub, edit & add acpi=off option
12. Boots, but missing various "bits" e.g. no output from lspci/no dma via hdparm
Diff between 2.6.15 .config & 2.6.17.7 .config (full .config posted if needed, too long for post):
> # CONFIG_SENSORS_F71805F is not set
1186a1167
> # CONFIG_SENSORS_VT8231 is not set
1201,1204d1181
< # Multimedia Capabilities Port drivers
< #
<
< #
1207a1185,1187
> CONFIG_VIDEO_V4L1=y
> CONFIG_VIDEO_V4L1_COMPAT=y
> CONFIG_VIDEO_V4L2=y
1210c1190
< # Video For Linux
---
> # Video Capture Adapters
1214c1194
< # Video Adapters
---
> # Video Capture Adapters
1215a1196,1197
> # CONFIG_VIDEO_ADV_DEBUG is not set
> # CONFIG_VIDEO_VIVI is not set
1218a1201
> # CONFIG_VIDEO_CPIA2 is not set
1230d1212
< # CONFIG_VIDEO_EM28XX is not set
1232,1233c1214,1243
< # CONFIG_VIDEO_AUDIO_DECODER is not set
< # CONFIG_VIDEO_DECODER is not set
---
>
> #
> # Encoders and Decoders
> #
> # CONFIG_VIDEO_MSP3400 is not set
> # CONFIG_VIDEO_CS53L32A is not set
> # CONFIG_VIDEO_WM8775 is not set
> # CONFIG_VIDEO_WM8739 is not set
> # CONFIG_VIDEO_CX25840 is not set
> # CONFIG_VIDEO_SAA711X is not set
> # CONFIG_VIDEO_SAA7127 is not set
> # CONFIG_VIDEO_UPD64031A is not set
> # CONFIG_VIDEO_UPD64083 is not set
>
> #
> # V4L USB devices
> #
> # CONFIG_VIDEO_EM28XX is not set
> # CONFIG_USB_DSBR is not set
> # CONFIG_USB_VICAM is not set
> # CONFIG_USB_IBMCAM is not set
> # CONFIG_USB_KONICAWC is not set
> # CONFIG_USB_ET61X251 is not set
> # CONFIG_USB_OV511 is not set
> # CONFIG_USB_SE401 is not set
> # CONFIG_USB_SN9C102 is not set
> # CONFIG_USB_STV680 is not set
> # CONFIG_USB_W9968CF is not set
> # CONFIG_USB_ZC0301 is not set
> # CONFIG_USB_PWC is not set
1257a1268
> # CONFIG_USB_DABUSB is not set
1268a1280
> # CONFIG_VGACON_SOFT_SCROLLBACK is not set
1281,1282d1292
< CONFIG_SND_AC97_CODEC=m
< CONFIG_SND_AC97_BUS=m
1291a1302
> CONFIG_SND_PCM_OSS_PLUGINS=y
1292a1304,1306
> # CONFIG_SND_DYNAMIC_MINORS is not set
> CONFIG_SND_SUPPORT_OLD_API=y
> CONFIG_SND_VERBOSE_PROCFS=y
1300a1315,1316
> CONFIG_SND_AC97_CODEC=m
> CONFIG_SND_AC97_BUS=m
1309a1326
> # CONFIG_SND_ADLIB is not set
1311a1329,1331
> # CONFIG_SND_ALS100 is not set
> # CONFIG_SND_AZT2320 is not set
> # CONFIG_SND_CMI8330 is not set
1314a1335
> # CONFIG_SND_DT019X is not set
1322a1344
> # CONFIG_SND_OPL3SA2 is not set
1325a1348
> # CONFIG_SND_MIRO is not set
1329,1334d1351
< # CONFIG_SND_WAVEFRONT is not set
< # CONFIG_SND_ALS100 is not set
< # CONFIG_SND_AZT2320 is not set
< # CONFIG_SND_CMI8330 is not set
< # CONFIG_SND_DT019X is not set
< # CONFIG_SND_OPL3SA2 is not set
1336a1354
> # CONFIG_SND_WAVEFRONT is not set
1340a1359,1361
> CONFIG_SND_AD1889=m
> # CONFIG_SND_ALS300 is not set
> CONFIG_SND_ALS4000=m
1349c1370,1371
< # CONFIG_SND_CS46XX is not set
---
> # CONFIG_SND_CA0106 is not set
> CONFIG_SND_CMIPCI=m
1350a1373,1374
> # CONFIG_SND_CS46XX is not set
> # CONFIG_SND_CS5535AUDIO is not set
1353,1366d1376
< # CONFIG_SND_CA0106 is not set
< # CONFIG_SND_KORG1212 is not set
< # CONFIG_SND_MIXART is not set
< # CONFIG_SND_NM256 is not set
< # CONFIG_SND_RME32 is not set
< # CONFIG_SND_RME96 is not set
< # CONFIG_SND_RME9652 is not set
< # CONFIG_SND_HDSP is not set
< # CONFIG_SND_HDSPM is not set
< # CONFIG_SND_TRIDENT is not set
< # CONFIG_SND_YMFPCI is not set
< CONFIG_SND_AD1889=m
< CONFIG_SND_ALS4000=m
< CONFIG_SND_CMIPCI=m
1371d1380
< # CONFIG_SND_MAESTRO3 is not set
1372a1382,1384
> CONFIG_SND_HDA_INTEL=m
> # CONFIG_SND_HDSP is not set
> # CONFIG_SND_HDSPM is not set
1376a1389,1397
> # CONFIG_SND_KORG1212 is not set
> # CONFIG_SND_MAESTRO3 is not set
> # CONFIG_SND_MIXART is not set
> # CONFIG_SND_NM256 is not set
> # CONFIG_SND_PCXHR is not set
> # CONFIG_SND_RIPTIDE is not set
> # CONFIG_SND_RME32 is not set
> # CONFIG_SND_RME96 is not set
> # CONFIG_SND_RME9652 is not set
1377a1399
> # CONFIG_SND_TRIDENT is not set
1381c1403
< CONFIG_SND_HDA_INTEL=m
---
> # CONFIG_SND_YMFPCI is not set
1398a1421
> CONFIG_USB_ARCH_HAS_EHCI=y
1427d1449
< # CONFIG_OBSOLETE_OSS_USB_DRIVER is not set
1447a1470,1471
> # CONFIG_USB_STORAGE_ALAUDA is not set
> # CONFIG_USB_LIBUSUAL is not set
1453a1478
> # CONFIG_USB_HIDINPUT_POWERBOOK is not set
1461,1463c1486
< # CONFIG_USB_MTOUCH is not set
< # CONFIG_USB_ITMTOUCH is not set
< CONFIG_USB_EGALAX=m
---
> # CONFIG_USB_TOUCHSCREEN is not set
1466a1490
> # CONFIG_USB_ATI_REMOTE2 is not set
1477,1490d1500
< # USB Multimedia devices
< #
< # CONFIG_USB_DABUSB is not set
< # CONFIG_USB_VICAM is not set
< # CONFIG_USB_DSBR is not set
< # CONFIG_USB_IBMCAM is not set
< # CONFIG_USB_KONICAWC is not set
< # CONFIG_USB_OV511 is not set
< # CONFIG_USB_SE401 is not set
< # CONFIG_USB_SN9C102 is not set
< # CONFIG_USB_STV680 is not set
< # CONFIG_USB_PWC is not set
<
< #
1542a1553,1565
> # LED devices
> #
> # CONFIG_NEW_LEDS is not set
>
> #
> # LED drivers
> #
>
> #
> # LED Triggers
> #
>
> #
1548c1571,1576
< # SN Devices
---
> # EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
> #
> # CONFIG_EDAC is not set
>
> #
> # Real Time Clock
1549a1578
> # CONFIG_RTC_CLASS is not set
1581a1611
> # CONFIG_OCFS2_FS is not set
1620c1650
< # CONFIG_RELAYFS_FS is not set
---
> # CONFIG_CONFIGFS_FS is not set
1728a1759
> # CONFIG_MAGIC_SYSRQ is not set
1731a1763,1764
> # CONFIG_DEBUG_FS is not set
> # CONFIG_UNWIND_INFO is not set
1732a1766
> CONFIG_STACK_BACKTRACE_COLS=2
1734a1769
> CONFIG_DOUBLEFAULT=y
1792a1828
> CONFIG_KTIME_SCALAR=y
lspci output:
00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev c1)
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
00:01.0 ISA bridge: nVidia Corporation MCP2A ISA bridge (rev a3)
00:01.1 SMBus: nVidia Corporation MCP2A SMBus (rev a1)
00:02.0 USB Controller: nVidia Corporation MCP2A USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation MCP2A USB Controller (rev a1)
00:02.2 USB Controller: nVidia Corporation MCP2A USB Controller (rev a2)
00:04.0 Bridge: nVidia Corporation MCP2A Ethernet Controller (rev a3)
00:06.0 Multimedia audio controller: nVidia Corporation MCP2S AC'97 Audio Controller (rev a1)
00:08.0 PCI bridge: nVidia Corporation MCP2A PCI Bridge (rev a3)
00:09.0 IDE interface: nVidia Corporation MCP2A IDE (rev a3)
00:0b.0 IDE interface: nVidia Corporation nForce2 Serial ATA Controller (rev a3)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000 AGP 8x] (rev c1)
02:07.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface
CPU is 1.6Ghz AMD athlon
Head of stack trace is lost
- first few lines of remainder is below. NB this is manually copied and probably misordered - it's transcribed right-to-left from top of monitor downwards; hopefully the relative offsets are enough for any kind person with more knowledge than me to be able to give me a pointer as to what I've done wrong.
Panic message:
EIP: [<c0240ee5>] acpi_os_read_pci_configuration+0x54/0x8f SS:ESP 0068:dff8ab10
<0>Kernel panic - not syncing: Attempted to kill init!
Probably misordered stack trace:
acpi_get_devices+0x47/0x5d
acpi_ns_get_device_callback+0x0/0x156
find_pci_rootbridge+0x0/0x9b
acpi_get_pci_rootbridge_handle+0x25/0x2d
sscanf+0x11/0x20
pci_acpi_find_root_bridge+0x42/0x60
acpi_find_bridge_device+0x45/0x6d
acpi_platform_notify+0x23/0x4d
device_add+0x12b/0x190
pci_create_bus+0xad/0x1a0