Wireless WPA2 consistantly crashes the laptop

Bug #300784 reported by Kevin
30
This bug affects 3 people
Affects Status Importance Assigned to Milestone
The Dell Mini Project
Fix Released
Undecided
Unassigned

Bug Description

Connecting to my workplace internal wireless locks up the Dell Mini 9. Most of this I already documented on the Ubuntu forums (http://ubuntuforums.org/showthread.php?t=910487&page=72) and I'm just going to copy and paste them over. I have access to the access points, and the authentication servers and I'm happy to reproduce this as needed to isolate the problem.

------------------------------------
First Post:
Finally, and most seriously I can't get onto the wireless at work. It's running WPA2 Enterprise, PEAP authentication, EAP-MSCHAP v2 for secondary authentication. It locks the Mini hard with on green dot on the network manager. The bugger is that I can look at the wireless authentication server and I'm logging in successfully according to it but every time I do it hangs my mini. I also tried installing 8.10 to see if the network manager was updated and could get around this with no love. I reverted back to the Dell remix because I like all of my keys to do what their labeled to do. WPA wireless works like a champ both at home and on the work guest wireless. Any ideas?

------------------------------------
Second Post:
Quote:
Originally Posted by yakker.yak View Post
Hmmm, no experience myself, but it sounds like a wireless driver issue.
Have you tried with another network manager, such as WCID?

No dice on the WICD idea but I do like it better. Due to the lpia kernel issue I reinstalled 8.10 rather than repackage the WICD .deb and risk dependency problems. Still hangs in the same place. Mac and Windows notebooks on the same network are working fine but this just won't connect. It hangs on "Validating authentication" in WICD. Protocol is "PEAP with GTC".

------------------------------------
Third Post:
Quote:
Originally Posted by yakker.yak View Post
That's too bad. This suggests that it's not a network manager issue but more likely the wireless driver.

Have you checked Launchpad to see if something related has been filed as a bug? Perhaps worthwhile to file as a bug, although if you need your Mini 9 working now I realize this is not going to help your immediate problem
I'm leaning towards the wireless drive problem as well. Three more symptoms that I identified yesterday for what their worth.
1. The last line in the wicd.log file while I had it in debug mode was "wpa_cli result is associated" after which the desktop locked.
2. The keyboard still responds to the brightness controls so something is still working under there even if it may only be the hardware and not the OS.
3. Another staff member here has an Asus Eee loaded with Ubuntu and he can connect to the secured work wireless so that would suggest that the operating system is okay leaving the Dell wireless driver as a likely culprit.

Today's chore is to see if I can get a text only console running and then try to associate to the access point that way. That will isolate out X Windows. I'll also post something on Launchpad and see what sticks. Any advice is still very much appreciated.

------------------------------------
Fourth Post:
 Re: Inspiron Mini 9
My wireless skills are not quite what they should be but after looking into it EAP-MSCHAP v2 is different than GTC but they both produce similar results.

I wasn't able to connect to the wireless via the command line but I was able to see all sorts of terrible error messages on tty1. I tested with WICD using PEAP and GTC, I also tested with Network-Manager using PEAP and EAP-MSCHAP v2, both tests produced the same results on tty1.

First there was a huge string of Out of memory, kill process xxxxx messages. I'm assuming that these killed all of my active processes on the box. After that there was a pause between 30 and 90 seconds and then the screen filled again with what I'm assuming is a core dump ending in [224.456542] ---[end trace 7ac017cba2be4fca ]---

Does anyone know of a good way to capture this data? I checked the logs after I rebooted and found nothing. I suspect that the syslog service is in that first batch of processes to get whacked.

Revision history for this message
Chris Koester (ckoester54) wrote :

I am having the exact same problem with my new Inspiron Mini. Trying to connect to my campus network with WPA2, PEAP, and MSCHAPV2 causes the laptop to freeze to the point of requiring the power button to recover.

I can connect easily to this same network with an HP laptop running Ubuntu 8.10.

This bug is very predictable. I made at least three attempts to connect, and it froze each time.

I'm happy to supply any log output or anything that would be helpful in fixing this.

Revision history for this message
Kevin (kevin-matson) wrote :

Solved with a different wireless driver.

I finally had the bright idea to use a non-stock wireless driver and was able to get WPA2 Enterprise wireless working with a ndiswrapper kernel module and a downloaded firmware.

The instructions I used are here, steps 1, 2e, and 3:
   https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx/Feisty_No-Fluff

Germain section of lspci:
  03:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)

