Adaptec problem in 2.0.25?

Brad Pepers (pepersb@cuug.ab.ca)
Fri, 22 Nov 1996 09:45:05 -0700 (MST)


I have a Digital Celebris GL 5120 computer which has a builtin
Adaptec AIC-7850 chipset. Attached to it is a Exabyte EXB-2501
tape drive. Originally I was using the 2.0.18 kernel that comes
with Red Hat 4.0. I then upgraded the kernel to 2.0.25. Back
when I was using 2.0.18 I tested the tape drive by backing up all
of /usr at the same time as I built a kernel and ran a couple
finds on the filesystem. Worked like a charm. I also erased
12 taped using "mt" without a hitch. Now whenever I try to do
any tape operations, I get kernel panics and locked up solid!
Here are some of the messages:

======================================================================
scsi0: No active SCB for reconnecting target 2, channel A - Issuing
ABORT. SAVED_TCL(0x20)

kernel panic: scsi0: target 2, channel A, did not send an IDENTIFY
message. SAVED_TCL 0x20.

In swapper task - not syncing
======================================================================

When I boot the BIOS tells me the following:

Adaptec AIC-7850 BIOS v1.11.01
SCSI #2 - Exabyte EXB-2501
BIOS disabled!

I believe the BIOS gets disabled because there are no SCSI hard-drives
(the BIOS *is* enabled in the Adaptec configuration screens).

I believe someone mentioned a while ago that 2.0.25 had some Adaptec
stuff broken. If so - if there a fix? I'm going to go back through
the 19..25 patches and see what Adaptec things changed and try to get
it back to the state it was in 2.0.18 but it would be nice if there
was just a current patch I could apply to fix the problem!

Thanks for any help. At the end of this email are various messages
gleaned from the /var/log/messages file.

======================================================================
Brad Pepers Proud supporter of Linux and
Ramparts Management Group Ltd. Caldera in Canada!
ramparts@agt.net
http://www.agt.net/public/ramparts Linux rules!

Output from /proc/pci:
======================================================================
PCI devices found:
Bus 0, device 11, function 0:
Communication controller: Cyclades Cyclom-Y below 1Mbyte (rev 1).
Medium devsel. Fast back-to-back capable. IRQ 9. Master Capable. Latency=64.
Non-prefetchable 32 bit memory at 0xfedfb800.
I/O at 0xf000.
Non-prefetchable 20 bit memory at 0xdc000.
Bus 0, device 9, function 0:
VGA compatible controller: Matrox Millenium (rev 1).
Medium devsel. Fast back-to-back capable. IRQ 9.
Non-prefetchable 32 bit memory at 0xfedfc000.
Prefetchable 32 bit memory at 0xfe000000.
Bus 0, device 8, function 0:
SCSI storage controller: Adaptec AIC-7850 (rev 0).
Medium devsel. Fast back-to-back capable. IRQ 10. Master Capable. Latency=64. Min Gnt=4.Max Lat=4.
I/O at 0xf400.
Non-prefetchable 32 bit memory at 0xfedfa000.
Bus 0, device 7, function 1:
IDE interface: Intel 82371 Triton PIIX (rev 2).
Medium devsel. Fast back-to-back capable. Master Capable. Latency=32.
I/O at 0xfcf0.
Bus 0, device 7, function 0:
ISA bridge: Intel 82371 Triton PIIX (rev 2).
Medium devsel. Fast back-to-back capable. Master Capable. No bursts.
Bus 0, device 3, function 0:
Ethernet controller: DEC DC21040 (rev 36).
Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. Latency=64.
I/O at 0xf080.
Non-prefetchable 32 bit memory at 0xfedfbc00.
Bus 0, device 0, function 0:
Host bridge: Intel 82437 (rev 1).
Medium devsel. Master Capable. Latency=32.

