retitle 636321 kernel-wedge: nic-wireless-modules missing ath9k_htc
reassign 636321 kernel-wedge 2.78
tags 636321 + patch
thanks

On Tuesday 02 August 2011, mathieu millot wrote:
> Package: wpasupplicant-udeb
> Version: 0.7.3-3.1
> Severity: normal
> Tags: d-i
> 
> I don't know if this bug report is to be associated with
> wpasupplicant(-udeb)
> (or netcfg ?). Feel free to correct me.

After a second look, no it's not - it's again a bug in kernel-wedge. 
The kernel module needed by your AR9271 device, namely ath9k_htc, is
not copied to the nic-wireless-modules udeb.

wpasupplicant has only two modes of operation (well, tree - if you also
count encrypted wired ethernet, but this is not present in the udeb and
pretty rare), wext (legacy and strongly discourages, like your ipw2200)
and nl80211 (all mac80211 based drivers, like your rt2500usb, ath5k, 
ath9k_htc) - if it works for one of each group, it usually works for
all. Hardware dependent bugs are then usually courtesy of kernel bugs,
missing firmwares or - as in this case - kernel-wedge forgetting 
important kernel modules, because wpasupplicant only knows 2 kinds of
'hardware' (abstractions) wext or nl80211. wpasupplicant only 'gets a 
chance' to mess up again, if it has to deal with different encryption
methods (WEP vs. WPA1/ TKIP vs. WPA2/ CCMP vs. IEEE80211X, vs. even 
more complex sceanarios), but keep in mind that in order to keep the
wpasupplicant udeb small, more exotic flavours of encryption have been
omitted from the udeb.

Therefore please check if the required kernel modules and firmware 
blobs are present to d-i/ netcfg, before filing further bugs against
the wpasupplicant package.

> I've burned the i386 unstable netinstall as of 2011-08-01 and tried to
> connect
> to my WPA-PSK network.
> Plugged in my AR9271 usb key, and got this from the logs (end of the
> attached log):
> 
> Aug  2 07:55:11 kernel: [  209.056011] usb 1-6: new high speed USB device
> number 5 using ehci_hcd
> Aug  2 07:55:11 kernel: [  209.204880] usb 1-6: New USB device found,
> idVendor=0cf3, idProduct=9271
> Aug  2 07:55:11 kernel: [  209.204884] usb 1-6: New USB device strings:
> Mfr=16,
> Product=32, SerialNumber=48
> Aug  2 07:55:11 kernel: [  209.204887] usb 1-6: Product: USB2.0 WLAN
> Aug  2 07:55:11 kernel: [  209.204890] usb 1-6: Manufacturer: ATHEROS
> Aug  2 07:55:11 kernel: [  209.204892] usb 1-6: SerialNumber: 12345
> 
> No new interface detected in d-i, can't use this wifi key with d-i.

No wonder, if there is no kernel module to drive it, see attached patch
against kernel-wedge (untested).

Regards
        Stefan Lippers-Hollmann
From 71b09f38b81004817acf573da93ac93bb9ae15e2 Mon Sep 17 00:00:00 2001
From: Stefan Lippers-Hollmann <[email protected]>
Date: Tue, 2 Aug 2011 16:30:32 +0200
Subject: [PATCH] kernel-wedge: add ath9k_htc to nic-wireless-modules

in oder to support Atheros AR9271 USB wlan cards. Closes: #636321.

Signed-off-by: Stefan Lippers-Hollmann <[email protected]>
---
This applies after 0001-add-lib80211-encryption-algorithms-lib80211_crypt_-w
submitted in #636259.

 debian/changelog             |    4 +++-
 modules/nic-wireless-modules |    1 +
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a6ad9f0..67d27fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,8 +7,10 @@ kernel-wedge (2.79) UNRELEASED; urgency=low
   [ Stefan Lippers-Hollmann ]
   * add lib80211 encryption algorithms (lib80211_crypt_{wep,ccmptkip}) to
     nic-wireless-modules, needed for e.g. ipw2x00 wlan modules. Closes: #636259.
+  * add ath9k_htc to nic-wireless-modules, in oder to support Atheros AR9271
+    USB wlan cards. Closes: #636321.
 
- -- Stefan Lippers-Hollmann <[email protected]>  Tue, 02 Aug 2011 01:39:17 +0200
+ -- Stefan Lippers-Hollmann <[email protected]>  Tue, 02 Aug 2011 16:29:19 +0200
 
 kernel-wedge (2.78) unstable; urgency=low
 
diff --git a/modules/nic-wireless-modules b/modules/nic-wireless-modules
index eae75a9..37173ec 100644
--- a/modules/nic-wireless-modules
+++ b/modules/nic-wireless-modules
@@ -15,6 +15,7 @@ wavelan ?
 usb8xxx ?
 ath5k ?
 ath9k ?
+ath9k_htc ?
 iwlagn ?
 iwl3945 ?
 b43 ?
-- 
1.7.5.4

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to