Re: fsck hangs

2006-09-15 Thread Han Boetes
Pedro Martelletto wrote: On Wed, Sep 13, 2006 at 10:46:17PM +0200, Han Boetes wrote: 24912 fsck_ffs GIO fd 4 wrote 32 bytes \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 24912 fsck_ffs RET write 16384/0x4000 24912 fsck_ffs CALL munmap(0x861e3000,0x4000)

fsck hangs

2006-09-13 Thread Han Boetes
Hi, I noticed file corruption with a ide drive mounted via an external usb casing, so I fsck'ed the FFS filesystem with fsck -fy /dev/sd0a And after putting out a lot of data it gets stuck at: -1808525061 BAD I=1937144 961017051 BAD I=1937144 427404402 BAD I=1937144 429040826 BAD I=1937144

Re: fsck hangs

2006-09-13 Thread Pedro Martelletto
On Wed, Sep 13, 2006 at 02:19:36PM +0200, Han Boetes wrote: umass0: BBB bulk-in stall clear failed, IOERROR umass0: BBB bulk-in stall clear failed, IOERROR umass0: BBB bulk-in stall clear failed, IOERROR These look highly suspicious, but just for the sake of it, can you please provide the

Re: fsck hangs

2006-09-13 Thread mickey
On Wed, Sep 13, 2006 at 10:06:43AM -0300, Pedro Martelletto wrote: On Wed, Sep 13, 2006 at 02:19:36PM +0200, Han Boetes wrote: umass0: BBB bulk-in stall clear failed, IOERROR umass0: BBB bulk-in stall clear failed, IOERROR umass0: BBB bulk-in stall clear failed, IOERROR These look highly

Re: fsck hangs

2006-09-13 Thread Han Boetes
Pedro Martelletto wrote: On Wed, Sep 13, 2006 at 02:19:36PM +0200, Han Boetes wrote: umass0: BBB bulk-in stall clear failed, IOERROR umass0: BBB bulk-in stall clear failed, IOERROR umass0: BBB bulk-in stall clear failed, IOERROR These look highly suspicious, but just for the sake of it,

Re: fsck hangs

2006-09-13 Thread Han Boetes
mickey wrote: Pedro Martelletto wrote: Han Boetes wrote: umass0: BBB bulk-in stall clear failed, IOERROR umass0: BBB bulk-in stall clear failed, IOERROR umass0: BBB bulk-in stall clear failed, IOERROR These look highly suspicious, but just for the sake of it, can you please

Re: fsck hangs

2006-09-13 Thread Pedro Martelletto
On Wed, Sep 13, 2006 at 04:38:40PM +0159, Han Boetes wrote: I assume you request the relevant lines: UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 0 32054 1087 0 10 0 348 4 wait IW+ p50:00.01 fsck -fy /dev/sd0a 0 2545 32054 4

Re: fsck hangs

2006-09-13 Thread Paul de Weerd
On Wed, Sep 13, 2006 at 04:38:40PM +0159, Han Boetes wrote: | Pedro Martelletto wrote: | On Wed, Sep 13, 2006 at 02:19:36PM +0200, Han Boetes wrote: | umass0: BBB bulk-in stall clear failed, IOERROR | umass0: BBB bulk-in stall clear failed, IOERROR | umass0: BBB bulk-in stall clear failed,

Re: fsck hangs

2006-09-13 Thread Han Boetes
Pedro Martelletto wrote: Thanks. It would be nice to have this information for the USB threads as well. A ktrace of fsck_ffs (just the last few lines) and the output of 'disklabel sd0' would also be welcome. :-) OK, here we go again: I weeded out all the stuff that's really irrelevant UID

Re: fsck hangs

2006-09-13 Thread Pedro Martelletto
On Wed, Sep 13, 2006 at 08:57:25PM +0200, Han Boetes wrote: Pedro Martelletto wrote: Thanks. It would be nice to have this information for the USB threads as well. A ktrace of fsck_ffs (just the last few lines) and the output of 'disklabel sd0' would also be welcome. :-) Thanks, but this

Re: fsck hangs

2006-09-13 Thread Han Boetes
Pedro Martelletto wrote: Thanks, but this ktrace is not really of interest. :-( I was more interested in fsck_ffs (not fsck) to see which location of the disk it's hanging when trying to perform I/O on. doh! Sorry. ~% l ktrace.out -rw--- 1 root users 481M Sep 13 21:59 ktrace.out Ouch!