Here are some error messages:
======================================================================
Nov 19 07:40:17 mission kernel: scsi0: data overrun of 4094 bytes detected; forcing a retry.
Nov 19 07:40:17 mission kernel: scsi0: data overrun of 14334 bytes detected; forcing a retry.
Nov 19 07:40:17 mission kernel: st0: Error 27070000.
Nov 19 07:40:17 mission kernel: scsi0: data overrun of 14334 bytes detected; forcing a retry.
Nov 19 07:40:17 mission kernel: scsi0: data overrun of 16382 bytes detected; forcing a retry.
Nov 19 07:40:17 mission kernel: st0: Error 27070000.
Nov 19 07:40:17 mission kernel: st0: Error on write filemark.
Nov 19 07:40:24 mission kernel: scsi0: CMDCMPLT without command for SCB 0.
Nov 19 07:40:24 mission kernel: QOUTCNT 0, QINCNT 30, SCB state 0x0, cmd 0x0, pos(0).
Nov 19 07:40:24 mission kernel: scsi0: CMDCMPLT without command for SCB 0.
Nov 19 07:40:24 mission kernel: QOUTCNT 0, QINCNT 29, SCB state 0x0, cmd 0x0, pos(0).
Nov 19 07:40:25 mission kernel: scsi0: CMDCMPLT without command for SCB 0.
Nov 19 07:40:25 mission kernel: QOUTCNT 0, QINCNT 28, SCB state 0x0, cmd 0x0, pos(0).
Nov 19 07:40:25 mission kernel: scsi0: CMDCMPLT without command for SCB 0.
Nov 19 07:40:25 mission kernel: QOUTCNT 0, QINCNT 27, SCB state 0x0, cmd 0x0, pos(0).
Nov 19 07:40:25 mission kernel: scsi0: CMDCMPLT without command for SCB 0.
Nov 19 07:40:25 mission kernel: QOUTCNT 0, QINCNT 26, SCB state 0x0, cmd 0x0, pos(0).
Nov 19 07:40:25 mission kernel: scsi0: CMDCMPLT without command for SCB 0.
Nov 19 07:40:25 mission kernel: QOUTCNT 0, QINCNT 25, SCB state 0x0, cmd 0x0, pos(0).
Nov 19 07:40:25 mission kernel: scsi0: CMDCMPLT without command for SCB 0.
Nov 19 07:40:25 mission kernel: QOUTCNT 0, QINCNT 24, SCB state 0x0, cmd 0x0, pos(0).
Nov 19 07:40:25 mission kernel: scsi0: CMDCMPLT without command for SCB 0.
Nov 19 07:40:25 mission kernel: QOUTCNT 64, QINCNT 23, SCB state 0x0, cmd 0x0, pos(0).
Nov 19 07:40:25 mission kernel: scsi0: CMDCMPLT without command for SCB 0.
Nov 19 07:40:25 mission kernel: QOUTCNT 64, QINCNT 22, SCB state 0x0, cmd 0x0, pos(0).
Nov 19 07:40:25 mission kernel: scsi0: CMDCMPLT without command for SCB 0.
Nov 19 07:40:25 mission kernel: QOUTCNT 64, QINCNT 21, SCB state 0x0, cmd 0x0, pos(0).
Nov 19 07:40:25 mission kernel: scsi0: CMDCMPLT without command for SCB 0.
Nov 19 07:40:25 mission kernel: QOUTCNT 64, QINCNT 20, SCB state 0x0, cmd 0x0, pos(0).
Nov 19 07:40:25 mission kernel: scsi0: CMDCMPLT without command for SCB 0.
Nov 19 07:40:25 mission kernel: QOUTCNT 64, QINCNT 20, SCB state 0x0, cmd 0x0, pos(0).

