Bug 105009 - Oops when removing rtl8150 from USB-port
Summary: Oops when removing rtl8150 from USB-port
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Kernel (show other bugs)
Version: RC 3
Hardware: 32bit All
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Greg Kroah-Hartman
QA Contact: Dominic W Reynolds
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-16 18:20 UTC by Andreas Klein
Modified: 2006-09-12 13:02 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Oops (1.47 MB, image/jpeg)
2005-08-16 18:20 UTC, Andreas Klein
Details
Patch to try to fix oops. (492 bytes, patch)
2005-08-18 22:00 UTC, Greg Kroah-Hartman
Details | Diff
new oops (1.44 MB, image/jpeg)
2005-08-18 23:26 UTC, Andreas Klein
Details
Oops with 10.1 beta1 (1.53 MB, image/jpeg)
2006-01-22 18:23 UTC, Andreas Klein
Details
10.1beta3 (1.19 MB, image/jpeg)
2006-02-12 17:45 UTC, Andreas Klein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Klein 2005-08-16 18:20:12 UTC
- conntect rtl8150
- configure network device
- ping -f remote_machine
- disconnect rtl8150
-> Oops
The Oops is attaches as screenshot, because the machine doesn't log it to
/var/log/messages
Comment 1 Andreas Klein 2005-08-16 18:20:47 UTC
Created attachment 46201 [details]
Oops
Comment 2 Olaf Kirch 2005-08-17 09:02:14 UTC
It hits a BUG at softirq.c:266. Looks like the rtl8150 tasklet not getting 
killed when the device is removed? There ought to be a tasklet_kill 
somewhere. 
 
Greg, can you please have a look at this one? Thanks! 
Comment 3 Olaf Kirch 2005-08-17 09:03:22 UTC
BTW - why does the taint flags show F for forced module load, Andreas? 
Comment 4 Greg Kroah-Hartman 2005-08-17 18:48:51 UTC
I will try to make up a patch for this, can you test a patch?

Oh, and what kind of device is this?  I'll try to find one to test with.
Comment 5 Andreas Klein 2005-08-18 08:39:15 UTC
Yes, I will test a patch as soon as I get one.
The devive is a USB-network-card.
You can buy it from http://www.reichelt.de for about 10 euro I think.
Comment 6 Greg Kroah-Hartman 2005-08-18 22:00:37 UTC
Created attachment 46608 [details]
Patch to try to fix oops.

Can you try this patch out to see if it solves the
problem or not?

I've only compile tested it as I don't have the hardware
for this device.
Comment 7 Andreas Klein 2005-08-18 22:06:21 UTC
I'm compiling the modules.
Comment 8 Andreas Klein 2005-08-18 23:13:19 UTC
The patch fixes the problem, but the kernel oopses oopses with a different call
trace. I will attach again a screenshor.
Comment 9 Andreas Klein 2005-08-18 23:26:37 UTC
Created attachment 46615 [details]
new oops
Comment 10 Greg Kroah-Hartman 2005-08-18 23:34:19 UTC
Ugh, not good, I'll ping the ehci author/maintainer about it...
Comment 11 Christoph Thiel 2005-09-05 10:24:25 UTC
What's the status on this bug? Andreas, did you see the oops in beta4, too?
Greg, did you get a response from the ehci author/maintainer?
Comment 12 Andreas Klein 2005-09-06 14:32:09 UTC
Yes, beta4 Oopses too.
Comment 13 Greg Kroah-Hartman 2005-11-15 21:50:14 UTC
I never got a response from the EHCI maintainer, and no one else
is reporting the problem.

I've pushed the proposed patch upstream, as it was correct.

As for further followups, I don't have this device to test with, but
it looks like Intel might have one for me to use, I'll let you know
what happens with that.

Also, does 10.0 still show this problem?
2.6.14?
Comment 14 Andreas Klein 2006-01-22 18:21:09 UTC
The problem still exists in 10.1 beta1.
Comment 15 Andreas Klein 2006-01-22 18:23:52 UTC
Created attachment 64416 [details]
Oops with 10.1 beta1
Comment 16 Greg Kroah-Hartman 2006-02-11 00:05:43 UTC
Re: comment #15, that looks like a different problem.  Did that happen
when you unplugged the device?

Also, what about Beta3?
Comment 17 Andreas Klein 2006-02-12 17:44:53 UTC
I tried beta3 and kernel-smp-2.6.16_rc2_git5-3 fron factory. The problem still exists.
Yes, it happens when unplugging a configured device.
Comment 18 Andreas Klein 2006-02-12 17:45:38 UTC
Created attachment 67827 [details]
10.1beta3
Comment 19 Greg Kroah-Hartman 2006-04-12 17:13:28 UTC
This doesn't look like a USB problem anymore, but rather a subdomain issue.

Reassigning to the apparmor people.
Comment 20 Tony Jones 2006-04-14 21:02:30 UTC
Greg.  Don't think it is our problem.   

1) Comment #18. Yes we're in the call trace but it looks foobared to me, there is no path from subdomain_file_permission to seq_read.  
2) Comment #15, apparmor isn't even loaded!
3) Failure in a softirq seems the common case (to me).

If you find something more compelling than the word subdomain in the trace, feel free to kick it back over to us.
Comment 21 Greg Kroah-Hartman 2006-04-27 23:17:13 UTC
Any chance 10.1 RC2 helps out here?

I really have no idea, sorry...
Comment 22 Andreas Klein 2006-05-01 13:55:05 UTC
Same problem with RC3
Comment 23 Greg Kroah-Hartman 2006-05-24 04:48:22 UTC
I'm guessing that the final 10.1 kernel still has this problem?

Any way you can test the 2.6.17-rc4 kernel from kernel.org to see if this 
is fixed there?

Without this device, solving this is going to be difficult :(
Comment 24 Greg Kroah-Hartman 2006-09-12 13:02:23 UTC
Closing due to inactivity.  If you have the needed information, please reopen
with it.