From nobody@FreeBSD.org  Sun Apr  2 22:58:51 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 1D90137B5D1
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Apr 2000 22:58:51 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id WAA70836;
	Sun, 2 Apr 2000 22:58:51 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200004030558.WAA70836@freefall.freebsd.org>
Date: Sun, 2 Apr 2000 22:58:51 -0700 (PDT)
From: pccb@yahoo.com
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: wrong percentage completed in bad144
X-Send-Pr-Version: www-1.0

>Number:         17764
>Category:       bin
>Synopsis:       wrong percentage completed in bad144
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr  2 23:00:01 PDT 2000
>Closed-Date:    Thu Jun 1 15:41:41 PDT 2000
>Last-Modified:  Thu Jun 01 15:42:22 PDT 2000
>Originator:     Pierre Chiu
>Release:        3.4-RELEASE
>Organization:
ObjTech Corporation
>Environment:
FreeBSD zeus.objtech.com 3.4-RELEASE FreeBSD 3.4-RELEASE #1: Sun Apr  2 00:02:43 EST 2000     root@zeus.objtech.com:/usr/src/sys/compile/ZEUS  i386
>Description:
Running bad144 against a Maxtor 40.9GB Diamondmax Plus 40 harddisk using 'bad144 -v -s /dev/wd1s1c'
After running for one day, screen showing 30696123 of 80041059 blocks (4294967281%).


>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Sheldon Hearn <sheldonh@uunet.co.za>
To: pccb@yahoo.com
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/17764: wrong percentage completed in bad144 
Date: Mon, 03 Apr 2000 14:06:58 +0200

 On Sun, 02 Apr 2000 22:58:51 MST, pccb@yahoo.com wrote:
 
 > >Synopsis:       wrong percentage completed in bad144
 
 Just a quick note to let you know that you may need to wait for a
 while before anyone looks into this, since bad144 doesn't exist in the
 latest release of FreeBSD (4.0-RELEASE) nor in the development branch
 (5.0-CURRENT).
 
 Ciao,
 Sheldon.
 

From: "Andrew L. Neporada" <andrew@chg.ru>
To: pccb@yahoo.com
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/17764: wrong percentage completed in bad144
Date: Sat, 8 Apr 2000 01:16:51 +0400 (MSD)

 On Sun, 2 Apr 2000 pccb@yahoo.com wrote:
 
 > 
 > >Number:         17764
 > >Category:       bin
 > >Synopsis:       wrong percentage completed in bad144
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    freebsd-bugs
 
 [snip]
 > >Description:
 > Running bad144 against a Maxtor 40.9GB Diamondmax Plus 40 harddisk using 
                                   ^^^^^^ You are lucky ;-)
 > 'bad144 -v -s /dev/wd1s1c'
 > After running for one day, screen showing 
 > 30696123 of 80041059 blocks (4294967281%).
 
 Please try following very simple patch ( I have revision 1.17.2.1
 1999/08/29 of bad144.c). This should help, I suppose...
 
 ------begin diff------------
 --- bad144.c.orig	Sat Apr  8 00:45:41 2000
 +++ bad144.c	Sat Apr  8 01:01:03 2000
 @@ -106,7 +106,7 @@
  	int f;
  	daddr_t bstart,bend;
  {
 -	int curr_sec, n;
 +	long long curr_sec, n;
  	int spc = dp->d_secpercyl;
  	int ss = dp->d_secsize;
  	int trk = dp->d_nsectors;
 ------end diff-------------
 
 -- Andrew.
 
 
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Thu Jun 1 15:41:41 PDT 2000 
State-Changed-Why:  
Bad144 has been retired.  Besides you don't need to run bad144 on 
a disk like that. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17764 
>Unformatted:
