Date: Tue, 24 Apr 2001 17:51:54 -0400 (EDT) From: Todd Cohen <cohentl@clarkson.edu> To: "Kenneth D. Merry" <ken@kdm.org> Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: is this device bad? Message-ID: <Pine.GSO.4.10.10104241750510.19197-100000@isis.aoc.clarkson.edu> In-Reply-To: <20010424150803.A1146@panzer.kdm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Yeah, it is da1.. sorry about that.. the other hd is this machine is a loaner and it's not the greatest either :) I'll try a different timeout.. thanks. -Todd > > Isn't the drive you're trying to talk to da1? > > The last message is the one that might pertain to da1, but I'm not sure > what that means. You'll have to ask Gerard what that means, and then we > can perhaps figure out why the disk is timing out. > > Another potential problem is the timeout length may be overflowing a 32-bit > integer. > > IIRC, HZ on the alpha is 1000. The sym(4) driver uses the following to > calculate the timeout: > > ccb->ccb_h.timeout_ch = timeout(sym_timeout, (caddr_t) ccb, > ccb->ccb_h.timeout*hz/1000); > > So with a timeout of 10800 seconds, or 10,800,000 ms, multiplied by hz, > which is likely 1000 on the alpha, you would overflow a 32-bit integer. > > So try a timeout of 4200 seconds instead, and see if that works. That's 70 > minutes, but it might be enough for the format to complete. > > If not, we'll have to adjust the above calculation to use 64-bit math so it > won't overflow. > > Ken > -- > Kenneth Merry > ken@kdm.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message > __________________________________________________________________________ ICMP: The protocol that goes PING! I like angles, but only to a degree. cthread. cthread_fork(). Fork, thread, fork! Black holes suck. http://wckn.clarkson.edu/~cohentl/ Real_men_don't_need_spacebars. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10104241750510.19197-100000>