kern/62228: Kernel improperly identifies partition size ofconcat
(grown) vinum volume
Bart Kus
eo at shell-server.com
Fri Feb 6 08:30:32 PST 2004
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:
#0 0x08052021 in pass1 () at /usr/src/sbin/fsck_ffs/pass1.c:83
83 setbmap(i);
(gdb) bt
#0 0x08052021 in pass1 () at /usr/src/sbin/fsck_ffs/pass1.c:83
#1 0x08051203 in checkfilesys (filesys=0xbfbfedad "/dev/vinum/media")
at /usr/src/sbin/fsck_ffs/main.c:349
#2 0x08050ab0 in main (argc=0, argv=0xbfbfecd0)
at /usr/src/sbin/fsck_ffs/main.c:162
#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
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.
--Bart
More information about the freebsd-bugs
mailing list