Here are the boot time messages:
======================================================================
klogd 1.3-3, log source = /proc/kmsg started.
Loaded 4322 symbols from /usr/src/linux/System.map.
Symbols match kernel version 2.0.25.
No module symbols loaded.
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fff70
pcibios_init : BIOS32 Service Directory entry at 0xfd842
pcibios_init : PCI BIOS revision 2.10 entry at 0xfd8d1
Probing PCI hardware.
Calibrating delay loop.. ok - 47.92 BogoMIPS
Memory: 30784k/32768k available (828k kernel code, 384k reserved, 772k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.12 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.25 (root@mission) (gcc version 2.7.2) #1 Tue Nov 19 05:52:03 CST 1996
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
Cyclom driver $Revision: 1.36.3.9 $$Date: 1996/10/07 19:47:13 $
Cyclom-Y/PCI #1: 0xdc000-0xdffff, IRQ9, 16 channels starting from port 0.
lp1 at 0x0378, (polling)
PS/2 auxiliary pointing device detected -- driver installed.
Ramdisk driver initialized : 16 ramdisks of 4096K size
hda: WDC AC31600H, 1549MB w/128kB Cache, LBA, CHS=787/64/63
hdc: TOSHIBA CD-ROM XM-5302TA, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
Started kswapd v 1.4.2.2
FDC 0 is a National Semiconductor PC87306
aic7xxx: BurstLen = 4 DWDs, Latency Timer = 64 PCLKS
aic7xxx: AIC-7850 Rev B.
aic7xxx: devconfig = 0x102.
aic7xxx: Reading SEEPROM...
aic7xxx: Unable to read SEEPROM; using leftover BIOS values.
aic7xxx: Extended translation disabled.
aic7xxx: Memory check yields 3 SCBs, paging not enabled.
AIC-7850 (PCI-bus), I/O 0xf400, Mem 0xfedfa000:
irq 10
bus release time 40 bclks
data fifo threshold 100
SCSI CHANNEL A:
scsi id 7
scsi selection timeout 256 ms
scsi bus reset at power-on enabled
scsi bus parity enabled
aic7xxx: Downloading sequencer code...done.
aic7xxx : Host adapter BIOS disabled. Using default SCSI device parameters.
aic7xxx: Resetting the SCSI bus...done.
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 4.0/3.2/4.0
scsi : 1 host.
scsi0: Scanning channel A for devices.
scsi0: Target 2, channel A, now synchronous at 3.6MHz, offset 7.
Vendor: EXABYTE Model: EXB-2501 Rev: 2900
Type: Sequential-Access ANSI SCSI revision: 02
Detected scsi tape st0 at scsi0, channel 0, id 2, lun 0
scsi : detected 1 SCSI tape total.
PPP: version 2.2.0 (dynamic channel allocation)
TCP compression code copyright 1989 Regents of the University of California
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
eth0: DE434/5 at 0xf080 (PCI bus 0, device 3), h/w address 00:00:f8:20:e2:10,
and requires IRQ11 (provided by PCI BIOS).
de4x5.c:v0.441 96/9/9 davies@wanton.lkg.dec.com
Partition check:
hda: hda1 hda2 hda3
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 44348k swap-space

Here are some more error messages:
======================================================================
Nov 21 21:33:10 mission kernel: scsi0: CMDCMPLT without command for SCB 0.
Nov 21 21:33:10 mission kernel: QOUTCNT 0, QINCNT 30, SCB state 0x0, cmd 0x0, pos(0).
Nov 21 21:33:10 mission kernel: scsi0: data overrun of 4094 bytes detected; forcing a retry.
Nov 21 21:33:10 mission kernel: scsi0: data overrun of 14334 bytes detected; forcing a retry.
Nov 21 21:33:10 mission kernel: st0: Error 27070000.
Nov 21 21:33:10 mission kernel: scsi0: data overrun of 14334 bytes detected; forcing a retry.
Nov 21 21:42:39 mission kernel: scsi0: data overrun of 8190 bytes detected; forcing a retry.
Nov 21 21:42:39 mission kernel: scsi0: data overrun of 12286 bytes detected; forcing a retry.
Nov 21 21:42:39 mission kernel: scsi0: CMDCMPLT without command for SCB 0.
Nov 21 21:42:39 mission kernel: QOUTCNT 0, QINCNT 30, SCB state 0x0, cmd 0x0, pos(0).