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

2004-11-01 Thread John L Fjellstad
"Ben Hutchings" <[EMAIL PROTECTED]> writes: > Absolutely not. The point of keeping a journal is to preserve the > integrity of the filesystem even in an operation is unexpectedly > interrupted (whether by a crash or a power failure). This should > provide resilience to disconnection, too, but th

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

2004-11-01 Thread Ben Hutchings
John L Fjellstad wrote: William Ballard <[EMAIL PROTECTED]> writes: I have an external USB 2.0 2.5" hard drive, shows up as /dev/sda, with an ReiserFS partition. If I yank it with it mounted ReiserJS panics. I have the fstab entry marked as sync, rw. I think it might be because reiserfs is a jo

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

2004-10-31 Thread John L Fjellstad
William Ballard <[EMAIL PROTECTED]> writes: > [XP-Focused things] > -Install and run multi-GB map software and games in WinXP > -Keep CD images such as Visual Studio and Map software on it, > so they'll always be available (XP Only) > -Treat it as a "general data store" for Ripped DVDs, Install P

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

2004-10-29 Thread William Ballard
On Fri, Oct 29, 2004 at 10:38:15AM -0700, John L Fjellstad wrote: > I think it might be because reiserfs is a journaling filesystem. I know > I sometimes forget and remove my usbkey (which has FAT) without > unmounting, and don't see the problems you see. Even ext2 should be > fine. Never tried wi

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

2004-10-29 Thread John L Fjellstad
William Ballard <[EMAIL PROTECTED]> writes: > I have an external USB 2.0 2.5" hard drive, shows up as /dev/sda, with > an ReiserFS partition. If I yank it with it mounted ReiserJS panics. > I have the fstab entry marked as sync, rw. I think it might be because reiserfs is a journaling filesyste

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

2004-10-29 Thread Henrique de Moraes Holschuh
On Thu, 28 Oct 2004, Ron Johnson wrote: > On Thu, 2004-10-28 at 17:21 -0300, Henrique de Moraes Holschuh wrote: > > It has little to do with USB. It has all to do with the hotplug kernel > > interface, though. > > That's interesting. > CONFIG_HOTPLUG=y > # CONFIG_HOTPLUG_PCI is not set > CON

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

2004-10-29 Thread Ron Johnson
On Thu, 2004-10-28 at 23:05 -0400, William Ballard wrote: > On Thu, Oct 28, 2004 at 09:12:40PM -0500, Ron Johnson wrote: > > Floppy disk, CD-Rs & flash drives are a big step down from a multi- > > dozen GB-sized HDD. > > He's testing it on HDs, but getting a lot of feedback about how fat and > Re

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

2004-10-28 Thread William Ballard
On Thu, Oct 28, 2004 at 09:12:40PM -0500, Ron Johnson wrote: > Floppy disk, CD-Rs & flash drives are a big step down from a multi- > dozen GB-sized HDD. He's testing it on HDs, but getting a lot of feedback about how fat and ReiserFs don't support sync, and if they did support sync it would be s

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

2004-10-28 Thread Ron Johnson
On Thu, 2004-10-28 at 20:13 -0400, William Ballard wrote: > On Thu, Oct 28, 2004 at 06:12:18PM -0500, Ron Johnson wrote: > > / and /boot are formatted ReiserFS? > Yah, so I get what I deserve I guess. Jeez, touchy. I was only asking for verification purposes. If / and /boot were "something else

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

2004-10-28 Thread William Ballard
On Thu, Oct 28, 2004 at 06:12:18PM -0500, Ron Johnson wrote: > / and /boot are formatted ReiserFS? Yah, so I get what I deserve I guess. > So a "shutdown -t1 -now -r" on another console TTY just sits there? Yes, as does "halt" and "reboot" and "Ctrl+Alt+Delete". Halt and reboot say they are do

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

2004-10-28 Thread Ron Johnson
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 wi

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

