168c:001c ath5k gets hard blocked status in rfkill after turning off and then on

Bug #478036 reported by Lukasz Marcinowski
56
This bug affects 10 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

After turning off wifi card and then turning it on in nm-applet card becomes hard blocked in rfkill

#> rfkill list:

1: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: yes

if I unload module an then load it again card still is hard blocked:

#> modprobe -r -f ath5k && sleep 5s && modprobe ath5k && rfkill list

2: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: yes

if I kill process:

#> /usr/lib/hal/hald-addon-rfkill-killswitch

and then

#> modprobe -r -f ath5k && sleep 5s && modprobe ath5k && rfkill list

card becomes unlocked
#> rfkill list

4: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no

but after awhile process /usr/lib/hal/hald-addon-rfkill-killswitch is running again and card becomes hard blocked:

4: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: yes

#> lspci -vv:

02:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
 Subsystem: Device 1a32:0100
 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, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 16
 Region 0: Memory at d8000000 (64-bit, non-prefetchable) [size=64K]
 Capabilities: <access denied>
 Kernel driver in use: ath5k
 Kernel modules: ath5k
---
AlsaVersion:
 Advanced Linux Sound Architecture Driver Version 1.0.22.1.
 Compiled on Apr 29 2010 for kernel 2.6.32-22-generic (SMP).
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: edoiks 1961 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdc440000 irq 28'
   Mixer name : 'Conexant CX20549 (Venice)'
   Components : 'HDA:14f15045,152d0753,00100100'
   Controls : 28
   Simple ctrls : 12
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=410bb06b-c6c6-4686-bfda-f3c340f2c8b5
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
MachineType: BenQ Joybook R55v
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=0115da99-9989-4b15-a9f2-89c4189dcc23 ro quiet splash
ProcEnviron:
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Regression: No
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
Tags: lucid networking needs-upstream-testing
Uname: Linux 2.6.32-22-generic x86_64
UserGroups:

dmi.bios.date: 02/06/2007
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: NOTE BIOS Version Q4A06
dmi.board.name: Joybook R55v
dmi.board.vendor: BenQ
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrNOTEBIOSVersionQ4A06:bd02/06/2007:svnBenQ:pnJoybookR55v:pvrNotApplicable:rvnBenQ:rnJoybookR55v:rvrNotApplicable:cvnNoEnclosure:ct1:cvrN/A:
dmi.product.name: Joybook R55v
dmi.product.version: Not Applicable
dmi.sys.vendor: BenQ

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote :
Revision history for this message
Philip Muškovac (yofel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we can't fix it without more information.

Please run the following command which will attach necessary information:

apport-collect 478036
if you are using Karmic Koala (9.10) or newer, or

apport-collect -p linux-image-`uname -r` 478036
if you are using Jaunty Jackalope (9.04)

Bear in mind that you may need to install the python-launchpadlib package from the universe repository with 'sudo apt-get install python-launchpadlib'. Additionally, when prompted to give apport-collect permissions for Launchpad you will need to give it at least the ability to "Change Non-Private" data as it will be adding information to your bug report.

If you are using an older release or cannot use apport please at least add the following information (pay attention to lspci's additional options):
First run the following commands:
1) uname -a > uname-a.log
2) dmesg > dmesg.log
3) sudo lspci -vvnn > lspci-vvnn.log
4) cat /proc/version_signature > version.log
then attach the files separately to the bug report (not pasted into comments or tar/zip-ed).

For your reference, the full description of procedures for kernel-related bug reports is available at https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies. Thanks in advance!

affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : apport-collect data

Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: edoiks 2604 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdc440000 irq 22'
   Mixer name : 'Conexant CX20549 (Venice)'
   Components : 'HDA:14f15045,152d0753,00100100'
   Controls : 22
   Simple ctrls : 10
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=410bb06b-c6c6-4686-bfda-f3c340f2c8b5
MachineType: BenQ Joybook R55v
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: root=UUID=a6715ed1-3ad5-4bc0-9064-999a88f4951e ro quiet splash vga=773 processor.max_cstate=3
ProcEnviron:
 SHELL=/bin/bash
 LANG=pl_PL.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-15.49-generic
RelatedPackageVersions: linux-firmware 1.24
Uname: Linux 2.6.31-15-generic i686
UserGroups: adm admin cdrom dialout disk lpadmin plugdev sambashare ssh
WifiSyslog:

