On Sun, Aug 03, 2003 at 09:42:10AM +0200, Harald Dunkel wrote:I started this discussion on linux-kernel.
Hi folks,
I run into a kernel panic if I shutdown my PC without manually unmounting my external USB disk first. It said
unmounting local filesystems... bio too big device sdc1 (8 > 0) bio too big device sdc1 (8 > 0) journal - 601, buffer write failed --- cut here --- kernel BUG at fs/reiserfs/prints.c: 339 :
This is a reiserfs bug, not a usb storage bug. See the linux-kernel mailing list for a discussion of it.
But I doubt that only reiserfs is to blame. I get a similar problem (crash at shutdown), if I format the USB disk using ext3.
The problem is that at shutdown time the USB stuff is deregistered without unmounting the filesystems on the USB disks first.
Would it be possible to add some automagic code to enforce unmounting the USB storage devices before the USB bus is shutdown?
Sure, just modify your shutdown scripts to do this, it's not a kernel issue :)
Shouldn't there be some 'device busy' message if I try to stop the USB without unmounting the USB storage?
Regards
Harri
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
