Date: Mon, 28 Apr 1997 21:09:19 -0600 From: Warner Losh <imp@village.org> To: Simon Shapiro <Shimon@i-Connect.Net> Cc: Peter Dufault <dufault@hda.com>, freebsd-hackers@freebsd.org Subject: Re: A Desparate Plea for Help... Message-ID: <E0wM3I8-0000ws-00@rover.village.org> In-Reply-To: Your message of "Mon, 28 Apr 1997 10:25:49 PDT." <XFMail.970428184023.Shimon@i-Connect.Net> References: <XFMail.970428184023.Shimon@i-Connect.Net>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <XFMail.970428184023.Shimon@i-Connect.Net> Simon Shapiro writes: : : Hi Peter Dufault; On 28-Apr-97 you wrote: : > (To keep the jazz from spinning down send it a TEST UNIT READY : > every so often). : : To keep this motor here from boiling over, use this here coathanger to tie : this belt together :-))) I know this trick... I was expecting Iomega, for : an initial order of 200 units to at least answer the question, or supply a : spec. It is a dog-slow device anyway. You might wanna try the patch that I've been using here for a while. It seems to work and fixed my dumps trash the /jaz mount point problem that you may have seen in the list archives. This is against a few days old kernel, so it should apply fairly cleanly. Thanks to Joerge who pointed me at the od.c code that already did this sort of thing. Warner P.S. What do others thing of the change? Index: sd.c =================================================================== RCS file: /home/imp/FreeBSD/CVS/src/sys/scsi/sd.c,v retrieving revision 1.104 diff -u -r1.104 sd.c --- sd.c 1997/03/24 11:25:02 1.104 +++ sd.c 1997/03/28 15:42:39 @@ -271,6 +271,12 @@ dev, unit, PARTITION(dev))); /* + * In case it is a funny one, tell it to start + * not needed for most hard drives (ignore failure) + */ + scsi_start_unit(sc_link, SCSI_ERR_OK | SCSI_SILENT); + + /* * "unit attention" errors should occur here if the * drive has been restarted or the pack changed. * just ingnore the result, it's a decoy instruction @@ -294,11 +300,6 @@ dsgone(&sd->dk_slices); } - /* - * In case it is a funny one, tell it to start - * not needed for most hard drives (ignore failure) - */ - scsi_start_unit(sc_link, SCSI_ERR_OK | SCSI_SILENT); /* * Check that it is still responding and ok.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0wM3I8-0000ws-00>