Date: Mon, 23 Oct 1995 12:24:17 -0400 (EDT) From: Peter Dufault <dufault@hda.com> To: hvd@terry.ping.dk (Henrik Vestergaard Draboel) Cc: freebsd-questions@terry.ping.dk Subject: Re: Troubles dumping SCSI-disk Message-ID: <199510231624.MAA27114@hda.com> In-Reply-To: <199510221951.UAA01267@terry.terry.ping.dk> from "Henrik Vestergaard Draboel" at Oct 22, 95 08:51:51 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> I have 3 scsi disks in my system. One of them is a IBM-spitfire, 1gb > fast-scsi-2, connected to my ahc-2940w. > > When I try to dump(8) this disk it always fails, with a lot of > messages logged to the console (log/messages attached). > > My other 2 scsi- and 3 ide-disks dump(8) with out problems! > > "dd if=/dev/rsd1a of=/dev/null" and "iozone" run ok, while "tar cf > /dev/null /usr2" also fails, when the disk is close-to full. > > Can anybody help me with this? ... > Oct 22 20:31:50 terry /kernel: sd1(ahc0:4:0): NOT READY asc:4,1 > Oct 22 20:31:50 terry /kernel: sd1(ahc0:4:0): Logical unit is in process of becoming ready > Oct 22 20:31:50 terry /kernel: , retries:2 This is a problem in the current SCSI driver where it doesn't delay at all between the detection of the error and the retry. I don't know why your disk is "in the process of becoming ready", but we should probably give it at least a few milliseconds to come ready. In general, if something is "becoming ready" we should probably keep retrying for a long time. As a hack, and to at least let you do dumps and verify that this is the problem, if you have the source and can rebuild the kernel it isn't hard to make "asc:4,1" infinitely retried. Unfortunately, it is a lot harder to do something more intelligent. Note that this will allow your system to hang forever doing disk retries. If you want those really stupid patches ask me and I'll send them to you. -- Peter Dufault Real Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510231624.MAA27114>