Germain section of lspci -n:
  03:00.0 0280: 14e4:4315 (rev 01)

Something is amiss with the wl driver. If there is a need to test new versions of the wl driver on this wireless chipset please let me know.

-Kevin

Revision history for this message
Chris Koester (ckoester54) wrote :

The tutorial mentioned in the above post worked for me as well. I also used steps 1, 2e, and 3.

$ lspci | grep Broadcom
  03:00.0 Network controller: Broadcom Corporation BCM4310 USB Controller (rev 01)

$ lspci -n | grep '14e4:43'
  03:00.0 0280: 14e4:4315 (rev 01)

Revision history for this message
Martijn Vermaat (mvermaat) wrote :

I don't think this is a duplicate of bug #300563. That bug is about occasional lockups on WPA TKIP, whereas this bug is about lockups 100% of the time on WPA2 Enterprise (not necessarily TKIP).

I experience this too. Connecting seems to work, but once the connection is established the laptop hangs and requires a hard power-off. This is on the university network using WPA2 Enterprise with TTLS and a AES-CCMP key and PAP.

Revision history for this message
Peter Whittaker (pwwnow) wrote :

Brand new DELL Mini; ships with up-to-date 8.04 (no updates available from GUI or command line).

Wireless works, except when connecting to my WAP (i.e., I can borrow from my neighbours but not use my own).

My WAP: WRT54GL running White Russian 0.9, WPA (PSK), WPA2, AES. Not using TKIP, not using WEP, not using WPA1.

Tried the "disable power management" workaround from ubuntumini.com - no effect.

Tried Feisty_No-fluff steps 1, 2e, 3 - no effect. (What's really weird is that wl still shows up in the device manager gui - I suppose this could be the module loading bug, but the fixes to that don't seem to work either. Also really weird that lshw -C network lists ndiswrapper+bcmwl5, etc., as the driver, but GUI still shows wl.)

Tried the disable bluetooth workaround - interesting effect! With bluetooth running, attempt to connect to my WAP and system locks showing the GUI - just looks frozen; with bluetooth disabled in BIOS, GUI borks - ctrl-fn-alt-f1 to another vt and screen is filled with jagged lines. Don't know what value this data point is, but the nature of the failure is different.

Will be more than pleased to attach whatever diagnostic information may be of value.

Revision history for this message
Peter Whittaker (pwwnow) wrote :

Undupped and marked as confirmed based on my experience with brand new Mini - 100% failure when attempting to connect to otherwise working WPA2-AES secured WAP. (Acer Aspire, Wii, and Thinkpad A20m using external WiFi antenna all able to connect to that WAP - only the Mini has problems.)

Changed in dell-mini:
status: New → Confirmed
Revision history for this message
PS (pstrzok) wrote :

Also have a new Dell Mini 9 received yesterday, running 8.04, crashes attempting to connect to a WPA2 - connected once for about 5 minutes, then crashed. Usually crashes immediately after OS load. Any suggestions (note I'm not a LINUX guy, so use small words ;) thanks)?

Revision history for this message
PS (pstrzok) wrote :

Adding to my previous post -
Broadcom pci id = 14e4:4315 (rev 01)
Tried Feisty_No-fluff steps 1, 2e, 3, no effect, still crashes upon attempting to connect. wl still showing up in hardware drivers, but GUI check shows driver as ndiswrapper.
Happy to send daemon or any other logs if they will help.

Revision history for this message
PS (pstrzok) wrote :

Courtesy of David Prentice on Google Ubuntu on the Dell Mini 9 group:

Looks like there is a specialty version of wl just for this peculiar
variant of the Broadcom wifi card. Read here:
https://answers.launchpad.net/ubuntu/+question/59597

The Broadcom page also lists a patch for WPA enterprise problems. Both the driver and patch are mid- late-March.
http://www.broadcom.com/support/802.11/linux_sta.php

I will try over the next couple of days and post results.

Revision history for this message
Peter Whittaker (pwwnow) wrote :

A couple of comments:

First, refer to my comment on
https://answers.launchpad.net/ubuntu/+question/59597

Second, the patch on the Broadcom may cause a regression with other devices. Refer to https://bugs.edge.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/292450/comments/68

I'm waiting for my Jaunty machine to pick up the patch Tim committed so that I can test again. If everything works properly under Jaunty, I may go back and see how to make it work under Intrepid (it may require enabling proposed and backports, I'm not sure - see other comments on 292450).

Revision history for this message
PS (pstrzok) wrote :

