From owner-freebsd-hackers Fri Jan 17 21:20:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA22847 for hackers-outgoing; Fri, 17 Jan 1997 21:20:40 -0800 (PST) Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id VAA22839 for ; Fri, 17 Jan 1997 21:20:38 -0800 (PST) Received: by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) id AA25601; Sat, 18 Jan 1997 00:20:06 -0500 Received: from ponds by dg-rtp.dg.com.rtp.dg.com; Sat, 18 Jan 1997 00:20 EST Received: from lakes.water.net (lakes [10.0.0.3]) by ponds.water.net (8.8.3/8.7.3) with ESMTP id VAA17900; Fri, 17 Jan 1997 21:31:35 -0500 (EST) Received: (from rivers@localhost) by lakes.water.net (8.8.3/8.6.9) id VAA00238; Fri, 17 Jan 1997 21:35:09 -0500 (EST) Date: Fri, 17 Jan 1997 21:35:09 -0500 (EST) From: Thomas David Rivers Message-Id: <199701180235.VAA00238@lakes.water.net> To: ponds!freefall.cdrom.com!freebsd-hackers, ponds!uriah.heep.sax.de!joerg_wunsch Subject: Re: 2.1.6.1 - SCSI problems (infinite bus reset) w/Aha2940UW (&2.2) Content-Type: text Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk J"org writes: > > As Thomas David Rivers wrote: > > > I'd like to make sure this isn't a problem in 2.2. So, > > I'm willing to mess around with things; etc... to reach that goal. > > Well, pick a recent 2.2 boot and fixit floppy. Boot it, go into > `fixit' mode, and try to do the same with your tape (maybe with the > disk mounted read/only). This should show you whether the problem > persists in 2.2 / 3.0-current. > > -- > cheers, J"org > > joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-) > Thanks to J"org's excellent suggestion, I can now say the problem continues to exist at 2.2-BETA. I duplicated this booting up the 2.2-BETA boot floppy and the using the fixit file system. I used whatever was placed in 2.2-BETA on ftp.freebsd.org (seems to be dated Dec. 25th.) Then, I mounted my CD-ROM and did the following (the CD-ROM just happens to have a 2.1.6.1 CD-ROM in it): cd /cdrom while true do ls -lR > /dev/null done which set the SCSI bus running hot-and-heavy. Then, after mounting some disk space, I did the following tar cvf . /dev/rst0 after than runs for awhile; I hit cntrl-C to stop the 'tar' and *whamo* - everything begins the reset phase. An improvement in 2.2 seems to be that the resets eventually stop. Although I can't access a single SCSI device after that. [Another interesting side-effect is that if I then say "cd /cdrom" (where I had mounted the cdrom) and then do "ls .", I get an infinite number of "ls: can't stat ." messages.] Since I can't write a log file; I've scribbled down as best I could what came up on the console: st0(ahc0:2:0): timed out in command phase, SCSISIGI==0x84 SEQADDR==0x59 st0(ahc0:2:0): abort message in message buffer st0(ahc0:2:0) time out in command phase, SCSISIGI==0x94 SEQADDR==0x5A ahc0: Issued Channel A Bus Reset. 3 SCBs aborted sd0(ahc0:0:0): UNIT ATTENTION info?:4020040 asc:29,0 sd0(ahc0:0:0): Power on, reset, or bus device reset occurred, retries:3 cd0(ahc0:3:0): timed out in dataout phase, SCSISIGI=0x0 SEQADDR==0x6 cd0(ahc0:3:0): timed out in dataout phase, SCSISIGI=0x0 SEQADDR==0x6 ahc0: Issued Channel A Bus Reset. 2 SCBs aborted ... Now - this hardware set-up was working fine, then after last Sept 25th, some aic7xxx code was pushed to 2.1.5-STABLE (which became 2.1.6(.1)) and that's when these problems showed up... if that's helpful. F.Y.I. Here's the SCSI-related dmesg output from a 2.1.6.1 probe of the machine; so you'll know what hardware I'm working with: FreeBSD 2.1.6-RELEASE #0: Mon Jan 13 20:26:15 EST 1997 rivers@lakes.water.net:/usr/src/sys/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 = 30453760 (29740K 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: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.[206798 x 2048 byte records] vga0 rev 211 int a irq 11 on pci0:20 Probing for devices on the ISA bus: ... - Dave Rivers -