Bug 441457

Summary: Plugging in usb wireless adapter immediately hangs system
Product: [Fedora] Fedora Reporter: Mike C <mike.cloaked>
Component: kernelAssignee: John W. Linville <linville>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: kernel-maint
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Fixed In Version: kernel-2.6.25-0.234.rc9.git1.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-16 12:24:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
Screen showing output immediately after plugging in usb adapter
Screen about 20 seconds after image in previous attachment
printk captured via netconsole (equivalent to images above) none

Description Mike C 2008-04-08 08:04:09 UTC
Description of problem:Plugging in Edimax EW-7318UG (version V3.0B) usb wireless
adapter immediately hangs the system. Alt-SysRq-b is needed to reboot.

Version-Release number of selected component (if
applicable):kernel-2.6.25-0.200.rc8.git3.fc9.i686 (also .201 and .204)

How reproducible:Every time

Steps to Reproduce: 
1. Boot machine without wireless adapter plugged in
2. Plug in wireless adapter
Actual results: System immediately hangs, and there is no response from
mouse/keyboard or ctrl-alt-backspace (desktop is kde and login manager is kdm)
Alt-Sysrq-b will reboot the machine.

Expected results: System should continue working with the rt73usb module loaded
correctly so that wireless communication can then be established using

Additional info: Kernels from .185 and earlier worked fine with this adapter.
wpa_supplicant works fine with kernels up to .185 but will not work with .200
through .204 since as soon as the wireless adapter is plugged in the system

With kernel .204 the only entry in /var/log/messages was:
Apr  7 21:55:37 rawhide kernel: usb 1-1: new full speed USB device using
uhci_hcd and address 2

The hardware is

Comment 1 Pete Zaitcev 2008-04-08 17:40:21 UTC
It's likely the rsyslogd is unable to write the crash into files.

What does happen if you're on text console when you plug it in?
Please do this:
 log in as root
 echo 8 > /proc/sys/kernel/printk
 resizecons -lines 50
 plug the adapter in
At this point you are likely to see a traceback which can be taken
with a camera (capturing it with netconsole would be even better,
but that requires reading Documentation/networking/netconsole.txt
which is confusing and out of date, then installing netcat (which
RPM is named "nc" in Fedora)).

Comment 2 Mike C 2008-04-09 08:09:06 UTC
Created attachment 301760 [details]
Screen showing output immediately after plugging in usb adapter

Following #1 this is the screen a few seconds after logging in to KDE, then
switching to an alternative console and logging in as root, and setting up to
print diagnostics. After 20 seconds more text appears on the screen and the
next image shows the further lines output.

Comment 3 Mike C 2008-04-09 08:10:22 UTC
Created attachment 301761 [details]
Screen about 20 seconds after image in previous attachment

About 20 seconds later there are further lines.

Comment 4 Mike C 2008-04-09 21:36:18 UTC
Created attachment 301900 [details]
printk captured via netconsole (equivalent to images above)

I managed to get a capture on a second machine on the same network using
netconsole. Here is the capture.

Comment 5 John W. Linville 2008-04-15 20:37:39 UTC
A patch to correct this should be available in 
kernel-2.6.25-0.234.rc9.git1.fc9 or later...probably available tomorrow or the 
next day...FYI! :-)

Comment 7 Mike C 2008-04-16 09:40:56 UTC
Thanks John - will test this later today or tomorrow.... and report back.

Comment 8 Mike C 2008-04-16 10:37:22 UTC
kernel-2.6.25-0.234.rc9.git1.fc9 resolves this bug and wireless now works nicely
again. This bug can now be closed. Thanks for working on this.