Re: crash after using flash drive



The Natural Philosopher wrote:
E Z Peaces wrote:
Fred McKenzie wrote:
In article <f78nff$pur$1@xxxxxxxxxxxxxxxxxxxxxxxxx>,
E Z Peaces <cash@xxxxxxxxxxxxxxx> wrote:

Yesterday I woke my Mac (10.4.10) and checked USENET. In a minute it said I had disconnected a USB drive without ejecting it. A minute later the screen went dim and a sign told me in four languages to shut down.

I suppose that was one of those Colonel Panics I've heard about. An hour ago, just before putting the computer to sleep, I had disconnected a flash drive, and perhaps I'd forgotten to eject it first.

Could that have caused a panic a couple of minutes after the computer awoke?

E.Z.-

The one kernel panic I've had filled the screen with garbage text and locked-up the computer. It was caused by a broken ground wire in a USB mouse. I had no prior warning or opportunity to shut down. Your experience may not have been a true kernel panic as I understand it.

USB is a "hot plug-able/unplug-able" system. In theory there is no electrical damage done when connecting or disconnecting while power is applied.

Normally the message telling about an improperly disconnected flash drive is just a warning. The damage that might occur would be if the flash drive was being written-to when disconnected, and the damage would be corrupted data and/or format on the flash drive.

Fred

My panic log called it an unresolved kernel trap. Is that a panic?

Sort of. It means the kernel probably did something outside of anything it should have, and being as there is nothing more basic than the kernel to deal with it, instead of being shutdown, it shut itself down.

I have in the past unplugged USB storage without remembering to eject it.

You run the risk of an inconsistent file system if you do that.

The difference this time was that I put the computer to sleep
before it warned me.

I think its a bug worth reporting to the developers. I created a bug like this once..failing to close files when errors were encountered..clumsy operators eventually used up file handles causing a crash, when a file open on a valid file failed.. You have obviously found a way to evoke a condition the programmers haven't considered.

Not sure how one reports kernel crashes to the apple boys..


I think it filed a crash report automatically.
.



Relevant Pages

  • Re: crash after using flash drive
    ... E Z Peaces wrote: ... The one kernel panic I've had filled the screen with garbage text and locked-up the computer. ... It was caused by a broken ground wire in a USB mouse. ... In theory there is no electrical damage done when connecting or disconnecting while power is applied. ...
    (comp.sys.mac.system)
  • Re: crash after using flash drive
    ... E Z Peaces wrote: ... The one kernel panic I've had filled the screen with garbage text and locked-up the computer. ... It was caused by a broken ground wire in a USB mouse. ... In theory there is no electrical damage done when connecting or disconnecting while power is applied. ...
    (comp.sys.mac.system)
  • [2.6.6] oops in khubd on usb bluetooth disconnect
    ... after shortly using a usb bluetooth adapter ... with rfcomm to a Nokia 6310i disconnecting the adapter caused this oops ... Unable to handle kernel NULL pointer dereference at virtual address ...
    (Linux-Kernel)
  • Re: USB disconnect, address 6
    ... I do get devices disappear without me disconnecting them, ... but note that the kernel doesn't even know the ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: USB disconnect, address 6
    ... Otherwise it's necessary to go hunting back up the log to track down ... which USB device was the one disconnected (which works fine, ... I do get devices disappear without me disconnecting them, ... but note that the kernel doesn't even know the ...
    (Linux-Kernel)

Loading