From owner-freebsd-scsi Sat Sep 6 14:48:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA04701 for freebsd-scsi-outgoing; Sat, 6 Sep 1997 14:48:48 -0700 (PDT) Received: from DonaldBurr.dyn.ml.org (ppp6079.la.inreach.net [199.107.160.79]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA04680; Sat, 6 Sep 1997 14:48:35 -0700 (PDT) Received: from localhost (dburr@localhost) by DonaldBurr.dyn.ml.org (8.8.5/8.8.5) with SMTP id OAA14944; Sat, 6 Sep 1997 14:49:38 -0700 (PDT) X-Authentication-Warning: DonaldBurr.DonaldBurr.dyn.ml.org: dburr owned process doing -bs Date: Sat, 6 Sep 1997 14:49:37 -0700 (PDT) From: Donald Burr X-Sender: dburr@DonaldBurr.DonaldBurr.dyn.ml.org To: FreeBSD SCSI cc: AIC7xxx List Subject: Anyone successfully use Wangtek 5525ES with FreeBSD 2.2.2? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I just acquired a Wangtek 5525ES SCSI tape drive. More specifically, it is a: (ahc0:4:0): "WANGTEK 5525ES SCSI REV7 3R1" type 1 removable SCSI 1 st0(ahc0:4:0): Sequential-Access density code 0xc, drive empty (a SCSI-1, QIC-525 tape drive) This is running in a FreeBSD 2.2.2-RELEASE system with an Adaptec AHA-2940AU PCI SCSI controller. Anyway, here's the problem: Sometimes, the tape drive locks up the system. This only happens on commands which actually access the tape drive -- e.g. tar, cpio, etc. Even an "mt retension" will do it, though an "mt status" doesn't (yet...). When this happens, it appears that the tape drive locks up -- the motors don't wind, I can't the offending process, etc. BUT the system ISN'T locked -- I can switch over to another VC and login and do stuff. The SCSI bus isn't locked either--I can log in on another VC and access my SCSI CD-ROM, Jaz drive, etc. After a LONG time, the kernel prints error messages similar to the following: Sep 5 15:01:51 DonaldBurr /kernel: st0(ahc0:4:0): NOT READY csi:40,0,0,0 Sep 5 15:04:32 DonaldBurr login: ROOT LOGIN (root) ON ttyv1 Sep 5 15:33:51 DonaldBurr /kernel: st0(ahc0:4:0): SCB 0x2 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 Sep 5 15:33:51 DonaldBurr /kernel: SEQADDR = 0x6 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa Sep 5 15:33:51 DonaldBurr /kernel: st0(ahc0:4:0): Queueing an Abort SCB Sep 5 15:33:51 DonaldBurr /kernel: st0(ahc0:4:0): Abort Message Sent Sep 5 15:33:51 DonaldBurr /kernel: st0(ahc0:4:0): SCB 2 - Abort Completed. Sep 5 15:33:51 DonaldBurr /kernel: st0(ahc0:4:0): no longer in timeout Sep 5 15:40:30 DonaldBurr login: ROOT LOGIN (root) ON ttyv2 Sep 5 15:48:51 DonaldBurr /kernel: st0(ahc0:4:0): SCB 0x2 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0 Sep 5 15:48:51 DonaldBurr /kernel: SEQADDR = 0x7 SCSISEQ = 0x12 SSTAT0 = 0x5 SSTAT1 = 0xa Sep 5 15:48:51 DonaldBurr /kernel: st0(ahc0:4:0): SCB 2: Immediate reset. Flags = 0x1 Sep 5 15:48:51 DonaldBurr /kernel: ahc0: Issued Channel A Bus Reset. 1 SCBs aborted Sep 5 15:48:51 DonaldBurr /kernel: Clearing bus reset Sep 5 15:48:51 DonaldBurr /kernel: Clearing 'in-reset' flag Sep 5 15:48:52 DonaldBurr /kernel: st0(ahc0:4:0): no longer in timeout Sep 5 15:48:52 DonaldBurr /kernel: st0(ahc0:4:0): UNIT ATTENTION Sep 5 15:48:52 DonaldBurr /kernel: st0(ahc0:4:0): Target Busy Sep 5 15:48:52 DonaldBurr last message repeated 7 times Sep 5 15:48:53 DonaldBurr /kernel: sd0(ahc0:0:0): UNIT ATTENTION asc:29,0 Sep 5 15:48:54 DonaldBurr /kernel: sd0(ahc0:0:0): Power on, reset, or bus device reset occurred field replaceable unit: 14 Sep 5 15:48:54 DonaldBurr /kernel: , retries:4 Sep 5 15:49:00 DonaldBurr /kernel: st0(ahc0:4:0): Target Busy Sep 5 15:49:00 DonaldBurr last message repeated 5 times I know it sound cheesy, but "this drive works fine under Win95" (using teh tape backup application that came in Adaptec's EZ-SCSI software) I haven't been brave enough (or had enough disk space) to install Linux and try it with this tape drive. Is this a hardware problem, a FreeBSD problem, or an Adaptec problem? I have heard stories of the AHA2940 type cards being unstable -- guess I should have thought twice before buying one. But I really had no choice, as all of my ISA slots were full (otherwise I would've bought a AHA1542, which I'm MUCH more comforatable using). Someone has told me that upgrading the kernel can fix a lot of this (it contains a better aic7xxx driver?). Unfortunately, I'm not sure which version of the kernel to upgrade to, or even how to perform this upgrade (do I need to update the whole FreeBSD system, or can I just download the kernel 'sys' files and rebuild from those?) Please respond by e-mail if possible. Thanks! Donald Burr - Ask me for my PGP key | PGP: Your WWW HomePage: http://DonaldBurr.base.org/ ICQ #1347455 | right to Address: P.O. Box 91212, Santa Barbara, CA 93190-1212 | 'Net privacy. Phone: (805) 957-9666 FAX: (800) 492-5954 | USE IT.