You are not logged in.

#1 2014-08-27 17:58:50

geekinthesticks
Member
From: England
Registered: 2011-09-21
Posts: 143
Website

Kernel Panic When Plugging in a USB Hard Drive.

I have recently installed a new SSD on my notebook. The original plan was to put the old SATA drive into a 2.5" USB3 case and just copy /home onto the new blank /home partition. However, when I plug the usb drive in I get a kernel panic. This is kernel related. If I downgrade from 3.16.1-1-ARCH to an earlier version the problem goes away. Interesting a different usb HD doesn't cause a panic. Given that I just get dumped at a stack trace, what's the best way to gather more information about the error?

Offline

#2 2014-08-27 21:56:06

Potomac
Member
Registered: 2011-12-25
Posts: 552

Re: Kernel Panic When Plugging in a USB Hard Drive.

you can do in root :

# journalctl -n 20000 _TRANSPORT=kernel > kernel_traces.log

Offline

#3 2014-08-28 07:35:55

geekinthesticks
Member
From: England
Registered: 2011-09-21
Posts: 143
Website

Re: Kernel Panic When Plugging in a USB Hard Drive.

Thanks, but the kernel doesn't seem to have time to write the messages to the log. On the screen the last line of the stack dump is drm_kms_helper panic. This doesn't appear in the logs. If I search for panic, the only occurrences are the kernel registering the panic handle at boot.

Offline

#4 2014-08-28 07:55:23

endofinfinity
Member
Registered: 2009-02-02
Posts: 12

Re: Kernel Panic When Plugging in a USB Hard Drive.

Hello,
If i understand you cannot boot from the USB case with the mechanical disk inside (originally in the laptop)?
How are you downgrading? By puting back the HDD inside and then putting it back in the USB3 case and it works?

Offline

#5 2014-08-28 08:01:21

geekinthesticks
Member
From: England
Registered: 2011-09-21
Posts: 143
Website

Re: Kernel Panic When Plugging in a USB Hard Drive.

Not I am not trying to boot from the original drive in a usb case. I am booting from the SSD and then attaching the old drive in a usb case, with the purpose of copying some data to the new SSD. Attaching the old drive in a USB case causes the kernel panic.

Some more info. I have been steadily downgrading my kernels to earlier versions. The crash happens with the latest kernel and all the kernels I have from the 3.15 series. However, if I install 3.14.6-1-ARCH, I can mount the drive without the kernel panicking.

Offline

#6 2014-08-28 09:45:06

endofinfinity
Member
Registered: 2009-02-02
Posts: 12

Re: Kernel Panic When Plugging in a USB Hard Drive.

To the quesion in your initial post, have you tried crash (in community)? Here some usefull usage example:
http://unix.stackexchange.com/questions … rnel-panic

Besides there are some new features in 3.15 that might be in relation with your problem:
http://hansdegoede.livejournal.com/14660.html

Offline

Board footer

Powered by FluxBB