Bug#507220: linux-source-2.6.24: Kernel panic when accessing Adaptec 1542CF SCSI controller (aha1542 driver)
Package: linux-source-2.6.24
Version: 2.6.24-6~etchnhalf.6
Severity: critical
Justification: breaks the whole system
I've moved an Adaptec 1542CF with a SCSI chain of: scanner, tape drive and
CD writer into a P3. This hardware worked just fine in a pentium 133 years
ago under 2.4 kernels.
On this newer machine any access to the controller or any scsi device
causes a kernel panic. Both on kernel 2.6.18 and 2.6.24 (the latest
kernel available for Etch via aptitude). Both kernels were locally
compiled, via make-kpkg.
What works: the BIOS recognizes the controller and the connected devices.
The Adaptec SCSI utility can run DMA tests with no problem. Manually
loading the aha1542 driver with this command:
modprobe -v aha1542 aha1542=0x134,5,10
causes no errors and identifies the connected devices. Since this is an
old ISA device, it had to be manually configured for I/O address of 0x134,
dma 5 and irq 10. In the bios, dma 5 and irq 10 were allocated to "legacy
devices".
Strangely, even with the options in the /etc/modules.conf file and an
explicit mention of aha1542 in /etc/modules, the driver is not loaded
on boot.
Furthermore, any access to the controller causes an immediate panic and
crash. For instance, running lshw after the driver is loaded causes
this: (kernel 2.6.18)
Bad segment list supplied to aha1542.c (1,0)
0: c0090000 255
cptr c0366e00: 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <0> Kernel panic - not syncing: Foooooooood fight!
or (kernel 2.6.24)
Bad segment list supplied to aha1542.c (1,0)
0: c0c20000 255
cptr c0c1be00: 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <0> Kernel panic - not syncing: Foooooooood fight!
Any hints? Looks like a genuine bug to me. What could be causing
a bad segment list to be supplied to the scsi driver? If I can supply
more information, just ask and I'll perform the tests required.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.241
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages linux-source-2.6.24 depends on:
ii binutils 2.17-3 The GNU assembler, linker and bina
ii bzip2 1.0.3-6 high-quality block-sorting file co
Versions of packages linux-source-2.6.24 recommends:
ii gcc 4:4.1.1-15 The GNU C compiler
ii libc6-dev [libc-dev] 2.3.6.ds1-13etch7 GNU C Library: Development Librari
ii make 3.81-2 The GNU version of the "make" util
-- no debconf information
Reply to: