From andre.albsmeier@mchp.siemens.de  Tue Sep  1 22:08:12 1998
Received: from david.siemens.de (david.siemens.de [192.35.17.14])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA09783
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 1 Sep 1998 22:08:11 -0700 (PDT)
          (envelope-from andre.albsmeier@mchp.siemens.de)
Received: from mail.siemens.de (salomon.siemens.de [139.23.33.13])
	by david.siemens.de (8.9.1/8.9.1) with ESMTP id HAA12162
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 2 Sep 1998 07:07:02 +0200 (MET DST)
Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23])
	by mail.siemens.de (8.9.1/8.9.1) with ESMTP id HAA16161
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 2 Sep 1998 07:07:04 +0200 (MET DST)
Received: (from daemon@localhost)
	by curry.mchp.siemens.de (8.8.8/8.8.8) id HAA20844
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 2 Sep 1998 07:07:00 +0200 (CEST)
Message-Id: <199809020506.HAA28539@internal>
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: timeout in scsiformat to small
X-Send-Pr-Version: 3.2

>Number:         7803
>Category:       bin
>Synopsis:       timeout in scsiformat to small
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep  1 22:10:00 PDT 1998
>Closed-Date:    Tue Nov 24 20:45:29 PST 1998
>Last-Modified:  Tue Nov 24 20:47:14 PST 1998
>Originator:     Andre Albsmeier
>Release:        FreeBSD 2.2.7-STABLE i386
>Organization:
>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
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkoshy 
State-Changed-When: Tue Nov 24 20:45:29 PST 1998 
State-Changed-Why:  
Patch committed to rev 1.1.4.5 of "src/sbin/scsiformat/scsiformat.sh", thanks! 
>Unformatted:
