Page 1 of 1

Plugging in USB Crashes System

Posted: 9. Apr 2012, 11:18
by reyoutiao
Both my Salix 64 installs, LXDE and Fluxbox, crash when I plug in a USB key. It goes to a black screen (like runlevel 3) and text scrolls continuously, sometimes stopping. It looks like the same text scrolling over and over again.

Note! This does not happen if the USB key is plugged in at bootup. My drive is a Kingston 4GB DataTraveler. Has a couple of movies, photos, and documents on it.

I don't know how to copy the scrolling text over, but the first three lines are something like:
last sysfs file: /sys/devices/LNXSYSTM: 00...
CPU 0
Modules linked in: snd_feq_dummy snd_seq_oss...
No clue what's going on there. The cursor still shows, interestingly, and I can move it around, but typing doesn't work and I have to reboot to recover.

Any thoughts? It seems like a strange problem.

Re: Plugging in USB Crashes System

Posted: 9. Apr 2012, 14:42
by Shador
That's a kernel oops, i.e. the kernel has encountered an error within its own code which can be handled (i.e. usually killing the process) for normal applications but most of the time not for the kernel itself. If you're lucky the message went into /var/log/messages. Please upload it to some pastebin site, so we hopefully get a hint what's causing that oops.

You could also install the more recent kernel from current. Should be quite straightforward if you're not using any 3rd party kernel modules (like proprietary ati/nvidia driver, VirtualBox, ...). But let's check the log first.

Re: Plugging in USB Crashes System

Posted: 10. Apr 2012, 18:03
by reyoutiao
I'll have a look.

The problem went away after I upgraded the system and installed the -current kernels.

Re: Plugging in USB Crashes System

Posted: 10. Apr 2012, 18:35
by Shador
Then never mind.