dmi.bios.date: 02/06/2007
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: NOTE BIOS Version Q4A06
dmi.board.name: Joybook R55v
dmi.board.vendor: BenQ
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrNOTEBIOSVersionQ4A06:bd02/06/2007:svnBenQ:pnJoybookR55v:pvrNotApplicable:rvnBenQ:rnJoybookR55v:rvrNotApplicable:cvnNoEnclosure:ct1:cvrN/A:
dmi.product.name: Joybook R55v
dmi.product.version: Not Applicable
dmi.sys.vendor: BenQ

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : AlsaDevices.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : AplayDevices.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : BootDmesg.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : CRDA.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : Card0.Amixer.values.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : Card0.Codecs.codec.0.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : CurrentDmesg.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : IwConfig.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : Lspci.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : Lsusb.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : PciMultimedia.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : ProcCpuinfo.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : ProcInterrupts.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : ProcModules.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : RfKill.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : UdevDb.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : UdevLog.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : UserAsoundrcAsoundconf.txt
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : XsessionErrors.txt
Changed in linux (Ubuntu):
status: Incomplete → New
tags: added: apport-collected
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote : Re: ath5k gets hard blocked status in rfkill after turning off and then on

Hi Edoiks,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 478036

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : AlsaDevices.txt

apport information

description: updated
Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : AplayDevices.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : BootDmesg.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : CRDA.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : IwConfig.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : Lspci.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : Lsusb.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : PciMultimedia.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : ProcModules.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : RfKill.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : UdevDb.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : UdevLog.txt

apport information

Revision history for this message
Lukasz Marcinowski (nowymarluk) wrote : WifiSyslog.txt

apport information

tags: removed: needs-kernel-logs
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
importance: Undecided → Medium
Revision history for this message
Bambabur (bambabur) wrote : Re: ath5k gets hard blocked status in rfkill after turning off and then on

you can simply move /usr/lib/hal/hald-addon-rfkill-killswitch as
/usr/lib/hal/hald-addon-rfkill-killswitch.old and put these lines in
/usr/lib/hal/hald-addon-rfkill-killswitch :

#!/bin/sh
exit 0

then you must execute:

chmod 755 /usr/lib/hal/hald-addon-rfkill-killswitch
killall -9 /usr/lib/hal/hald-addon-rfkill-killswitch
modprobe -r -f ath5k && sleep 5s && modprobe ath5k
service network-manager restart

byez!

Revision history for this message
Noam (noamcb) wrote :

Is there a workaround? My laptop (MSI ex400) can only connect via ethernet, which is a nuisance...

Revision history for this message
Samizdata (samizdata) wrote :

Tried #42 on my Aspire one, but no go. Just started out of nowhere. Works okay from a cold power on, but at some point the hard block comes on. Any ideas?

Revision history for this message
Sinan Ozel (shokalabutcha) wrote :

I have practically the same problem on my Natty Narwhal, running on Fujitsu Siemens Amilo PA3515 with an Atheros AR5001 wireless module.

Whenever I did "rfkill unblock all", my wireless would go from
Soft blocked: Yes
Hard blocked: No

to

Soft blocked: No
Hard blocked: Yes

Tantalizing, isn't it? In the end, I created the following script as a (barely acceptable) solution:

sudo rmmod -f ath5k
sudo rfkill unblock all
sudo odprobe ath5k

I hope this script helps someone.

And if anybody knows how to make this permanent, that will be much appreciated.

Revision history for this message
Soec (dleandrog) wrote :

Hi,

I suffer more or less the same problem with a few differences.

The first and more important is that I can't unblock rfkill by any way. This doesn't have any effect:

sudo rmmod -f ath5k
sudo rfkill unblock all
sudo odprobe ath5k

I don't want to mess the thread. I have already post my problem here: http://ubuntuforums.org/showthread.php?t=1781350

If you consider that my problem is enough related with this, I will be happy of posting here again... :)

Thank you.

Revision history for this message
ddekreon (drew-dekreon) wrote :

**SOLVED**
comment #46 (by Soec) is eactly correct.
symptoms: "wireless is disabled by hardware switch"
rfkill list shows "hardblocked yes"
Hardware Compaq CQ series
OS Ubuntu 11.10

Fix:
sudo rmmod -f ath5k
sudo rfkill unblock all
sudo odprobe ath5k

Revision history for this message
penalvch (penalvch) wrote :

Edoiks, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in the development release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please do not test the kernel in the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. As well, please comment on which kernel version specifically you tested.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream', and comment as to why specifically you were unable to test it.

Please let us know your results. Thanks in advance.

tags: added: lucid
summary: - ath5k gets hard blocked status in rfkill after turning off and then on
+ 168c:001c ath5k gets hard blocked status in rfkill after turning off and
+ then on
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Narcis Garcia (narcisgarcia) wrote :

This also affects me. Tested with Ubuntu 10.10 and now Ubuntu 12.10 in a HP Compaq Presario CQ60.
Wireless device detected 168c:001c

Revision history for this message
penalvch (penalvch) wrote :

Narcis Garcia, if you have a bug in Ubuntu, could you please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report may delay your problem being addressed as quickly as possible.

Thank you for your understanding.

To post a comment you must log in.