Wireless flaky on Acer Aspire 5100 after installing Natty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Seth Forshee | ||
Natty |
Fix Released
|
Medium
|
Seth Forshee |
Bug Description
Was adding comments to Bug #710738 until I was advised my situation is different. Before that, I thought I was seeing Bug #714300 but my symptoms aren't quite right for that either.
Laptop's wireless worked very well under Ubuntu 10.04 Lucid, and Ubuntu 10.10 Maverick, but on upgrade to Ubuntu 11.04 Natty over the weekend, the wireless seemed non-functional.
As it turns out it would sometimes connect after a really long delay. Adding a file containing one line:
/etc/modprobe.
options ath5k nowhcrypt=1
seems to make the connection connect somewhat more reliably, but it still often takes hundreds of seconds before wireless ESSIDs even start to appear in network manager. Sometimes, however, the connection will start coming up immediately on reboot.
In trying to debug this I discovered that the wireless button and other things that I might expect to see from acer-wmi are not appearing. I manually modprobed acer-wmi with no change visible to the lsinput utility.
The dmesg and other files attached to this bug are probably the "best case" scenario where the wireless came up pretty quickly after I booted. I will boot again and collect some other info that might be relevant when the wireless doesn't work.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-
ProcVersionSign
Uname: Linux 2.6.38-8-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'SB'/'HDA ATI SB at 0xf0400000 irq 16'
Mixer name : 'Realtek ALC883'
Components : 'HDA:10ec0883,
Controls : 23
Simple ctrls : 13
Date: Wed Apr 20 08:26:50 2011
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110419)
Lsusb:
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Acer Aspire 5100
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.50
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/22/2008
dmi.bios.vendor: Acer
dmi.bios.version: V3.13
dmi.board.name: Navarro
dmi.board.vendor: Acer
dmi.board.version: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.
dmi.modalias: dmi:bvnAcer:
dmi.product.name: Aspire 5100
dmi.product.
dmi.sys.vendor: Acer
Tommy Trussell (tommy-trussell) wrote : | #1 |
- AcpiTables.txt Edit (158.3 KiB, text/plain; charset="utf-8")
- AlsaDevices.txt Edit (585 bytes, text/plain; charset="utf-8")
- AplayDevices.txt Edit (269 bytes, text/plain; charset="utf-8")
- ArecordDevices.txt Edit (266 bytes, text/plain; charset="utf-8")
- BootDmesg.txt Edit (51.3 KiB, text/plain; charset="utf-8")
- Card0.Amixer.values.txt Edit (2.5 KiB, text/plain; charset="utf-8")
- Card0.Codecs.codec.0.txt Edit (12.4 KiB, text/plain; charset="utf-8")
- Card0.Codecs.codec.1.txt Edit (159 bytes, text/plain; charset="utf-8")
- CurrentDmesg.txt Edit (10.7 KiB, text/plain; charset="utf-8")
- Dependencies.txt Edit (1.9 KiB, text/plain; charset="utf-8")
- IwConfig.txt Edit (522 bytes, text/plain; charset="utf-8")
- Lspci.txt Edit (14.9 KiB, text/plain; charset="utf-8")
- PciMultimedia.txt Edit (611 bytes, text/plain; charset="utf-8")
- ProcCpuinfo.txt Edit (644 bytes, text/plain; charset="utf-8")
- ProcCpuinfo_.txt Edit (644 bytes, text/plain; charset="utf-8")
- ProcInterrupts.txt Edit (1.2 KiB, text/plain; charset="utf-8")
- ProcModules.txt Edit (2.3 KiB, text/plain; charset="utf-8")
- RfKill.txt Edit (189 bytes, text/plain; charset="utf-8")
- UdevDb.txt Edit (99.9 KiB, text/plain; charset="utf-8")
- UdevLog.txt Edit (235.0 KiB, text/plain; charset="utf-8")
- WifiSyslog.txt Edit (818.3 KiB, text/plain; charset="utf-8")
Tommy Trussell (tommy-trussell) wrote : | #2 |
Seth Forshee (sforshee) wrote : | #3 |
A quick note regarding the acer-wmi driver and your hotkey.
That driver should support your machine, but it won't load automatically due to a typo (incorrect capitalization) in the wmi guid within the driver. This can be easily fixed. Your logs show that it loaded successfully (I'm assuming you loaded it manually in this instance), but then I see some errors from the AML parser from execution of one of the wmi methods. That's seems likely to be a bios problem, but I'm not sure right now what the implications are.
You won't see the Acer wmi hotkeys device in lsinput because the wmi event guid the acer-wmi driver uses doesn't exist on your machine. The hotkeys may be reported on your AT keyboard device, and some may generate ACPI events and no key events. To check, use lsinput to find your AT keyboard device, then run:
sudo /lib/udev/keymap -i input/event<n>
where input/event<n> corresponds to the device you found with lsinput. While this is running, press your wifi hotkey. Then do the same while running:
acpi_listen
Thanks!
Tommy Trussell (tommy-trussell) wrote : | #4 |
- Acer5100-20110420-kern.log Edit (97.0 KiB, text/plain)
cold-started laptop from complete shutdown and the wireless didn't come right up. I let it try to connect for a few seconds and it failed and asked me to reiterate password. Just after that moment (Apr 20 09:01:53 in log) I un-checked "Enable Wireless" in the network manager applet. Then a few minutes later (Apr 20 09:03:27 in log) I checked "Enable Wireless" in the network manager applet, and the network connected successfully after a short delay.
Attaching excerpt of kern.log from this boot until after successful connection.
Tommy Trussell (tommy-trussell) wrote : | #5 |
- Acer5100-20110420-syslog Edit (126.9 KiB, text/plain)
@Seth I just saw your update so I will go through that next.
Attaching syslog for same time period as kern.log above
Tommy Trussell (tommy-trussell) wrote : | #6 |
I have NOT modprobe acer-wmi yet (though it doesn't seem to change lsinput)
merle@AcerAspir
[sudo] password for merle:
/dev/input/event0
bustype : BUS_HOST
vendor : 0x0
product : 0x5
version : 0
name : "Lid Switch"
phys : "PNP0C0D/
bits ev : EV_SYN EV_SW
/dev/input/event1
bustype : BUS_HOST
vendor : 0x0
product : 0x1
version : 0
name : "Power Button"
phys : "PNP0C0C/
bits ev : EV_SYN EV_KEY
/dev/input/event2
bustype : BUS_HOST
vendor : 0x0
product : 0x3
version : 0
name : "Sleep Button"
phys : "PNP0C0E/
bits ev : EV_SYN EV_KEY
/dev/input/event3
bustype : BUS_HOST
vendor : 0x0
product : 0x1
version : 0
name : "Power Button"
phys : "LNXPWRBN/
bits ev : EV_SYN EV_KEY
/dev/input/event4
bustype : BUS_I8042
vendor : 0x1
product : 0x1
version : 43841
name : "AT Translated Set 2 keyboard"
phys : "isa0060/
bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP
/dev/input/event5
bustype : BUS_HOST
vendor : 0x0
product : 0x6
version : 0
name : "Video Bus"
phys : "LNXVIDEO/
bits ev : EV_SYN EV_KEY
/dev/input/event6
bustype : BUS_I8042
vendor : 0x2
product : 0x7
version : 4785
name : "SynPS/2 Synaptics TouchPad"
phys : "isa0060/
bits ev : EV_SYN EV_KEY EV_ABS
merle@AcerAspir
Tommy Trussell (tommy-trussell) wrote : | #7 |
had lots of trouble with kemap -- it immediately starts scrolling hundreds of lines so I missed the "press Esc" message and had to increase the terminal buffer just to find it... also pressing the wlan button shuts off the radio and I have to manually toggle network manager so it will successfully reconnect
$ sudo /lib/udev/keymap -i input/event4
scan code: 0xD5 key code: wlan
(again I have not yet done modprobe acer-wmi )
Tommy Trussell (tommy-trussell) wrote : | #8 |
I see no messages from acpi_listen at all, either before or after modprobe acer-wmi
Seth Forshee (sforshee) wrote : | #9 |
@Tommy:
It look like all your hotkeys are coming in on the AT keyboard device anyway, so it won't really matter whether or not you load the acer-wmi driver. The bios doesn't appear to be using wmi to report any key events, so you'll never see any difference in the lsinput output or the key events being generated when you load the acer-wmi driver. The hotkey is generating the appropriate key event, so nothing is broken there. I'd still be interested to know if there's any output from acpi_listen when you press the hotkey.
To clarify a comment you made on bug #710738 -- you said that pressing the wifi hotkey disabled wifi, but you had to use the network manager panel applet to re-enable it. Can I infer from this that the wifi hotkey fails to enable wifi when it is disabled? Does the behavior differ with or without the acer-wmi module loaded?
Sorry, I know the hotkey is the less important issue in this bug report, I just wanted to close the loop on the conversation we started on the other bug while it's fresh on my mind.
Seth Forshee (sforshee) wrote : | #10 |
Whoops, looks like you added the acpi_listen information while I was typing :) Thanks!
Tommy Trussell (tommy-trussell) wrote : | #11 |
I have not been able to discern any effect of loading acer-wmi except for the new ACPI Exception and ACPI Error messages in syslog and kern.log
The workaround protocol I have developed for dealing with the wireless:
1) Boot the laptop & log in
2) Look at the Network Manager wireless indicator.
2a) If indicator is "hollow" then the wireless is not going to even attempt to connect (no ESSIDs listed) but that may change spontaneously sometime within the next few hundred seconds.
2b) If indicator has pulsing waves then it is trying to connect, but it may try to establish the auto connection and in a few seconds will ask for the credentials of the access point.
2c) If the indicator has pulsing waves SOMETIMES it will connect after just a few seconds.
If either 2a or 2b failures are detected, it seems to help to un-check "Enable Wireless" in network manager, wait a while (a minute?) and check it again. After maybe 30-60 seconds it will usually switch from the hollow to pulsing waves and successfully connect.
I usually leave the wireless power switch alone. If you press it, the light goes off. Press it again and the light comes back on. HOWEVER after turning wireless back on, if you do not subsequently toggle the "Enable Wireless" setting off then on in Network Manager, the wireless connection will fail anyway and will not successfully establish a connection to the access point.
SO if I flip the wireless power off and on, I need to be sure to do the same with Network Manager.
I hope this description is helpful in describing what I see.
Tommy Trussell (tommy-trussell) wrote : | #12 |
I could have worded one part better --
2b) If the indicator has pulsing waves then it is trying to auto connect to the access point, but it may fail to connect and ask for the credentials. Even if I re-type the credentials the access point will usually not connect at this point, and it works best to disable and re-enable wireless using Network Manager.
Tommy Trussell (tommy-trussell) wrote : | #13 |
OK never mind (maybe). I just spent several hours trying all sorts of things to make the Acer 5100 laptop connect wirelessly. I turned on and off all the settings, rebooted, logged in and out, removed and restored the ath5k nohwcrypt=1 setting, waved a dead chicken, etc. and nothing worked...
UNTIL I opened a little netbook nearby (running Ubuntu 10.10, if that matters) and woke it from sleep and connected it to the AP. As soon as the netbook was up and running the Acer 5100 connected too, with no further intervention on my part.
I don't know why or how.
I don't know that I can point fingers at the wireless radio signal from the netbook because my cell phone has been connected to the same AP all day, and it has been in my shirt pocket the whole time, too.
Weird.
Seth Forshee (sforshee) wrote : | #14 |
That is pretty strange. Is it reproducible?
I'd also suggest testing the latest mainline kernel build. Instructions for installing mainline builds are available at:
Changed in linux (Ubuntu): | |
assignee: | nobody → Seth Forshee (sforshee) |
status: | New → Incomplete |
importance: | Undecided → Medium |
Tommy Trussell (tommy-trussell) wrote : | #15 |
so far I haven't reproduced it, but I haven't been here much today. I did let the machine boot and sit tonight and it connected on its own after about 20 minutes. I think that may be its "typical" behavior.
I am somewhat confused by how to use the mainline builds despite reading through that page. If I download the version linked as the "latest" http://
I have compiled kernels before but that's obviously not what you meant.
I may have a few minutes to tinker with this tomorrow. Thanks for your advice...
Tommy Trussell (tommy-trussell) wrote : | #16 |
more circumstantial evidence this morning of a link between the sytems; I started AcerAspire5100 at 06:42:05. It finished all its ordinary messages in syslog/kern.log by 06:42:21 (last messages from rtkit-daemon about supervised threads) but no wireless connection. After a minute or so I woke the netbook from sleep (sorry I didn't notice the exact time) but after the netbook's usual delay connecting, within a few seconds AcerAspire5100 had kern.log messages at 06:45:33 saying wlan0: direct probe to [MAC address], two sets of three tries and timeouts, and then authenticate with the AP at 06:45:57.
The netbook has a Broadcom 4313 wireless chip, if that matters.
Tommy Trussell (tommy-trussell) wrote : | #17 |
Apparently my module concern was unfounded. Sorry for the lack of understanding.
I looked back and found the last daily mainline build that includes i386 and installed it... 2.6.39-999-generic #2001104191714
On first boot, the behavior IS different under this kernel. For one thing, it attempted to connect immediately (unsuccessfully, but at least it attempted). I will try some things over a few reboots, including sleeping this netbook during the next few attempts and documenting what I see. If you can point out some things I should look for specifically (do you look at kern.log or syslog or both or neither)
Tommy Trussell (tommy-trussell) wrote : | #18 |
sorry I was wrong. I had the netbook going so it was trying to connect. The behavior is NOT different under the mainline kernel.
It is fairly consistent... with the netbook off, when I toggle Network Manager's "Enable Wireless" off and then on, I get a series of messages in syslog:
Apr 22 07:39:35 AcerAspire5100 NetworkManager[
Apr 22 07:39:35 AcerAspire5100 NetworkManager[
Apr 22 07:39:35 AcerAspire5100 NetworkManager[
Apr 22 07:40:02 AcerAspire5100 NetworkManager[
Apr 22 07:40:02 AcerAspire5100 kernel: [ 125.661418] ADDRCONF(
Apr 22 07:40:02 AcerAspire5100 NetworkManager[
Apr 22 07:40:02 AcerAspire5100 NetworkManager[
Apr 22 07:40:03 AcerAspire5100 wpa_supplicant[
Apr 22 07:41:14 AcerAspire5100 NetworkManager[
Apr 22 07:41:14 AcerAspire5100 NetworkManager[
Apr 22 07:41:14 AcerAspire5100 NetworkManager[
Apr 22 07:41:30 AcerAspire5100 NetworkManager[
Apr 22 07:41:30 AcerAspire5100 kernel: [ 213.378302] ADDRCONF(
Apr 22 07:41:30 AcerAspire5100 NetworkManager[
Apr 22 07:41:30 AcerAspire5100 NetworkManager[
Apr 22 07:41:31 AcerAspire5100 wpa_supplicant[
(this was two toggle attempts with nebook asleep)
After connecting the netbook, here's what happens in syslog:
Apr 22 07:43:03 AcerAspire5100 NetworkManager[
Apr 22 07:43:03 AcerAspire5100 NetworkManager[
Apr 22 07:43:03 AcerAspire5100 NetworkManager[
Apr 22 07:43:03 AcerAspire5100 NetworkManager[
Apr 22 07:43:03 AcerAspire5100 NetworkManager[
Apr 22 07:43:03 AcerAspire5100 NetworkManager[
Apr 22 07:43:03 AcerAspire5100 NetworkManager[
Apr 22 07:43:03 AcerAspire5100 NetworkManager[
Apr 22 07:43:03 AcerAspire5100 NetworkManager[
Apr 22 07:43:03 AcerAspire5100 NetworkManager[
Apr 22 07:43:03 AcerAspire5100 Net...
Tommy Trussell (tommy-trussell) wrote : | #19 |
trying some different kernels from the mainline archive
2.6.35-02063512 (20110411 maverick) -- won't boot? (didn't try hard)
2.6.36-02063601 (20101123 natty) -- boots with difficulty and network came right up (without netbook assistance)
will load some other kernels and test a few major releases to see if I can find the approximate location of the regression... ?
Tommy Trussell (tommy-trussell) wrote : | #20 |
OK ... I have just about run out of time this am so I will summarize my testing so far.... let me know if you want me to try any particular Ubuntu kernels.
version 2.6.39-
this kernel behaves pretty much like the current kernel (newer kernels in this directory didn't have i386). Boots perfectly, network NOT connected immediately.
I started using kernels from http://
02063512.
02063601.
020637.201101050908 -- boots w/minor issues, network comes up immediately
020638.201103151303 -- NO BOOT (hangs with fan on high)
02063801.
(I'm running now on 2.6.36-1 to confirm. It came up fine.)
I am out of time now but it looks like the next things to try will be 2.6.37-1 through 2.3.37-6 to see if I can find the regression
Tommy Trussell (tommy-trussell) wrote : | #21 |
I really need to get to work today... but I tested two more I had already downloaded....
02063706.
02063804.
Tommy Trussell (tommy-trussell) wrote : | #22 |
SO far none of the 2.6.37 kernels exhibit the problems, and all of the 2.6.38 ones do
Seth Forshee (sforshee) wrote : | #23 |
Wow, thanks for all the testing. You've given me a lot of good information to work with.
I'm travelling this weekend, so I'm not really going to have a chance to go through all of it until Monday. If I can't get any clues as to what's happening from the logs we can try a kernel bisection, but if the regression is between 2.6.37.x and 2.6.38-rc1 the bisection could be difficult.
Changed in linux (Ubuntu): | |
status: | Incomplete → In Progress |
Tommy Trussell (tommy-trussell) wrote : | #24 |
I had a look at the changelog and yes there were lots of entries for ath5k (assuming that may be the problem) for .rc1.
And as far as I can tell all of them have the problem, though it is harder to get .rc1 and .rc2 up; if I were a tougher CLI jockey I would set up a test case using terminal utilities and try it via a console.
020638rc1.
020638rc2.
020638rc3.
(1):message: /proc/device-tree can't find root (on console)
(2): video terrible but switching consoles gets X to redraw
Tommy Trussell (tommy-trussell) wrote : | #25 |
This may not be germane to this issue, but my netbook developed an issue when I installed Maverick 10.10 that I initially thought was related to what I have been seeing on the AcerAspire5100. When I wake the netbook from sleep, it takes about 30 seconds before it even starts scanning for the local access point. It connects reliably, it just waits that many seconds to even start. The netbook did NOT show this behavior under Lucid 10.04 (it scanned and connected as soon as I woke it from sleep).
I have not yet tried to boot Natty on the netbook, but obviously I will be very sensitive to any network issues on it too. I am mentioning it only because it is mysterious too. Also since the netbook has a Broadcom chip I wonder if the actual culprit on the AcerAspire5100 may be something OTHER than ath5k.
Seth Forshee (sforshee) wrote : | #26 |
From the Acer5100-
Does that log represent the behavior you're typically seeing when trying to connect? Do you have the same trouble with all access points, or is it only with that particular one?
Tommy Trussell (tommy-trussell) wrote : | #27 |
Sorry, we are just winding down after an afternoon and evening of tornadoes. Sadly they are predicted again for tomorrow.
I usually only connect to the one access point, and haven't compared the connection failures until this experience.
There are others in the neighborhood, sometimes unsecured, and a public access point (which may be secured by WEP) at a restaurant a couple of blocks away. If it would be helpful to compare the logs when connecting to different types of access points I could easily set up an unsecured one and/or connect to the public one and have a look at the logs, but that will be tomorrow at the earliest. Or should I stick to different WPA connections?
Reading the kernel wireless debugging information, it looks like they prefer seeing wpa_supplicant scripts and logs. I started reading the man page but I haven't started tinkering with it yet. Let me know if that sort of information would be better for your purposes so we can rule out any Network Manager weirdness.
Tommy Trussell (tommy-trussell) wrote : | #28 |
- syslog when booting from 2.6.37.6 kernel Edit (112.6 KiB, text/plain)
The "best" kernel for this hardware has been http://
> merle@AcerAspir
> Linux AcerAspire5100 2.6.37-
I am attaching an extract of the syslog when booting from this kernel but otherwise using current Natty software.
I would say this represents ideal wireless behavior as the link is active "immediately" upon login. This is to the same access point I always use (Netgear WNR3500L if that matters).
Tommy Trussell (tommy-trussell) wrote : | #29 |
Tommy Trussell (tommy-trussell) wrote : | #30 |
I just checked to be sure and I still am using the file /etc/modprobe.
options ath5k nohwcrypt=1
Seth Forshee (sforshee) wrote : | #31 |
@Tommy,
The most helpful log for this problem is the syslog, as it includes the logs from the kernel, NetworkManager, and wpa_supplicant all intermixed to get an idea of the order in which things are happening between the separate components. Looking at the kernel log you just attached I don't see the same "direct probe" time-outs as in the original logs you attached. The successful connection in those logs also seems to skip the "direct probe" stage. I'm currently looking at the code to try and determine why that stage would or wouldn't be run. I don't see it happening with my machines (none of which use the ath5k driver).
I asked about connecting to other APs out of curiosity, as your problems could be related to how your AP is set up (e.g. hidden SSID, mac address filtering, etc). You don't have to go out of your way to find another AP to connect to, but if you have an opportunity to try it I'd be interested to hear the result.
We could try bisecting between 2.6.37 and 2.6.38-rc1, but it could be difficult as that period represents the "merge window" when the bulk of the new development work for the 2.6.38 kernel release was being merged. That means that there is a lot of potential for instability. So I'd like to do a little more digging before trying that.
Does removing hwcrypt=1 make any difference on the 2.6.37 kernels?
Seth Forshee (sforshee) wrote : | #32 |
@Tommy, I think it would be helpful to collect verbose logs from wpa_supplicant. To do this, modify /usr/share/
Exec=
Add -dd to the arguments, e.g.
Exec=
Reboot and attach /var/log/syslog for a problematic connection attempt. It might also be helpful to attach syslog for a good connection with the 2.6.37.6 kernel as well if you get a chance. You can remove the -dd after collecting the logs.
Thanks!
Tommy Trussell (tommy-trussell) wrote : | #33 |
- syslog 2.6.37.6 kernel with normal hwcrypt and trying another access point Edit (132.5 KiB, text/plain)
regular (non-verbose) syslog with /etc/modprobe.
also just for comparison I let it connect to the regular access point then connected it to a non-encrypted access point called nowhere_man that has no WAN connection then connected it back to the regular access point.
Tommy Trussell (tommy-trussell) wrote : | #34 |
- syslog 2.6.37.6 kernel with normal hwcrypt and verbose Edit (176.5 KiB, text/plain)
Verbosity up. This time when I booted it picked the nowhere_man AP (probably because it's right next to me) so I just switched once to the regular access point. Because this is verbose you also get some info about some of the other APs in my neighborhood.
Tommy Trussell (tommy-trussell) wrote : | #35 |
- syslog 2.6.38.8 kernel wpa_supplicant verbosity up failure to connect Edit (294.2 KiB, text/plain)
verbosity up. kernel 2.6.38-8 kernel. nohwcrypt=1
I booted under this kernel (sorry I don't remember ... is this the stock kernel?) and the system immediately connected to the nowhere_man unsecured AP with no WAN. I switched to the regular AP and let it fail, ask for credentials, typed credentials, I think it failed again and I canceled and it reconnected to the nowhere_man unsecured AP again.
Tommy Trussell (tommy-trussell) wrote : | #36 |
Let me know if you need more focused logs showing the WPA AP only or the unsecured AP only (but this time I would connect it to the WAN) or ...
Seth Forshee (sforshee) wrote : | #37 |
I have a better idea of what's going on, but still not a good picture of what might have changed to cause your regression.
Let's go ahead and try a bisect. I've restricted it to a couple of subdirectories of the kernel source tree, so that should limit the number of builds that are required. Basically, I'll provide you with a build, then you install, test, and let me know whether that build was good or bad. Then I provide another build, etc., until we've identified the change that introduced your issue.
You can get the first build (version 2.6.37-020637.0001) at:
Changed in linux (Ubuntu): | |
status: | In Progress → Incomplete |
Tommy Trussell (tommy-trussell) wrote : | #38 |
That build (2.6.37-
I don't see any logs written for the two boot attempts on that kernel. Does that make sense? The disk activity stops just after the abbreviated boot splash that this model seems to do. (Grub selection followed by black screen with disk activity, followed by a second or two of Ubuntu logo with the red 'boot complete' dots, then in the case of this kernel the screen hangs with blocky solid colored irregular stripes.)
I have tried a couple of boot attempts, though some of the previous kernels I tried put similar garbage on the screen and switching virtual consoles got X to redraw. HOWEVER Since the disk activity stops and it doesn't respond to Ctrl-Alt-F1 etc. I presume it is really hung.
Changed in linux (Ubuntu): | |
status: | Incomplete → In Progress |
Seth Forshee (sforshee) wrote : | #39 |
That's why I was hesitant to try bisection. Stability is suspect in the merge window :(
Let's try one more. I've uploaded version 2.6.37-020637.0002 to the same location.
If you can't boot this one, you might also try editing /etc/default/grub and commenting out the GRUB_CMDLINE_
Changed in linux (Ubuntu): | |
status: | In Progress → Incomplete |
Tommy Trussell (tommy-trussell) wrote : | #40 |
It hung, with a slightly more beautiful screen... ;-)
I have tried several reboots watching for things. Of course several screenfulls scroll off, and when it hangs there are some messages -- the LAST message says
stopping save udev log and update rules [ OK ]
but way up under the fsck message at the top of the screen, it says
fb: conflictign fb hw usage radeondrmfb vs VESA VGA -- removing ge
also a couple of lines down
Cache read/write disabled: /ssy/kernel/
Tommy Trussell (tommy-trussell) wrote : | #41 |
sorry typo in "fb: conflicting fb hw usage radeondrmfb vs VESA VGA -- removing ge" but "ge" IS where the text ended.
Seth Forshee (sforshee) wrote : | #42 |
I don't know whether or not the "conflicting fb" message is causing your boot problems, but we can try to work around it. Add this line:
GRUB_GFXPAYLOAD
to /etc/default/grub, re-run 'sudo update-grub2', and see if you can boot the bisect kernels after that. This should prevent the vesafb driver from trying to use the framebuffer.
Tommy Trussell (tommy-trussell) wrote : | #43 |
Wonderful! The 020637.002 kernel booted fine with the GRUB_GFXPAYLOAD
HOWEVER the network exhibits its characteristic problem with "wlan0: direct probe" messages etc.
so I will try the .001 kernel from earlier and report back.
Tommy Trussell (tommy-trussell) wrote : | #44 |
The 020637.001 kernel booted fine with the GRUB command.
HOWEVER the network is even less functional -- there don't seem to be any ath5k messages in the syslog at all on this boot.
Seth Forshee (sforshee) wrote : | #45 |
Could you attach syslog from the 020637.0001 kernel? Thanks!
Tommy Trussell (tommy-trussell) wrote : | #46 |
- syslog 2.6.37.0001 bisected kernel Edit (98.3 KiB, text/plain)
sorry for forgetting the syslog... I should know better by now!
Tommy Trussell (tommy-trussell) wrote : | #47 |
- syslog 2.6.37.0002 bisected kernel Edit (115.6 KiB, text/plain)
in case you need the 2.6.37.0002 kernel's syslog
Seth Forshee (sforshee) wrote : | #48 |
You don't need to attach syslog for every bisection run, only if something weird happens like having absolutely no wireless.
I don't know what happened in 0001, but we can ignore it for now. It will only become an issue if the problem is with a nearby commit. And the apparmor messages are nothing to worry about.
The next kernel is building, should be ready before too much longer.
Changed in linux (Ubuntu): | |
status: | Incomplete → In Progress |
Seth Forshee (sforshee) wrote : | #49 |
Build 020637.0003 is now available.
Changed in linux (Ubuntu): | |
status: | In Progress → Incomplete |
Tommy Trussell (tommy-trussell) wrote : | #50 |
- syslog 2.6.37.0003 bisected kernel Edit (87.5 KiB, text/plain)
The 020637.0003 booted but the wireless wasn't available. It didn't even try to connect. syslog attached
Seth Forshee (sforshee) wrote : | #51 |
Nothing about the device in the logs. What happens if you try loading the module manually, 'sudo modprobe ath5k'?
Tommy Trussell (tommy-trussell) wrote : | #52 |
- syslog 2.6.37.0003 bisected kernel with modprobe ath5k Edit (120.5 KiB, text/plain)
yes after the modprobe, the wireless came up, tried to connect and failed. The connection icon pulsed a little differently from usual as it was trying to connect... attaching the log.
Seth Forshee (sforshee) wrote : | #53 |
The log still shows the direct probe issue. Build 020637.0004 is uploaded for you to test.
Tommy Trussell (tommy-trussell) wrote : | #54 |
Build 020637.0004 booted fine and the wireless came up AND connected immediately.
Do you need anything from the logs? I have not tried booting with GFXPAYLOAD and nohwcrypt parameters back to default.
Tommy Trussell (tommy-trussell) wrote : | #55 |
I just booted 020637.0004 with my /etc/modprobe.
I presume that's all I need to do to keep the modprobe parameter from loading; I haven't been able to confirm that.
Tommy Trussell (tommy-trussell) wrote : | #56 |
I know it's not germane to this but the boot is also successful with the GRUB_GFXPAYLOAD
Tommy Trussell (tommy-trussell) wrote : | #57 |
never mind; subsequent boots didn't work so I had to reenable GRUB_GFXPAYLOAD
Seth Forshee (sforshee) wrote : | #58 |
You can just leave the GRUB_GFXPAYLOAD
Probably the only thing I'd be interested to know from your syslog is whether or not you have any of the 'direct probe' messages. It sounds like this kernel is good though, so I went ahead and started the next build.
Tommy Trussell (tommy-trussell) wrote : | #59 |
no direct probe messages in syslog!
Seth Forshee (sforshee) wrote : | #60 |
Build 020637.0005 is uploaded.
Tommy Trussell (tommy-trussell) wrote : | #61 |
020637.0005 booted fine, network came up quickly, AND no direct probe messages in syslog...
Seth Forshee (sforshee) wrote : | #62 |
Build 020637.0006 is uploaded. We're getting close!
Tommy Trussell (tommy-trussell) wrote : | #63 |
020637.006 booted fine, network came up quickly, AND no direct probe messages in syslog.
(I am experiencing some problem with the touchpad & controlling Unity but it could be humidity; we have flood warnings all around us.)
Seth Forshee (sforshee) wrote : | #64 |
Build 020637.0007 is uploaded.
Tommy Trussell (tommy-trussell) wrote : | #65 |
020637.0007 boots but the wireless fails to connect to WPA with direct probe messages in syslog. Let me know if I need to capture any specific info.
Seth Forshee (sforshee) wrote : | #66 |
Build 020637.0008 is uploaded.
Tommy Trussell (tommy-trussell) wrote : | #67 |
- syslog 2.6.37.0008 bisected kernel Edit (115.3 KiB, text/plain)
020637.0008 booted well and the network came up immediately. There were no direct probe messages in syslog, though it had one additional state change in the syslog before connecting so I am attaching it. (It probably isn't significant, as the link is working fine.)
Tommy Trussell (tommy-trussell) wrote : | #68 |
the filename is wrong, but the contents ARE of the .0008 syslog.
Seth Forshee (sforshee) wrote : | #69 |
Okay, the bisection has identified this as the offending commit:
commit 08ca944eb240b22
Author: Helmut Schaa <email address hidden>
Date: Tue Nov 30 12:19:34 2010 +0100
mac80211: Minor optimization in ieee80211_rx_h_data
However I'm skeptical that this is the correct commit. I think it limited the bisection more than I had intended and thus identified the wrong commit.
So we'll probably need to do another bisect. The good news is that I have a range of 20-30 commits (almost all ath5k stuff), so it should go pretty quickly. I'll post a new build shortly.
Seth Forshee (sforshee) wrote : | #70 |
Build 020637.0009 is uploaded.
Tommy Trussell (tommy-trussell) wrote : | #71 |
020637.0009 booted OK and the network came up really fast. No direct probe messages, and FEWER state changes than before in syslog. I won't attach it though unless you need it.
Seth Forshee (sforshee) wrote : | #72 |
Build 020637.0010 is uploaded.
Tommy Trussell (tommy-trussell) wrote : | #73 |
booted 020637.0010 but the network failed with direct probe messages in syslog
Seth Forshee (sforshee) wrote : | #74 |
Build 020637.0011 is uploaded.
Tommy Trussell (tommy-trussell) wrote : | #75 |
booted 020637.0011 and network came up quickly with no direct probe messages.
(It had the additional state change again but I presume that isn't relevant.)
Seth Forshee (sforshee) wrote : | #76 |
Build 020637.0012 is uploaded.
Tommy Trussell (tommy-trussell) wrote : | #77 |
booted 020637.0012 and network came up quickly with no direct probe messages in syslog
Seth Forshee (sforshee) wrote : | #78 |
And build 020637.0013 is uploaded. This one should tell us the (real) commit that introduces your problem.
Tommy Trussell (tommy-trussell) wrote : | #79 |
Booted 020637.0013 and the network came up quickly with no direct probe messages in syslog.
Seth Forshee (sforshee) wrote : | #80 |
The bisect identified this as the first bad commit.
commit 8aec7af99b1e459
Author: Nick Kossifidis <email address hidden>
Date: Tue Nov 23 21:39:28 2010 +0200
ath5k: Support synth-only channel change for AR2413/AR5413
I've looked it over, but without being familiar with the hardware it's hard for me to tell how these changes lead to your problem. So I'm afraid I might have to subject you to some more test kernels ;) These kernels will be based on the Ubuntu kernel so you should be able to remove any hacks you had to put in place for testing the kernels while we were bisecting. The first build is available in the same directory, version 2.6.38-
Thanks for all your help testing these kernels!
Tommy Trussell (tommy-trussell) wrote : | #81 |
booted 2.6.38-9.43 and the network came up quickly, no direct probe in syslog; I had already removed the ath5k nohwcrypt=1 hack, and for this boot I removed the GRUB_GFXPAYLOAD
SO for this particular issue, this one looks good... I will boot another time or two to be sure.
I could attach the syslog but I don't think it shows anything interesting.
Tommy Trussell (tommy-trussell) wrote : | #82 |
Here's what lshw says about the wireless interface: it IS an AR2413 as mentioned in the commit:
*-network:1
description: Wireless interface
product: AR2413 802.11bg NIC
vendor: Atheros Communications Inc.
physical id: 2
bus info: pci@0000:06:02.0
logical name: wlan0
version: 01
serial: 00:19:7d:1c:82:d3
width: 32 bits
clock: 33MHz
resources: irq:22 memory:
Tommy Trussell (tommy-trussell) wrote : | #83 |
btw I Googled the guid on that commit and found someone else bisecting around it back in March to find a problem... http://<email address hidden>
Seth Forshee (sforshee) wrote : | #84 |
Thanks for the pointers. I'm pretty close to sending our findings on to the maintainer of the driver, but there's one more thing we should test first. We need to verify that it was the change I made in that last build that fixed your problem and not some other update in the kernel.
Please test the kernel that's currently in the proposed archive, which will be identical to the one I just gave you aside from the changes I made. You can either enable the proposed archive using these instructions (note that this will give you all proposed natty updates, not just the kernel).
https:/
Or you can download the debs directly using these links.
https:/
https:/
https:/
Tommy Trussell (tommy-trussell) wrote : | #85 |
- syslog 2.6.38-9.43 proposed -- modprobe ath5k Edit (108.4 KiB, text/plain)
booted 2.6.38-9.43 (proposed; from links abobe) and it booted great but it was one of the LESS functional kernels for the wireless.
I booted and logged in, and Network manager's icon was hollow. I gave it a few seconds then I did a
modprobe ath5k
I gave it a few seconds with no response
I turned off networking in network manager, and when I turned it back on, it still didn't show a connection. The log complains about an unmanaged device; attached.
I did NOT try opening the netbook or connecting to an unsecured AP
Tommy Trussell (tommy-trussell) wrote : | #86 |
- syslog 2.6.38-9.43 proposed -- modprobe ath5k Edit (108.4 KiB, text/plain)
booted 2.6.38-9.43 (proposed; from links abobe) and it booted great but it was one of the LESS functional kernels for the wireless.
I booted and logged in, and Network manager's icon was hollow. I gave it a few seconds then I did a
modprobe ath5k
I gave it a few seconds with no response
I turned off networking in network manager, and when I turned it back on, it still didn't show a connection. The log complains about an unmanaged device; attached.
I did NOT try opening the netbook or connecting to an unsecured AP
Tommy Trussell (tommy-trussell) wrote : | #87 |
- syslog 2.6.38-9.43~lp767192v201105031700 second boot Edit (116.1 KiB, text/plain)
I reinstalled and booted 2.6.38-
Seth Forshee (sforshee) wrote : | #88 |
The results with 2.6.38-9.43 are odd. I browsed the changelog and nothing stood out as potentially causing this change on the surface. Did you boot more than once to check that it wasn't a fluke?
There was a new stable kernel this week that has some ahteros fixes. I don't think any will fix your problem, but it might be worth trying if you get a chance. It's available at
http://
I'll start a dialog with the maintainers to see if they can provide an appropriate fix.
Changed in linux (Ubuntu): | |
status: | Incomplete → In Progress |
Tommy Trussell (tommy-trussell) wrote : | #89 |
- syslog 2.6.38-9.43 proposed network slowly comes up. Edit (116.1 KiB, text/plain)
I couldn't remember; maybe I did only boot it once before, and maybe I was not being patient enough. Sorry.
Today I reinstalled 2.6.38-9.43 proposed. I booted twice, and on the second boot I waited a few minutes, and the network ultimately came up without any modprobes or network-manager toggles. The syslog shows the expected direct probe messages. Log attached.
The network seems to be fully functional, just slow to come up. I haven't tested its throughput or anything like that.
I will boot one more time on this one and will also try the other kernel you mentioned.
Tommy Trussell (tommy-trussell) wrote : | #90 |
the next boot of 2.6.38-9.43proposed took ten minutes before it started direct-probing (even after turning the netbook on after about seven minutes) and the network connection failed.
I installed mainline 2.6.38-
These failures are more consistent with the expected flakiness.
I am capturing the logs if you want them.
Tommy Trussell (tommy-trussell) wrote : | #91 |
on the next boot of mainline 2.6.38-
Seth Forshee (sforshee) wrote : | #92 |
It won't be necessary to supply the logs.
I've sent a message to the maintainers, so we'll see what kind of response we get from them.
Seth Forshee (sforshee) wrote : | #93 |
I'm afraid I've been asked to have you test yet another kernel, to see if the bug is fixed in the latest 2.6.39 release candidate. That one isn't yet available in our normal mainline builds location, so I've built one and uploaded it to:
http://
If things still aren't working with this kernel, please enable ath5k reset debugging. I think this command should do it:
sudo sh -c "echo reset > /sys/kernel/
But without having the hardware I'm not completely sure about the path, so if it fails you might poke around in /sys/kernel/
Thanks!
Tommy Trussell (tommy-trussell) wrote : | #94 |
/sys/kernel/
root@AcerAspire
total 0
-r-------- 1 root root 0 2011-05-04 18:29 channel_type
-r--r--r-- 1 root root 0 2011-05-04 18:29 fragmentation_
-r-------- 1 root root 0 2011-05-04 18:29 frequency
-r--r--r-- 1 root root 0 2011-05-04 18:29 ht40allow_map
drwxr-xr-x 4 root root 0 2011-05-04 18:29 keys
-r--r--r-- 1 root root 0 2011-05-04 18:29 long_retry_limit
drwxr-xr-x 3 root root 0 2011-05-04 18:29 netdev:wlan0
-r-------- 1 root root 0 2011-05-04 18:29 noack
-r-------- 1 root root 0 2011-05-04 18:29 power
-r-------- 1 root root 0 2011-05-04 18:29 queues
drwxr-xr-x 2 root root 0 2011-05-04 18:29 rc
--w------- 1 root root 0 2011-05-04 18:29 reset
-r--r--r-- 1 root root 0 2011-05-04 18:29 rts_threshold
-r--r--r-- 1 root root 0 2011-05-04 18:29 short_retry_limit
drwxr-xr-x 2 root root 0 2011-05-04 18:29 statistics
-r-------- 1 root root 0 2011-05-04 18:29 total_ps_buffered
-r-------- 1 root root 0 2011-05-04 18:29 tsf
-r-------- 1 root root 0 2011-05-04 18:29 uapsd_max_sp_len
-r-------- 1 root root 0 2011-05-04 18:29 uapsd_queues
-r-------- 1 root root 0 2011-05-04 18:29 user_power
-r-------- 1 root root 0 2011-05-04 18:29 wep_iv
root@AcerAspire
root@AcerAspire
total 0
-r-------- 1 root root 0 2011-05-04 18:29 aid
-r-------- 1 root root 0 2011-05-04 18:29 ave_beacon
-r-------- 1 root root 0 2011-05-04 18:29 bssid
-r-------- 1 root root 0 2011-05-04 18:29 channel_type
-r-------- 1 root root 0 2011-05-04 18:29 drop_unencrypted
-r-------- 1 root root 0 2011-05-04 18:29 flags
-r-------- 1 root root 0 2011-05-04 18:29 last_beacon
-r-------- 1 root root 0 2011-05-04 18:29 rc_rateidx_
-r-------- 1 root root 0 2011-05-04 18:29 rc_rateidx_
-rw------- 1 root root 0 2011-05-04 18:29 smps
-r-------- 1 root root 0 2011-05-04 18:29 state
drwxr-xr-x 3 root root 0 2011-05-04 18:29 stations
--w------- 1 root root 0 2011-05-04 18:29 tkip_mic_test
root@AcerAspire
could it be that I should do it the other way around? In other words I could try this:
sudo sh -c "echo debug > /sys/kernel/
maybe...
This was the first boot so I will try booting a couple of times and if it still looks the same I will give that one a try .
Tommy Trussell (tommy-trussell) wrote : | #95 |
sudo sh -c "echo debug > /sys/kernel/
didn't seem to do anything.
Tommy Trussell (tommy-trussell) wrote : | #96 |
I don't see a debug file anywhere. This (2007) email implies I should see it, as long as the define was set when the driver was compiled...
http://<email address hidden>
Seth Forshee (sforshee) wrote : | #97 |
Yeah, I missed that there was a config option I needed to enable. I put a new build with that option enabled in the same directory, version 2.6.39-
Tommy Trussell (tommy-trussell) wrote : | #98 |
been using 2.6.39-
it does have /sys/kernel/
I have been tinkering with this for awhile now; you asked for dmesg and syslog, but I could never see any additional messages EITHER place no matter what I did to the debug file. It turns out all the additional messages are going to kern.log. So I will grab some or all of the kern.log along with the syslog so you can look at the time stamps or whatever.
ALSO for whatever reason the wireless has never completely failed this evening -- it waits a minute or two, does its direct probe a couple of times and then comes up. SO I haven't yet captured the total failure mode.
Tommy Trussell (tommy-trussell) wrote : | #99 |
- syslog 2.6.39-020639rc6.201105050227 network comes up eventually Edit (148.4 KiB, text/plain)
I was wrong about the messages; they were showing up in kern.log AND syslog as expected but I think I have too many logs for the system log viewer application to handle smoothly.
I am attaching a syslog for 2.6.39-
The network failed to start scanning until after I opened the netbook nearby whereupon the laptop connected to the AP.
I have a syslog where the network fails to even scan (not included here). I will try a couple more times to get a syslog where it scans but fails to connect.
Tommy Trussell (tommy-trussell) wrote : | #100 |
- dmesg 2.6.39-020639rc6.201105050227 Edit (61.1 KiB, text/plain)
dmesg for 2.6.39-
Tommy Trussell (tommy-trussell) wrote : | #101 |
I haven't been able to get this kernel to start a scan and then fail to connect to the access point. It will sit there a LONG time before it tries, though. With the attached syslog the I let it sit quite a long time before I finally opened the netbook nearby and it connected then.
this one isn't really any different than the previous one, but maybe it more clearly shows the difficulty because of the delay
Tommy Trussell (tommy-trussell) wrote : | #102 |
- syslog 2.6.39-020639rc6.201105050227 long delay Edit (171.4 KiB, text/plain)
I guess I never attached it. As I said it isn't very interesting except that I let it sit a half an hour before nudging it to connect.network comes up eventually
Tommy Trussell (tommy-trussell) wrote : | #103 |
- syslog 2.6.39-020639rc6.201105050227 scan & fail then scan & succeed Edit (147.0 KiB, text/plain)
I was finally able to observe the "scan but never connect" failure mode.
I booted, set debug as quickly as I could (though the network was already scanning) and waited for it to fail. Then I turned networking off and then on and it scanned and connected.
Seth Forshee (sforshee) wrote : | #104 |
I've been asked to have you attempt scanning and connecting to an open AP using command-line tools. You'll need to do the following somewhere where an open AP is available. Please capture the output of all commands and attach it here.
1. Disable networking in the notification area
2. Run 'sudo ifconfig wlan0 up'
3. Run 'sudo iw dev wlan0 scan'
4. Run 'sudo iw dev wlan0 connect -w <SSID>', using the SSID of the open AP
5. Run 'sudo iw dev wlan0 disconnect' to disconnect if #4 was successful.
What we want to see is data from when either the scan or connectoin fails, but if you can't ever get a failure that's useful information too. Please capture dmesg following your attempt(s) to connect with iw and attach it here as well.
Thanks!
Changed in linux (Ubuntu): | |
status: | In Progress → Incomplete |
Tommy Trussell (tommy-trussell) wrote : | #105 |
I created a guest network on the same AP without any security and I can start and stop it as needed. I have plenty of different APs so I can plug in the one I used the other day and connect it to the WAN if needed.
I had to apt-get install iw for these commands ... but I'm not seeing much feedback in the terminal. I guess it doesn't have much to say on its own.
I think I have the routine now and I will capture a few sessions later this afternoon. I'm also discovering that the dmesg I have been looking at in the system log viewer does NOT change when there is more to see in dmesg so I will write the cli dmesg to a file from now on. (Any dmesg info I posted earlier was captured from the system log viewer.)
Tommy Trussell (tommy-trussell) wrote : | #106 |
- logs for 2.6.39-020639rc6.201105050227 network fail Edit (35.8 KiB, application/x-tar)
booted 2.6.39-
captured a few complete failures and copied dmesg, syslog & terminal commands into .tar.gz
Tommy Trussell (tommy-trussell) wrote : | #107 |
- logs for 2.6.39-020639rc6.201105050227 network success Edit (39.0 KiB, application/x-tar)
booted 2.6.39-
captured more failures but was a lot more persistent until I was able to get the network to come up
and copied dmesg, syslog & terminal commands into .tar.gz
Tommy Trussell (tommy-trussell) wrote : | #108 |
I wanted to drag out the other unit and set it up again to try a connection to a different unsecured AP (just in case I am seeing a quirk with this one) but I cannot get to it due to family crises. Let me know if I should look for anything in particular when I do.
Tommy Trussell (tommy-trussell) wrote : | #109 |
- logs for 2.6.39-020639rc6.201105050227 network success Edit (37.5 KiB, application/x-tar)
plugged in wrt54gl AP running a recent version of Tomato (my usual AP is a Netgear WNR3500L running stock firmware).
booted 2.6.39-
went through the procedure:
1. Disable networking in the notification area
2. Run 'sudo ifconfig wlan0 up'
3. Run 'sudo iw dev wlan0 scan'
4. Run 'sudo iw dev wlan0 connect -w <SSID>', using the SSID of the open AP
5. Run 'sudo iw dev wlan0 disconnect' to disconnect if #4 was successful.
(I repeated step 3 until it showed something.)
In this run step 4 worked (the laptop connected to the open AP) on the first attempt.
Tommy Trussell (tommy-trussell) wrote : | #110 |
- logs for 2.6.39-020639rc6.201105050227 network success Edit (37.5 KiB, application/x-tar)
plugged in wrt54gl AP running a recent version of Tomato (my usual AP is a Netgear WNR3500L running stock firmware).
booted 2.6.39-
went through the procedure:
1. Disable networking in the notification area
2. Run 'sudo ifconfig wlan0 up'
3. Run 'sudo iw dev wlan0 scan'
4. Run 'sudo iw dev wlan0 connect -w <SSID>', using the SSID of the open AP
5. Run 'sudo iw dev wlan0 disconnect' to disconnect if #4 was successful.
(I repeated step 3 until it showed something.)
In this run step 4 worked (the laptop connected to the open AP) on the first attempt.
ethos_dacapo (ethos-dacapo) wrote : | #111 |
I'm so glad to see progress being made on this issue. This is all new to me but if you need someone else to help test, i'm on an acer aspire one zg5 with the 5001.
Changed in linux (Ubuntu): | |
status: | Incomplete → In Progress |
Tommy Trussell (tommy-trussell) wrote : | #112 |
- logs for 2.6.39-020639rc6.201105050227 total failure to connect Edit (35.4 KiB, application/x-tar)
sorry for the delay, but I captured one the other day where it never did successfully connect to the open AP.
same booted 2.6.39-
Tommy Trussell (tommy-trussell) wrote : | #113 |
- logs for 2.6.39-020639rc6.201105050227 network success Edit (18.6 KiB, application/x-tar)
same kernel, booted today and let it sit several hours and everything worked perfectly.
Seth Forshee (sforshee) wrote : | #114 |
It seems like maybe you're only able to connect after a successful scan. Can you run the steps from comment #104 after running 'sudo sh -c "echo reset > /sys/kernel/
Ygge (ygge78) wrote : | #115 |
I don't know if this info helps. I have the same problem with my aspire 5110. When I'm close to the router there is no problem to find or connect to my network. But when I try and connect from the next room the problem starts. Sometimes I see the network (with full signal strength) but cant connect but most of the time no networks comes upp all. Running Lubuntu 11.04 2.6.38-8-generic
Tommy Trussell (tommy-trussell) wrote : | #116 |
- logs for 2.6.39-020639rc6.201105050227 network fail Edit (17.9 KiB, application/x-tar)
per comment 114 I am trying some more, same kernel. I was completely unable to connect.
in this attempt apparently it was time to purge my logs so syslog is truncated.
Tommy Trussell (tommy-trussell) wrote : | #117 |
- logs for 2.6.39-020639rc6.201105050227 network eventual success Edit (37.4 KiB, application/x-tar)
per comment 114 this time I got good logs
ALSO this time I tried for a few minutes then I got tired of no connection so after awhile I disconnected the nowhere_man AP from the router and plugged it in just a few feet away from the laptop. It connected easily.
IMPORTANT -- the only difference with the good connect here was moving the access point within a few feet of the laptop.
Tommy Trussell (tommy-trussell) wrote : | #118 |
- logs for 2.6.39-020639rc6.201105050227 network success Edit (37.6 KiB, application/x-tar)
per comment 114 I kept the access point nearby and ran the procedure again just to show what it's like
apparently it's like shooting 80211b in a barrel
Seth Forshee (sforshee) wrote : | #119 |
The upstream maintainer made a patch to disable by default the changes that are causing the problem. I've uploaded a build with the patch. Please verify that it fixes the issue. The more people who can test this build the better.
The new build is available at:
http://
Please report back here with your results. Thanks!
Tommy Trussell (tommy-trussell) wrote : | #120 |
installed 2.6.39-
booted perfectly; wireless came up perfectly.
so far I have booted twice, same result.
ethos_dacapo (ethos-dacapo) wrote : | #121 |
When i try to install the new build the software center shows it as being available for upgrade but when i click on it nothing happens. Good to see more progress for those who actually know what they're doing though.
ethos_dacapo (ethos-dacapo) wrote : | #122 |
upon further inspection, if i goto installed software it does show as being installed but still wireless doesn't work on this acer aspire one zg5 with the 5001 hardware.
Seth Forshee (sforshee) wrote : | #123 |
@ethos_dacapo: Be sure you reboot after installing the kernel .deb files. After rebooting you can check what kernel you're using by opening a terminal and running 'cat /proc/version_
Fehmi Turan (fehmi-turan) wrote : | #124 |
Hi,
I have Acer Aspire 5100 Model BL51 with
Ethernet controller: Atheros Communications Inc. AR2413 802.11bg NIC (rev 01)
After the new kernel everything looks working fine.
Wireless interface comes up at the boot and connects without waiting, without any problem.
fhm@H2O:~$ uname -a
Linux H2O 2.6.39-
[ 37.389468] wlan0: authenticate with 00:25:9c:54:44:25 (try 1)
[ 37.390973] wlan0: authenticated
[ 37.391000] wlan0: associate with 00:25:9c:54:44:25 (try 1)
[ 37.395682] wlan0: RX AssocResp from 00:25:9c:54:44:25 (capab=0x431 status=0 aid=2)
[ 37.395688] wlan0: associated
Best regards.
ethos_dacapo (ethos-dacapo) wrote : | #125 |
I did reboot my computer originally with no success. Here is the output of the command you posted. Btw it should be 'cat /proc/version' now.
cat /proc/version
Linux version 2.6.39-
Hope this helps. Thanks
Tommy Trussell (tommy-trussell) wrote : | #126 |
@ethos_dacapo: be sure you downloaded and installed all THREE files listed here that end in .deb:
http://
If you installed them by double-clicking them it may take additional attempts because one will refuse to install until the others have been installed.
The fastest way to install all three at once is to move them into a directory without any other .deb files and use the Terminal command (in that directory)
sudo dpkg -i *.deb
Seth Forshee (sforshee) wrote : | #127 |
@ethos_dacapo: /proc/version_
@Tommy, @Fehmi, thanks for testing the proposed fix.
ethos_dacapo (ethos-dacapo) wrote : | #128 |
@Seth Forshee
lspci -vnvn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GME Express Memory Controller Hub [8086:27ac] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:015b]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0
Capabilities: <access denied>
Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GME Express Integrated Graphics Controller [8086:27ae] (rev 03) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device [1025:015b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at 58380000 (32-bit, non-prefetchable) [size=512K]
Region 1: I/O ports at 60c0 [size=8]
Region 2: Memory at 40000000 (32-bit, prefetchable) [size=256M]
Region 3: Memory at 58400000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: intelfb, i915
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
Subsystem: Acer Incorporated [ALI] Device [1025:015b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Region 0: Memory at 58300000 (32-bit, non-prefetchable) [size=512K]
Capabilities: <access denied>
00:1b.0 Audio device [0403]: Intel Corporation N10/ICH 7 Family High Definition Audio Controller [8086:27d8] (rev 02)
Subsystem: Acer Incorporated [ALI] Device [1025:015b]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 45
Region 0: Memory at 58440000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:1c.0 PCI bridge [0604]: Intel Corporation N10/ICH 7 Family PCI Express Port 1 [8086:27d0] (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00005000-00005fff
Memory behind bridge: 57300000-582fffff
Prefetchable memory behind bridge: 000000005000000
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERR...
Seth Forshee (sforshee) wrote : | #129 |
@ethos_dacapo, your wireless is an ath5k but not identical. If the fix works for others but not for you (as appears to be the case so far) you likely have a separate problem. Your best bet is to open a new bug by running 'ubuntu-bug linux' in a terminal (be sure you've booted back to your original kernel before reporting the bug, you can get a menu to select which kernel to boot with by holding down the left shift key when you boot your machine).
ethos_dacapo (ethos-dacapo) wrote : | #130 |
Ok thanks Seth. I submitted the bug https:/
Ygge (ygge78) wrote : | #131 |
installed 2.6.39-
No problem connection to my wireless network.
Sandro Benetollo (sandrolorena) wrote : | #132 |
I would like to test the kernel provided in comment #119 but I'm on amd64 architecture (I'm on Acer TravelMate 5510). Is it possible to have the kernel compiled in such version?
Thanks.
Seth Forshee (sforshee) wrote : | #133 |
@Sandro: I posted some amd64 debs. Thanks for testing!
Sandro Benetollo (sandrolorena) wrote : | #134 |
Hi Seth, thanks for your .deb! I installed and booted them. The first time the boot blocked in the black screen after grub and before the ubuntu logo with the five dots. The second and third time the boot was successful but it took almost three minutes to complete! Most of time was spent in the screen with ubuntu logo and five dots.
I couldn't test the wireless because at this moment I'm not at home: I only see the problem when I'm at home and try to connect from a room different from the one the router is in (-->it only connects if I'm VERY close to the router ).
I'll try in the evening.
Sandro Benetollo (sandrolorena) wrote : | #135 |
Booted 3 times at home: first time booted quickly, second time hang with black screen, third time booted quickly. Wireless was always OK! So the patch works!!!
If someone will try to reintroduce and patch the changes that caused the problem I can help in testing those patches.
ethos_dacapo (ethos-dacapo) wrote : | #136 |
@ Seth: Per comments #129-130 i reported the bug affecting my version of the ath5k. Its going on 16 days since i filed it but nobody has responded other than the initial confirmation. Is this normal or did i miss something? At this point i forget what its like not to be tethered to an ethernet cable on this netbook. lol
toffyrn (toffyrn) wrote : | #137 |
Installed the three .deb files on a Acer aspire 5101, and it fixed network issues on this card:
06:02.0 Ethernet controller: Atheros Communications Inc. AR2413 802.11bg NIC (rev 01)
Will this be merged into kernels in main repositories?
Seth Forshee (sforshee) wrote : | #138 |
@toffyrn: Of course the plan is to integrate this patch into the natty kernel. In this case it is an upstream patch, but the upstream developer has been slow about getting the patch into the upstream kernel, and that's what has been holding up this fix. This is finally progressing. It's too late to get this into the next natty kernel update, but I expect it will be in the next update after that.
Seth Forshee (sforshee) wrote : | #139 |
A fix for this has been released in oneiric. I'm working on the SRU for natty.
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Released |
Seth Forshee (sforshee) wrote : | #140 |
- 0001-ath5k-Disable-fast-channel-switching-by-default.patch Edit (2.8 KiB, text/plain)
SRU Justification
Impact: Fast channel switching causes problems with scanning and associating for many ath5k users.
Fix: Backport of upstream commit which disables fast channel switching by default and adds a module parameter to enable it.
Test case: Tested by affected users on LP #767192.
Changed in linux (Ubuntu Natty): | |
status: | New → In Progress |
assignee: | nobody → Seth Forshee (sforshee) |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Natty): | |
status: | In Progress → Fix Committed |
Seth Forshee (sforshee) wrote : | #141 |
The fix for this issue is now available in the proposed kernel. Please verify that the issue has been fixed. Instructions for enabling proposed updates are located at https:/
Herton R. Krzesinski (herton) wrote : | #142 |
Please test the kernel as requested in comment #141 and update this bug with the results. If the problem is solved, change the tag 'verification-
If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed.
tags: | added: verification-needed-natty |
Tommy Trussell (tommy-trussell) wrote : | #143 |
Installed all the linux-image-
P.S.:
Herton R. Krzesinski wrote :
> If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed.
Harsh! I made sure to test this before leaving for vacation, though I don't understand the reason for the dire warning. Surely a multiply-confirmed bug wouldn't be dropped completely?!?
Leo (llenchikk) wrote : | #144 |
I can confirm that wifi works with kernel 2.6.38-11.
Acer 5110. Ubuntu 11.04 amd64.
Sandro Benetollo (sandrolorena) wrote : | #145 |
Tested on Acer TravelMate 5510 (amd64 architecture): worked perfectly!
tags: |
added: verification-done-natty removed: verification-needed-natty |
Launchpad Janitor (janitor) wrote : | #146 |
This bug was fixed in the package linux - 2.6.38-11.48
---------------
linux (2.6.38-11.48) natty-proposed; urgency=low
[Herton R. Krzesinski]
* Release Tracking Bug
- LP: #818175
[ Upstream Kernel Changes ]
* Revert "HID: magicmouse: ignore 'ivalid report id' while switching
modes"
- LP: #814250
linux (2.6.38-11.47) natty-proposed; urgency=low
[Steve Conklin]
* Release Tracking Bug
- LP: #811180
[ Keng-Yu Lin ]
* SAUCE: Revert: "dell-laptop: Toggle the unsupported hardware
killswitch"
- LP: #775281
[ Ming Lei ]
* SAUCE: fix yama_ptracer_del lockdep warning
- LP: #791019
[ Stefan Bader ]
* SAUCE: Re-enable RODATA for i386 virtual
- LP: #809838
[ Tim Gardner ]
* [Config] Add grub-efi as a recommended bootloader for server and
generic
- LP: #800910
* SAUCE: rtl8192se: Force a build for a 2.6/3.0 kernel
- LP: #805494
[ Upstream Kernel Changes ]
* Revert "bridge: Forward reserved group addresses if !STP"
- LP: #793702
* Fix up ABI directory
* bonding: Incorrect TX queue offset, CVE-2011-1581
- LP: #792312
- CVE-2011-1581
* fs/partitions/
oops
- LP: #795418
- CVE-2011-1577
* usbnet/cdc_ncm: add missing .reset_resume hook
- LP: #793892
* ath5k: Disable fast channel switching by default
- LP: #767192
* mm: vmscan: correctly check if reclaimer should schedule during
shrink_slab
- LP: #755066
* mm: vmscan: correct use of pgdat_balanced in sleeping_
- LP: #755066
* ALSA: hda - Use LPIB for ATI/AMD chipsets as default
- LP: #741825
* ALSA: hda - Enable snoop bit for AMD controllers
- LP: #741825
* ALSA: hda - Enable sync_write workaround for AMD generically
- LP: #741825
* cpuidle: menu: fixed wrapping timers at 4.294 seconds
- LP: #774947
* drm/i915: Fix gen6 (SNB) missed BLT ring interrupts.
- LP: #761065
* USB: ehci: remove structure packing from ehci_def
- LP: #791552
* drm/i915: disable PCH ports if needed when disabling a CRTC
- LP: #791752
* kmemleak: Do not return a pointer to an object that kmemleak did not
get
- LP: #793702
* kmemleak: Initialise kmemleak after debug_objects_
- LP: #793702
* Fix _OSC UUID in pcc-cpufreq
- LP: #793702
* CPU hotplug, re-create sysfs directory and symlinks
- LP: #793702
* Fix memory leak in cpufreq_stat
- LP: #793702
* net: recvmmsg: Strip MSG_WAITFORONE when calling recvmsg
- LP: #793702
* ftrace: Only update the function code on write to filter files
- LP: #793702
* qla2xxx: Fix hang during driver unload when vport is active.
- LP: #793702
* qla2xxx: Fix virtual port failing to login after chip reset.
- LP: #793702
* qla2xxx: Fix vport delete hang when logins are outstanding.
- LP: #793702
* powerpc/kdump64: Don't reference freed memory as pacas
- LP: #793702
* powerpc/kexec: Fix memory corruption from unallocated slaves
- LP: #793702
* x86, cpufeature: Fix cpuid leaf 7 feature detection
- LP: #793702
* ath9k_hw: do noise floor calibration only on required chain...
Changed in linux (Ubuntu Natty): | |
status: | Fix Committed → Fix Released |
well now I can't even make it FAIL reliably! On this boot the wireless again came up pretty quickly.
When it is failing I get lots of timeouts in syslog. Usually network manager doesn't even try for several minutes and then when it does, there will be dozens of failures. In this case it only failed for two sets of three tries. Which to me is wonderful...
Apr 20 08:51:19 AcerAspire5100 kernel: [ 51.128794] wlan0: direct probe to c0:3f:0e:b9:f3:b2 (try 1/3)
Apr 20 08:51:20 AcerAspire5100 kernel: [ 51.328049] wlan0: direct probe to c0:3f:0e:b9:f3:b2 (try 2/3)
Apr 20 08:51:20 AcerAspire5100 kernel: [ 51.528046] wlan0: direct probe to c0:3f:0e:b9:f3:b2 (try 3/3)
Apr 20 08:51:20 AcerAspire5100 kernel: [ 51.728056] wlan0: direct probe to c0:3f:0e:b9:f3:b2 timed out
Apr 20 08:51:32 AcerAspire5100 kernel: [ 63.446709] wlan0: direct probe to c0:3f:0e:b9:f3:b2 (try 1/3)
Apr 20 08:51:32 AcerAspire5100 kernel: [ 63.644035] wlan0: direct probe to c0:3f:0e:b9:f3:b2 (try 2/3)
Apr 20 08:51:32 AcerAspire5100 kernel: [ 63.844283] wlan0: direct probe to c0:3f:0e:b9:f3:b2 (try 3/3)
Apr 20 08:51:32 AcerAspire5100 kernel: [ 64.044054] wlan0: direct probe to c0:3f:0e:b9:f3:b2 timed out
Apr 20 08:51:43 AcerAspire5100 kernel: [ 74.851447] wlan0: authenticate with c0:3f:0e:b9:f3:b2 (try 1)
Apr 20 08:51:43 AcerAspire5100 kernel: [ 74.852944] wlan0: authenticated
Apr 20 08:51:43 AcerAspire5100 kernel: [ 74.852973] wlan0: associate with c0:3f:0e:b9:f3:b2 (try 1)
Apr 20 08:51:43 AcerAspire5100 kernel: [ 74.855423] wlan0: RX AssocResp from c0:3f:0e:b9:f3:b2 (capab=0x411 status=0 aid=4)
Apr 20 08:51:43 AcerAspire5100 kernel: [ 74.855429] wlan0: associated