From owner-freebsd-questions Thu Jun 22 07:57:23 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA11012 for questions-outgoing; Thu, 22 Jun 1995 07:57:23 -0700 Received: from tellab5.lisle.tellabs.com (tellab5.lisle.tellabs.com [138.111.243.28]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id HAA11006 ; Thu, 22 Jun 1995 07:57:21 -0700 Received: from genesis by tellab5.lisle.tellabs.com with smtp (Smail3.1.29.1 #4) id m0sOnb4-000jDSC; Thu, 22 Jun 95 09:51 CDT Message-Id: From: mikebo@tellabs.com (Mike Borowiec) Subject: Re: FBSD 2.xR: AIC7xxx driver vs. st() driver vs. tape drives To: mpp@legarto.minn.net (Mike Pritchard) Date: Thu, 22 Jun 1995 09:51:07 -0500 (CDT) Cc: deischen@iworks.InterWorks.org, gibbs@freebsd.org, mikebo@tellabs.com, questions@freebsd.org In-Reply-To: <199506212249.RAA00258@mpp.com> from "Mike Pritchard" at Jun 21, 95 05:49:29 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1362 Sender: questions-owner@freebsd.org Precedence: bulk Mike wrote: > > > >DEBUG: Notify: Attempting to extract from SCSI tape drive... > > >DEBUG: Executing command 'cpio -iBduVm -H tar -I /dev/rst0' (Magic 0) > > >st0(ahc1:2:0): ILLEGAL REQUEST > > >st0: Cannot set selected mode > > >st0: bad request, must be between 0 and 0 > > >cpio: read error: Input/output error > > >DEBUG: Command 'cpio -iBduVm -H tar -I /dev/rst0' returns status of 1 > > Are you booting with a tape in the drive? I just tracked down > the "bad request, must be between 0 and 0" problem that > I've seen before. If a tape is in the drive at boot time, > st_mode_sense is called and sets the MEDIA_LOADED flag. > When st_mount_tape is called and then calls st_rd_blk_lim, > st_rd_blk_lim sees the MEDIA_LOADED flag and returns without doing > anything, thus causing the above error. > ... stuff deleted ... I'll try your patch, but yes, I've tried booting both with and without the load tape in the drive. It didn't seem to make any difference... - Mike -- -------------------------------------------------------------------------- Michael Borowiec Network Operations Tellabs Operations, Inc. mikebo@TELLABS.COM 1000 Remington Blvd. MS109 708-378-6007 FAX: 708-378-6714 Bolingbrook, IL, USA 60440 --------------------------------------------------------------------------