From owner-freebsd-scsi Tue Apr 24 14:51:59 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from mail.clarkson.edu (mail.clarkson.edu [128.153.4.10]) by hub.freebsd.org (Postfix) with SMTP id A233237B422 for ; Tue, 24 Apr 2001 14:51:56 -0700 (PDT) (envelope-from cohentl@clarkson.edu) Received: (qmail 26484 invoked by uid 0); 24 Apr 2001 21:51:53 -0000 Received: from isis.aoc.clarkson.edu (128.153.130.35) by mail.clarkson.edu with SMTP; 24 Apr 2001 21:51:53 -0000 Date: Tue, 24 Apr 2001 17:51:54 -0400 (EDT) From: Todd Cohen X-Sender: cohentl@isis.aoc.clarkson.edu To: "Kenneth D. Merry" Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: is this device bad? In-Reply-To: <20010424150803.A1146@panzer.kdm.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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