Hard freeze on disableing of the wlan card

Bug #147897 reported by Sunny
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned
linux-source-2.6.22 (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Tech info:

Trying Tribe 5 of 7.10, installed from alternative CD, latest updates as of today (Oct 1).
$ uname -a
Linux mubuntu 2.6.22-12-generic #1 SMP Sun Sep 23 18:11:30 GMT 2007 i686 GNU/Linux

$ dpkg -l | grep linux.*modul
ii linux-restricted-modules-2.6.22-12-generic 2.6.22.4-12.4 Non-free Linux 2.6.22 modules on x86/x86_64
ii linux-restricted-modules-common 2.6.22.4-12.4 Non-free Linux 2.6.22 modules helper script
ii linux-restricted-modules-generic 2.6.22.12.15 Restricted Linux modules for generic kernels
ii linux-ubuntu-modules-2.6.22-12-generic 2.6.22-12.32 Ubuntu supplied Linux modules for version 2.

$ lspci
00:00.0 Host bridge: Intel Corporation 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 02)
00:01.0 PCI bridge: Intel Corporation 82850 850 (Tehama) Chipset AGP Bridge (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 04)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 04)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 04)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 04)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 04)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
02:07.0 FireWire (IEEE 1394): Texas Instruments TSB12LV23 IEEE-1394 Controller
02:09.0 Ethernet controller: Belkin Wireless PCI Card - F5D6001 (rev 20)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
02:0a.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
02:0b.0 Ethernet controller: ADMtek NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)

$ lsmod | grep rtl
ieee80211_rtl 80648 2 r8180

Description of the problem:
I have Belkin wlan card F5D6001, which is supported by Realtek's rtl8180 driver (according all searches I performed).

The driver loads ok, and initializes the card (according syslog and messages).

Here I have no wireless access point, so no network using the wireless card, only wired, if I need to.

It doesn't matter if I have wired connection or not, or if it was connected before that or not - if I go to Administration/System/Network, and un-check the checkbox in front of the wireless card to disable it, the system hard freezes. No ssh to it (if wired connection is present), no keyboard or mouse activity, no Ctrl-Alt-Backspace or Ctrl-Alt-F1-6 to switch to text mode. The only solution is power-cycle.

Here are the relevant part of /var/log/messages when the freeze happens:

/var/log/messages:
Oct 1 18:34:18 mubuntu kernel: [ 668.897833] rtl8180: Setting SW wep key
Oct 1 18:34:18 mubuntu kernel: [ 668.946479] rtl8180: Bringing up iface
Oct 1 18:34:18 mubuntu kernel: [ 669.155018] rtl8180: Card successfully reset
Oct 1 18:34:18 mubuntu kernel: [ 669.492580] ADDRCONF(NETDEV_UP): wlan0: link is not ready

In /var/log/syslog there is nothing interesting, the last message was 4 minutes before I invoke the freeze.

What else can I provide in order to help diagnose the problem?

Cheers
Sunny

Revision history for this message
Sunny (sloncho) wrote :

Btw, blacklisting the r8180 driver, and installing ndiswrapper and the Realtek driver for RTL8180 works OK. You only need, after installing the realtek driver in ndiswrapper to invoke:
# ndiswrapper -d 1799:6001 net8180
to make the driver to recognize the card.

Cheers

Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. It would be helpful if you could provide the numeric PCI ID of your network adapter. You can obtain this information via 'sudo lspci -vvnn'. Thanks in advance.

Revision history for this message
Sunny (sloncho) wrote :

Sure, here it is:

02:09.0 Ethernet controller [0200]: Belkin Wireless PCI Card - F5D6001 [1799:6001] (rev 20)
        Subsystem: Belkin Wireless PCI Card - F5D6001 [1799:6001]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (8000ns min, 16000ns max), Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at ec00 [size=256]
        Region 1: Memory at ff2ff400 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Changed in linux-source-2.6.22:
