Bugzilla – Bug 144041
kernel oopses when disconnecting usb modem (cdc-acm.ko)
Last modified: 2006-04-27 10:41:20 UTC
kernel oopses when disconnecting usb modem
Created attachment 63948 [details] oops
might be related to bug #143408
hmm, could be, but the oops is different. lets see what the $guru says.
Ugh, this should have been fixed already. Does this happen in 2.6.16-rc1?
I don't know, I used the most recent version in autobuild. is there a newer kernel build available? its 2.6.15-git12-5-smp where I can reproduce the bug.
it still happens with 2.6.16-rc1-git3-4-default
Created attachment 65621 [details] 2nd oops
Created attachment 65981 [details] 3rd oops still oopses
Created attachment 66594 [details] 4th oops still oopses
I'll add two of the original authors.
I have a potential patch that fixes this, are you able to apply it and rebuild a kernel? If so, it's at: http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/usb/usb-fix-oops-in-acm-disconnect.patch if not, please let me know.
wow, this looks like the one I'm looking for. no, not easily. current kernel-default doesn't even build without the patch ;(
What kernel source version did you try to apply it against?
well, the one from stable. it doesn't apply because it is apparently applied already.
Created attachment 66870 [details] 5th oops still oopses
Created attachment 66871 [details] 6th oops still oopses
No, that patch should not be already applied to any suse kernel. What specific version number did you try to patch it with?
the one from stable. it identifies itself as 2.6.16-rc2-git2-3-default
see /work/built/mbuild/oldboy-dmueller/1514/i386. and indeed, looking at it with human eyes and with md5 sum the patch you posted is in patches.kernel.org/patch-2.6.16-rc1-rc2
logfile says: + patch -s -E -p1 --no-backup-if-mismatch -i ../patches.fixes/usb-fix-oops-in-acm-disconnect.patch Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] 2 out of 2 hunks ignored -- saving rejects to file drivers/usb/class/cdc-acm.c.rej + echo '*** Patch patches.fixes/usb-fix-oops-in-acm-disconnect.patch failed ***' *** Patch patches.fixes/usb-fix-oops-in-acm-disconnect.patch failed ***
Ugh, you are correct, my appologies. I had forgotten to clean out my patches when Linus accepted them into mainline...
ok, this is related to the slab debugging stuff (well, it's showing it up better.) I thought this had been fixed :( Can you mount usbfs in /proc/bus/usb/ and attach the output of the /proc/bus/usb/devices file?
Created attachment 66888 [details] /proc/bus/usb/devices
bug 148872 might be related
Created attachment 68571 [details] 7th oops still oopses
*** Bug 155396 has been marked as a duplicate of this bug. ***
needless to say, it still oopses.
Created attachment 73122 [details] Potential patch to fix the cdc-acm oops Can you try this patch out to see if it fixes the issue for you?
do i need to recompile cdc-acm, vmlinuz or everything to test that? If "everything", then it would be nice if you could provide a test-kernel rpm :-)
yes, works fine now
This should be now fixed in the recent beta releases. If not, please reopen.
verified with 10.1RC1 - i can do all sorts of evil stuff to my usb connection and the kernel survives it :-) Thanks!