Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: fsck_extfs & numdirs
Hey,
On 2008-06-10, Patrick Welche <prlw1%cam.ac.uk@localhost> wrote:
> I was surprised to see
>
> Program terminated with signal 8, Arithmetic exception.
>
> while running fsck_ext2fs on a very unhappy disk:
Another unhappy filesystem, another error:
$ sudo ./fsck_ext2fs /dev/wd1e
** /dev/rwd1e
BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE
Floating point exception (core dumped)
$ sudo gdb ./fsck_ext2fs fsck_ext2fs.core
GNU gdb 6.5
[...]
Core was generated by `fsck_ext2fs'.
Program terminated with signal 8, Arithmetic exception.
#0 0x080528df in calcsb (dev=0x8056780 "/dev/rwd1e", devfd=3, fs=0xbfbfdcd0)
at setup.c:482
482 fs->e2fs.e2fs_bcount = (pp->p_size * DEV_BSIZE) /
fs->e2fs_bsize;
(gdb) bt
#0 0x080528df in calcsb (dev=0x8056780 "/dev/rwd1e", devfd=3, fs=0xbfbfdcd0)
at setup.c:482
#1 0x080519d1 in setup (dev=0x8056780 "/dev/rwd1e") at setup.c:151
#2 0x0804d0d4 in checkfilesys (filesys=0x8056780 "/dev/rwd1e", mntpt=0x0,
auxdata=0, child=0) at main.c:206
#3 0x0804cfef in main (argc=0, argv=0xbfbfed5c) at main.c:169
(gdb) print fs->e2fs_bsize
$1 = 0
HTH,
--
khorben
Home |
Main Index |
Thread Index |
Old Index