[Xbuntu 14.04, 14.10 and 15.04] Network manager stops working: iwl3945 0000:03:00.0: BSM uCode verification failed at addr ...; wlan0: deauthenticating from... by local choice (Reason: 3=DEAUTH_LEAVING),

Bug #1408963 reported by Peter Ullinger on 2015-01-09
266
This bug affects 54 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Low
Unassigned

Bug Description

From time to time, the system loses all wireles networks and kubuntu network manager applet goes blank - not even one network is shown. All wifi connections are broken. Rebooting fixes the issue, switching to WICD on-the-fly enables to continue browsing without rebooting, so it seems to be no hardware issue or iwl3945 issue.

What to expect: stable connections and flawless network managing.
What happens: so above.

Further informations about the system, the network configuration, the package version can be found in the attachment, also parts of rsyslog and dmesg.

Interesting, according to some helpers, are the following lines:
dmesg: wlan0: deauthenticating from 02:26:4d:ac:8f:45 by local choice (Reason: 3=DEAUTH_LEAVING)

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.10
Release: 14.10
Codename: utopic

apt-cache policy network-manager
network-manager:
  Installiert: 0.9.8.8-0ubuntu28
  Installationskandidat: 0.9.8.8-0ubuntu28
  Versionstabelle:
 *** 0.9.8.8-0ubuntu28 0
        500 http://de.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
        100 /var/lib/dpkg/status

Peter Ullinger (upthere) on 2015-01-09
description: updated

The bugs 1390709 and 1386863 also show the error message "wlan0: deauthenticating from... by local choice (Reason: 3=DEAUTH_LEAVING)".

summary: - [Kubuntu] Network manager stops working: wlan0: deauthenticating from...
- by local choice (Reason: 3=DEAUTH_LEAVING)
+ [Kubuntu 14.10] Network manager stops working: wlan0: deauthenticating
+ from... by local choice (Reason: 3=DEAUTH_LEAVING)
Peter Ullinger (upthere) on 2015-01-13
summary: - [Kubuntu 14.10] Network manager stops working: wlan0: deauthenticating
- from... by local choice (Reason: 3=DEAUTH_LEAVING)
+ [Kubuntu 14.10] Network manager stops working: iwl3945 0000:03:00.0: BSM
+ uCode verification failed at addr ...; wlan0: deauthenticating from...
+ by local choice (Reason: 3=DEAUTH_LEAVING),

Switching to WICD solves the problem only temporaly. The Wifi brakes again with the error

iwl3945 0000:03:00.0: BSM uCode verification failed at addr

Peter Ullinger (upthere) wrote :

Some guy try to help me with this error. Further information and progress can be found at http://forum.ubuntuusers.de/topic/iwlwifi-streckt-die-fluegel-nach-wlan0-failed-/

Peter Ullinger (upthere) wrote :

"sudo service wicd stop&&sudo modprobe -rfv iwl3945&&sudo modprobe -v iwl3945&&sudo service wicd start" seems to work if the eoor occurs.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-firmware (Ubuntu):
status: New → Confirmed
Changed in network-manager (Ubuntu):
status: New → Confirmed
Helio Loureiro (helioloureiro) wrote :

This happens to me on 14.04 as well.

If I stop network-manager and connect directly via wpa_supplicant to wireless router, it just works.

Helio Loureiro (helioloureiro) wrote :

I just forgot to mention it isn't probably related to wifi interface since I've an Intel 6235 instead (kernel module iwlwifi).

5c:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev 24)

I'm running on top o kernel 3.17.7.

Peter Ullinger (upthere) wrote :

Gone back to 14.04 due multiple reasons, as Helio wrote: same here:

 uname -a
Linux sitronen-T500 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

dmesg | frep wlan[ 10.789417] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 10.789706] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 25.134956] wlan0: authenticate with 08:96:d7:9d:f6:a1
[ 25.140117] wlan0: send auth to 08:96:d7:9d:f6:a1 (try 1/3)
[ 25.344117] wlan0: send auth to 08:96:d7:9d:f6:a1 (try 2/3)
[ 25.548054] wlan0: send auth to 08:96:d7:9d:f6:a1 (try 3/3)
[ 25.752042] wlan0: authentication with 08:96:d7:9d:f6:a1 timed out
[ 25.788271] wlan0: authenticate with 08:96:d7:9d:f6:a1
[ 25.788350] wlan0: direct probe to 08:96:d7:9d:f6:a1 (try 1/3)
[ 25.992035] wlan0: direct probe to 08:96:d7:9d:f6:a1 (try 2/3)
[ 26.196113] wlan0: send auth to 08:96:d7:9d:f6:a1 (try 3/3)
[ 26.206550] wlan0: authenticated
[ 26.208048] wlan0: associate with 08:96:d7:9d:f6:a1 (try 1/3)
[ 26.233139] wlan0: RX AssocResp from 08:96:d7:9d:f6:a1 (capab=0x431 status=0 aid=11)
[ 26.242102] wlan0: associated
[ 26.242180] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 30.274822] wlan0: disassociated from 08:96:d7:9d:f6:a1 (Reason: 2)
[ 30.328236] wlan0: deauthenticating from 08:96:d7:9d:f6:a1 by local choice (reason=3)
[ 72.204524] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3035.874583] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3042.166018] wlan0: authenticate with 08:96:d7:9d:f6:a1
[ 3042.176186] wlan0: send auth to 08:96:d7:9d:f6:a1 (try 1/3)
[ 3042.181177] wlan0: authenticated
[ 3042.184129] wlan0: associate with 08:96:d7:9d:f6:a1 (try 1/3)
[ 3042.207339] wlan0: RX AssocResp from 08:96:d7:9d:f6:a1 (capab=0x431 status=0 aid=12)
[ 3042.209730] wlan0: associated
[ 3042.209761] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 3042.229302] wlan0: deauthenticating from 08:96:d7:9d:f6:a1 by local choice (reason=2)
[ 3042.278931] wlan0: authenticate with 08:96:d7:9d:f6:a1
[ 3042.279005] wlan0: send auth to 08:96:d7:9d:f6:a1 (try 1/3)
[ 3042.285993] wlan0: authenticated
[ 3042.288104] wlan0: associate with 08:96:d7:9d:f6:a1 (try 1/3)
[ 3042.308969] wlan0: RX AssocResp from 08:96:d7:9d:f6:a1 (capab=0x431 status=0 aid=12)
[ 3042.310585] wlan0: associated
[ 3074.316071] ieee80211 phy0: wlan0: No probe response from AP 08:96:d7:9d:f6:a1 after 500ms, disconnecting.
[ 3077.546352] wlan0: authenticate with 08:96:d7:9d:f6:a1
[ 3077.552140] wlan0: send auth to 08:96:d7:9d:f6:a1 (try 1/3)
[ 3077.571165] wlan0: authenticated
[ 3077.572104] wlan0: associate with 08:96:d7:9d:f6:a1 (try 1/3)
[ 3077.762850] wlan0: RX AssocResp from 08:96:d7:9d:f6:a1 (capab=0x431 status=0 aid=12)
[ 3077.781197] wlan0: associated

summary: - [Kubuntu 14.10] Network manager stops working: iwl3945 0000:03:00.0: BSM
- uCode verification failed at addr ...; wlan0: deauthenticating from...
- by local choice (Reason: 3=DEAUTH_LEAVING),
+ [Kubuntu 14.04 and 14.10] Network manager stops working: iwl3945
+ 0000:03:00.0: BSM uCode verification failed at addr ...; wlan0:
+ deauthenticating from... by local choice (Reason: 3=DEAUTH_LEAVING),
Peter Ullinger (upthere) wrote :

Still not solved, neither in Trusty nor in Utopic.

