Ath5k doesn't work anymore! SIOCSIFFLAGS: Resource temporarily unavailable

Bug #299993 reported by Raybuntu
48
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned
Nominated for Intrepid by sabujakash
Nominated for Jaunty by schmeii
Nominated for Karmic by Sebastian

Bug Description

Hi all,
My Wlan Adapter works great until today. First of all it doesn't connect to my network. I tried to reboot but after that it can't find any Network.

"lspci" gives me:
05:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

I had linux-backports-modules-intrepid installed and everything was fine!

"sudo ifconfig wlan0 up" gives me:
SIOCSIFFLAGS: Resource temporarily unavailable

I get the same Error when I try to start kismet or aircrack.

Please help me!

Revision history for this message
Raybuntu (raybuntu) wrote :
Revision history for this message
Raybuntu (raybuntu) wrote :

Ok I don't know why but after 10times restart and 1 complete shutdown it's now workin again :D
Ok This bug should be invalid!!

Changed in linux-meta:
status: New → Invalid
Revision history for this message
sabujakash (avradip) wrote :

Exactly same thing is happening with me...
1. at first i was not able to connect to a wireless network.
2. after restart wlan0 is not up anymore!!!

Revision history for this message
sabujakash (avradip) wrote :

3. After shutdown and boot everything goes to normal, but then when I try to do high volume transfer through wi-fi, like I was copying one 700 mb file from one windows share in lan speed was around 1MBps and suddenly everything goes boom.
So this bug is definitely reproducable, atleast in my box.

Revision history for this message
schmeii (schmeii) wrote :

I reopen the bug because I can reproduce it in Jaunty. It desapear after some restart, but consistenly reapear if I hit the WiFi button on my laptop. Hitting this button again doesn't solve it, and it can happen even if I don't touch that button.

Changed in linux-meta:
status: Invalid → Confirmed
Revision history for this message
schmeii (schmeii) wrote : apport-collect data

Architecture: i386
DistroRelease: Ubuntu 9.04
Package: linux-meta
ProcEnviron:
 SHELL=/bin/bash
 LANG=fr_BE.UTF-8
Uname: Linux 2.6.28-11-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev pulse-rt sambashare

Revision history for this message
Raybuntu (raybuntu) wrote :

I still have this Bug in Intrepid sometimes (1 or 2 times a month). There is only one Solution: Complete Shutdown! A restart doesn't work!

Revision history for this message
Andy Whitcroft (apw) wrote :

This sounds like a kernel bug so its either linux or linux-backport-modules depending which you are using, definatly not linux-meta.

Revision history for this message
Andy Whitcroft (apw) wrote :

Could those of you seeing this issue confirm whether you have linux-backports-modules installed. If not could you please try instlaling that and retest. Please report back here including which release you are testing on (Intrepid/Jaunty).

Revision history for this message
Raybuntu (raybuntu) wrote :

I confirm that on Intrepid this happens with "linux-backports-modules-intrepid"!

Revision history for this message
dovik (dovik-martin) wrote :

This append on a Samsung NC10 with Jaunty (BETA) without "linux-backports-modules-jaunty".

$ lspci | grep Wireless
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

Restart, stop, start, again and again and ... nothing to do. Same problem as describe on this page.

Andy Whitcroft > after installing "linux-backports-modules-jaunty" then stop, then start my netbook, the problem is ... always here.

Revision history for this message
Sebastian (sebastianhaselbeck) wrote :

also affects Jaunty. Out of the blue, Wireless stops working

ifconfig wlan0 up

gives SCIOCSIFFLAGS Resource Temoporariy Unavailable

Revision history for this message
Tim (timharrington7) wrote :

My wireless connection works after a cold boot then stops working after a random amount of time. This problem is affecting me at least once a day. The only fix I've found is to do a complete shutdown then a subsequent cold boot. Strangely, simply restarting does not fix the problem.

DETAILS:

Ubuntu 9.04 Jaunty Jackalope on a Toshiba Satellite L305-S5945.

$ lshw -C network

 *-network
       description: Wireless interface
       product: AR242x 802.11abg Wireless PCI Express Adapter
       vendor: Atheros Communications Inc.
       [snip]

It is immediately noticeable when it happens because the NetworkManager Applet 0.7.0.100 suddenly reports that it's trying to connect. After it fails to reconnect it reports that the connection is unavailable. It doesn't seem to matter whether I am using the wireless connection heavily or not. The problem occurs during various levels of wireless usage ranging from almost none (i.e. no windows open, laptop idling) to heavy usage (i.e. active downloads, multiple open connections, etc.).

First repair attempt:
$ sudo ifconfig wlan0 down
$ sudo ifconfig wlan0 up
SCIOCSIFFLAGS Resource Temporarily Unavailable

The problem persists when I remove and re-add the ath5k module then try again.
$ sudo modprobe -r ath5k
$ sudo modprobe ath5k
$ sudo ifconfig wlan0 down
$ sudo ifconfig wlan0 up
SCIOCSIFFLAGS Resource Temporarily Unavailable

