atom feed13 messages in org.freebsd.freebsd-scsiRe: is this device bad?
FromSent OnAttachments
Todd CohenApr 23, 2001 5:03 pm 
Kenneth D. MerryApr 23, 2001 5:16 pm 
J WunschApr 24, 2001 3:49 am 
Mike SquiresApr 24, 2001 6:33 am 
Todd CohenApr 24, 2001 9:10 am 
Kenneth D. MerryApr 24, 2001 9:23 am 
Todd CohenApr 24, 2001 9:24 am 
Kenneth D. MerryApr 24, 2001 9:55 am 
Todd CohenApr 24, 2001 11:43 am 
Kenneth D. MerryApr 24, 2001 11:55 am 
Todd CohenApr 24, 2001 11:59 am 
Kenneth D. MerryApr 24, 2001 2:07 pm 
Todd CohenApr 24, 2001 2:51 pm 
Subject:Re: is this device bad?
From:Todd Cohen (cohe@clarkson.edu)
Date:Apr 24, 2001 2:51:32 pm
List:org.freebsd.freebsd-scsi

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.

To Unsubscribe: send mail to majo@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 majo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message