Date: Wed, 05 Aug 1998 12:31:49 +0200 From: Burkard Meyendriesch <bm@malepartus.de> To: Burkard Meyendriesch <bm@malepartus.de> Cc: "Kenneth D. Merry" <ken@plutotech.com>, scsi@FreeBSD.ORG Subject: Re: SCSI errors with Tandberg QIC drive Message-ID: <199808051031.MAA00367@Reineke.malepartus.de> In-Reply-To: Your Message from Wed, 05 Aug 1998 11:18:33 %2B0200. <199808050918.LAA00650@Reineke.malepartus.de>
index | next in thread | previous in thread | raw e-mail
1998-08-05 11:18:33 +0200
Burkard Meyendriesch <bm@malepartus.de> wrote:
>
> 1998-08-04 18:02:13 MDT
> "Kenneth D. Merry" <ken@plutotech.com> 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 <Adaptec aic7880 Ultra SCSI adapter> 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: <TANDBERG TDC 3600 -07:> 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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808051031.MAA00367>
