[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Yanking a USB Hard Drive/ReiserFS causes Kernel Panic



On Thu, 2004-10-28 at 18:20 -0400, William Ballard wrote:
> On Thu, Oct 28, 2004 at 01:18:11PM -0500, Ron Johnson wrote:
> > The question about PCI hotplug was very honest, since PCI hotplug
> > refers to pulling PCI cards out of live systems, and that, to my
> > understanding, has nothing to do with USB (which is hotplug by
> > definition).
> 
> I actually think the problem lies in ReiserFS: that's the module that 
> Panics when you yank the drive.  The USB subsystem deals with the loss 
> of it just fine.  The system doesn't actually freeze: you get a panic 
> from the ReiserFS module (which is builtin for me), about being unable 
> to write to the journal.  Meanwhile all other apps continue to work just 
> fine -- you just cannot halt or reboot the system, it hangs the TTY 
> then, but you can change to another TTY and keep working.

/ and /boot are formatted ReiserFS?

The warm feeling that I get from ext2 is why / & /boot are ext3
on my system.  (/home is reiserfs, though.)

> Since this is the status quo, and the system is still responsive after 
> this ReiserFS panic, is it still possible to cleanly shutdown and reboot 
> the system in case I accidentally do it?  Right now I have to cold kill 
> the system without a shutdown, which tends to cause further data 
> corruption on my ReiserFS HD parts.

So a "shutdown -t1 -now -r" on another console TTY just sits there?

A "cold kill" (aka "hitting the BRS", to us oldsters) should not
damage ReiserFS partitions.  That's what journaling is for, after
all.  What kernel are you running?

> Do me a favor and if you think it's a dumb question just don't answer 
> instead of telling me it's a dumb or poorly asked question.  Thanks.

You must be thinking of someone else.  I went back and checked 
all of my responses on this thread and nowhere does it mention
"dumb" or "poorly asked".  It doesn't even infer them, IMO.

-- 
-----------------------------------------------------------------
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B

"It isn't necessary to be rich and famous to be happy. It's only
necessary to be rich."
Alan Alda

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: