From owner-freebsd-bugs Fri Apr 7 14:20: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BD9F337B5DB for ; Fri, 7 Apr 2000 14:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA97413; Fri, 7 Apr 2000 14:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 7 Apr 2000 14:20:03 -0700 (PDT) Message-Id: <200004072120.OAA97413@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Andrew L. Neporada" Subject: Re: bin/17764: wrong percentage completed in bad144 Reply-To: "Andrew L. Neporada" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/17764; it has been noted by GNATS. From: "Andrew L. Neporada" 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