Subject: Re: kern/7300: 'chio ielem' does not work well
To: Manuel Bouyer <>
From: Greg A. Woods <>
List: netbsd-bugs
Date: 04/02/1999 11:57:04
[ On Friday, April 2, 1999 at 10:56:28 (+0200), Manuel Bouyer wrote: ]
> Subject: Re: kern/7300: 'chio ielem' does not work well
> How many time do you get between the command and the error ?
> It's possible that the timeout value is too low (a single tape load
> on my LXS library takes 90s, so I guess a 'chio ielem' on it would take
> 90 * 15 = about 23 mn (I never tried chio ielem).
> However I guess the default value should be enouth here, without the bug:
> there is a '* 60' missing, meaning this makes a timeout of 5s per element,
> instead of 5mn.

That would indeed appear to be the problem.  The timeout in 1.3.3 is a
fixed 100 seconds -- definitely not long enough to load and unload 10
tapes with a slow-as-molasses-in-Antarctica EXB-8505 drive.

> Here is a patch against 1.3I sources, the 1.3.3 should not be very different.

I'll try pulling in the new timeout calculation and add your fix for the
bug....  This will at least give the machine time to do something, even
if it doesn't do the right thing!  Thanks for pointing me at the
problem, and the fix!  Here's hoping the library does the right thing too!

(I presume someone will check in the bug fix and that a separate PR is
not necessary....)

							Greg A. Woods

+1 416 218-0098      VE3TCP      <>      <robohack!woods>
Planix, Inc. <>; Secrets of the Weird <>