Peter Ullinger (upthere) on 2015-04-22
summary: - [Kubuntu 14.04 and 14.10] Network manager stops working: iwl3945
+ [Xbuntu 14.04, 14.10 and 15.04] Network manager stops working: iwl3945
0000:03:00.0: BSM uCode verification failed at addr ...; wlan0:
deauthenticating from... by local choice (Reason: 3=DEAUTH_LEAVING),
Peter Ullinger (upthere) wrote :

Still exists in Vivid:

wlan0: Failed check-sdata-in-driver check, flags: 0x4
[...]
 iwl3945 0000:03:00.0: Unable to initialize device after 5 attempts.
Apr 22 09:01:48 sitronen-T500 kernel: [55395.044171] ieee80211 phy0: Hardware restart was requested
Apr 22 09:01:48 sitronen-T500 kernel: [55395.092191] iwl3945 0000:03:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
Apr 22 09:01:48 sitronen-T500 kernel: [55395.095291] iwl3945 0000:03:00.0: Hardware error detected. Restarting.
Apr 22 09:01:48 sitronen-T500 kernel: [55395.095293] iwl3945 0000:03:00.0: Loaded firmware version: 15.32.2.9
Apr 22 09:01:48 sitronen-T500 kernel: [55395.095295] iwl3945 0000:03:00.0: Not valid error log pointer 0x00000000
Apr 22 09:01:48 sitronen-T500 kernel: [55395.104535] iwl3945 0000:03:00.0: Unable to set up bootstrap uCode: -5
Apr 22 09:01:48 sitronen-T500 kernel: [55395.154234] iwl3945 0000:03:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
Apr 22 09:01:48 sitronen-T500 kernel: [55395.157209] iwl3945 0000:03:00.0: Unable to set up bootstrap uCode: -5
Apr 22 09:01:48 sitronen-T500 kernel: [55395.206862] iwl3945 0000:03:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
Apr 22 09:01:48 sitronen-T500 kernel: [55395.210373] iwl3945 0000:03:00.0: Unable to set up bootstrap uCode: -5
Apr 22 09:01:48 sitronen-T500 kernel: [55395.260463] iwl3945 0000:03:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
Apr 22 09:01:48 sitronen-T500 kernel: [55395.263392] iwl3945 0000:03:00.0: Unable to set up bootstrap uCode: -5
Apr 22 09:01:48 sitronen-T500 kernel: [55395.313100] iwl3945 0000:03:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
Apr 22 09:01:48 sitronen-T500 kernel: [55395.316111] iwl3945 0000:03:00.0: Unable to set up bootstrap uCode: -5
Apr 22 09:01:48 sitronen-T500 wpa_supplicant[11725]: Could not set interface wlan0 flags (UP): Input/output error
Apr 22 09:01:48 sitronen-T500 wpa_supplicant[11725]: WEXT: Could not set interface 'wlan0' UP
Apr 22 09:01:48 sitronen-T500 wpa_supplicant[11725]: wlan0: Failed to initialize driver interface

I found this page because I am seeing the same problem in kubuntu 15.04 Vivid on a Lenovo Thinkpad T60 laptop.
The KDE5 plasma-nm (network manager) widget displays "connected" but all network connections are terminated.
When selecting "disconnect" in an attempt to reconnect, all wireless networks disappear from the listing.

Wired network continues to work but the systems slows way down.
Upon reboot, inspecting the first terminal shows that the system gets spammed with the

Apr 30 16:04:10 ********* kernel: [16419.742263] iwl3945 0000:03:00.0: Unable to set up bootstrap uCode: -5

error message as listed above.

I speak German but have not yet worked through the link
http://forum.ubuntuusers.de/topic/iwlwifi-streckt-die-fluegel-nach-wlan0-failed-/
I guess that's what I'll do next. Upon first inspection, this only seems to provide a temporary workaround rather than a fix.

Any help / instructions / workarounds / bug fixes to the kernel/firmware would be greatly appreciated.

PS: I used to have intermittent network drops in ubuntu 14.04 which is why I upgraded from LTS to 15.04 in the first place.

I used to workaround the problem by restarting the network-manager via

sudo service network-manager stop
sudo service network-manager start

This workaround has stopped working, which makes the current form of the problem more serious IMHO.

Adrian Chapman (adrian-z) wrote :

Exactly the same being seen here, frequently.

Vivid 15.04, upgraded on release from 14.10 (previously upgraded several times)
Intel 3945ABG using iwl3945
Dell Latitude D830

deauthenticating by local choice message in dmesg, followed by a dozen or so lines of "Failed check-sdata-in-driver check, flags: 0x4" all timestamped within 0.01 seconds.

Check network-manager - networks all shown. Turn wireless hardware switch off, all go. Back on, all stay gone.
Restart network-manager - "Wi-Fi Networks: device not ready"

Under 14.10, on first booting the machine, it would always associate with a weaker wireless network, and need manually changing to the stronger. This never happened prior to 14.10, and doesn't happen under 15.04

Time before failure can be several days, or (as this morning) can be ~20min after boot. It can fail to resume, or it can happen whilst the machine's in use. I think I've had it a dozen or so times since upgrade.

Gil Gamesh (gamesh-g) wrote :

As above, Thinkpad T61. 64-bit Kubuntu 15.04

dmesg output attached. Can upload anything else that might help.

Nikola Kovacevic (nikolak) wrote :

Someone should really look into this bug, I've been getting it *at least* once per day on my thinkpad t60 (it's more like 2-3 times daily on average though) running xubuntu 15.04 64 bit, rendering whole operating system pretty much unusable for anything that requires longer/permanent internet connection...

Logs show same errors as the ones already attached.

Ross Heflin (chi-metrognome) wrote :

Error messages very similar to above.
Thinkpad T60.
32bit xubuntu 15.04

Similar behavior on a Dell inspiron 9400:

systemd[1]: Started Network Manager.
systemd[1]: Starting Network Manager Wait Online...
NetworkManager[8547]: <error> [1432706094.998351] [platform/nm-linux-platform.c:2250] link_change(): Netlink error changing link 3: <UP> mtu 0 (1) driver 'iwl3945' udi '/sys/devices/pci0000:00/0000:00:1c.1/0000:0c:00.0/net/wlan0': Unspecific failure
NetworkManager[8547]: <info> (wlan0): preparing device
kernel: [ 2587.386187] iwl3945 0000:0c:00.0: Unable to initialize device after 5 attempts.
kernel: [ 2587.436284] iwl3945 0000:0c:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
kernel: [ 2587.436292] iwl3945 0000:0c:00.0: Unable to set up bootstrap uCode: -5
kernel: [ 2587.482952] iwl3945 0000:0c:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
kernel: [ 2587.482957] iwl3945 0000:0c:00.0: Unable to set up bootstrap uCode: -5
kernel: [ 2587.529622] iwl3945 0000:0c:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
kernel: [ 2587.529626] iwl3945 0000:0c:00.0: Unable to set up bootstrap uCode: -5
kernel: [ 2587.576289] iwl3945 0000:0c:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
kernel: [ 2587.576294] iwl3945 0000:0c:00.0: Unable to set up bootstrap uCode: -5
kernel: [ 2587.622952] iwl3945 0000:0c:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
kernel: [ 2587.622956] iwl3945 0000:0c:00.0: Unable to set up bootstrap uCode: -5
rtkit-daemon[7818]: Successfully made thread 8558 of process 8558 (n/a) owned by '1000' high priority at nice level -11.
rtkit-daemon[7818]: Supervising 1 threads of 1 processes of 1 users.
pulseaudio[8558]: [pulseaudio] pid.c: Stale PID file, overwriting.
kernel: [ 2587.660738] iwl3945 0000:0c:00.0: Unable to initialize device after 5 attempts.
wpa_supplicant[840]: Could not set interface wlan0 flags (UP): Input/output error
wpa_supplicant[840]: nl80211: Could not set interface 'wlan0' UP
NetworkManager[8547]: <info> urfkill disappeared from the bus

