*BSD News Article 31631


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!warrane.connect.com.au!kralizec.zeta.org.au!not-for-mail
From: bde@kralizec.zeta.org.au (Bruce Evans)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [FreeBSD 1.1] st0: Cannot set selected modest0
Date: 15 Jun 1994 02:32:26 +1000
Organization: Kralizec Dialup Unix Sydney - +61-2-837-1183, v.32bis v.42bis
Lines: 28
Message-ID: <2tkm2q$m3f@kralizec.zeta.org.au>
References: <2tkkmf$b22@relay.tor.hookup.net>
NNTP-Posting-Host: kralizec.zeta.org.au

In article <2tkkmf$b22@relay.tor.hookup.net>,
Hubert Chu <hubert@coplanus.com> wrote:
>-- 
>Since I upgrade from FreeBSD 1.0.2 to 1.1, I have a problem in
>dumping a filesystem to SCSI tape. The error message is
>
>st0(aha0:5:0): illegal request
>st0: Cannot set selected modest0: bad request, must be between 0 and 0

Try this fix.

*** st.c~	Thu Mar 24 00:09:42 1994
--- st.c	Sun Jun  5 19:32:33 1994
***************
*** 325,328 ****
--- 325,334 ----
  	}
  	/*
+ 	 * Forget if we've loaded the media so that st_rd_blk_lim() doesn't
+ 	 * return early for the first open.
+ 	 */
+ 	sc_link->flags &= ~SDEV_MEDIA_LOADED;
+ 
+ 	/*
  	 * Set up the buf queue for this device
  	 */
-- 
Bruce Evans  bde@kralizec.zeta.org.au