Re: mount hanging 2.4.12

Alexander Viro (viro@math.psu.edu)
Sat, 13 Oct 2001 22:01:06 -0400 (EDT)


On Sat, 13 Oct 2001, Ed Tomlinson wrote:

> Oct 13 19:28:31 oscar kernel: usb-uhci.c: interrupt, status 2, frame# 1147
> Oct 13 19:28:31 oscar kernel: I/O error: dev 08:01, sector 0
> Oct 13 19:28:31 oscar kernel: FAT: unable to read boot sector
> Oct 13 19:28:31 oscar kernel: VFS: Disk change detected on device sd(8,1)
> Oct 13 19:28:31 oscar kernel: SCSI device sda: 131072 512-byte hdwr sectors (67 MB)
> Oct 13 19:28:31 oscar kernel: sda: Write Protect is on
> Oct 13 19:28:31 oscar kernel: sda: sda1
>
> The device is a usb smartmedia reader using the sddr-09 support.

OK, looks like:
a) ->check_media_change() is screwed for that device.
b) we are hanging on something interesting. It isn't ->s_umount
and it's very unlikely to be ->s_lock or mount_sem. What it might be,
though... I suspect that ->bd_sem is screwed.

Could you reproduce the hang and then do Alt-Sysrq-T? That should
give you stack traces. I'm especially interested in stack trace of hung
mount(8). It's nice to know that it ends on down(), but knowing what had
called that down() would help big way.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/