[Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
This bug was fixed in the package linux-raspi - 5.4.0-1038.41 --- linux-raspi (5.4.0-1038.41) focal; urgency=medium [ Ubuntu: 5.4.0-77.86 ] * UAF on CAN J1939 j1939_can_recv (LP: #1932209) - SAUCE: can: j1939: delay release of j1939_priv after synchronize_rcu * UAF on CAN BCM bcm_rx_handler (LP: #1931855) - SAUCE: can: bcm: delay release of struct bcm_op after synchronize_rcu [ Ubuntu: 5.4.0-76.85 ] * focal/linux: 5.4.0-76.85 -proposed tracker (LP: #1932123) * Upstream v5.9 introduced 'module' patches that removed exported symbols (LP: #1932065) - SAUCE: Revert "modules: inherit TAINT_PROPRIETARY_MODULE" - SAUCE: Revert "modules: return licensing information from find_symbol" - SAUCE: Revert "modules: rename the licence field in struct symsearch to license" - SAUCE: Revert "modules: unexport __module_address" - SAUCE: Revert "modules: unexport __module_text_address" - SAUCE: Revert "modules: mark each_symbol_section static" - SAUCE: Revert "modules: mark find_symbol static" - SAUCE: Revert "modules: mark ref_module static" linux-raspi (5.4.0-1037.40) focal; urgency=medium * focal/linux-raspi: 5.4.0-1037.40 -proposed tracker (LP: #1930027) * ath9k driver: miniPCIe Atheros AR93xx not recognized (LP: #1927037) - [Config] raspi: Disable ATH9K_AHB, set ATH9K_PCI=y - overlays: Add pcie-32bit-dma overlay * RTL8188EE Wireless Network Adapter not supported (LP: #1928774) - [Config] raspi: Set RTL8188EE=m [ Ubuntu: 5.4.0-75.84 ] * focal/linux: 5.4.0-75.84 -proposed tracker (LP: #1930032) * Packaging resync (LP: #1786013) - update dkms package versions * CVE-2021-33200 - bpf: Wrap aux data inside bpf_sanitize_info container - bpf: Fix mask direction swap upon off reg sign change - bpf: No need to simulate speculative domain for immediates * Realtek USB hubs in Dell WD19SC/DC/TB fail to work after exiting s2idle (LP: #1928242) - USB: Verify the port status when timeout happens during port suspend * CVE-2020-26145 - ath10k: drop fragments with multicast DA for SDIO - ath10k: add CCMP PN replay protection for fragmented frames for PCIe - ath10k: drop fragments with multicast DA for PCIe * CVE-2020-26141 - ath10k: Fix TKIP Michael MIC verification for PCIe * CVE-2020-24588 - mac80211: properly handle A-MSDUs that start with an RFC 1042 header - cfg80211: mitigate A-MSDU aggregation attacks - mac80211: drop A-MSDUs on old ciphers - ath10k: drop MPDU which has discard flag set by firmware for SDIO * CVE-2020-26139 - mac80211: do not accept/forward invalid EAPOL frames * CVE-2020-24586 // CVE-2020-24587 // CVE-2020-24587 for such cases. - mac80211: extend protection against mixed key and fragment cache attacks * CVE-2020-24586 // CVE-2020-24587 - mac80211: prevent mixed key and fragment cache attacks - mac80211: add fragment cache to sta_info - mac80211: check defrag PN against current frame - mac80211: prevent attacks on TKIP/WEP as well * CVE-2020-26147 - mac80211: assure all fragments are encrypted * raid10: Block discard is very slow, causing severe delays for mkfs and fstrim operations (LP: #1896578) - md: add md_submit_discard_bio() for submitting discard bio - md/raid10: extend r10bio devs to raid disks - md/raid10: pull the code that wait for blocked dev into one function - md/raid10: improve raid10 discard request - md/raid10: improve discard request for far layout - dm raid: remove unnecessary discard limits for raid0 and raid10 * [SRU] mpt3sas: only one vSES is handy even IOC has multi vSES (LP: #1926517) - scsi: mpt3sas: Only one vSES is present even when IOC has multi vSES * kvm: properly tear down PV features on hibernate (LP: #1920944) - x86/kvm: Fix pr_info() for async PF setup/teardown - x86/kvm: Teardown PV features on boot CPU as well - x86/kvm: Disable kvmclock on all CPUs on shutdown - x86/kvm: Disable all PV features on crash - x86/kvm: Unify kvm_pv_guest_cpu_reboot() with kvm_guest_cpu_offline() * Focal update: v5.4.119 upstream stable release (LP: #1929615) - Bluetooth: verify AMP hci_chan before amp_destroy - hsr: use netdev_err() instead of WARN_ONCE() - bluetooth: eliminate the potential race condition when removing the HCI controller - net/nfc: fix use-after-free llcp_sock_bind/connect - Revert "USB: cdc-acm: fix rounding error in TIOCSSERIAL" - tty: moxa: fix TIOCSSERIAL jiffies conversions - tty: amiserial: fix TIOCSSERIAL permission check - USB: serial: usb_wwan: fix TIOCSSERIAL jiffies conversions - staging: greybus: uart: fix TIOCSSERIAL jiffies conversions - USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check - staging: fwserial: fix TIOCSSERIAL jiffies conversions - tty: moxa: fix TIOCSSERIAL permission check - staging: fwserial: fix TIOCSSERIAL
[Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
This bug was fixed in the package linux-raspi - 5.11.0-1012.13 --- linux-raspi (5.11.0-1012.13) hirsute; urgency=medium [ Ubuntu: 5.11.0-22.23 ] * UAF on CAN J1939 j1939_can_recv (LP: #1932209) - SAUCE: can: j1939: delay release of j1939_priv after synchronize_rcu * UAF on CAN BCM bcm_rx_handler (LP: #1931855) - SAUCE: can: bcm: delay release of struct bcm_op after synchronize_rcu linux-raspi (5.11.0-1010.11) hirsute; urgency=medium * hirsute/linux-raspi: 5.11.0-1010.11 -proposed tracker (LP: #1930068) * ath9k driver: miniPCIe Atheros AR93xx not recognized (LP: #1927037) - [Config] raspi: Disable ATH9K_AHB, set ATH9K_PCI=y * RTL8188EE Wireless Network Adapter not supported (LP: #1928774) - [Config] raspi: Set RTL8188EE=m [ Ubuntu: 5.11.0-20.21 ] * hirsute/linux: 5.11.0-20.21 -proposed tracker (LP: #1930854) * ath11k WIFI not working in proposed kernel 5.11.0-19-generic (LP: #1930637) - bus: mhi: core: Download AMSS image from appropriate function [ Ubuntu: 5.11.0-19.20 ] * hirsute/linux: 5.11.0-19.20 -proposed tracker (LP: #1930075) * Packaging resync (LP: #1786013) - update dkms package versions * CVE-2021-33200 - bpf: Wrap aux data inside bpf_sanitize_info container - bpf: Fix mask direction swap upon off reg sign change - bpf: No need to simulate speculative domain for immediates * AX201 BT will cause system could not enter S0i3 (LP: #1928047) - SAUCE: drm/i915: Tweaked Wa_14010685332 for all PCHs * CVE-2021-3490 - SAUCE: Revert "UBUNTU: SAUCE: bpf: verifier: fix ALU32 bounds tracking with bitwise ops" - gpf: Fix alu32 const subreg bound tracking on bitwise operations * CVE-2021-3489 - SAUCE: Revert "UBUNTU: SAUCE: bpf: prevent writable memory-mapping of read- only ringbuf pages" - bpf: Prevent writable memory-mapping of read-only ringbuf pages * Select correct boot VGA when BIOS doesn't do it properly (LP: #1929217) - vgaarb: Use ACPI HID name to find integrated GPU * Realtek USB hubs in Dell WD19SC/DC/TB fail to work after exiting s2idle (LP: #1928242) - USB: Verify the port status when timeout happens during port suspend * CVE-2020-26145 - ath10k: drop fragments with multicast DA for SDIO - ath10k: add CCMP PN replay protection for fragmented frames for PCIe - ath10k: drop fragments with multicast DA for PCIe * CVE-2020-26141 - ath10k: Fix TKIP Michael MIC verification for PCIe * CVE-2020-24587 - ath11k: Clear the fragment cache during key install * CVE-2020-24588 - mac80211: properly handle A-MSDUs that start with an RFC 1042 header - cfg80211: mitigate A-MSDU aggregation attacks - mac80211: drop A-MSDUs on old ciphers - ath10k: drop MPDU which has discard flag set by firmware for SDIO * CVE-2020-26139 - mac80211: do not accept/forward invalid EAPOL frames * CVE-2020-24586 // CVE-2020-24587 // CVE-2020-24587 for such cases. - mac80211: extend protection against mixed key and fragment cache attacks * CVE-2020-24586 // CVE-2020-24587 - mac80211: prevent mixed key and fragment cache attacks - mac80211: add fragment cache to sta_info - mac80211: check defrag PN against current frame - mac80211: prevent attacks on TKIP/WEP as well * CVE-2020-26147 - mac80211: assure all fragments are encrypted * raid10: Block discard is very slow, causing severe delays for mkfs and fstrim operations (LP: #1896578) - md: add md_submit_discard_bio() for submitting discard bio - md/raid10: extend r10bio devs to raid disks - md/raid10: pull the code that wait for blocked dev into one function - md/raid10: improve raid10 discard request - md/raid10: improve discard request for far layout - dm raid: remove unnecessary discard limits for raid0 and raid10 * [SRU][OEM-5.10/H] Fix typec output on AMD Cezanne GPU (LP: #1929646) - drm/amd/display: use max lb for latency hiding * kvm: properly tear down PV features on hibernate (LP: #1920944) - x86/kvm: Fix pr_info() for async PF setup/teardown - x86/kvm: Teardown PV features on boot CPU as well - x86/kvm: Disable kvmclock on all CPUs on shutdown - x86/kvm: Disable all PV features on crash - x86/kvm: Unify kvm_pv_guest_cpu_reboot() with kvm_guest_cpu_offline() * Add support for AMD wireless button (LP: #1928820) - platform/x86: hp-wireless: add AMD's hardware id to the supported list * Can't detect intel wifi 6235 (LP: #1920180) - SAUCE: iwlwifi: add new pci id for 6235 * Speed up resume time on HP laptops (LP: #1929048) - platform/x86: hp_accel: Avoid invoking _INI to speed up resume * Fix kernel panic on Intel Bluetooth (LP: #1928838) - Bluetooth: Shutdown controller after workqueues are flushed or cancelled * build module CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m for 5.11, 5.13-rc2 and later (LP: #1921632) - [Config] enable soundwire audio mach driver * [SRU] Patch for
[Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
This bug was fixed in the package linux-raspi - 5.8.0-1029.32 --- linux-raspi (5.8.0-1029.32) groovy; urgency=medium [ Ubuntu: 5.8.0-59.66 ] * UAF on CAN J1939 j1939_can_recv (LP: #1932209) - SAUCE: can: j1939: delay release of j1939_priv after synchronize_rcu * UAF on CAN BCM bcm_rx_handler (LP: #1931855) - SAUCE: can: bcm: delay release of struct bcm_op after synchronize_rcu [ Ubuntu: 5.8.0-57.64 ] * groovy/linux: 5.8.0-57.64 -proposed tracker (LP: #1932047) * pmtu.sh from selftests.net in linux ADT test failure with linux/5.8.0-56.63 (LP: #1931731) - net: geneve: modify IP header check in geneve6_xmit_skb and geneve_xmit_skb -- Stefan Bader Thu, 17 Jun 2021 11:35:17 +0200 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927037 Title: ath9k driver: miniPCIe Atheros AR93xx not recognized To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1927037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
** Tags removed: verification-needed-focal ** Tags added: verification-done-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927037 Title: ath9k driver: miniPCIe Atheros AR93xx not recognized To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1927037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'. If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you! ** Tags added: verification-needed-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927037 Title: ath9k driver: miniPCIe Atheros AR93xx not recognized To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1927037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
** Changed in: linux-raspi (Ubuntu Focal) Status: In Progress => Fix Committed ** Changed in: linux-raspi (Ubuntu Groovy) Status: In Progress => Fix Committed ** Changed in: linux-raspi (Ubuntu Hirsute) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927037 Title: ath9k driver: miniPCIe Atheros AR93xx not recognized To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1927037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
** Also affects: linux-raspi (Ubuntu Impish) Importance: Undecided Status: New ** Changed in: linux-raspi (Ubuntu Impish) Status: New => Invalid ** Changed in: linux-raspi (Ubuntu Hirsute) Status: New => In Progress ** Changed in: linux-raspi (Ubuntu Groovy) Status: New => In Progress ** Changed in: linux-raspi (Ubuntu Focal) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927037 Title: ath9k driver: miniPCIe Atheros AR93xx not recognized To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1927037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
Hi Juerg, Thank you so much for your effort here. I'm now seeing the interface in the output from 'iw list' and 'iwconfig'. -Ash On Tue, May 18, 2021 at 5:56 AM Juerg Haefliger <1927...@bugs.launchpad.net> wrote: > Sorry for the slow response, there was a long weekend in between. Can > you try the new kernel from > https://kernel.ubuntu.com/~juergh/lp1927037/? > > You also need to: > echo 'dtoverlay=pcie-32bit-dma' >> /boot/firmware/config.txt > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1927037 > > Title: > ath9k driver: miniPCIe Atheros AR93xx not recognized > > Status in linux-raspi package in Ubuntu: > New > Status in linux-raspi source package in Focal: > New > Status in linux-raspi source package in Groovy: > New > Status in linux-raspi source package in Hirsute: > New > > Bug description: > [Impact] > > PCIe cards based on ath9k chips are not recognized. > > [Test Case] > > Plug a ath9k based PCIe card into the PCIe slot of a CM4 IO board and: > $ ls /sys/class/net/wlan0 > ls: cannot access '/sys/class/net/wlan0': No such file or directory > > [Where Problems Could Occur] > > Buggy driver could result in crashes. > > [Original Description] > > Expected behavior: > Network adapter should be visible via `iw list`, `iwconfig`, and > `ifconfig`. > > Actual behavior: > Network adapter is visible in `lspci` and `lshw`, but not in `iw list`, > `iwconfig`, or `ifconfig` > > Details: > The Atheros network card is detected by the ath9k driver when installed > into a machine with x86_64 architecture. When the same card is installed > into a miniPCIe-to-PCIe adapter, then plugged into a Raspberry Pi CM4 IO > breakout board, the network adapter can be seen via lspci and lshw but is > not seen by iw, iwconfig, or ifconfig. > > lspci: > ubuntu@ubuntu:~$ sudo lspci -v > 00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2711 (rev 20) > (prog-if 00 [Normal decode]) >Flags: bus master, fast devsel, latency 0, IRQ 41 >Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 >I/O behind bridge: -0fff [size=4K] >Memory behind bridge: f800-f80f [size=1M] >Prefetchable memory behind bridge: [disabled] >Capabilities: [48] Power Management version 3 >Capabilities: [ac] Express Root Port (Slot-), MSI 00 >Capabilities: [100] Advanced Error Reporting >Capabilities: [180] Vendor Specific Information: ID= Rev=0 Len=028 > >Capabilities: [240] L1 PM Substates >Kernel driver in use: pcieport > > 01:00.0 Network controller: Qualcomm Atheros AR93xx Wireless Network > Adapter (rev 01) >Subsystem: Qualcomm Atheros AR93xx Wireless Network Adapter >Flags: fast devsel, IRQ 255 >Memory at 6 (64-bit, non-prefetchable) [disabled] [size=128K] >Expansion ROM at 60002 [virtual] [disabled] [size=64K] >Capabilities: [40] Power Management version 3 >Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+ >Capabilities: [70] Express Endpoint, MSI 00 >Capabilities: [100] Advanced Error Reporting >Capabilities: [140] Virtual Channel >Capabilities: [300] Device Serial Number 00-00-00-00-00-00-00-00 > > - > lshw: > ubuntu@ubuntu:~$ sudo lshw -c net > *-network UNCLAIMED > description: Network controller > product: AR93xx Wireless Network Adapter > vendor: Qualcomm Atheros > physical id: 0 > bus info: pci@:01:00.0 > version: 01 > width: 64 bits > clock: 33MHz > capabilities: pm msi pciexpress cap_list > configuration: latency=0 > resources: memory:6-60001 memory:60002-60002 > *-network > description: Ethernet interface > physical id: 1 > logical name: eth0 > serial: dc:a6:32:f4:69:36 > size: 1Gbit/s > capacity: 1Gbit/s > capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt > 100bt-fd 1000bt 1000bt-fd autonegotiation > configuration: autonegotiation=on broadcast=yes driver=bcmgenet > driverversion=v2.0 duplex=full ip=REDACTED link=yes multicast=yes port=MII > speed=1Gbit/s > > - > iw list/iwconfig: > ubuntu@ubuntu:~$ iw list > ubuntu@ubuntu:~$ iwconfig > lono wireless extensions. > > eth0 no wireless extensions. > > - > ubuntu@ubuntu:~$ lsb_release -rd > Description: Ubuntu 20.04.2 LTS > Release: 20.04 > > ProblemType: Bug > DistroRelease: Ubuntu 20.04 > Package: linux-image-5.4.0-1034-raspi 5.4.0-1034.37 > ProcVersionSignature: User Name 5.4.0-1034.37-raspi 5.4.101 > Uname: Linux 5.4.0-1034-raspi aarch64 > ApportVersion: 2.20.11-0ubuntu27.16 > Architecture: arm64 > CasperMD5CheckResult: skip > Date: Tue May 4 02:59:25 2021 > ImageMediaBuild: 20210201.1 > ProcEnviron: >TERM=xterm-256color >
[Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
Sorry for the slow response, there was a long weekend in between. Can you try the new kernel from https://kernel.ubuntu.com/~juergh/lp1927037/? You also need to: echo 'dtoverlay=pcie-32bit-dma' >> /boot/firmware/config.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927037 Title: ath9k driver: miniPCIe Atheros AR93xx not recognized To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1927037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
Hi Juerg, It now attempts to load the driver, but fails: --- [8.163942] ath9k :01:00.0: enabling device ( -> 0002) [8.163960] ath9k: 32-bit DMA not available [8.173575] ath9k: probe of :01:00.0 failed with error -5 --- On Tue, May 11, 2021 at 8:55 AM Juerg Haefliger <1927...@bugs.launchpad.net> wrote: > Can you try the test kernel from: > https://kernel.ubuntu.com/~juergh/lp1927037/ > > Download and install linux-image and linux-modules. > > > ** Description changed: > > + [Impact] > + > + PCIe cards based on ath9k chips are not recognized. > + > + [Test Case] > + > + Plug a ath9k based PCIe card into the PCIe slot of a CM4 IO board and: > + $ ls /sys/class/net/wlan0 > + ls: cannot access '/sys/class/net/wlan0': No such file or directory > + > + [Where Problems Could Occur] > + > + Buggy driver could result in crashes. > + > + [Original Description] > + > Expected behavior: > Network adapter should be visible via `iw list`, `iwconfig`, and > `ifconfig`. > > Actual behavior: > Network adapter is visible in `lspci` and `lshw`, but not in `iw list`, > `iwconfig`, or `ifconfig` > > Details: > The Atheros network card is detected by the ath9k driver when installed > into a machine with x86_64 architecture. When the same card is installed > into a miniPCIe-to-PCIe adapter, then plugged into a Raspberry Pi CM4 IO > breakout board, the network adapter can be seen via lspci and lshw but is > not seen by iw, iwconfig, or ifconfig. > > lspci: > ubuntu@ubuntu:~$ sudo lspci -v > 00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2711 (rev 20) > (prog-if 00 [Normal decode]) > - Flags: bus master, fast devsel, latency 0, IRQ 41 > - Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 > - I/O behind bridge: -0fff [size=4K] > - Memory behind bridge: f800-f80f [size=1M] > - Prefetchable memory behind bridge: [disabled] > - Capabilities: [48] Power Management version 3 > - Capabilities: [ac] Express Root Port (Slot-), MSI 00 > - Capabilities: [100] Advanced Error Reporting > - Capabilities: [180] Vendor Specific Information: ID= Rev=0 > Len=028 > - Capabilities: [240] L1 PM Substates > - Kernel driver in use: pcieport > + Flags: bus master, fast devsel, latency 0, IRQ 41 > + Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 > + I/O behind bridge: -0fff [size=4K] > + Memory behind bridge: f800-f80f [size=1M] > + Prefetchable memory behind bridge: [disabled] > + Capabilities: [48] Power Management version 3 > + Capabilities: [ac] Express Root Port (Slot-), MSI 00 > + Capabilities: [100] Advanced Error Reporting > + Capabilities: [180] Vendor Specific Information: ID= Rev=0 Len=028 > > + Capabilities: [240] L1 PM Substates > + Kernel driver in use: pcieport > > 01:00.0 Network controller: Qualcomm Atheros AR93xx Wireless Network > Adapter (rev 01) > - Subsystem: Qualcomm Atheros AR93xx Wireless Network Adapter > - Flags: fast devsel, IRQ 255 > - Memory at 6 (64-bit, non-prefetchable) [disabled] > [size=128K] > - Expansion ROM at 60002 [virtual] [disabled] [size=64K] > - Capabilities: [40] Power Management version 3 > - Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+ > - Capabilities: [70] Express Endpoint, MSI 00 > - Capabilities: [100] Advanced Error Reporting > - Capabilities: [140] Virtual Channel > - Capabilities: [300] Device Serial Number 00-00-00-00-00-00-00-00 > + Subsystem: Qualcomm Atheros AR93xx Wireless Network Adapter > + Flags: fast devsel, IRQ 255 > + Memory at 6 (64-bit, non-prefetchable) [disabled] [size=128K] > + Expansion ROM at 60002 [virtual] [disabled] [size=64K] > + Capabilities: [40] Power Management version 3 > + Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+ > + Capabilities: [70] Express Endpoint, MSI 00 > + Capabilities: [100] Advanced Error Reporting > + Capabilities: [140] Virtual Channel > + Capabilities: [300] Device Serial Number 00-00-00-00-00-00-00-00 > > - > lshw: > ubuntu@ubuntu:~$ sudo lshw -c net > - *-network UNCLAIMED > -description: Network controller > -product: AR93xx Wireless Network Adapter > -vendor: Qualcomm Atheros > -physical id: 0 > -bus info: pci@:01:00.0 > -version: 01 > -width: 64 bits > -clock: 33MHz > -capabilities: pm msi pciexpress cap_list > -configuration: latency=0 > -resources: memory:6-60001 memory:60002-60002 > - *-network > -description: Ethernet interface > -physical id: 1 > -logical name: eth0 > -serial: dc:a6:32:f4:69:36 > -size: 1Gbit/s > -capacity: 1Gbit/s > -capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt > 100bt-fd 1000bt 1000bt-fd autonegotiation > -
[Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
Can you try the test kernel from: https://kernel.ubuntu.com/~juergh/lp1927037/ Download and install linux-image and linux-modules. ** Description changed: + [Impact] + + PCIe cards based on ath9k chips are not recognized. + + [Test Case] + + Plug a ath9k based PCIe card into the PCIe slot of a CM4 IO board and: + $ ls /sys/class/net/wlan0 + ls: cannot access '/sys/class/net/wlan0': No such file or directory + + [Where Problems Could Occur] + + Buggy driver could result in crashes. + + [Original Description] + Expected behavior: Network adapter should be visible via `iw list`, `iwconfig`, and `ifconfig`. Actual behavior: Network adapter is visible in `lspci` and `lshw`, but not in `iw list`, `iwconfig`, or `ifconfig` Details: The Atheros network card is detected by the ath9k driver when installed into a machine with x86_64 architecture. When the same card is installed into a miniPCIe-to-PCIe adapter, then plugged into a Raspberry Pi CM4 IO breakout board, the network adapter can be seen via lspci and lshw but is not seen by iw, iwconfig, or ifconfig. lspci: ubuntu@ubuntu:~$ sudo lspci -v 00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2711 (rev 20) (prog-if 00 [Normal decode]) - Flags: bus master, fast devsel, latency 0, IRQ 41 - Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 - I/O behind bridge: -0fff [size=4K] - Memory behind bridge: f800-f80f [size=1M] - Prefetchable memory behind bridge: [disabled] - Capabilities: [48] Power Management version 3 - Capabilities: [ac] Express Root Port (Slot-), MSI 00 - Capabilities: [100] Advanced Error Reporting - Capabilities: [180] Vendor Specific Information: ID= Rev=0 Len=028 - Capabilities: [240] L1 PM Substates - Kernel driver in use: pcieport + Flags: bus master, fast devsel, latency 0, IRQ 41 + Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 + I/O behind bridge: -0fff [size=4K] + Memory behind bridge: f800-f80f [size=1M] + Prefetchable memory behind bridge: [disabled] + Capabilities: [48] Power Management version 3 + Capabilities: [ac] Express Root Port (Slot-), MSI 00 + Capabilities: [100] Advanced Error Reporting + Capabilities: [180] Vendor Specific Information: ID= Rev=0 Len=028 + Capabilities: [240] L1 PM Substates + Kernel driver in use: pcieport 01:00.0 Network controller: Qualcomm Atheros AR93xx Wireless Network Adapter (rev 01) - Subsystem: Qualcomm Atheros AR93xx Wireless Network Adapter - Flags: fast devsel, IRQ 255 - Memory at 6 (64-bit, non-prefetchable) [disabled] [size=128K] - Expansion ROM at 60002 [virtual] [disabled] [size=64K] - Capabilities: [40] Power Management version 3 - Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+ - Capabilities: [70] Express Endpoint, MSI 00 - Capabilities: [100] Advanced Error Reporting - Capabilities: [140] Virtual Channel - Capabilities: [300] Device Serial Number 00-00-00-00-00-00-00-00 + Subsystem: Qualcomm Atheros AR93xx Wireless Network Adapter + Flags: fast devsel, IRQ 255 + Memory at 6 (64-bit, non-prefetchable) [disabled] [size=128K] + Expansion ROM at 60002 [virtual] [disabled] [size=64K] + Capabilities: [40] Power Management version 3 + Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+ + Capabilities: [70] Express Endpoint, MSI 00 + Capabilities: [100] Advanced Error Reporting + Capabilities: [140] Virtual Channel + Capabilities: [300] Device Serial Number 00-00-00-00-00-00-00-00 - lshw: ubuntu@ubuntu:~$ sudo lshw -c net - *-network UNCLAIMED -description: Network controller -product: AR93xx Wireless Network Adapter -vendor: Qualcomm Atheros -physical id: 0 -bus info: pci@:01:00.0 -version: 01 -width: 64 bits -clock: 33MHz -capabilities: pm msi pciexpress cap_list -configuration: latency=0 -resources: memory:6-60001 memory:60002-60002 - *-network -description: Ethernet interface -physical id: 1 -logical name: eth0 -serial: dc:a6:32:f4:69:36 -size: 1Gbit/s -capacity: 1Gbit/s -capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation -configuration: autonegotiation=on broadcast=yes driver=bcmgenet driverversion=v2.0 duplex=full ip=REDACTED link=yes multicast=yes port=MII speed=1Gbit/s + *-network UNCLAIMED + description: Network controller + product: AR93xx Wireless Network Adapter + vendor: Qualcomm Atheros + physical id: 0 + bus info: pci@:01:00.0 + version: 01 + width: 64 bits + clock: 33MHz + capabilities: pm msi pciexpress cap_list + configuration: latency=0 +
[Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
I guess this is not helpful :-( # CONFIG_ATH9K_PCI is not set -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927037 Title: ath9k driver: miniPCIe Atheros AR93xx not recognized To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1927037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
After running modprobe ath9k, ath9k shows up in the output from lsmod. However, iw still doesn’t see the interface. On Mon, May 10, 2021 at 1:15 AM Juerg Haefliger <1927...@bugs.launchpad.net> wrote: > What happens if you manually load the driver? modprobe ath9k. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1927037 > > Title: > ath9k driver: miniPCIe Atheros AR93xx not recognized > > Status in linux-raspi package in Ubuntu: > New > Status in linux-raspi source package in Focal: > New > Status in linux-raspi source package in Groovy: > New > Status in linux-raspi source package in Hirsute: > New > > Bug description: > Expected behavior: > Network adapter should be visible via `iw list`, `iwconfig`, and > `ifconfig`. > > Actual behavior: > Network adapter is visible in `lspci` and `lshw`, but not in `iw list`, > `iwconfig`, or `ifconfig` > > Details: > The Atheros network card is detected by the ath9k driver when installed > into a machine with x86_64 architecture. When the same card is installed > into a miniPCIe-to-PCIe adapter, then plugged into a Raspberry Pi CM4 IO > breakout board, the network adapter can be seen via lspci and lshw but is > not seen by iw, iwconfig, or ifconfig. > > lspci: > ubuntu@ubuntu:~$ sudo lspci -v > 00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2711 (rev 20) > (prog-if 00 [Normal decode]) > Flags: bus master, fast devsel, latency 0, IRQ 41 > Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 > I/O behind bridge: -0fff [size=4K] > Memory behind bridge: f800-f80f [size=1M] > Prefetchable memory behind bridge: [disabled] > Capabilities: [48] Power Management version 3 > Capabilities: [ac] Express Root Port (Slot-), MSI 00 > Capabilities: [100] Advanced Error Reporting > Capabilities: [180] Vendor Specific Information: ID= Rev=0 > Len=028 > Capabilities: [240] L1 PM Substates > Kernel driver in use: pcieport > > 01:00.0 Network controller: Qualcomm Atheros AR93xx Wireless Network > Adapter (rev 01) > Subsystem: Qualcomm Atheros AR93xx Wireless Network Adapter > Flags: fast devsel, IRQ 255 > Memory at 6 (64-bit, non-prefetchable) [disabled] > [size=128K] > Expansion ROM at 60002 [virtual] [disabled] [size=64K] > Capabilities: [40] Power Management version 3 > Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+ > Capabilities: [70] Express Endpoint, MSI 00 > Capabilities: [100] Advanced Error Reporting > Capabilities: [140] Virtual Channel > Capabilities: [300] Device Serial Number 00-00-00-00-00-00-00-00 > > - > lshw: > ubuntu@ubuntu:~$ sudo lshw -c net > *-network UNCLAIMED > description: Network controller > product: AR93xx Wireless Network Adapter > vendor: Qualcomm Atheros > physical id: 0 > bus info: pci@:01:00.0 > version: 01 > width: 64 bits > clock: 33MHz > capabilities: pm msi pciexpress cap_list > configuration: latency=0 > resources: memory:6-60001 memory:60002-60002 > *-network > description: Ethernet interface > physical id: 1 > logical name: eth0 > serial: dc:a6:32:f4:69:36 > size: 1Gbit/s > capacity: 1Gbit/s > capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt > 100bt-fd 1000bt 1000bt-fd autonegotiation > configuration: autonegotiation=on broadcast=yes driver=bcmgenet > driverversion=v2.0 duplex=full ip=REDACTED link=yes multicast=yes port=MII > speed=1Gbit/s > > - > iw list/iwconfig: > ubuntu@ubuntu:~$ iw list > ubuntu@ubuntu:~$ iwconfig > lono wireless extensions. > > eth0 no wireless extensions. > > - > ubuntu@ubuntu:~$ lsb_release -rd > Description: Ubuntu 20.04.2 LTS > Release: 20.04 > > ProblemType: Bug > DistroRelease: Ubuntu 20.04 > Package: linux-image-5.4.0-1034-raspi 5.4.0-1034.37 > ProcVersionSignature: User Name 5.4.0-1034.37-raspi 5.4.101 > Uname: Linux 5.4.0-1034-raspi aarch64 > ApportVersion: 2.20.11-0ubuntu27.16 > Architecture: arm64 > CasperMD5CheckResult: skip > Date: Tue May 4 02:59:25 2021 > ImageMediaBuild: 20210201.1 > ProcEnviron: >TERM=xterm-256color >PATH=(custom, no user) >XDG_RUNTIME_DIR= >LANG=C.UTF-8 >SHELL=/bin/bash > SourcePackage: linux-raspi > UpgradeStatus: No upgrade log present (probably fresh install) > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1927037/+subscriptions > -- *Ash Wilson* | Technical Director *e:* ash.wil...@valimail.com This email and all data transmitted with it contains confidential and/or
[Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
What happens if you manually load the driver? modprobe ath9k. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927037 Title: ath9k driver: miniPCIe Atheros AR93xx not recognized To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1927037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
Hi Juerg, Thanks for picking up the ticket so quickly. I reinstalled and updated 20.04.2 and ran the following commands: Output from lsmod: Module Size Used by cfg80211 839680 0 dm_multipath 36864 0 scsi_dh_rdac 16384 0 scsi_dh_emc16384 0 scsi_dh_alua 20480 0 bcm2835_codec 45056 0 bcm2835_v4l2 49152 0 snd_bcm283536864 0 bcm2835_isp28672 0 v4l2_mem2mem 36864 1 bcm2835_codec bcm2835_mmal_vchiq 45056 3 bcm2835_codec,bcm2835_v4l2,bcm2835_isp videobuf2_dma_contig24576 2 bcm2835_codec,bcm2835_isp snd_pcm 143360 1 snd_bcm2835 videobuf2_vmalloc 20480 1 bcm2835_v4l2 videobuf2_memops 20480 2 videobuf2_vmalloc,videobuf2_dma_contig videobuf2_v4l2 32768 4 bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,bcm2835_isp videobuf2_common 61440 5 bcm2835_codec,videobuf2_v4l2,bcm2835_v4l2,v4l2_mem2mem,bcm2835_isp snd_timer 45056 1 snd_pcm raspberrypi_hwmon 16384 0 videodev 315392 6 bcm2835_codec,videobuf2_v4l2,bcm2835_v4l2,videobuf2_common,v4l2_mem2mem,bcm2835_isp snd 114688 3 snd_bcm2835,snd_timer,snd_pcm vc_sm_cma 49152 2 bcm2835_mmal_vchiq,bcm2835_isp mc 73728 6 videodev,bcm2835_codec,videobuf2_v4l2,videobuf2_common,v4l2_mem2mem,bcm2835_isp rpivid_mem 16384 0 rpi_poe_fan16384 0 uio_pdrv_genirq16384 0 uio24576 1 uio_pdrv_genirq sch_fq_codel 20480 6 drm 569344 0 ip_tables 40960 0 x_tables 57344 1 ip_tables autofs457344 2 btrfs1425408 0 zstd_compress 163840 1 btrfs raid10 61440 0 raid456 184320 0 async_raid6_recov 20480 1 raid456 async_memcpy 20480 2 raid456,async_raid6_recov async_pq 20480 2 raid456,async_raid6_recov async_xor 20480 3 async_pq,raid456,async_raid6_recov async_tx 20480 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov xor20480 2 async_xor,btrfs xor_neon 16384 1 xor raid6_pq 114688 4 async_pq,btrfs,raid456,async_raid6_recov libcrc32c 16384 2 btrfs,raid456 raid1 53248 0 raid0 24576 0 multipath 24576 0 linear 20480 0 crct10dif_ce 16384 1 spidev 24576 0 phy_generic20480 0 aes_neon_bs28672 1 aes_neon_blk 32768 1 aes_neon_bs crypto_simd20480 2 aes_neon_bs,aes_neon_blk cryptd 24576 1 crypto_simd - Output from lspci -nn: 00:00.0 PCI bridge [0604]: Broadcom Inc. and subsidiaries Device [14e4:2711] (rev 20) 01:00.0 Network controller [0280]: Qualcomm Atheros AR93xx Wireless Network Adapter [168c:0030] (rev 01) - dmesg output: [0.00] Booting Linux on physical CPU 0x00 [0x410fd083] [0.00] Linux version 5.4.0-1034-raspi (buildd@bos02-arm64-050) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #37-Ubuntu SMP PREEMPT Mon Apr 12 23:14:49 UTC 2021 (Ubuntu 5.4.0-1034.37-raspi 5.4.101) [0.00] Machine model: Raspberry Pi Compute Module 4 Rev 1.0 [0.00] efi: Getting EFI parameters from FDT: [0.00] efi: UEFI not found. [0.00] Reserved memory: created CMA memory pool at 0x2c00, size 64 MiB [0.00] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [0.00] On node 0 totalpages: 504832 [0.00] DMA zone: 3792 pages used for memmap [0.00] DMA zone: 0 pages reserved [0.00] DMA zone: 242688 pages, LIFO batch:63 [0.00] DMA32 zone: 4096 pages used for memmap [0.00] DMA32 zone: 262144 pages, LIFO batch:63 [0.00] percpu: Embedded 32 pages/cpu s92120 r8192 d30760 u131072 [0.00] pcpu-alloc: s92120 r8192 d30760 u131072 alloc=32*4096 [0.00] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0.00] Detected PIPT I-cache on CPU0 [0.00] CPU features: detected: EL2 vector hardening [0.00] CPU features: kernel page table isolation forced ON by KASLR [0.00] CPU features: detected: Kernel page table isolation (KPTI) [0.00] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware [0.00] Built 1 zonelists, mobility grouping on. Total pages: 496944 [0.00] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:F4:69:36 vc_mem.mem_base=0x3ec0 vc_mem.mem_size=0x4000 net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash [0.00] Dentry
[Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
Can you send the output of 'lsmod' and 'dmesg' and 'lspci -nn'? What happens if you manually load the driver: 'modprobe ath9k'? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927037 Title: ath9k driver: miniPCIe Atheros AR93xx not recognized To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1927037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1927037] Re: ath9k driver: miniPCIe Atheros AR93xx not recognized
** Also affects: linux-raspi (Ubuntu Hirsute) Importance: Undecided Status: New ** Also affects: linux-raspi (Ubuntu Groovy) Importance: Undecided Status: New ** Also affects: linux-raspi (Ubuntu Focal) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1927037 Title: ath9k driver: miniPCIe Atheros AR93xx not recognized To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1927037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs