From owner-freebsd-scsi Wed Aug 5 04:22:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA00621 for freebsd-scsi-outgoing; Wed, 5 Aug 1998 04:22:59 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from limes.NIC.DTAG.DE (limes.NIC.DTAG.DE [194.25.1.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA00616 for ; Wed, 5 Aug 1998 04:22:55 -0700 (PDT) (envelope-from bm@Reineke.malepartus.de) Received: from kronos.NIC.DTAG.DE (kronos.NIC.DTAG.DE [194.25.1.92]) by limes.NIC.DTAG.DE (8.8.5/8.8.3) with ESMTP id NAA20361 for ; Wed, 5 Aug 1998 13:21:37 +0200 (MET DST) Received: from kronos.NIC.DTAG.DE (kronos.NIC.DTAG.DE [194.25.1.92]) by limes.NIC.DTAG.DE (8.8.5/8.8.3) with ESMTP id NAA20361 for ; Wed, 5 Aug 1998 13:21:37 +0200 (MET DST) Received: from Reineke.malepartus.de (reineke.malepartus.de [194.25.4.66]) by kronos.NIC.DTAG.DE (8.8.5/8.7.1) with ESMTP id NAA14596 for ; Wed, 5 Aug 1998 13:22:38 +0200 (MET DST) Received: from Reineke.malepartus.de (localhost.Malepartus.de [127.0.0.1]) by Reineke.malepartus.de (8.8.8/8.8.8) with ESMTP id MAA00367; Wed, 5 Aug 1998 12:31:49 +0200 (MEST) (envelope-from bm@Reineke.malepartus.de) Message-Id: <199808051031.MAA00367@Reineke.malepartus.de> X-Mailer: exmh version 2.0.2 2/24/98 From: Burkard Meyendriesch To: Burkard Meyendriesch cc: "Kenneth D. Merry" , scsi@FreeBSD.ORG Subject: Re: SCSI errors with Tandberg QIC drive In-reply-to: Your Message from Wed, 05 Aug 1998 11:18:33 +0200. <199808050918.LAA00650@Reineke.malepartus.de> X-organization: The home of Reineke Fuchs X-GPOS: 52.0844N 7.9081E X-phone: +49 5484 96097 X-pgp-fingerprint: DF 83 04 CD B5 D1 10 43 57 4C AD 9A B1 02 28 17 X-face: "[-;]oI+8gP9>*J%knDN8d%DuhvJS2Lj4L\bRb7gz(pcT?2Zh6_Vam_6csAum3$<&lhAFd^ jt|!&Ut1C~Vg*E/q}+#cbFg-GU]c.bB8Ad,L'W$'9{^0y'AzM4#hS[C[F-1'|O;Kg3Vrq5q6dsU*TmJ@}+QPM\ b[^9Rhd,UoMpRpd5k[X=h.Dom*kbT`cNQ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 05 Aug 1998 12:31:49 +0200 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id EAA00617 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 1998-08-05 11:18:33 +0200 Burkard Meyendriesch wrote: > > 1998-08-04 18:02:13 MDT > "Kenneth D. Merry" wrote: > > > > Burkard Meyendriesch wrote... > > > > > > After installing "2.2CAM-19980716-SNAP.diffs.gz" on my -stable system > > > (2.2_797) I get the following error messages when using my Tandberg > > > tape drive: > > > > > > ahc0 rev 0 int a irq 11 on pci0:13:0 > > > ahc0: Using left over BIOS settings > > > ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs > > > > > > sa1 at ahc0 bus 0 target 5 lun 0 > > > sa1: Removable Sequential Access SCSI1 device > > > sa1: 3.300MB/s transfers > > > > > > > > > The error message is: > > > > > > (sa1:ahc0:0:5:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 > > > (sa1:ahc0:0:5:0): ILLEGAL REQUEST asc:8,b4 > > > (sa1:ahc0:0:5:0): Vendor Specific ASCQ field replaceable unit: 20 > > > [lots of them] > > > > > > After the first of these error messages my tape drive doesn't accept > > > any further command. What's going wrong? > > > > It looks like your drive goes nuts when it's asked for the > > compression page. Try changing the quirk table near the top of scsi_sa.c: > > > > static struct sa_quirk_entry sa_quirk_table[] = > > { > > { > > { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE", > > "Python 25601*", "*"}, /*quirks*/SA_QUIRK_NOCOMP > > } > > }; > > > > to look like this: > > > > static struct sa_quirk_entry sa_quirk_table[] = > > { > > { > > { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "ARCHIVE", > > "Python 25601*", "*"}, /*quirks*/SA_QUIRK_NOCOMP > > }, > > { > > { T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "TANDBERG", > > "TDC 3600", "*"}, /*quirks*/SA_QUIRK_NOCOMP > > } > > }; > > > > That will tell the tape driver not to ask for the compression page > > from your tape drive. Justin and I have talked about dumping all mode > > pages from each device at probe time so we'd have a bitmask of which pages > > are supported and which aren't, but we haven't yet gotten around to it. > > So, for now, that quirk entry should get you up and running. > > > > Let me know whether or not it works for you. If it does, I'll put > > it in the driver until we can do the "mode page database" code. > > > Thanks, that solves my problem :-) > Hmm... it SEEMED to solve my problem; the tape drive is working now and the error messages disappeared. But: after a typical tar command: tar tvzf /dev/rsd1 my system crashes ervery time when the end of the tape is reached; there is no further error message or crash dump; the system simply reboots :-(( Burkard -- * Burkard Meyendriesch ___ bm@malepartus.de * * Hauptstrasse 45 ________|________ tel +49 5484 96097 * * D-49219 Glandorf-Schwege 0 52 05'05"N 07 54'29"E * * PGP-Fingerprint DF 83 04 CD B5 D1 10 43 57 4C AD 9A B1 02 28 17 * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message