Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2000 14:20:03 -0700 (PDT)
From:      "Andrew L. Neporada" <andrew@chg.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/17764: wrong percentage completed in bad144
Message-ID:  <200004072120.OAA97413@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/17764; it has been noted by GNATS.

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.
 
 


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?200004072120.OAA97413>