2004-10-28 Thread Ron Johnson
On Thu, 2004-10-28 at 17:21 -0300, Henrique de Moraes Holschuh wrote: > On Thu, 28 Oct 2004, Ron Johnson wrote: > > On Thu, 2004-10-28 at 12:22 -0400, William Ballard wrote: > > > On Wed, Oct 27, 2004 at 11:23:07AM -0500, Ron Johnson wrote: > > > > > Anything promising using the PCI hotplug facili

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

2004-10-28 Thread William Ballard
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 p

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

2004-10-28 Thread Henrique de Moraes Holschuh
On Thu, 28 Oct 2004, Ron Johnson wrote: > On Thu, 2004-10-28 at 12:22 -0400, William Ballard wrote: > > On Wed, Oct 27, 2004 at 11:23:07AM -0500, Ron Johnson wrote: > > > > Anything promising using the PCI hotplug facility? Cardbus is PCI hotplug, AFAIK. > The question about PCI hotplug was very

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

2004-10-28 Thread Ron Johnson
On Thu, 2004-10-28 at 12:22 -0400, William Ballard wrote: > On Wed, Oct 27, 2004 at 11:23:07AM -0500, Ron Johnson wrote: > > > Anything promising using the PCI hotplug facility? > > > > Just out of curiosity, but why should *PCI* hotplug have anything > > to do with USB? > > # lspci | grep USB >

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

2004-10-28 Thread William Ballard
On Wed, Oct 27, 2004 at 11:23:07AM -0500, Ron Johnson wrote: > > Anything promising using the PCI hotplug facility? > > Just out of curiosity, but why should *PCI* hotplug have anything > to do with USB? # lspci | grep USB :00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI

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

2004-10-28 Thread William Ballard
On Wed, Oct 27, 2004 at 06:39:30PM -0400, Peter Hsu wrote: > I think you missed the point. As Ron Johnson pointed out, you need to > use umount before you unplug the device. If you unplug without using > umount, then you should EXPECT your system to puke. For practical > purposes, you should

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

2004-10-27 Thread Carl Fink
On Wed, Oct 27, 2004 at 06:39:30PM -0400, Peter Hsu wrote: > This is not a bug or quirk in Debian. It's a refusal on the part of > the operating system to compensate for failure to follow procedure. No, it's a bug in Linux (as distributed by Debian). I'm using Linux in the sense of "the kernel

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

2004-10-27 Thread Peter Hsu
I think you missed the point. As Ron Johnson pointed out, you need to use umount before you unplug the device. If you unplug without using umount, then you should EXPECT your system to puke. For practical purposes, you should consider time elapsed since you last wrote to the device irrelevan

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

2004-10-27 Thread Ron Johnson
On Wed, 2004-10-27 at 03:23 -0400, William Ballard wrote: > On Tue, Oct 26, 2004 at 11:45:48PM -0500, Ron Johnson wrote: > > ReiserFS expected it to be there, can't find it, and pukes. A bit > > (no, a lot) ungraceful, but totally understandable. After all, > > some process might be trying to wri

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

2004-10-27 Thread William Ballard
On Tue, Oct 26, 2004 at 11:45:48PM -0500, Ron Johnson wrote: > ReiserFS expected it to be there, can't find it, and pukes. A bit > (no, a lot) ungraceful, but totally understandable. After all, > some process might be trying to write to the device... I kuh-now, I kuh-now. But that's what the SY

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

2004-10-26 Thread Ron Johnson
On Tue, 2004-10-26 at 23:22 -0400, William Ballard wrote: > I have an external USB 2.0 2.5" hard drive, shows up as /dev/sda, with > an ReiserFS partition. If I yank it with it mounted ReiserJS panics. > I have the fstab entry marked as sync, rw. > > I don't have PCI Hotplugging installed, but I

Yanking a USB Hard Drive/ReiserFS causes Kernel Panic

2004-10-26 Thread William Ballard
I have an external USB 2.0 2.5" hard drive, shows up as /dev/sda, with an ReiserFS partition. If I yank it with it mounted ReiserJS panics. I have the fstab entry marked as sync, rw. I don't have PCI Hotplugging installed, but I do a lot of USB hotplugging. Has anyone had any experience with t