On Sun, Aug 03, 2003 at 10:11:57PM +0200, Harald Dunkel wrote:
> I started this discussion on linux-kernel.
> 
> 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.

Actually, there are two problems:
(1) USB is shut down before disks are unmounted
(2) Filesystems are not hot-plug capable.

> >>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?

Nope.  To the system, it looks like you just unplugged the device.  So
there is no 'busy' message.

Matt

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

C:  Like the Furby?
DP: He gives me the creeps.  Think the SPCA will take him?
                                        -- Cobb and Dust Puppy
User Friendly, 1/2/1999

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to