status: Incomplete → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote :

Now that you have provided the PCI ID of your hardware I am going to set the bugs status to "Triaged". Please do not set bugs to "In Progress" as that means that someone is working on fixing the bug which is not the case as far as I know. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status . Thanks again!

Changed in linux-source-2.6.22:
assignee: nobody → ubuntu-kernel-team
status: In Progress → Triaged
Revision history for this message
waldschrat (unumsaxum) wrote :

I have a very similar problem. I got a wlan card with rtl8180L chipset. If I try to get an IP via DHCP, the system freezes and the numlock and capslock leds start to blink. I am using ubuntu gutsy.

uname -a:
Linux mal-2 2.6.22-12-generic #1 SMP Sun Sep 23 18:11:30 GMT 2007 i686 GNU/Linux

lspci -vvnn:
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8180L 802.11b MAC [10ec:8180] (rev 20)
        Subsystem: Realtek Semiconductor Co., Ltd. RTL8180L 802.11b MAC [10ec:8180]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 10
        Region 0: I/O ports at 4800 [size=256]
        Region 1: Memory at 60000000 (32-bit, non-prefetchable) [size=512]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

/var/log/syslog.0: (these are the last line before freezing)
...
Oct 3 21:58:28 mal-2 kernel: [ 208.892000] Linking with waldschrat
Oct 3 21:58:28 mal-2 kernel: [ 208.920000] Associated successfully
Oct 3 21:58:28 mal-2 kernel: [ 208.920000] Using B rates
Oct 3 21:58:28 mal-2 kernel: [ 208.924000] ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Oct 3 21:58:29 mal-2 avahi-daemon[4925]: Registering new address record for fe80::202:72ff:fe45:a855 on wlan1.*.
Oct 3 21:58:38 mal-2 kernel: [ 218.928000] wlan1: no IPv6 routers present
Oct 3 21:58:52 mal-2 kernel: [ 233.000000] rtl8180: Setting SW wep key
...

I can do some things with the card. It is possible to scan for cells, and it does find some. It is also possible to assignt an access point to the card. I can set a wep key. If I try to get an IP from my router via DHCP, everything freezes.

Cheers,
Holger Stephan

Revision history for this message
waldschrat (unumsaxum) wrote :

sorry, I think this isn't the same bug as yours. If I turn off wep, the card works fine.
I apologise for the trouble, I am causing

Revision history for this message
C. Reis (reic) wrote :

Hi there waldschrat - I seem to have the same problem as you, https://bugs.launchpad.net/ubuntu/+bug/152102 and I'm very interested how you got rid of your problem...

Revision history for this message
C. Reis (reic) wrote :

sorry for bothering, as you can read here https://bugs.launchpad.net/ubuntu/+bug/152102 , I managed to fix the problem by blacklisting r8180, too.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
C. Reis (reic) wrote :

I don't know whether I'm at the right adress with posting this here, anyways:

The release candidate of Intrepid Ibex starts fine with the Belkin F5D6001, no freeze so far. The WLAN - Card is recognized properly out of the box, the only thing to mention is that the connection signal reported by the nm-applet is awfully low. In Hardy, I got 75% with the above mentioned net8180 windowsdriver and ndiswrapper, Intrepid only shows 5 - 10 %.

The good thing: no freeze :]

Please feel free to tell me if you need further informations.
Greets,
reic

Revision history for this message
C. Reis (reic) wrote :

I opened a bug for the above mentioned signal performance problem:
https://bugs.launchpad.net/ubuntu/+bug/290325

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Jim Lieb (lieb) wrote :

This bug report was marked as Incomplete a while ago and has not had any feedback to provide the requested information. As a result this bug is being closed. Please reopen if this is still an issue in the latest Karmic 9.10 Alpha release http://cdimage.ubuntu.com/releases/karmic/ . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

Changed in linux (Ubuntu):
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.