Peter,
Thanks for the comments. Caveating all this as above: as I'm not a LINUX guy (and all this may drive me back to Windows screaming ), am I incorrect in understanding that when the Broadcom site says their hybrid driver is agnostic to the specific version of Linux kernel, that means it applies across different releases (specifically, to 8.04)? I was going to try applying the driver update to 8.04 rather than doing a fresh install of 8.10.

As many might be thinking right now, I know just enough to make myself dangerous. However, I assure you that I'm now certain that I know more than the Dell Ubuntu tech support people I've had the pleasure of speaking with over the past couple of days.

As you noted in your 59597 thread, I just want a simple to follow fix for the OS so my Mini works on WPA networks.

Revision history for this message
Peter Whittaker (pwwnow) wrote :

Re Broadcom agnosticism: Don't know. The regression I noted may have been a result of the way I tested. I may have messed up along the way. That's why I'm waiting for my Jaunty box to pick up Tim's fix - I have more confidence in what Tim &co are doing to get me a stable kernel and drivers than I do in what I am doing. If it all works properly under Jaunty, then I'm going to assume it can be made to work under Intrepid and I may try to figure out that path. I may even try figuring it out under Hardy, if my daughter will let me touch her machine.

That said, talking to hardware is notoriously difficult. The Broadcom driver may be agnostic, but they may also have broken something for somebody else - for example, by correcting a "well known error" that was being dealt with otherwise elsewhere by others.

Note the tap dancing - only an experienced driver hacker can say for sure. Tim? Colin? Bueller?

Re running screaming back to Windows: I sympathize, I really do. It is extremely frustrating to take something that works under an otherwise borked OS-wannabe and have it fail spectacularly under a real OS. It's at times like these that I remember I switched for reasons of principle, accepting some inconvenience along the way. But that's another story, not for the bug report.

Re DELL support: I believe you 100%. But I know that many/most users are going to call their vendor for support unless they are given an "it just works without me doing much" solution. So recommending an alternative that borks their paid-for support must always be our last step. We need to find solutions that work for most everyone, with minimal effort, while preserving the benefits of LTS and of vendor-supported hardware. After all, there isn't a lot of it out there, putting it at risk risks much negative - if misinformed - feedback.

Revision history for this message
Martijn Vermaat (mvermaat) wrote :

Current Ubuntu Jaunty fixes this for me.

Kernel is 2.6.28-11-generic #42-Ubuntu SMP.

Revision history for this message
Pres-Gas (presgas) wrote : Re: [Bug 300784] Re: Wireless WPA2 consistantly crashes the laptop

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I can confirm this with the Release Candidate...backport anyone?

Martijn Vermaat wrote:
> Current Ubuntu Jaunty fixes this for me.
>
> Kernel is 2.6.28-11-generic #42-Ubuntu SMP.
>

- --
________

Robert Freeman-Day

https://launchpad.net/~presgas
GPG Public Key:
http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xBA9DF9ED3E4C7D36
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknwaccACgkQup357T5MfTYgUQCfaLYgVrVqSuTTvLg40zDoV8/S
ZoIAnR5sa3njI/2qSTAocXICLLQYMPw7
=19em
-----END PGP SIGNATURE-----

Revision history for this message
Peter Whittaker (pwwnow) wrote :

Pres-gas wrote:
> I can confirm this with the Release Candidate...backport anyone?

Refer also to bug# 292450. I'm pretty sure they are the same problem, I'd like to see this fix make it's way to Dell Mini Hardy repos.

Revision history for this message
Peter Whittaker (pwwnow) wrote :

I'm marking this as fix released based on wireless now working on my Dell MINI against my WPA2 network. I updated the MINI from the DELL Hardy repos this afternoon and now all works well.

Thanks, devs, great work.

Changed in dell-mini:
status: Confirmed → Fix Released
Revision history for this message
PS (pstrzok) wrote :

Great news indeed, but "updated the MINI from the DELL Hardy repos"? Plain english please - does that mean choosing software update from within the OS? Thanks

Revision history for this message
Peter Whittaker (pwwnow) wrote :

On Sat, 2009-04-25 at 18:43 +0000, PS wrote:
> Great news indeed, but "updated the MINI from the DELL Hardy repos"?
> Plain english please - does that mean choosing software update from
> within the OS? Thanks

Yes! My apologies - in trying to be clear and succinct to let the devs
know precisely what was tested I ended being, uh, opaque for everyone
else!

System, administration, update manager: Check, install updates. That
should do it for you.

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.