badblocks segfaulting
Tried to heal a misbehaving scsi drive, i got this:
alphabox:~# badblocks -v -w /dev/sdb
Checking for bad blocks in read-write mode
>From block 0 to 2055000
Testing with pattern 0xaa: done
Reading and comparing: Segmentation fault
gdb shows:
Program received signal SIGSEGV, Segmentation fault.
0x000002000010bb58 in memchr () from /lib/libc.so.6.1
(gdb) bt
#0 0x000002000010bb58 in memchr () from /lib/libc.so.6.1
#1 0x000002000010bea8 in memcmp () from /lib/libc.so.6.1
#2 0x0000000120002d38 in ?? ()
#3 0x0000000120004430 in ?? ()
#4 0x0000020000098d78 in __libc_start_main () from /lib/libc.so.6.1
#5 0x0000000120001794 in ?? ()
/var/log/messages:
Dec 19 01:09:48 alphabox kernel: SCSI disk error : host 0 channel 0 id 1 lun
0 return code = 2
Dec 19 01:09:48 alphabox kernel: scsidisk I/O error: dev 08:10, sector
1626968
uname -r: 2.2.20
e2fsprogs: 1.34+1.35-WIP-2003.08.21-3
debian unstable, still with woody kernel (didn't managed to get 2.6 running
yet).
--
Jure Pečar
Reply to: