Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 1995 09:51:07 -0500 (CDT)
From:      mikebo@tellabs.com (Mike Borowiec)
To:        mpp@legarto.minn.net (Mike Pritchard)
Cc:        deischen@iworks.InterWorks.org, gibbs@freebsd.org, mikebo@tellabs.com, questions@freebsd.org
Subject:   Re: FBSD 2.xR: AIC7xxx driver vs. st() driver vs. tape drives
Message-ID:  <m0sOnb4-000jDSC@tellab5.lisle.tellabs.com>
In-Reply-To: <199506212249.RAA00258@mpp.com> from "Mike Pritchard" at Jun 21, 95 05:49:29 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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
--------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0sOnb4-000jDSC>