One website (http://www.vidarholen.net/contents/linuxtips/) suggests that "SCIOCSIFFLAGS Resource Temporarily Unavailable" is caused by no IRQ being assigned to the device. The suggested solution is to disable "Plug-n-Play OS" in the BIOS. Unfortunately, my BIOS does not have this option so I cannot confirm if this works.

I do not have linux-backports-modules-jaunty installed. I will install it then update this thread if there are any resulting improvements.

Revision history for this message
chuy_max (chuy-max) wrote :

I also have the error: SCIOCSIFFLAGS Resource Temporarily Unavailable

I do not have any linux-backport package installed.

The driver used is alto ath5k.

Revision history for this message
Tim (timharrington7) wrote :

I installed linux-backports-modules-jaunty and have not had a problem since.

Revision history for this message
Someone in time (stevengm77) wrote :

I just found it... I have Karmic on my laptop, and when I start to run a command related with aircraft-ng got the same error message:
airodump-ng mon0
ioctl(SIOCSIFFLAGS) failed: Unknown error 132
...and I have a Toshiba Satellite L25, my ethernet card is an Atheros AR2413, and it's the same ath5k...
I hope someone could find the solution...

Revision history for this message
LukeQuake (luke-lukepotter-deactivatedaccount) wrote :

Has anyone found a workaround and/or solution to this yet?

Revision history for this message
Tim (timharrington7) wrote :

LukeQuake: install linux-backports-modules-jaunty (i.e. sudo apt-get linux-backports-modules-jaunty). This fixed the problem for me

Revision history for this message
LukeQuake (luke-lukepotter-deactivatedaccount) wrote :

Thanks :-)

Revision history for this message
LukeQuake (luke-lukepotter-deactivatedaccount) wrote :

I've tried various combination of your post but can't find that package chief. Is there a typo in the command somewhere? (apart from install not being there).

Revision history for this message
Tim (timharrington7) wrote : Re: [Bug 299993] Re: Ath5k doesn't work anymore! SIOCSIFFLAGS: Resource temporarily unavailable

Check out
http://packages.ubuntu.com/search?keywords=linux-backports-modules-jaunty

On Sat, Feb 13, 2010 at 9:58 AM, LukeQuake <email address hidden> wrote:

> I've tried various combination of your post but can't find that package
> chief. Is there a typo in the command somewhere? (apart from install not
> being there).
>
> --
> Ath5k doesn't work anymore! SIOCSIFFLAGS: Resource temporarily unavailable
> https://bugs.launchpad.net/bugs/299993
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” package in Ubuntu: Confirmed
>
> Bug description:
> Hi all,
> My Wlan Adapter works great until today. First of all it doesn't connect to
> my network. I tried to reboot but after that it can't find any Network.
>
> "lspci" gives me:
> 05:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg
> Wireless PCI Express Adapter (rev 01)
>
> I had linux-backports-modules-intrepid installed and everything was fine!
>
> "sudo ifconfig wlan0 up" gives me:
> SIOCSIFFLAGS: Resource temporarily unavailable
>
> I get the same Error when I try to start kismet or aircrack.
>
> Please help me!
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/299993/+subscribe
>

Revision history for this message
roman.rene (roman-rene) wrote :

same problem on Lucid beta 2 (without linux-backports-modules ) with ath5k on atheros AR5001.
It's exactly the same problem Tim reported on #13 (cold reboot ...)

lspci | grep Wireless
03:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)

ben@ben-laptop:~$ ifconfig wlan0 up
SIOCSIFFLAGS: Permission non accordée

 lshw -C network
WARNING: you should run this program as super-user.
  *-network
       description: Wireless interface
       product: AR5001 Wireless Network Adapter
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlan0
       version: 01
       serial: 00:c0:a8:cc:80:02
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath5k ip=192.168.1.95 latency=0 multicast=yes wireless=IEEE 802.11bg
       resources: irq:16 memory:c0400000-c040ffff

Is there a workaround for Lucid ?

Revision history for this message
nowardev (nowardev) wrote :

yes there is.... i have tested on 9.04 9.10 and 10.04 and it works :D on my atheros....

look here i have used the trick and not madwifi ....

http://nowardev.wordpress.com/2009/05/06/kubuntu-904-atheros-communications-inc-ar242x-80211abg-wireless-pci-express-adapter-rev-01/

basically you have to consume the residual voltage ..... to do this

-turn off your pc
-disconnect the plug :now your pc can't be turned on but there are some residual voltage (i guess)
-now press the computer’s button (which should turn on your computer i guess this should consume residual voltage)
-now plugin voltage
-start your pc :) and your silly atheros should work again with ath5k.

another way check if your atheros is supported by madwifi and download and compile them like i have written on my blog.

Revision history for this message
roman.rene (roman-rene) wrote :

Apparenly, the probleme seems to be network manager; i installed widc, removed network manager and it's working like a charm....

Revision history for this message
nowardev (nowardev) wrote :

i am on natty right now and i have the same problem here ...

running

rfkill list

i got

0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes

doing

sudo rfkill unblock all

i got nothing because redoing

sudo rfkill list i got the same :

0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes

and noway rebooting...

Revision history for this message
Brad Figg (brad-figg) wrote : Unsupported series, setting status to "Won't Fix".

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

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

Other bug subscribers

Bug attachments

Remote bug watches

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