From owner-freebsd-bugs Tue Sep 1 22:10:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA10081 for freebsd-bugs-outgoing; Tue, 1 Sep 1998 22:10:15 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA10017 for ; Tue, 1 Sep 1998 22:10:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA00623; Tue, 1 Sep 1998 22:10:01 -0700 (PDT) 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 ; 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 ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/7803: timeout in scsiformat to small Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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