*BSD News Article 80094


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Timeouts on CD-Rom changer
Date: 6 Oct 1996 18:11:56 GMT
Organization: Private BSD site, Dresden
Lines: 32
Message-ID: <538spc$90e@uriah.heep.sax.de>
References: <53521a$m9@ionews.ionet.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

rsamples@texhoma.net (Ryan Samples) wrote:

> I run a Pioneer DRM-602X SCSI Cd-Rom changer. 
> 
> Here is the problem, I run a mount_cd9660 /dev/cd0a /cdrom and the first drive 
> mounts fine, however when I do a mount_cd9660 /dev/cd1a /cdrom2 for disk 2 the 
> SCSI card times out while the disk is switching.

Many timeouts inside the `cd' driver are too low for changer devices.
You can try bumping them, just to give it a try.  (Look at the calls
to the function `scsi_scsi_cmd()'.)

> It appears that mabey the SCSI card is taking control of the cpu while the disk 

Nope.  This is unrelated to the CPU.

> is changing. I have the SCSI_DELAY set to 25 however the timeout I am 

This won't change anything, it only increases the initial timeout
during the device probe.

> experiencing is at 10 seconds.  Where and how can I change this timeout say 15 
> or 20 seconds?

See above.  The source file in question is /sys/scsi/cd.c.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)