Package: firmware-atheros
Version: 20230210-5
Severity: grave
Dear maintainers,
It seems there is one régression when using Debian package
firmware-atheros on Debian Bookworm 12.10 on one target Odroid HC1
(armhf architecture)
My environnement is ....
## test 1 : current Linux kernel
###############################
ansible@hn-odroid-hc1-110:~$ apt policy linux-image-armmp-lpae
linux-image-armmp-lpae:
Installed: 6.1.129-1
Candidate: 6.1.129-1
Version table:
6.12.20-1 80
80 http://ftp.de.debian.org/debian trixie/main armhf Packages
*** 6.1.129-1 500
500 http://ftp.de.debian.org/debian bookworm/main armhf Packages
100 /var/lib/dpkg/status
6.1.128-1 500
500 https://security.debian.org bookworm-security/main armhf
Packages
ansible@hn-odroid-hc1-110:~$
## test 2 : current Linux kernel
###############################
ansible@hn-odroid-hc1-110:~$ uname -a
Linux hn-odroid-hc1-110 6.1.0-32-armmp-lpae #1 SMP Debian 6.1.129-1
(2025-03-06) armv7l GNU/Linux
## test 3 : current Debian release
###################################
ansible@hn-odroid-hc1-110:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
ansible@hn-odroid-hc1-110:~$
## test 4 : current Debian release
###################################
ansible@hn-odroid-hc1-110:~$ cat /etc/debian_version
12.10
## test 5 : boot command line
###################################
ansible@hn-odroid-hc1-110:~$ cat /proc/cmdline
UUID=b93d51ee-68ba-435b-b0a4-e36122aa0fd0 console=ttySAC2,115200n8
console=ttySAC2,115200n8 log_buf_len=1M net.ifnames=0 fsck.mode=force
fsck.repair=yes ipv6.disable=1 loglevel=7 apparmor=0 selinux=0
cgroup_no_v1=all
ansible@hn-odroid-hc1-110:~$
## test 6 : target clean ?
###################################
ansible@hn-odroid-hc1-110:~$ dpkg -l |grep -v ii
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
Architecture Description
+++-===============================-====================================-============-================================================================================
ansible@hn-odroid-hc1-110:~$
## test 7: USB devices
######################
ansible@hn-odroid-hc1-110:~$ lsusb
Bus 006 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153
Gigabit Ethernet Adapter
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA
Technology Corp. JMS578 SATA 6Gb/s
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0cf3:9271 Qualcomm Atheros Communications AR9271
802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ansible@hn-odroid-hc1-110:~$
Usb dongle is one TP-LINK usb/Wifi dongle AC-600 with SMA external antenna
## test 8 : usb device wifi identification
###########################################
ansible@hn-odroid-hc1-110:~$ udevadm info -q all --path
/sys/class/net/wlan0
P: /devices/platform/soc/12110000.usb/usb1/1-1/1-1:1.0/net/wlan0
M: wlan0
R: 0
U: net
T: wlan
I: 156
E: DEVPATH=/devices/platform/soc/12110000.usb/usb1/1-1/1-1:1.0/net/wlan0
E: SUBSYSTEM=net
E: DEVTYPE=wlan
E: INTERFACE=wlan0
E: IFINDEX=156
E: USEC_INITIALIZED=52956786304
E: ID_NET_NAMING_SCHEME=v252
E: ID_NET_NAME_MAC=wlxf4f26d1428de
E: ID_OUI_FROM_DATABASE=TP-LINK TECHNOLOGIES CO.,LTD.
E: ID_BUS=usb
E: ID_MODEL=USB2.0_WLAN
E: ID_MODEL_ENC=USB2.0\x20WLAN
E: ID_MODEL_ID=9271
E: ID_SERIAL=ATHEROS_USB2.0_WLAN_12345
E: ID_SERIAL_SHORT=12345
E: ID_VENDOR=ATHEROS
E: ID_VENDOR_ENC=ATHEROS
E: ID_VENDOR_ID=0cf3
E: ID_REVISION=0108
E: ID_TYPE=generic
E: ID_USB_MODEL=USB2.0_WLAN
E: ID_USB_MODEL_ENC=USB2.0\x20WLAN
E: ID_USB_MODEL_ID=9271
E: ID_USB_SERIAL=ATHEROS_USB2.0_WLAN_12345
E: ID_USB_SERIAL_SHORT=12345
E: ID_USB_VENDOR=ATHEROS
E: ID_USB_VENDOR_ENC=ATHEROS
E: ID_USB_VENDOR_ID=0cf3
E: ID_USB_REVISION=0108
E: ID_USB_TYPE=generic
E: ID_USB_INTERFACES=:ff0000:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=ath9k_htc
E: ID_USB_CLASS_FROM_DATABASE=Vendor Specific Class
E: ID_USB_SUBCLASS_FROM_DATABASE=Vendor Specific Subclass
E: ID_USB_PROTOCOL_FROM_DATABASE=Vendor Specific Protocol
E: ID_VENDOR_FROM_DATABASE=Qualcomm Atheros Communications
E: ID_MODEL_FROM_DATABASE=AR9271 802.11n
E: ID_PATH=platform-12110000.usb-usb-0:1:1.0
E: ID_PATH_TAG=platform-12110000_usb-usb-0_1_1_0
E: ID_NET_DRIVER=ath9k_htc
E: ID_NET_LINK_FILE=/usr/lib/systemd/network/73-usb-net-by-mac.link
E: ID_NET_NAME=wlan0
## test 9: error when inserting USB dongle
###########################################
ansible@hn-odroid-hc1-110:~$ sudo dmesg |tail -30
[10698.417934] EXT4-fs (dm-68): mounted filesystem with ordered data
mode. Quota mode: none.
[10698.438301] Not activating Mandatory Access Control as
/sbin/tomoyo-init does not exist.
[10699.524558] EXT4-fs (dm-0): re-mounted. Quota mode: none.
[10700.715149] EXT4-fs (dm-13): re-mounted. Quota mode: none.
[43332.990553] hrtimer: interrupt took 11994500 ns
[52944.787058] usb 1-1: USB disconnect, device number 2
[52944.956474] usb 1-1: ath9k_htc: USB layer deinitialized
[52952.478940] usb 1-1: new high-speed USB device number 3 using exynos-ehci
[52952.660735] usb 1-1: New USB device found, idVendor=0cf3,
idProduct=9271, bcdDevice= 1.08
[52952.668178] usb 1-1: New USB device strings: Mfr=16, Product=32,
SerialNumber=48
[52952.675023] usb 1-1: Product: USB2.0 WLAN
[52952.679002] usb 1-1: Manufacturer: ATHEROS
[52952.683658] usb 1-1: SerialNumber: 12345
[52952.691500] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw
requested
[52952.708263] usb 1-1: firmware: failed to load
ath9k_htc/htc_9271-1.4.0.fw (-2)
[52952.714500] usb 1-1: firmware: failed to load
ath9k_htc/htc_9271-1.4.0.fw (-2)
[52952.721515] usb 1-1: Direct firmware load for
ath9k_htc/htc_9271-1.4.0.fw failed with error -2
[52952.730383] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
[52952.742836] usb 1-1: firmware: direct-loading firmware htc_9271.fw
[52953.036988] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980
[52953.277569] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
[52954.383459] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
[52954.387474] ath9k_htc 1-1:1.0: FW RMW support: Off
[52954.392260] ath: EEPROM regdomain: 0x809c
[52954.392280] ath: EEPROM indicates we should expect a country code
[52954.392292] ath: doing EEPROM country->regdmn map search
[52954.392301] ath: country maps to regdmn code: 0x52
[52954.392311] ath: Country alpha2 being used: CN
[52954.392322] ath: Regpair used: 0x52
[52954.400480] ieee80211 phy1: Atheros AR9271 Rev:1
ansible@hn-odroid-hc1-110:~$
Therefore, it is not possible to use this access point .
I have also try to change behaviour by changing sources.list with new
(Trixie) package, in order to verify if firmware-atheros rom Trixie is OK ?
...then ...
## test 10: use recent firmware-atheros (from Debian Trixie)
#############################################################
ansible@hn-odroid-hc1-110:~$ apt policy firmware-atheros
firmware-atheros:
Installed: 20230210-5
Candidate: 20230210-5
Version table:
20241210-1 80
80 http://ftp.de.debian.org/debian trixie/non-free-firmware
armhf Packages
*** 20230210-5 500
500 http://ftp.de.debian.org/debian bookworm/non-free-firmware
armhf Packages
100 /var/lib/dpkg/status
ansible@hn-odroid-hc1-110:~$
## test 11: force now installation of recent firmware (from Debian Trixie)
#############################################################
ansible@hn-odroid-hc1-110:~$ sudo apt remove --yes --purge
firmware-atheros && sudo apt -t trixie install firmware-atheros
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
firmware-atheros*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 84.1 MB disk space will be freed.
Do you want to continue? [Y/n] ^C
ansible@hn-odroid-hc1-110:~$ sudo apt remove --yes --purge
firmware-atheros && sudo apt -t trixie install firmware-atheros
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
firmware-atheros*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 84.1 MB disk space will be freed.
(Reading database ... 34860 files and directories currently installed.)
Removing firmware-atheros (20241210-1) ...
dpkg: warning: while removing firmware-atheros, directory
'/usr/lib/firmware' not empty so not removed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
firmware-atheros
0 upgraded, 1 newly installed, 0 to remove and 314 not upgraded.
Need to get 24.8 MB of archives.
After this operation, 84.1 MB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian trixie/non-free-firmware armhf
firmware-atheros all 20241210-1 [24.8 MB]
Fetched 24.8 MB in 11s (2256 kB/s)
Selecting previously unselected package firmware-atheros.
(Reading database ... 34540 files and directories currently installed.)
Preparing to unpack .../firmware-atheros_20241210-1_all.deb ...
Unpacking firmware-atheros (20241210-1) ...
Setting up firmware-atheros (20241210-1) ...
ansible@hn-odroid-hc1-110:~$
## test 12: firmware-atheros installed on target
################################################
ansible@hn-odroid-hc1-110:~$ apt policy firmware-atheros
firmware-atheros:
Installed: 20241210-1
Candidate: 20241210-1
Version table:
*** 20241210-1 100
80 http://ftp.de.debian.org/debian trixie/non-free-firmware
armhf Packages
100 /var/lib/dpkg/status
20230210-5 500
500 http://ftp.de.debian.org/debian bookworm/non-free-firmware
armhf Packages
## test 13 : unplug the USB, then plug device
###############################################
ansible@hn-odroid-hc1-110:~$ sudo dmesg |tail -30
[52954.392292] ath: doing EEPROM country->regdmn map search
[52954.392301] ath: country maps to regdmn code: 0x52
[52954.392311] ath: Country alpha2 being used: CN
[52954.392322] ath: Regpair used: 0x52
[52954.400480] ieee80211 phy1: Atheros AR9271 Rev:1
[58951.613764] usb 1-1: USB disconnect, device number 3
[58951.734518] usb 1-1: ath9k_htc: USB layer deinitialized
[58975.649371] usb 1-1: new high-speed USB device number 4 using exynos-ehci
[58975.835180] usb 1-1: New USB device found, idVendor=0cf3,
idProduct=9271, bcdDevice= 1.08
[58975.842042] usb 1-1: New USB device strings: Mfr=16, Product=32,
SerialNumber=48
[58975.849589] usb 1-1: Product: USB2.0 WLAN
[58975.853377] usb 1-1: Manufacturer: ATHEROS
[58975.857425] usb 1-1: SerialNumber: 12345
[58975.889210] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw
requested
[58975.896490] usb 1-1: firmware: failed to load
ath9k_htc/htc_9271-1.4.0.fw (-2)
[58975.903080] usb 1-1: firmware: failed to load
ath9k_htc/htc_9271-1.4.0.fw (-2)
[58975.909798] usb 1-1: Direct firmware load for
ath9k_htc/htc_9271-1.4.0.fw failed with error -2
[58975.918844] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
[58975.924821] usb 1-1: firmware: direct-loading firmware htc_9271.fw
[58976.219541] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980
[58976.460151] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
[58977.566339] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
[58977.570384] ath9k_htc 1-1:1.0: FW RMW support: Off
[58977.575338] ath: EEPROM regdomain: 0x809c
[58977.575361] ath: EEPROM indicates we should expect a country code
[58977.575373] ath: doing EEPROM country->regdmn map search
[58977.575382] ath: country maps to regdmn code: 0x52
[58977.575393] ath: Country alpha2 being used: CN
[58977.575403] ath: Regpair used: 0x52
[58977.583026] ieee80211 phy2: Atheros AR9271 Rev:1
ansible@hn-odroid-hc1-110:~$
Issue is the same...
## test 14: use previous firmware-atheros (from Debian bullseye)
################################################################
ansible@hn-odroid-hc1-110:~$ apt policy firmware-atheros
firmware-atheros:
Installed: 20241210-1
Candidate: 20241210-1
Version table:
*** 20241210-1 100
80 http://ftp.de.debian.org/debian trixie/non-free-firmware
armhf Packages
100 /var/lib/dpkg/status
20230210-5 500
500 http://ftp.de.debian.org/debian bookworm/non-free-firmware
armhf Packages
20210315-3 90
90 http://ftp.de.debian.org/debian bullseye/non-free armhf
Packages
ansible@hn-odroid-hc1-110:~$
## test 15: force now installation of old firmware (from Debian bullseye)
#############################################################
ansible@hn-odroid-hc1-110:~$ sudo apt remove --yes --purge
firmware-atheros && sudo apt -t bullseye install firmware-atheros
ansible@hn-odroid-hc1-110:~$ sudo apt remove --yes --purge
firmware-atheros && sudo apt -t bullseye install firmware-atheros
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
firmware-atheros*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 31.4 MB disk space will be freed.
(Reading database ... 34736 files and directories currently installed.)
Removing firmware-atheros (20210315-3) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
firmware-atheros
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 10.0 MB of archives.
After this operation, 31.4 MB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian bullseye/non-free armhf
firmware-atheros all 20210315-3 [10.0 MB]
Fetched 10.0 MB in 4s (2285 kB/s)
Selecting previously unselected package firmware-atheros.
(Reading database ... 34540 files and directories currently installed.)
Preparing to unpack .../firmware-atheros_20210315-3_all.deb ...
Unpacking firmware-atheros (20210315-3) ...
Setting up firmware-atheros (20210315-3) ...
ansible@hn-odroid-hc1-110:~$
## test 16: firmware-atheros installed on target
################################################
ansible@hn-odroid-hc1-110:~$ apt policy firmware-atheros
Installed: 20210315-3
Candidate: 20230210-5
Version table:
20241210-1 80
80 http://ftp.de.debian.org/debian trixie/non-free-firmware
armhf Packages
20230210-5 500
500 http://ftp.de.debian.org/debian bookworm/non-free-firmware
armhf Packages
*** 20210315-3 100
90 http://ftp.de.debian.org/debian bullseye/non-free armhf
Packages
100 /var/lib/dpkg/status
## test 17 : unplug the USB, then plug device
###############################################
ansible@hn-odroid-hc1-110:~$ sudo dmesg |tail -30
[58977.566339] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
[58977.570384] ath9k_htc 1-1:1.0: FW RMW support: Off
[58977.575338] ath: EEPROM regdomain: 0x809c
[58977.575361] ath: EEPROM indicates we should expect a country code
[58977.575373] ath: doing EEPROM country->regdmn map search
[58977.575382] ath: country maps to regdmn code: 0x52
[58977.575393] ath: Country alpha2 being used: CN
[58977.575403] ath: Regpair used: 0x52
[58977.583026] ieee80211 phy2: Atheros AR9271 Rev:1
[60456.074301] usb 1-1: USB disconnect, device number 4
[60456.180820] usb 1-1: ath9k_htc: USB layer deinitialized
[60461.522948] usb 1-1: new high-speed USB device number 5 using exynos-ehci
[60461.704602] usb 1-1: New USB device found, idVendor=0cf3,
idProduct=9271, bcdDevice= 1.08
[60461.711503] usb 1-1: New USB device strings: Mfr=16, Product=32,
SerialNumber=48
[60461.719708] usb 1-1: Product: USB2.0 WLAN
[60461.722793] usb 1-1: Manufacturer: ATHEROS
[60461.726855] usb 1-1: SerialNumber: 12345
[60461.732751] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw
requested
[60461.740099] usb 1-1: firmware: direct-loading firmware
ath9k_htc/htc_9271-1.4.0.fw
[60462.035874] usb 1-1: ath9k_htc: Transferred FW:
ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[60462.288026] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
[60462.545586] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4
[60462.549639] ath9k_htc 1-1:1.0: FW RMW support: On
[60462.554343] ath: EEPROM regdomain: 0x809c
[60462.554357] ath: EEPROM indicates we should expect a country code
[60462.554368] ath: doing EEPROM country->regdmn map search
[60462.554376] ath: country maps to regdmn code: 0x52
[60462.554387] ath: Country alpha2 being used: CN
[60462.554397] ath: Regpair used: 0x52
[60462.561841] ieee80211 phy3: Atheros AR9271 Rev:1
ansible@hn-odroid-hc1-110:~$
## test 18 : verify net device
################################
ansible@hn-odroid-hc1-110:~$ sudo iwconfig wlan0
wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Conclusions:
It seems there is one issue on this package
Thanks in advance for you help
Best regards
--
-- Jean-Marc LACROIX --
-- mailto : jeanmarc.lacr...@free.fr --