Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.nla.gov.au!act.news.telstra.net!psgrain!iafrica.com!xwing.wcape.gov.za!root From: root@xwing.wcape.gov.za (Sean White) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: SCSI bus hangs - AIC7870 Date: 18 Mar 1996 07:27:40 GMT Organization: Internet Africa Lines: 26 Message-ID: <4ij39c$6ch@newnews.iafrica.com> References: <4if5db$bl8@newnews.iafrica.com> <4ii99h$mog@uriah.heep.sax.de> NNTP-Posting-Host: xwing.wcape.gov.za X-Newsreader: TIN [version 1.2 PL2] J Wunsch (j@uriah.heep.sax.de) wrote: : It seems that the Sony DAT might take an unusual long amount of time : to rewind, so the controller gets nervouse and aborts the operation : (making everything worse by this). Hmm... makes sense, although that doesn't explain why the 2742 (using AIC7770) doesn't appear to have the same problem. Same code, same OS, different machine. : Can you play with the timeouts in the sys/scsi/st.c tape driver? Each : call to scsi_scsi_cmd() gets a timeout parameter (in milliseconds, if : i remember well). Try a simple tweaking, and see if it helps. As I read the code (and I'm not a C programmer!), the timeout is set to either 5000ms or 300000ms depending on whether st_rewind is called with immed set to TRUE or FALSE and it looks like it's set to FALSE. However, the bus lock happens after about 5 seconds of waiting so I could be reading the code wrong. I'll try switching things around and see what happens. Will post my findings here. Thanks, and best regards, Sean.