Bug 12851 - no connection to network with ath9k
Summary: no connection to network with ath9k
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P1 high
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-10 11:58 UTC by Pierre Meurisse
Modified: 2009-03-16 02:21 UTC (History)
2 users (show)

See Also:
Kernel Version: linux-image-2.6.29-rc7-amd64 ; 2.6.28
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Pierre Meurisse 2009-03-10 11:58:28 UTC
Latest working kernel version:
Earliest failing kernel version:2.6.26
Distribution:debian
Hardware Environment:
Software Environment:
Problem Description:
> Package: linux-image-2.6.28-1-amd64
> Version: 2.6.28-2~snapshot.12850
> Severity: important
> 
> My wifi Intel-Atheros interface doesn't connect.
> 
> pier@co64sid~% sudo /etc/init.d/networking restart
> Reconfiguring network interfaces...There is already a pid file
> /var/run/dhclient.wlan0.pid with pid 4723
> killed old client process, removed PID file
> Internet Systems Consortium DHCP Client V3.1.1
> Copyright 2004-2008 Internet Systems Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/sw/dhcp/
> 
> wmaster0: unknown hardware address type 801
> wmaster0: unknown hardware address type 801
> Listening on LPF/wlan0/00:22:43:22:b8:de
> Sending on   LPF/wlan0/00:22:43:22:b8:de
> Sending on   Socket/fallback
> Internet Systems Consortium DHCP Client V3.1.1
> Copyright 2004-2008 Internet Systems Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/sw/dhcp/
> 
> wmaster0: unknown hardware address type 801
> wmaster0: unknown hardware address type 801
> Listening on LPF/wlan0/00:22:43:22:b8:de
> Sending on   LPF/wlan0/00:22:43:22:b8:de
> Sending on   Socket/fallback
> DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
> DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
> DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
> DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
> DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
> DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
> No DHCPOFFERS received.
> No working leases in persistent database - sleeping.
> done.
> 
> 
> My /etc/network/interfaces :
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> # wifi
> auto wlan0
> iface wlan0 inet dhcp
> pre-up /sbin/ifconfig wlan0 up        #       tried with and without that
> line
> wpa-conf managed
> wpa-ssid my_essid
> # wpa-key-mgmt WPA-PSK
> wpa-psk _my key_
> 
> 
> 
> I tried linux-image-2.6.29-rc7-amd64 too ; it doesn't work either.


02:00.0 Network controller [0280]: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) [168c:002a] (rev 01)
	Subsystem: Device [1a3b:1067]
	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: 32 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at fdff0000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: ath9k
	Kernel modules: ath9k


00:04.0 Ethernet controller [0200]: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter [1039:0191] (rev 02)
	Subsystem: ASUSTeK Computer Inc. Device [1043:1815]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 19
	Region 0: Memory at f9ffcc00 (32-bit, non-prefetchable) [size=128]
	Region 1: I/O ports at cc00 [size=128]
	Capabilities: <access denied>
	Kernel driver in use: sis190
	Kernel modules: sis190


Some modules loaded:
ath9k                 306856  0
mac80211              221616  1 ath9k
led_class              70280  2 ath9k,asus_laptop



Steps to reproduce:
Comment 1 Luis Chamberlain 2009-03-13 16:07:49 UTC
Huh:

Earliest failing kernel version:2.6.26

ath9k went in as of 2.6.27.

Please provide kernel logs. Also please try to manually configure things, do not use things like sudo /etc/init.d/networking restart to test things, I want to see exactly what userspace is trying to configure.

Please have a good read at this guide as to how to report Linux wireless bugs to be able to assist you more efficiently:

http://wireless.kernel.org/en/users/Support
http://wireless.kernel.org/en/users/Documentation/Reporting_bugs

We will need to know your AP configuration, 11N, HT40/HT20, etc.
Comment 2 Pierre Meurisse 2009-03-16 02:21:57 UTC
I tried to configure things manually.
I first opened my router, with no WPA protection.

I typed :
sudo iwconfig wlan0 essid "my_essid"
sudo dhclient wlan0

and it worked

I tried then, in /etc/network/interfaces :

allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
pre-up iwconfig wlan0 essid "my_essid"

It worked too.

I came back to my first config :

# wifi
auto wlan0
iface wlan0 inet dhcp
pre-up /sbin/ifconfig wlan0 up	#	tried with and without that line
wpa-conf managed
wpa-ssid my_essid
wpa-psk _my key_

I could make it work ; I had to reinstall wpasupplicant.

Thanks for your help.

I think I can mark the "bug" as closed. Sorry for the noise.

Note You need to log in before you can comment on or make changes to this bug.