Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2004 08:33:34 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Bart Kus <eo@shell-server.com>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/62228: Kernel improperly identifies partition size ofconcat (grown) vinum volume
Message-ID:  <20040211220334.GP8342@wantadilla.lemis.com>
In-Reply-To: <200402061630.i16GUNRr074393@freefall.freebsd.org>
References:  <200402061630.i16GUNRr074393@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <eo@shell-server.com>
> 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:
>
>  <loop>
>  bad block 198877168, ino 43535234
>  pid 96177 (ftpd), uid 1001 inumber 43535234 on /usr/local/media: bad block
>  </loop>
>
>  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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040211220334.GP8342>