From owner-freebsd-hackers Sat Nov 2 21:20:44 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA23943 for hackers-outgoing; Sat, 2 Nov 1996 21:20:44 -0800 (PST) Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id VAA23929 for ; Sat, 2 Nov 1996 21:20:40 -0800 (PST) Received: by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) id AA29045; Sun, 3 Nov 1996 00:20:03 -0500 Received: from ponds by dg-rtp.dg.com.rtp.dg.com; Sun, 3 Nov 1996 00:20 EST Received: from lakes.water.net (lakes [10.0.0.3]) by ponds.water.net (8.7.5/8.7.3) with ESMTP id VAA11092 for ; Sat, 2 Nov 1996 21:11:49 -0500 (EST) Received: (from rivers@localhost) by lakes.water.net (8.7.5/8.6.9) id VAA00237; Sat, 2 Nov 1996 21:12:39 -0500 (EST) Date: Sat, 2 Nov 1996 21:12:39 -0500 (EST) From: Thomas David Rivers Message-Id: <199611030212.VAA00237@lakes.water.net> To: ponds!freefall.cdrom.com!freebsd-hackers, ponds!lakes.water.net!rivers Subject: AHA2940 problems with 2.1.5-STABLE. Content-Type: text Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I've just recovered from a "lock-up" of sorts in the aha2940 code. Apparently, what I was doing triggered a reset of the SCSI bus; which sent the ahc0: driver into a loop; continually resetting the drives. Although the machine was "working" - I couldn't get access to any of the SCSI devices: disk drives, tapes or CD-ROM. Of course, the ahc driver was producing much output; but syslogd was unable to actually write this to /var/log/messages... I quickly wrote it down; but could be mistaken here: QOUTINT=0 cd0(ahc0:3:0) time out in status phase, SCSISGI==0xe6 sd1(ahc0:1:0) asserted ATN - device reset in message buffer sd1(ahc0:1:0) timed out in status phase, SCSISGI==0xf6 ahc0: Issued Channel A Bus Reset #1. 4 SCBs aborted This repeated for a while, and then the output changed to: QOUTINT=0 cd0(ahc0:3:0) unknown error category from host adapter code sd1(ahc0:1:0) asserted ATN - device reset in message buffer sd1(ahc0:1:0) timed out in status phase, SCSISGI==0xf6 ahc0: Issued Channel A Bus Reset #1. 4 SCBs aborted Then, it changed again to: QOUTINT=0 cd0(ahc0:3:0) time out in status phase, SCSISGI==0xe6 sd1(ahc0:1:0) asserted ATN - device reset in message buffer sd1(ahc0:1:0) timed out in status phase, SCSISGI==0xf6 ahc0: Issued Channel A Bus Reset #1. 5 SCBs aborted ahc0: WARNING no command for scb1 (cmdcmplt) It would cycle between these basic three... After about 15 minutes, I rebooted the machine... Now - the question to ask is just what did I do to cause this. 1) Begin writing a tape, using tar. 2) Start Xmcd and begin playing a CD. This will cause the tape writing to start to fail; with write error messages. 3) Stop the CD. This sent my machine into the loop. My configuration is a pentium 133 PCI machine, Triton II VX chipset, with the following devices (from my latest reboot.): FreeBSD 2.1.5-STABLE #1: Sat Nov 2 09:09:05 EST 1996 rivers@lakes.water.net:/usr/src/sys.2.1.5S/compile/LAKES CPU: 133-MHz Pentium 735\90 or 815\100 (Pentium-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x1bf real memory = 33554432 (32768K bytes) avail memory = 30605312 (29888K bytes) Probing for devices on PCI bus 0: chip0 rev 1 on pci0:0 chip1 rev 1 on pci0:7:0 chip2 rev 0 on pci0:7:1 ahc0 rev 0 int a irq 15 on pci0:17 ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs ahc0 waiting for scsi devices to settle (ahc0:0:0): "HP C3323-300 4242" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 1003MB (2056008 512 byte sectors) ahc0:A:1: refuses WIDE negotiation. Using 8bit transfers (ahc0:1:0): "MICROP 1548-15MZ1077802 HZ2P" type 0 fixed SCSI 1 sd1(ahc0:1:0): Direct-Access 1635MB (3349512 512 byte sectors) ahc0:A:2: refuses WIDE negotiation. Using 8bit transfers ahc0:A:2: refuses syncronous negotiation. Using asyncronous transfers (ahc0:2:0): "WANGTEK 5150ES SCSI FA23 08" type 1 removable SCSI 1 st0(ahc0:2:0): Sequential-Access drive offline (ahc0:3:0): "NEC CD-ROM DRIVE:400 1.0" type 5 removable SCSI 2 cd0(ahc0:3:0): CD-ROM cd present.[320520 x 2048 byte records] vga0 rev 211 int a irq 11 on pci0:20 I'm running a 2.1.5-STABLE kernel I grabbed on Oct. 17th. I'd be happy to assist in any way in tracking this down... - Dave Rivers -