Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 1998 07:06:58 +0200 (CEST)
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/7803: timeout in scsiformat to small
Message-ID:  <199809020506.HAA28539@internal>

next in thread | raw e-mail | index | archive | help

>Number:         7803
>Category:       bin
>Synopsis:       timeout in scsiformat to small
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep  1 22:10:00 PDT 1998
>Last-Modified:
>Originator:     Andre Albsmeier
>Organization:
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:

Probably all FreeBSD systems.

>Description:

The timeout of 4 hours in /sbin/scsiformat is rather small. For example,
I got a ST423451N (:-() and like all Seagate drives, it has to be formatted
from time to time. It took more that 4 hours until the command timed out.
I think a good value would be 28800 (8 hours) but this is just proposal.

>How-To-Repeat:

Format a ST423451N with scsiformat.

>Fix:

If someone commits this, please commit it to -STABLE at least. Thanks.
	
--- sbin/scsiformat/scsiformat.sh.ORI	Wed Sep  2 07:01:03 1998
+++ sbin/scsiformat/scsiformat.sh	Wed Sep  2 07:01:17 1998
@@ -140,5 +140,5 @@
 	fi
 	# formatting may take a huge amount of time, set timeout to 4 hours
 	echo "Formatting... this may take a while."
-	scsi -s 14400 -f $RAW -c "4 0 0 0 0 0"
+	scsi -s 28800 -f $RAW -c "4 0 0 0 0 0"
 fi
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809020506.HAA28539>