Similar on my old Acer Travelmate 5720 after an update from 14.04 (where I didn't have any issues with this lately): https://forum.ubuntuusers.de/topic/wlan-schmiert-immer-ab-nach-update-von-14-04-a/#post-7581108. This is in German, unfortunately, but I hope the console output there is still of some use.

Ross Heflin (chi-metrognome) wrote :

More details on situation encountered on IBM Thinkpad T60 w/ Intel wireless 3945ABG

card used to deauth itself (but still appear connected according to the network manager applet icon) Telling nm to reconnect to the network would fix the problem.

Now (after upgrade to xubuntu 15.04 from xubuntu 14.10), the wireless light will shut off completely and refuse to come back on, even after:

sudo modprobe -r iwl3945

(wait a few seconds)

sudo modprobe iwl3945

Last time this happened I manage to dump some information, you'll find it attached. Package versions are the latest from
vivid-updates and vivid-security.

Ross Heflin (chi-metrognome) wrote :

(see last comment)

schilcha (rainer-grohmann) wrote :
Download full text (3.6 KiB)

I do encounter the same problem here with xubuntu 15.04 on my Dell Latitude 430 quite frequently.

Looking at my syslog messages, this situation always seems to start with the following output:
Jun 6 20:35:39 smithers kernel: [ 4126.496072] iwl3945 0000:0c:00.0: Error sending C_POWER_TBL: time out after 500ms.
Jun 6 20:35:39 smithers kernel: [ 4126.496086] iwl3945 0000:0c:00.0: set power fail, ret = -110
Jun 6 20:35:41 smithers kernel: [ 4128.472071] iwl3945 0000:0c:00.0: Queue 4 stuck for 2500 ms.
Jun 6 20:35:41 smithers kernel: [ 4128.472082] iwl3945 0000:0c:00.0: On demand firmware reload
Jun 6 20:35:41 smithers kernel: [ 4128.508118] ieee80211 phy0: Hardware restart was requested
Jun 6 20:35:41 smithers kernel: [ 4128.560704] iwl3945 0000:0c:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
Jun 6 20:35:41 smithers kernel: [ 4128.560715] iwl3945 0000:0c:00.0: Unable to set up bootstrap uCode: -5
      [ the last two lines are repeated 5 times ]
Jun 6 20:35:41 smithers kernel: [ 4128.786187] iwl3945 0000:0c:00.0: Unable to initialize device after 5 attempts.
Jun 6 20:35:41 smithers kernel: [ 4128.786198] ------------[ cut here ]------------
Jun 6 20:35:41 smithers kernel: [ 4128.786267] WARNING: CPU: 0 PID: 2505 at /build/buildd/linux-3.19.0/net/mac80211/util.c:1774 ieee80211_reconfig+0x47d/0x1480 [mac80211]()
Jun 6 20:35:41 smithers kernel: [ 4128.786271] Hardware became unavailable during restart.
Jun 6 20:35:41 smithers kernel: [ 4128.786275] Modules linked in: [ removed to shorten post ]
Jun 6 20:35:41 smithers kernel: [ 4128.786389] CPU: 0 PID: 2505 Comm: kworker/0:0 Not tainted 3.19.0-18-generic #18-Ubuntu
Jun 6 20:35:41 smithers kernel: [ 4128.786393] Hardware name: Dell Inc. Latitude D430 /0XW631, BIOS A00 05/21/2007
Jun 6 20:35:41 smithers kernel: [ 4128.786419] Workqueue: events ieee80211_restart_work [mac80211]
     [ register dump removed to shorten post ]
Jun 6 20:35:41 smithers kernel: [ 4128.786457] Call Trace:
     [ call trace removed to shorten post]

     [ A really large number of such dumps follows ]

Jun 6 20:35:42 smithers kernel: [ 4128.803212] ---[ end trace eb90e628c7fb6207 ]---
Jun 6 20:35:42 smithers kernel: [ 4128.804736] cfg80211: Calling CRDA to update world regulatory domain
Jun 6 20:35:44 smithers kernel: [ 4131.825741] cfg80211: World regulatory domain updated:
Jun 6 20:35:44 smithers kernel: [ 4131.825748] cfg80211: DFS Master region: unset
Jun 6 20:35:44 smithers kernel: [ 4131.825753] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Jun 6 20:35:44 smithers kernel: [ 4131.825759] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Jun 6 20:35:44 smithers kernel: [ 4131.825764] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Jun 6 20:35:44 smithers kernel: [ 4131.825769] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
Jun 6 20:35:44 smithers kernel: [ 4131.825774] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Jun 6 20:35:44 smithers kernel: [ 4131....

Read more...

Fedor Dikarev (fedor-dikarev) wrote :

Same problem. Dmesg in attachment, system information below.

> sudo dmidecode -t 1 | egrep -v "Serial Number|UUID"
# dmidecode 2.12
SMBIOS 2.4 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
 Manufacturer: LENOVO
 Product Name: 1951PSG
 Version: ThinkPad T60
 Wake-up Type: Power Switch
 SKU Number: Not Specified
 Family: ThinkPad T60

> lsb_release -rd
Description: Ubuntu Wily Werewolf (development branch)
Release: 15.10

Jeroko (jeroko) wrote :
Download full text (5.7 KiB)

Same problem, from syslog:

Jun 12 23:07:45 jero-laptop kernel: [68448.600100] iwl3945 0000:04:00.0: Queue 0 stuck for 2500 ms.
Jun 12 23:07:45 jero-laptop kernel: [68448.600111] iwl3945 0000:04:00.0: On demand firmware reload
Jun 12 23:07:45 jero-laptop kernel: [68448.605882] ieee80211 phy0: Hardware restart was requested
Jun 12 23:07:45 jero-laptop kernel: [68448.653834] iwl3945 0000:04:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5
a5a5a2, s/b 0xf802020
Jun 12 23:07:45 jero-laptop kernel: [68448.653840] iwl3945 0000:04:00.0: Unable to set up bootstrap uCode: -5
Jun 12 23:07:45 jero-laptop kernel: [68448.700559] iwl3945 0000:04:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5
a5a5a2, s/b 0xf802020
Jun 12 23:07:45 jero-laptop kernel: [68448.700564] iwl3945 0000:04:00.0: Unable to set up bootstrap uCode: -5
Jun 12 23:07:45 jero-laptop kernel: [68448.747278] iwl3945 0000:04:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5
a5a5a2, s/b 0xf802020
Jun 12 23:07:45 jero-laptop kernel: [68448.747284] iwl3945 0000:04:00.0: Unable to set up bootstrap uCode: -5
Jun 12 23:07:45 jero-laptop kernel: [68448.794010] iwl3945 0000:04:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5
a5a5a2, s/b 0xf802020
Jun 12 23:07:45 jero-laptop kernel: [68448.794014] iwl3945 0000:04:00.0: Unable to set up bootstrap uCode: -5
Jun 12 23:07:45 jero-laptop kernel: [68448.840731] iwl3945 0000:04:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5
a5a5a2, s/b 0xf802020
Jun 12 23:07:45 jero-laptop kernel: [68448.840737] iwl3945 0000:04:00.0: Unable to set up bootstrap uCode: -5
Jun 12 23:07:45 jero-laptop kernel: [68448.878678] iwl3945 0000:04:00.0: Unable to initialize device after 5 attempts.
Jun 12 23:07:45 jero-laptop kernel: [68448.878686] ------------[ cut here ]------------
Jun 12 23:07:45 jero-laptop kernel: [68448.878734] WARNING: CPU: 0 PID: 16738 at /build/buildd/linux-3.19.0/net/mac80211/util.c:1774 ieee8021
1_reconfig+0x47d/0x1480 [mac80211]()
Jun 12 23:07:45 jero-laptop kernel: [68448.878737] Hardware became unavailable during restart.
Jun 12 23:07:45 jero-laptop kernel: [68448.878740] Modules linked in: rfcomm bnep nls_iso8859_1 uas usb_storage nfnetlink_queue nfnetlink_log
 nfnetlink pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) ctr ccm binfmt_misc nls_utf8 nvidia(POE) uvcvideo videobuf2_vmalloc
 videobuf2_memops btusb videobuf2_core v4l2_common videodev bluetooth media coretemp arc4 kvm snd_hda_codec_hdmi iwl3945 iwlegacy snd_hda_codec_realtek mac80211 snd_hda_codec_generic pcmcia snd_hda_intel snd_hda_controller joydev snd_hda_codec serio_raw lpc_ich snd_hwdep cfg80211 yenta_socket drm tifm_7xx1 pcmcia_rsrc snd_pcm tifm_core pcmcia_core snd_seq_midi snd_seq_midi_event toshiba_acpi snd_rawmidi sparse_keymap snd_seq wmi snd_seq_device snd_timer snd irda soundcore crc_ccitt 8250_fintek toshiba_bluetooth shpchp mac_hid cuse nfsd parport_pc ppdev auth_rpcgss nfs_acl lp lockd grace sunrpc parport autofs4 psmouse pata_acpi sdhci_pci firewire_ohci sdhci firewire_core r8169 crc_itu_t mii video
Jun 12 23:07:45 jero-laptop kernel...

Read more...

Jeroko (jeroko) wrote :

I'm getting this error several times a day, I've tried switching to wicd, reloading the iwl3945, restart services, and neither of them work, only rebooting solves the problem (for a while). This basically makes my laptop unusable. One thing to note is that when I reload iwl3945, wpa_supplicant takes over 1 CPU. Is there anything I can help with to diagnose the problem? How can I revert to a working configuration?

Ross Heflin (chi-metrognome) wrote :

problem still manifests on kernel: 3.19.0-22-generic in vivid.
You'll find snipped dmesg output attached.

In this case, I'd hardly used the network card since boot.

northrup (northrupthebandgeek) wrote :

Also experiencing the same exact issue on a Dell Latitude D830. Restarting NetworkManager doesn't help, nor does reloading the iwl3945 module, turning the wireless on/off via the physical switch, or any of the other suggestions in this thread. Only solution is to reboot, and it's a temporary solution. Dmesg looks effectively identical to existing reports. Running Ubuntu Studio with kernel 3.19.0-21-lowlatency (haven't tried generic yet, but it doesn't sound like that'll fix anything anyway).

Same issue on Dell XPS m1330, calling CRDA at the end.

Same issue. At the end

Dell XPS M1330
VIVID 1504.
Dmesg log attached.

Sebastian Ewald (sebastian003) wrote :

I'm having the same issue on a T60. Restarting Networkmanager results into 100% CPU-Usage.

Amit Aronovitch (aronovitch) wrote :

same issue: HP dv6500 laptop with 3945ABG wireless, running Ubuntu vivid.

braykov (braykov) wrote :

Two versions of Ubuntu and this is still a major problem.
Running Ubuntu 15.04 (with several upgrades from previous versions) on Lenovo S540 with RTL8723be.
Please, at least fix it for 15.10!!!

Eric (ericvb69) wrote :

Same issue on T60 with iwl3945:
BSM uCode verification Failed...
Unable to set up bootstrap code: - 5
This is Ubuntu Vivid kernel 3.19.0-25

simone (urrfaust) wrote :

Same problem here on asus S7F running kernel 3.19.0-26

robochat (rjsteed) wrote :

Same problem on acer 5630 running "3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:45 UTC 2015 i686 i686 i686 GNU/Linux"

This has been a problem for about 6 months. I currently am able to (temporarily) fix it by sending the computer into sleep mode and then waking it up again but would be great to get a proper fix!

bankey (bankey-biharidassa) wrote :

Hello,
I had same issues.
I solved it by following the german post.

I'll add the changed configs to this post
after a reboot all seems to be stable.

btw my laptop is a IBM Lenovo Thinkpad T61

03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)

3.16.0-46-generic #62~14.04.1-Ubuntu SMP Tue Aug 11 16:27:16 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Michael Zhdanov (zhdan) wrote :

The same error for me on Lubuntu 14.04 and Toshiba Tecra Z50-A.

Michael Zhdanov (zhdan) wrote :

Just noticed - everything is fine when I connect to 2.4 WiFi on my router and I have the error when I use 5 GHz. I tried all possible variants of configuration for my 5 GHz access point - the same error. So I am using 2.4 GHz now...

Ruairi Newman (rnewmancork) wrote :

Encountered the same error on Dell Latitude D630, BIOS A19 (current), running Ubuntu Studio 15.04.

Riki Villalba (rikivillalba) wrote :

Hello,
After adding the following text in /etc/modprobe.d/iwl3945.conf the issue didn't happened again (> 48 h) to me

#parm: antenna:select antenna (1=Main, 2=Aux, default 0 [both]) (int)
#parm: swcrypto:using software crypto (default 1 [software]) (int)
#parm: disable_hw_scan:disable hardware scanning (default 1) (int)
#parm: fw_restart:restart firmware in case of error (int)
#
options iwl3945 antenna=1
options iwl3945 disable_hw_scan=0
options iwl3945 fw_restart=0

This config file had been attached in the comment #39
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1408963/comments/39

My wireless card:
$ lspci
0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
 Subsystem: Intel Corporation Device 1020
 Flags: bus master, fast devsel, latency 0, IRQ 30
 Memory at fe7ff000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [c8] Power Management version 2
 Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
 Capabilities: [e0] Express Legacy Endpoint, MSI 00
 Capabilities: [100] Advanced Error Reporting
 Capabilities: [140] Device Serial Number 00-1f-3c-ff-ff-19-f6-00
 Kernel driver in use: iwl3945

Nick (ndwilley) wrote :

I followed Riki's post / the German post to edit the config. It does not eliminate the problem on my system.

Gil Gamesh (gamesh-g) wrote :

This seems to be happening on my system much more frequently lately - two or three times a day.

I know 15.10 is due out next week. Has anyone tried the Beta? Any improvements re this bug?

J.

Eric (ericvb69) wrote :
bli (bli-quatramaran) wrote :

I'm also affected by a similar bug, though I'm not using ubuntu. I thought it was just a sign of old age of my Thinkpad T61 wifi card.

I'm using gentoo with a 4.0.5 kernel, but the problem exists since several kernel versions.

Vincent (vincentqb) wrote :

The intermittent disconnection still happens with kernel 4.2.0-16-generic. It does not happen on 2.4 ghz network though.

The method suggested on http://ubuntuforums.org/showthread.php?t=2259037&p=13198699#post13198699 seems to be working for me. I'm quoting here:

sudo iw reg set IN
sudo sed -i 's/^REG.*=$/&IN/' /etc/default/crda

Gil Gamesh (gamesh-g) wrote :

I upgraded to Kubuntu 15.10 (from 15.04) three days ago and have been running my laptop constantly since, without this problem cropping up once, where it would happen at least once a day with 15.04.

For me the Problem is solved with 15.10.

Gena (ghenadii-batalski) wrote :

Problem again with 16.04

mxyzptlk (mxyzptlk) wrote :

As Gena said -- happens multiple times a day on 16.04 with kernel 4.4.0-31. Still occurred with kernel 4.4.0-28, but less frequently.

Confirming bug still present with kernel 4.4.0-31 on 16.04. My wifi
actually goes 'dormant'.

On Aug 2, 2016 00:41, "mxyzptlk" <email address hidden> wrote:

> As Gena said -- happens multiple times a day on 16.04 with kernel
> 4.4.0-31. Still occurred with kernel 4.4.0-28, but less frequently.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1408963
>
> Title:
> [Xbuntu 14.04, 14.10 and 15.04] Network manager stops working: iwl3945
> 0000:03:00.0: BSM uCode verification failed at addr ...; wlan0:
> deauthenticating from... by local choice (Reason: 3=DEAUTH_LEAVING),
>
> Status in linux-firmware package in Ubuntu:
> Confirmed
> Status in network-manager package in Ubuntu:
> Confirmed
>
> Bug description:
> From time to time, the system loses all wireles networks and kubuntu
> network manager applet goes blank - not even one network is shown. All
> wifi connections are broken. Rebooting fixes the issue, switching to
> WICD on-the-fly enables to continue browsing without rebooting, so it
> seems to be no hardware issue or iwl3945 issue.
>
> What to expect: stable connections and flawless network managing.
> What happens: so above.
>
> Further informations about the system, the network configuration, the
> package version can be found in the attachment, also parts of rsyslog
> and dmesg.
>
> Interesting, according to some helpers, are the following lines:
> dmesg: wlan0: deauthenticating from 02:26:4d:ac:8f:45 by local choice
> (Reason: 3=DEAUTH_LEAVING)
>
> lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 14.10
> Release: 14.10
> Codename: utopic
>
> apt-cache policy network-manager
> network-manager:
> Installiert: 0.9.8.8-0ubuntu28
> Installationskandidat: 0.9.8.8-0ubuntu28
> Versionstabelle:
> *** 0.9.8.8-0ubuntu28 0
> 500 http://de.archive.ubuntu.com/ubuntu/ utopic/main amd64
> Packages
> 100 /var/lib/dpkg/status
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1408963/+subscriptions
>

Gil Gamesh (gamesh-g) wrote :
Download full text (4.4 KiB)

Yes, having gone away for 15.10, I'm getting this problem again. Less
frequently, but the only way I've found to fix it is a reboot.

On 2 August 2016 at 08:06, Eric <email address hidden> wrote:

> Confirming bug still present with kernel 4.4.0-31 on 16.04. My wifi
> actually goes 'dormant'.
>
> On Aug 2, 2016 00:41, "mxyzptlk" <email address hidden> wrote:
>
> > As Gena said -- happens multiple times a day on 16.04 with kernel
> > 4.4.0-31. Still occurred with kernel 4.4.0-28, but less frequently.
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/1408963
> >
> > Title:
> > [Xbuntu 14.04, 14.10 and 15.04] Network manager stops working: iwl3945
> > 0000:03:00.0: BSM uCode verification failed at addr ...; wlan0:
> > deauthenticating from... by local choice (Reason: 3=DEAUTH_LEAVING),
> >
> > Status in linux-firmware package in Ubuntu:
> > Confirmed
> > Status in network-manager package in Ubuntu:
> > Confirmed
> >
> > Bug description:
> > From time to time, the system loses all wireles networks and kubuntu
> > network manager applet goes blank - not even one network is shown. All
> > wifi connections are broken. Rebooting fixes the issue, switching to
> > WICD on-the-fly enables to continue browsing without rebooting, so it
> > seems to be no hardware issue or iwl3945 issue.
> >
> > What to expect: stable connections and flawless network managing.
> > What happens: so above.
> >
> > Further informations about the system, the network configuration, the
> > package version can be found in the attachment, also parts of rsyslog
> > and dmesg.
> >
> > Interesting, according to some helpers, are the following lines:
> > dmesg: wlan0: deauthenticating from 02:26:4d:ac:8f:45 by local choice
> > (Reason: 3=DEAUTH_LEAVING)
> >
> > lsb_release -a
> > No LSB modules are available.
> > Distributor ID: Ubuntu
> > Description: Ubuntu 14.10
> > Release: 14.10
> > Codename: utopic
> >
> > apt-cache policy network-manager
> > network-manager:
> > Installiert: 0.9.8.8-0ubuntu28
> > Installationskandidat: 0.9.8.8-0ubuntu28
> > Versionstabelle:
> > *** 0.9.8.8-0ubuntu28 0
> > 500 http://de.archive.ubuntu.com/ubuntu/ utopic/main amd64
> > Packages
> > 100 /var/lib/dpkg/status
> >
> > To manage notifications about this bug go to:
> >
> >
> https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1408963/+subscriptions
> >
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1408963
>
> Title:
> [Xbuntu 14.04, 14.10 and 15.04] Network manager stops working: iwl3945
> 0000:03:00.0: BSM uCode verification failed at addr ...; wlan0:
> deauthenticating from... by local choice (Reason: 3=DEAUTH_LEAVING),
>
> Status in linux-firmware package in Ubuntu:
> Confirmed
> Status in network-manager package in Ubuntu:
> Confirmed
>
> Bug description:
> From time to time, the system loses all wireles networks and kubuntu
> network manager applet goes blank - not even one network is shown. Al...

Read more...

Gil Gamesh (gamesh-g) wrote :
Download full text (6.6 KiB)

Happened just now. Output from 'dmesg | grep wlan' below...

[ 41.595074] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 41.853714] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 43.634835] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 325.794164] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 385.767370] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 435.449149] wlan0: authenticate with 54:67:51:4d:6f:9f
[ 435.455242] wlan0: send auth to 54:67:51:4d:6f:9f (try 1/3)
[ 435.456070] wlan0: authenticated
[ 435.460078] wlan0: associate with 54:67:51:4d:6f:9f (try 1/3)
[ 435.493153] wlan0: RX AssocResp from 54:67:51:4d:6f:9f (capab=0x511
status=0 aid=2)
[ 435.494511] wlan0: associated
[ 435.494567] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[66243.425766] wlan0: deauthenticating from 54:67:51:4d:6f:9f by local
choice (Reason: 3=DEAUTH_LEAVING)
[66243.425883] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.427107] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.440134] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.441351] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.442580] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.460145] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.462442] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.472124] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.473361] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.474414] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.475532] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.488104] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.489265] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.490403] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.491586] wlan0: Failed check-sdata-in-driver check, flags: 0x0
[66243.508265] wlan0: Failed check-sdata-in-driver check, flags: 0x0

