From owner-freebsd-bugs@FreeBSD.ORG Wed Feb 11 14:03:39 2004 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E6A316A4CE for ; Wed, 11 Feb 2004 14:03:39 -0800 (PST) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0CBB43D1D for ; Wed, 11 Feb 2004 14:03:38 -0800 (PST) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id D4B4F2BD49 for ; Thu, 12 Feb 2004 09:03:36 +1100 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id D331F5120A; Thu, 12 Feb 2004 08:33:34 +1030 (CST) Date: Thu, 12 Feb 2004 08:33:34 +1030 From: Greg 'groggy' Lehey To: Bart Kus Message-ID: <20040211220334.GP8342@wantadilla.lemis.com> References: <200402061630.i16GUNRr074393@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VSaCG/zfRnOiPJtU" Content-Disposition: inline In-Reply-To: <200402061630.i16GUNRr074393@freefall.freebsd.org> User-Agent: Mutt/1.4.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/62228: Kernel improperly identifies partition size ofconcat (grown) vinum volume X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2004 22:03:39 -0000 --VSaCG/zfRnOiPJtU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Friday, 6 February 2004 at 8:30:23 -0800, Bart Kus wrote: > The following reply was made to PR kern/62228; it has been noted by GNATS. > > From: Bart Kus > To: freebsd-gnats-submit@FreeBSD.org > Cc: > Subject: Re: kern/62228: Kernel improperly identifies partition size of concat > (grown) vinum volume > Date: Fri, 6 Feb 2004 10:29:03 -0600 (CST) > > Here's a trace of the core dump: > > ... > #3 0x08049166 in _start (ap=0xbfbfeda4 "fsck_ffs") > at /usr/src/lib/csu/i386-elf/crt1.c:104 > (gdb) list > 78 if (c == 0) { > 79 i = cgbase(&sblock, c); > 80 } else > 81 i = cgsblock(&sblock, c); > 82 for (; i < cgd; i++) > 83 setbmap(i); > 84 } > 85 i = sblock.fs_csaddr; > 86 cgd = i + howmany(sblock.fs_cssize, sblock.fs_fsize); > 87 for (; i < cgd; i++) > (gdb) print i > $1 = 179277840 > (gdb) print cgd > $2 = 179279224 > (gdb) print c > $3 = 3979 You can use the command 'i loc' to show all local variables. > Please let me know if any other info can be provided. > > I seem to have exhausted the file system now, btw, by copying about 1GB to > it. Kernel messages are: > > > bad block 198877168, ino 43535234 > pid 96177 (ftpd), uid 1001 inumber 43535234 on /usr/local/media: bad block > > > This is getting bad. I'm gonna have to re-install 4.9 soon to run an fsck > and fix this thing up. I've taken a look at this PR, and I'm not sure quite what to do. As you've seen, le@ is currently looking at Vinum bugs, but I'm not even sure this is a Vinum bug; it could very well be growfs. There are also undoubtedly bugs remaining in fsck. If you can find a spare disk and install 4.9 on it, then use it to fsck this volume, the results could be interesting. Greg -- See complete headers for address and phone numbers. --VSaCG/zfRnOiPJtU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQFAKqa2IubykFB6QiMRAqYYAJ9ZIBQdZoTmEIDyMQZxJfkSXqt2YgCfSAdp 9CK/VIJHG9r0rgq1A4RBxVY= =mdd4 -----END PGP SIGNATURE----- --VSaCG/zfRnOiPJtU--