Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 1996 21:12:39 -0500 (EST)
From:      Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
To:        ponds!freefall.cdrom.com!freebsd-hackers, ponds!lakes.water.net!rivers
Subject:   AHA2940 problems with 2.1.5-STABLE.
Message-ID:  <199611030212.VAA00237@lakes.water.net>

next in thread | raw e-mail | index | archive | help

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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
    real memory  = 33554432 (32768K bytes)
    avail memory = 30605312 (29888K bytes)
    Probing for devices on PCI bus 0:
    chip0 <generic PCI bridge (vendor=%04x device=%04x subclass=%1.2d)> rev 1 on pci0:0
    chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
    chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
    ahc0 <Adaptec 2940 Ultra SCSI host adapter> 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 <VGA-compatible display device> 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 -



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611030212.VAA00237>