On 2 August 2016 at 10:14, Gil Gamesh <email address hidden> wrote:

> Yes, having gone away for 15.10, I'm getting this problem again. Less
> frequently, but the only way I've found to fix it is a reboot.
>
>
> On 2 August 2016 at 08:06, Eric <email address hidden> wrote:
>
>> Confirming bug still present with kernel 4.4.0-31 on 16.04. My wifi
>> actually goes 'dormant'.
>>
>> On Aug 2, 2016 00:41, "mxyzptlk" <email address hidden> wrote:
>>
>> > As Gena said -- happens multiple times a day on 16.04 with kernel
>> > 4.4.0-31. Still occurred with kernel 4.4.0-28, but less frequently.
>> >
>> > --
>> > You received this bug notification because you are subscribed to the bug
>> > report.
>> > https://bugs.launchpad.net/bugs/1408963
>> >
>> > Title:
>> > [Xbuntu 14.04, 14.10 and 15.04] Network manager stops working: iwl3945
>> > 0000:03:00.0: BSM uCode verification failed at addr ...; wlan0:
>> > deauthenticating from... by local choice (Reason: 3=DEAUTH_LEAVING),
>> >
>> > Status in linux-firmware package in Ubuntu:
>> > Confirmed
>> > Status in network-manager package in Ubuntu:
>> > Confirmed
>> >
>> > Bug description:
>> > From ti...

