Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374825 - ksoftirqd: kernel panic: fatal exception in interrupt: crash if i plug a usb stick sometimes, always when plugged through a usb hub, sometimes also at boot time.
Summary: ksoftirqd: kernel panic: fatal exception in interrupt: crash if i plug a usb ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal critical (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-11 10:16 UTC by kharhonte
Modified: 2011-07-29 12:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
First time, at boot, after rebooting from Fedora (1.JPG,514.29 KB, image/jpeg)
2011-07-11 10:22 UTC, kharhonte
Details
Second time, at boot, before udevd. (2.JPG,898.03 KB, image/jpeg)
2011-07-11 10:23 UTC, kharhonte
Details
Third time, after plugging usb stick in front motherboard port. (3.JPG,521.58 KB, image/jpeg)
2011-07-11 10:24 UTC, kharhonte
Details
My kernel configuration (9-lug-2011.kernel config,66.51 KB, text/plain)
2011-07-11 10:24 UTC, kharhonte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kharhonte 2011-07-11 10:16:17 UTC
Always happens when i plug a usb stick through the usb hub.

Often it happens when i boot Fedora first, so i boot Gentoo and i get the panic.

Happened once when i plugged a usb stick in the motherboard front port.

Don't know if related but once happened also at boot time after the message "/dev already mounted" and before starting udevd but with a different message: "BUG: unable to handle kernel NULL pointer dereference at 00000000....040 et cetera. As usual: comm:ksoftirqd/1 Not tainted....

Full messages in the attached file (shoot with a camera).

Reproducible: Always

Steps to Reproduce:
1.Plug usb stick in usb hub
1a.Reboot from Fedora
1b.Plug usb stick
Actual Results:  
Kernel panic[...]Pid: X, comm: ksoftirqd/Y Tainted/Not tainted G    D C 2.6.38-gentoo-r6-unosd #Z (System manufacturer System Product Name/M4A88TD-V EVO/USB3

Expected Results:  
Don't panic!

Hw:
Athlon II X4 640
4GB RAM DDR2
Motherboard ASUS M4A88TD-V EVO/USB3

Attached jpg log, kernel's .config.
Comment 1 kharhonte 2011-07-11 10:22:40 UTC
Created attachment 279755 [details]
First time, at boot, after rebooting from Fedora
Comment 2 kharhonte 2011-07-11 10:23:25 UTC
Created attachment 279757 [details]
Second time, at boot, before udevd.
Comment 3 kharhonte 2011-07-11 10:24:02 UTC
Created attachment 279759 [details]
Third time, after plugging usb stick in front motherboard port.
Comment 4 kharhonte 2011-07-11 10:24:50 UTC
Created attachment 279761 [details]
My kernel configuration
Comment 5 Pacho Ramos gentoo-dev 2011-07-11 11:49:11 UTC
Have you tried with latest 2.6.39 kernel available in testing?
Comment 6 kharhonte 2011-07-11 11:53:19 UTC
(In reply to comment #5)
> Have you tried with latest 2.6.39 kernel available in testing?

Not yet. But i do prefer stable kernel. (Even if that's not the case with mine)
Could it be possible that i solve this problem but i get some other panic (and so data loss)?
Comment 7 Pacho Ramos gentoo-dev 2011-07-11 13:17:48 UTC
I think would be better to check with latest kernel as it is probably an upstream issue that is more probably fixed in 2.6.39
Comment 8 kharhonte 2011-07-11 15:16:27 UTC
(In reply to comment #7)
> I think would be better to check with latest kernel as it is probably an
> upstream issue that is more probably fixed in 2.6.39

I'll try in a few hours.
Comment 9 kharhonte 2011-07-11 16:04:00 UTC
Just tried the 2.6.39-gentoo-r1, same problem.

I've also understood that it "panic" the second time i plug the device; so i think it's an address (irq) problem, probably it try to assign the same address again or something similar. (Sorry, i'm a little bit ignorant about that think...)
Comment 10 Pacho Ramos gentoo-dev 2011-07-12 09:40:29 UTC
Then, provide "dmesg" output and kernel config for 2.6.39 kernel, thanks
Comment 11 kharhonte 2011-07-12 11:32:05 UTC
Can't provide dmesg because of the panic... You can look at the attached jpeg.

The .config it's the same as the 2.6.38
Comment 12 kharhonte 2011-07-29 12:55:12 UTC
Fixed enabling kernel's CONFIG_USB_SUSPEND.