kern/62228: Kernel improperly identifies partition size ofconcat (grown) vinum volume

Greg 'groggy' Lehey grog at FreeBSD.org
Wed Feb 11 14:03:39 PST 2004


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 at shell-server.com>
> To: freebsd-gnats-submit at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-bugs/attachments/20040212/27445170/attachment.bin


More information about the freebsd-bugs mailing list