From owner-freebsd-bugs Mon Jul 24 14:02:30 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id OAA11523 for bugs-outgoing; Mon, 24 Jul 1995 14:02:30 -0700 Received: from nikhefh.nikhef.nl (nikhefh.nikhef.nl [192.16.199.1]) by freefall.cdrom.com (8.6.11/8.6.6) with SMTP id OAA11514 for ; Mon, 24 Jul 1995 14:02:25 -0700 Received: from paramount.nikhefk.nikhef.nl [192.16.185.38] by nikhefh.nikhef.nl with SMTP id XA15485; Mon, 24 Jul 1995 23:02:12 +0200 Received: from paramount.nikhefk.nikhef.nl [192.16.185.38] (adri) by paramount.nikhefk.nikhef.nl with SMTP id XA27920; Mon, 24 Jul 1995 23:02:08 +0200 Received: by adri with Microsoft Mail id <01BA5A19.2E74D1C0@adri>; Mon, 24 Jul 1995 22:59:50 +-200 Message-ID: <01BA5A19.2E74D1C0@adri> From: Adri Koppes To: "freebsd-bugs@FreeBSD.org" Subject: RE: Problems with Tandberg streamer Date: Mon, 24 Jul 1995 22:59:44 +-200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: bugs-owner@FreeBSD.org Precedence: bulk ---------- From: J Wunsch[SMTP:j@uriah.heep.sax.de] Sent: maandag 24 juli 1995 10:21 To: Adri Koppes Cc: freebsd-bugs@FreeBSD.org; lukosch@ibm.net Subject: Re: Problems with Tandberg streamer As Adri Koppes wrote: > > >Hardware: > >Tandberg 36XX 150MB Streamer > >kernel: st0(aha0:4:0): illegal request > >st0: Cannot set selected mode > >st0: oops not queued > >tar: read error on /dev/rst0 : Input/output error > >A tape operation is not working. Under FreeBSD 1.1.5 > >a tape operation was possible once. > I had exactly the same thing happen under 1.1.5 and 2.0. Tape load, rewind > and erase would work, but no reading or writing. > It turned out that my tape (wangtek 5525ES), when set in SCSI-2 mode, wanted > the SCSI-2 bit turned on in the mode select command. > I believe i made some changes for 1.1.5. I might be able to dig them up. For > 2.0 I just set the tape to SCSI-1 mode. Which adapters do you use? I'm using the exact same streamer (TDC36XX) without any problem now. This is with a BusLogic BT742A and the bt driver. The only problem previously (including 2.0.5R) has been that any operation on the rewind device worked only once, and i had to manually unload/reload the tape after this. This has been fixed with the following revision of sys/scsi/st.c: revision 1.37 date: 1995/07/09 08:14:24; author: joerg; state: Exp; lines: +8 -6 PR #kern/572: >Synopsis: Booting w/scsi tape in drive causes first use to fail Booting with a tape in a SCSI tape drive will cause the first use of the tape to fail with the following message: st0: bad request, must be between 0 and 0. Submitted by: mpp@legarto.minn.net (Mike Pritchard) Does fiddling with the drive settings (via mt(1)) change anything? I am using an AHA-1740B or AHA1540B and a Wangtek 5525ES tape streamer. The problem only occurs if i set my tape to SCSI-2. Perhaps the Tandberg tape has a similar setting? Adri.