Read more...

mxyzptlk (mxyzptlk) wrote :

Happening daily, often multiple times a day, on kernel 4.4.0-34-generic.

It happens more often if the screen goes blank/screensaver, so I started using caffeine to just keep it from happening as often as it did. Still goes out randomly, requires a restart. This is makes using a laptop that needs an internet connection nearly impossible.

Mark (mark-k) wrote :

There's an upstream kernel bug report about this issue:
https://bugzilla.kernel.org/show_bug.cgi?id=93041

Paolo Pelloni (briga) wrote :
Download full text (5.4 KiB)

Same issue here on a Dell Vostro 1700 with Ubuntu 16.04.

Linux briga-laptop 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

[ 3125.120019] iwl3945 0000:0c:00.0: Queue 4 stuck for 2500 ms.
[ 3125.120026] iwl3945 0000:0c:00.0: On demand firmware reload
[ 3125.125835] ieee80211 phy0: Hardware restart was requested
[ 3125.173756] iwl3945 0000:0c:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
[ 3125.173761] iwl3945 0000:0c:00.0: Unable to set up bootstrap uCode: -5
[ 3125.220478] iwl3945 0000:0c:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
[ 3125.220481] iwl3945 0000:0c:00.0: Unable to set up bootstrap uCode: -5
[ 3125.267181] iwl3945 0000:0c:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
[ 3125.267185] iwl3945 0000:0c:00.0: Unable to set up bootstrap uCode: -5
[ 3125.313896] iwl3945 0000:0c:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
[ 3125.313900] iwl3945 0000:0c:00.0: Unable to set up bootstrap uCode: -5
[ 3125.360606] iwl3945 0000:0c:00.0: BSM uCode verification failed at addr 0x00003800+0 (of 900), is 0xa5a5a5a2, s/b 0xf802020
[ 3125.360614] iwl3945 0000:0c:00.0: Unable to set up bootstrap uCode: -5
[ 3125.397069] iwl3945 0000:0c:00.0: Unable to initialize device after 5 attempts.
[ 3125.397077] ------------[ cut here ]------------
[ 3125.397139] WARNING: CPU: 0 PID: 4936 at /build/linux-a2WvEb/linux-4.4.0/net/mac80211/util.c:1818 ieee80211_reconfig+0x1e0/0xf80 [mac80211]()
[ 3125.397141] Hardware became unavailable during restart.
[ 3125.397143] Modules linked in: drbg ansi_cprng ctr ccm binfmt_misc nvidia_uvm(POE) gpio_ich dell_wmi sparse_keymap dell_laptop dcdbas coretemp dell_smm_hwmon kvm_intel kvm irqbypass input_leds serio_raw nvidia(POE) lpc_ich uvcvideo arc4 iwl3945 videobuf2_vmalloc videobuf2_memops iwlegacy videobuf2_v4l2 videobuf2_core joydev snd_hda_codec_hdmi v4l2_common mac80211 videodev r852 sm_common media nand snd_hda_codec_idt snd_hda_codec_generic nand_ecc nand_bch bch snd_hda_intel nand_ids r592 snd_hda_codec mtd cfg80211 memstick snd_hda_core snd_hwdep snd_pcm drm snd_seq_midi snd_seq_midi_event snd_rawmidi wmi mac_hid snd_seq snd_seq_device snd_timer snd soundcore shpchp parport_pc ppdev lp parport autofs4 ses enclosure hid_generic psmouse usbhid hid firewire_ohci firewire_core uas crc_itu_t b44 ssb sdhci_pci
[ 3125.397226] mii sdhci pata_acpi usb_storage video
[ 3125.397235] CPU: 0 PID: 4936 Comm: kworker/0:2 Tainted: P OE 4.4.0-36-generic #55-Ubuntu
[ 3125.397238] Hardware name: Dell Inc. Vostro 1700 /0HX767, BIOS A07 04/21/2008
[ 3125.397261] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[ 3125.397264] 0000000000000286 00000000122297b0 ffff88006c84fcf0 ffffffff813f13b3
[ 3125.397269] ffff88006c84fd38 ffffffffc0410930 ffff88006c84fd28 ffffffff810810f2
[ 3125.397273] ffff8800b8c70700 00000000fffffffb ffff8800b8c70700 0000000000000000
[ 3125.397277] Call Trace:
[ 3125.397288] [<ffffffff813f13b3>] dump_stack+0x63/0x90
[ 3125.3...

Read more...

Peter Ullinger, thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1408963

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

tags: added: trusty utopic vivid
no longer affects: linux-firmware (Ubuntu)
Changed in network-manager (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Robin Hodgson (mookiedog) wrote :

I had never heard of this problem until upgrading to 16.10 yesterday. Now my HP DV6000 is suffering from this exact problem, about 5 times in less than 24 hours since the upgrade.

Gil Gamesh (gamesh-g) wrote :

Thanks for posting. I had been wondering whether an upgrade would fix this
issue as, for me, this problem appeared in 15.04, went away in 15.10, and
returned in 16.04.

On 16 October 2016 at 23:58, Robin Hodgson <email address hidden>
wrote:

> I had never heard of this problem until upgrading to 16.10 yesterday.
> Now my HP DV6000 is suffering from this exact problem, about 5 times in
> less than 24 hours since the upgrade.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1408963
>
> Title:
> [Xbuntu 14.04, 14.10 and 15.04] Network manager stops working: iwl3945
> 0000:03:00.0: BSM uCode verification failed at addr ...; wlan0:
> deauthenticating from... by local choice (Reason: 3=DEAUTH_LEAVING),
>
> Status in network-manager package in Ubuntu:
> Incomplete
>
> Bug description:
> From time to time, the system loses all wireles networks and kubuntu
> network manager applet goes blank - not even one network is shown. All
> wifi connections are broken. Rebooting fixes the issue, switching to
> WICD on-the-fly enables to continue browsing without rebooting, so it
> seems to be no hardware issue or iwl3945 issue.
>
> What to expect: stable connections and flawless network managing.
> What happens: so above.
>
> Further informations about the system, the network configuration, the
> package version can be found in the attachment, also parts of rsyslog
> and dmesg.
>
> Interesting, according to some helpers, are the following lines:
> dmesg: wlan0: deauthenticating from 02:26:4d:ac:8f:45 by local choice
> (Reason: 3=DEAUTH_LEAVING)
>
> lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 14.10
> Release: 14.10
> Codename: utopic
>
> apt-cache policy network-manager
> network-manager:
> Installiert: 0.9.8.8-0ubuntu28
> Installationskandidat: 0.9.8.8-0ubuntu28
> Versionstabelle:
> *** 0.9.8.8-0ubuntu28 0
> 500 http://de.archive.ubuntu.com/ubuntu/ utopic/main amd64
> Packages
> 100 /var/lib/dpkg/status
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1408963/+
> subscriptions
>

Dik (dikiy-evrej) wrote :

Downgrade the firmware to iwlwifi-3945-1.ucode seems to fix the problem.

mxyzptlk (mxyzptlk) wrote :

Dik, it's been 5 days since you posted downgrading the firmware to iwlwifi-3945-1.ucode seemed to fix the problem.

Is that still the case, or did the problem still occur?

If it indeed did fix the problem, what steps did you take?

Cheers.

Dik (dikiy-evrej) wrote :

No :( The problem still occurs. But not so annoying. There are some days without it. But sometimes 2-3 times in an hour.
But still better than with iwlwifi-3945-2.ucode

Dik (dikiy-evrej) wrote :

The steps are simple: download firmware from Intel-website and change it against the newer one in /lib/firmware

Dik (dikiy-evrej) wrote :

On this https://forum.ubuntuusers.de/topic/iwlwifi-streckt-die-fluegel-nach-wlan0-failed-/2/ forum someone posted, that with linux mint 17.1 there is no bug with it. This must be a 3.13.* kernel.

Dik (dikiy-evrej) wrote :

Ok. The kernel 3.13.* seems to make the bug some kind better. At first: the stuck appears a a lot fewer times. At second: the bug is another one. I mean, the errors in dmesg looks different. At third - if the bug appears it could be recovered with an rf-kill switch on/off.

The kernel 3.13.* is easy to install on the newest ubuntu from older repos. It works flawless. The one another thing - the bug with a stuck on resume is also go away.

It seems, that in newer kernels are a lot of regression, that affects older hardware :( Looks not so good. Because gnu/linux is one of possibilities to make older hardware good for a work.

Sorry for that emotional post...

Dik (dikiy-evrej) wrote :

The relevant bug in a kernel-bugzilla.

The workaround is to disable power saving on the device:

https://bugzilla.kernel.org/show_bug.cgi?id=93041

Dik (dikiy-evrej), to track your issue and hardware, it will help immensely if you filed a new report with Ubuntu, using the default repository kernel (not mainline/upstream/3rd party) via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

Dik (dikiy-evrej) wrote :

I'm on Linux Mint 18. Does it make a difference?

Eric (ericvb69) wrote :

Note that I have absolutely no problem with this driver on Debian 8.8
nor Debian stretch (4.9.0-2-amd64 #1 SMP Debian 4.9.18-1 (2017-03-30)
x86_64 GNU/Linux)

On Tue, May 9, 2017 at 3:13 PM, Dik <email address hidden> wrote:
> I'm on Linux Mint 18. Does it make a difference?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1408963
>
> Title:
> [Xbuntu 14.04, 14.10 and 15.04] Network manager stops working: iwl3945
> 0000:03:00.0: BSM uCode verification failed at addr ...; wlan0:
> deauthenticating from... by local choice (Reason: 3=DEAUTH_LEAVING),
>
> Status in network-manager package in Ubuntu:
> Incomplete
>
> Bug description:
> From time to time, the system loses all wireles networks and kubuntu
> network manager applet goes blank - not even one network is shown. All
> wifi connections are broken. Rebooting fixes the issue, switching to
> WICD on-the-fly enables to continue browsing without rebooting, so it
> seems to be no hardware issue or iwl3945 issue.
>
> What to expect: stable connections and flawless network managing.
> What happens: so above.
>
> Further informations about the system, the network configuration, the
> package version can be found in the attachment, also parts of rsyslog
> and dmesg.
>
> Interesting, according to some helpers, are the following lines:
> dmesg: wlan0: deauthenticating from 02:26:4d:ac:8f:45 by local choice (Reason: 3=DEAUTH_LEAVING)
>
> lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 14.10
> Release: 14.10
> Codename: utopic
>
> apt-cache policy network-manager
> network-manager:
> Installiert: 0.9.8.8-0ubuntu28
> Installationskandidat: 0.9.8.8-0ubuntu28
> Versionstabelle:
> *** 0.9.8.8-0ubuntu28 0
> 500 http://de.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
> 100 /var/lib/dpkg/status
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1408963/+subscriptions

--
Eric

Edward Z. Yang (ezyang) wrote :

If you are wondering how to disable power saving, please look at https://askubuntu.com/a/860754/35182

Eric (ericvb69) wrote :

Please note that I recently switched back to Debian Jessie and the
adaptator works perfectly with this distribution, kernel 4.9.0 and firmware
iwlwifi-3945-2.ucode
 so I can assume bug isn't in the firmware nor the kernel codes.

On Sat, Jun 10, 2017 at 11:32 PM, Edward Z. Yang <email address hidden>
wrote:

> If you are wondering how to disable power saving, please look at
> https://askubuntu.com/a/860754/35182
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1408963
>
> Title:
> [Xbuntu 14.04, 14.10 and 15.04] Network manager stops working: iwl3945
> 0000:03:00.0: BSM uCode verification failed at addr ...; wlan0:
> deauthenticating from... by local choice (Reason: 3=DEAUTH_LEAVING),
>
> Status in network-manager package in Ubuntu:
> Incomplete
>
> Bug description:
> From time to time, the system loses all wireles networks and kubuntu
> network manager applet goes blank - not even one network is shown. All
> wifi connections are broken. Rebooting fixes the issue, switching to
> WICD on-the-fly enables to continue browsing without rebooting, so it
> seems to be no hardware issue or iwl3945 issue.
>
> What to expect: stable connections and flawless network managing.
> What happens: so above.
>
> Further informations about the system, the network configuration, the
> package version can be found in the attachment, also parts of rsyslog
> and dmesg.
>
> Interesting, according to some helpers, are the following lines:
> dmesg: wlan0: deauthenticating from 02:26:4d:ac:8f:45 by local choice
> (Reason: 3=DEAUTH_LEAVING)
>
> lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 14.10
> Release: 14.10
> Codename: utopic
>
> apt-cache policy network-manager
> network-manager:
> Installiert: 0.9.8.8-0ubuntu28
> Installationskandidat: 0.9.8.8-0ubuntu28
> Versionstabelle:
> *** 0.9.8.8-0ubuntu28 0
> 500 http://de.archive.ubuntu.com/ubuntu/ utopic/main amd64
> Packages
> 100 /var/lib/dpkg/status
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1408963/+
> subscriptions
>

--
Eric

bersyl91 (choppy-free) wrote :

Hi,
Perhaps it'd be time to change this bug's status: if it's still marked as incomplete, never anybody will take a look on it :-(

Changed in network-manager (Ubuntu):
status: Incomplete → Confirmed
Jon Stumpf (jon-stumpf) wrote :

This affects me as well. I have trace information in the attached syslog. Below are the outputs from:
   * lsb_release -a
   * apt-cache policy network-manager
   * hwinfo --netcard

- jss

--------------------

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial

$ apt-cache policy network-manager
network-manager:
  Installed: 1.2.6-0ubuntu0.16.04.1
  Candidate: 1.2.6-0ubuntu0.16.04.1
  Version table:
 *** 1.2.6-0ubuntu0.16.04.1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1.2.2-0ubuntu0.16.04.4 500
        500 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
     1.1.93-0ubuntu4 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages

$ hwinfo --netcard
24: PCI 200.0: 0200 Ethernet controller
  [Created at pci.366]
  Unique ID: rBUF.DLcddtZ5wl3
  Parent ID: z8Q3.lhbiXmvIKtB
  SysFS ID: /devices/pci0000:00/0000:00:1c.0/0000:02:00.0
  SysFS BusID: 0000:02:00.0
  Hardware Class: network
  Model: "Lenovo ThinkPad X60/X60s"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x109a "82573L Gigabit Ethernet Controller"
  SubVendor: pci 0x17aa "Lenovo"
  SubDevice: pci 0x207e "ThinkPad X60/X60s"
  Driver: "e1000e"
  Driver Modules: "e1000e"
  Device File: eth0
  Memory Range: 0xee000000-0xee01ffff (rw,non-prefetchable)
  I/O Ports: 0x2000-0x201f (rw)
  IRQ: 28 (1760 events)
  HW Address: 00:16:d3:31:a0:90
  Link detected: no
  Module Alias: "pci:v00008086d0000109Asv000017AAsd0000207Ebc02sc00i00"
  Driver Info #0:
    Driver Status: e1000e is active
    Driver Activation Cmd: "modprobe e1000e"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #10 (PCI bridge)

25: PCI 300.0: 0282 WLAN controller
  [Created at pci.366]
  Unique ID: y9sn.FZoxbnX_PE2
  Parent ID: qTvu.nWUCVv8jNeC
  SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:03:00.0
  SysFS BusID: 0000:03:00.0
  Hardware Class: network
  Model: "Intel PRO/Wireless 3945ABG [Golan] Network Connection"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x4227 "PRO/Wireless 3945ABG [Golan] Network Connection"
  SubVendor: pci 0x8086 "Intel Corporation"
  SubDevice: pci 0x1010
  Revision: 0x02
  Driver: "iwl3945"
  Driver Modules: "iwl3945"
  Device File: wlan0
  Features: WLAN
  Memory Range: 0xedf00000-0xedf00fff (rw,non-prefetchable)
  IRQ: 31 (120102 events)
  HW Address: 00:18:de:66:4b:57
  Link detected: yes
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 36 40 44 48 52 56 60 64 149 153 157 161 165
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 5.18 5.2 5.22 5.24 5.26 5.28 5.3 5.32 5.745 5.765 5.785 5.805 5.825
  WLAN encryption modes: WEP40 WEP104 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v00008086d00004227sv00008086sd00001010bc02sc80i00"
  Driver Info #0:
    Driver Status: iwl3945 is active
    Driver Activation Cmd: "modprobe iwl3945"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #11 (PCI bridge)

Gabor Simon (gsimon75) wrote :

The same here, "Error sending C_SCAN: enqueue_hcmd failed" and "BSM uCode verification failed at addr" and all the other niceties, for this good ol' piece of hw that have been working flawlessly under other OSes, so it's definitely a sw issue.

I don't really hope for getting a solution, but anyway, won't hurt to mention.

Additionally, if you let me comment on the issue policy here:

* this bug has been reported more than 2.5 years ago
* it affects several Ubuntu versions
* it affects a lot of users (more than 54, just not everybody registers for adding a 'meetoo')
* it makes the OS virtually unusable (i know, still can ping localhost, hooray)
* nobody has taken any steps to solve it, *not even asking a fine question*
* the ticket hasn't even been assigned to anyone
* and its importance is still 'LOW'

That last word 'LOW', my dear Sirs, is the exact quality of the support here, not because of the lack of success solving the problem, but because not even being interested in trying to.

Since this OS is free, I got exactly the worth for my money, so I don't complain,
but whenever I'll happen to need *paid* support for some company IT business, hell sure that it won't be Canonical whom I'll contact in the first 100 place.

Dik (dikiy-evrej) wrote :

So, it seems, that not all folk became the solution from bugzilla.kernel.org. The bug is resolved since 05/2017

It's a firmware issue, that will not be fixed. The workaround is to disable the Power Save mode of the device.

For further info, please read: https://bugzilla.kernel.org/show_bug.cgi?id=93041

Kai-Heng Feng (kaihengfeng) wrote :

Does this happen to all iwlegacy users, or just some?
We probably need to implement some device matching mechanism in NM.

Dik (dikiy-evrej) wrote :

The all dmesg's/lspci's of users must be analyzed, but I think, its Intel 3945ABG specific bug (iwl3945)

Kai-Heng Feng (kaihengfeng) wrote :

Hmm, so we probably should default to disable power save on iwlegacy, and add an extra knob to force enabling power save?

Dik (dikiy-evrej) wrote :

It seems to be the right way.

On the other side, one could check the dmesg log on the presence of kernel warning about probably firmware fails, but it's a wrong concept I think.

Gabor Simon (gsimon75) wrote :
Download full text (3.2 KiB)

Thanks for the kernel bugzilla link, Dik, its power-save saving suspicion seems valid, at least now I had a full day of uptime without this wifi failure.

So, for anyone else who also wants to give it a try:

1. If you are using NetworkManager, then check '/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf', and try setting 'wifi.powersave = 0'

2. If you aren't using NetworkManager, then you may add an udev rule for turning it off:
Add this to '/etc/udev/rules.d/90-iwl3945-quirk.rules':
# disable power saving, as per https://bugzilla.kernel.org/show_bug.cgi?id=93041
ACTION=="add", SUBSYSTEM=="net", ENV{DEVTYPE}=="wlan", ENV{ID_NET_DRIVER}=="iwl3945", RUN+="/sbin/iw dev %E{INTERFACE} set power_save off"

NOTE: the '90-...' is important, as it must be evaluated after '80-drivers.rules' (I think).

3. You may set it manually via 'iw dev <iface> set power_save off', but it will last only
until something overrides it, or until reboot.

I collected some dmesg stack traces, this was the most relevant one (the rest came from generic ieee80211 code).

[ 7729.780167] ------------[ cut here ]------------
[ 7729.780189] WARNING: CPU: 1 PID: 4563 at /build/linux-CQR1pk/linux-4.10.0/drivers/net/wireless/intel/iwlegacy/common.c:3178 il_enqueue_hcmd+0x35c/0x3d0 [iwlegacy]
[ 7729.780191] Modules linked in: uas usb_storage ccm pcmcia coretemp kvm_intel kvm input_leds joydev arc4 irqbypass iwl3945 iwlegacy serio_raw mac80211 yenta_socket snd_hda_codec_conexant snd_hda_codec_generic pcmcia_rsrc lpc_ich pcmcia_core snd_hda_intel cfg80211 snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer snd soundcore shpchp toshiba_acpi sparse_keymap industrialio wmi mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic i915 8139too usbhid i2c_algo_bit psmouse drm_kms_helper syscopyarea 8139cp sysfillrect sysimgblt pata_acpi fb_sys_fops mii drm hid fjes video
[ 7729.780260] CPU: 1 PID: 4563 Comm: kworker/u4:1 Tainted: G W 4.10.0-19-generic #21-Ubuntu
[ 7729.780261] Hardware name: TOSHIBA SATELLITE L100/SATELLITE L100, BIOS V3.00 12/25/2008
[ 7729.780307] Workqueue: phy0 ieee80211_scan_work [mac80211]
[ 7729.780309] Call Trace:
[ 7729.780318] dump_stack+0x58/0x73
[ 7729.780321] __warn+0xea/0x110
[ 7729.780330] ? il_enqueue_hcmd+0x35c/0x3d0 [iwlegacy]
[ 7729.780332] warn_slowpath_null+0x2a/0x30
[ 7729.780340] il_enqueue_hcmd+0x35c/0x3d0 [iwlegacy]
[ 7729.780344] ? default_send_IPI_single+0x2c/0x30
[ 7729.780347] ? native_smp_send_reschedule+0x1f/0x40
[ 7729.780354] il_send_cmd_sync+0x40/0x340 [iwlegacy]
[ 7729.780360] il3945_request_scan+0x3e6/0x5a0 [iwl3945]
[ 7729.780368] il_mac_hw_scan+0x108/0x180 [iwlegacy]
[ 7729.780400] __ieee80211_start_scan+0x22d/0x6a0 [mac80211]
[ 7729.780433] ieee80211_scan_work+0x3db/0x4b0 [mac80211]
[ 7729.780437] process_one_work+0x1b8/0x420
[ 7729.780440] worker_thread+0x37/0x4c0
[ 7729.780442] ? process_one_work+0x420/0x420
[ 7729.780445] kthread+0xd5/0x100
[ 7729.780447] ? process_one_work+0x420/0x420
[ 7729.780449] ? kthread_create_on_node+0x30/0x30
[ 7729....

Read more...

Feanor (michael.pusterhofer) wrote :

I tried the kernel patch from Kai-Heng Feng, but it resulted in a initramfs console.

I then compiled 4.13.13 myself with the powersave patch. This one booted and I'm running it 2 days now without any issues.

There you can find the patch(same as above) and my deb files.
http://www.mediafire.com/folder/mg3znubrhh631/custom-kernel-powersave

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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