Re: tplink TL-WN722N (ath ar9271): athn0: could not load firmware (and firmware is there)
On Thu, Sep 25, 2014 at 11:51 PM, Sébastien Marie semarie-open...@latrappe.fr wrote: Hi, On Thu, Sep 25, 2014 at 06:18:11PM -0500, Abel Abraham Camarillo Ojeda wrote: I have this usb dongle: http://www.tp-link.com/en/products/details/?model=tl-wn722n#over Tplink TL-WN722N, which according to driver (*.inf) is an atheros ar9271 device. after inserting in usb slot I get: athn0 at uhub1 port 3 ATHEROS USB2.0 WLAN rev 2.00/1.08 addr 2 athn0: could not load firmware and nothing else happens, with it inserted I ran fw_update(1), and then tried to remove it and insert it again, still same message. should it work? it should. I have the same device, and it works here (-current, but it works also in 5.5). You are right, it seems that this card don't works _on this machine_, I tried another OpenBSD/5.5/amd64-sp machine and it worked ok. $ ls -alsh /etc/firmware 140 -r--r--r-- 1 root bin 69.0K Jul 30 07:04 /etc/firmware/athn-ar7010 140 -r--r--r-- 1 root bin 69.0K Jul 30 07:04 /etc/firmware/athn-ar7010-11 104 -r--r--r-- 1 root bin 50.1K Jul 30 07:04 /etc/firmware/athn-ar9271 8 -r--r--r-- 1 root bin 2.2K Jul 30 07:04 /etc/firmware/athn-license $ $ ls -alsh /etc/firmware/athn-* 140 -r--r--r-- 1 root bin 69.0K Jan 11 2014 /etc/firmware/athn-ar7010 140 -r--r--r-- 1 root bin 69.0K Jan 11 2014 /etc/firmware/athn-ar7010-11 104 -r--r--r-- 1 root bin 50.1K Jan 11 2014 /etc/firmware/athn-ar9271 8 -r--r--r-- 1 root bin 2.2K Jan 11 2014 /etc/firmware/athn-license $ sha1 /etc/firmware/athn-* SHA1 (/etc/firmware/athn-ar7010) = 4712a8674f6d32b3d2bb548d304177a0fea09558 SHA1 (/etc/firmware/athn-ar7010-11) = 08d0587306e965cd7b04c0715114978395b5ac35 SHA1 (/etc/firmware/athn-ar9271) = 494bc6957da8f6d04d68f8594337fee356c190d3 SHA1 (/etc/firmware/athn-license) = 5fc3ee1bec135933fd8b1c73191e7d7556b9eed0 i have same files (same sha1) $ pkg_info athn-firmware Information for inst:athn-firmware-1.1p1 [...] $ dmesg | grep athn athn0 at uhub0 port 4 ATHEROS USB2.0 WLAN rev 2.00/1.08 addr 2 athn0: AR9271 rev 1 (1T1R), ROM rev 13, address c0:4a:00:1c:c0:aa -- Sébastien Marie I suspect this is an USB issue with this machine, will try to bisect to see if it works on an previous release. (i have had problems with usb on this machine): http://marc.info/?l=openbsd-cvsm=139982602432291w=2 Ideas? dmesg from working machine: OpenBSD 5.5 (GENERIC) #271: Wed Mar 5 09:31:16 MST 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1048051712 (999MB) avail mem = 1011638272 (964MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf06b0 (42 entries) bios0: vendor American Megatrends Inc. version 0216 date 09/22/2009 bios0: ASUSTeK Computer INC. ITX-220 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG OEMB HPET acpi0: wakeup devices P0P1(S4) P0P3(S4) P0P9(S4) P0P8(S4) P0P7(S4) P0P6(S4) P0P5(S4) P0P4(S4) PS2K(S4) PS2M(S4) UAR1(S4) USB2(S4) USB3(S4) USB4(S4) MC97(S4) USB1(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Celeron(R) CPU 220 @ 1.20GHz, 1197.64 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu0: 512KB 64b/line 2-way L2 cache mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 133MHz ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus 1 (P0P3) acpiprt3 at acpi0: bus -1 (P0P8) acpicpu0 at acpi0 aibs0 at acpi0 RTMP RVLT RFAN GGRP GITM SITM acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel 82945G Host rev 0x02 vga1 at pci0 dev 2 function 0 Intel 82945G Video rev 0x02 intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 No connectors reported connected with modes Cannot find any crtc or sizes - going 1024x768 inteldrm0: 1024x768 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01: msi azalia0: codecs: VIA/0x4397 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01 pci1 at ppb0 bus 2 re0 at pci1 dev 0 function 0 Realtek 8168 rev 0x01: RTL8168 2 (0x3800), msi, address bc:ae:c5:78:22:a7 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 1 int 20 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 1 int 17 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 1 int 18 uhci3 at pci0
Re: tplink TL-WN722N (ath ar9271): athn0: could not load firmware (and firmware is there)
On Sat, Sep 27, 2014 at 4:42 AM, Abel Abraham Camarillo Ojeda acam...@verlet.org wrote: On Thu, Sep 25, 2014 at 11:51 PM, Sébastien Marie semarie-open...@latrappe.fr wrote: Hi, On Thu, Sep 25, 2014 at 06:18:11PM -0500, Abel Abraham Camarillo Ojeda wrote: I have this usb dongle: http://www.tp-link.com/en/products/details/?model=tl-wn722n#over Tplink TL-WN722N, which according to driver (*.inf) is an atheros ar9271 device. after inserting in usb slot I get: athn0 at uhub1 port 3 ATHEROS USB2.0 WLAN rev 2.00/1.08 addr 2 athn0: could not load firmware and nothing else happens, with it inserted I ran fw_update(1), and then tried to remove it and insert it again, still same message. should it work? it should. I have the same device, and it works here (-current, but it works also in 5.5). You are right, it seems that this card don't works _on this machine_, I tried another OpenBSD/5.5/amd64-sp machine and it worked ok. I have tried: on non-working machine: OpenBSD-current/amd64.mp: not works OpenBSD-5.5/i386.mp: not works on working machine: OpenBSD-5.5/amd64.sp: works $ ls -alsh /etc/firmware 140 -r--r--r-- 1 root bin 69.0K Jul 30 07:04 /etc/firmware/athn-ar7010 140 -r--r--r-- 1 root bin 69.0K Jul 30 07:04 /etc/firmware/athn-ar7010-11 104 -r--r--r-- 1 root bin 50.1K Jul 30 07:04 /etc/firmware/athn-ar9271 8 -r--r--r-- 1 root bin 2.2K Jul 30 07:04 /etc/firmware/athn-license $ $ ls -alsh /etc/firmware/athn-* 140 -r--r--r-- 1 root bin 69.0K Jan 11 2014 /etc/firmware/athn-ar7010 140 -r--r--r-- 1 root bin 69.0K Jan 11 2014 /etc/firmware/athn-ar7010-11 104 -r--r--r-- 1 root bin 50.1K Jan 11 2014 /etc/firmware/athn-ar9271 8 -r--r--r-- 1 root bin 2.2K Jan 11 2014 /etc/firmware/athn-license $ sha1 /etc/firmware/athn-* SHA1 (/etc/firmware/athn-ar7010) = 4712a8674f6d32b3d2bb548d304177a0fea09558 SHA1 (/etc/firmware/athn-ar7010-11) = 08d0587306e965cd7b04c0715114978395b5ac35 SHA1 (/etc/firmware/athn-ar9271) = 494bc6957da8f6d04d68f8594337fee356c190d3 SHA1 (/etc/firmware/athn-license) = 5fc3ee1bec135933fd8b1c73191e7d7556b9eed0 i have same files (same sha1) $ pkg_info athn-firmware Information for inst:athn-firmware-1.1p1 [...] $ dmesg | grep athn athn0 at uhub0 port 4 ATHEROS USB2.0 WLAN rev 2.00/1.08 addr 2 athn0: AR9271 rev 1 (1T1R), ROM rev 13, address c0:4a:00:1c:c0:aa -- Sébastien Marie I suspect this is an USB issue with this machine, will try to bisect to see if it works on an previous release. (i have had problems with usb on this machine): http://marc.info/?l=openbsd-cvsm=139982602432291w=2 Ideas? dmesg from working machine: OpenBSD 5.5 (GENERIC) #271: Wed Mar 5 09:31:16 MST 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1048051712 (999MB) avail mem = 1011638272 (964MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf06b0 (42 entries) bios0: vendor American Megatrends Inc. version 0216 date 09/22/2009 bios0: ASUSTeK Computer INC. ITX-220 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG OEMB HPET acpi0: wakeup devices P0P1(S4) P0P3(S4) P0P9(S4) P0P8(S4) P0P7(S4) P0P6(S4) P0P5(S4) P0P4(S4) PS2K(S4) PS2M(S4) UAR1(S4) USB2(S4) USB3(S4) USB4(S4) MC97(S4) USB1(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Celeron(R) CPU 220 @ 1.20GHz, 1197.64 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu0: 512KB 64b/line 2-way L2 cache mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 133MHz ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus 1 (P0P3) acpiprt3 at acpi0: bus -1 (P0P8) acpicpu0 at acpi0 aibs0 at acpi0 RTMP RVLT RFAN GGRP GITM SITM acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 Intel 82945G Host rev 0x02 vga1 at pci0 dev 2 function 0 Intel 82945G Video rev 0x02 intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 No connectors reported connected with modes Cannot find any crtc or sizes - going 1024x768 inteldrm0: 1024x768 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01: msi azalia0: codecs: VIA/0x4397 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01 pci1 at ppb0 bus 2 re0 at pci1 dev 0 function 0 Realtek 8168 rev 0x01: RTL8168 2 (0x3800), msi,
tplink TL-WN722N (ath ar9271): athn0: could not load firmware (and firmware is there)
I have this usb dongle: http://www.tp-link.com/en/products/details/?model=tl-wn722n#over Tplink TL-WN722N, which according to driver (*.inf) is an atheros ar9271 device. after inserting in usb slot I get: athn0 at uhub1 port 3 ATHEROS USB2.0 WLAN rev 2.00/1.08 addr 2 athn0: could not load firmware and nothing else happens, with it inserted I ran fw_update(1), and then tried to remove it and insert it again, still same message. should it work? Thanks. $ ls -alsh /etc/firmware 140 -r--r--r-- 1 root bin 69.0K Jul 30 07:04 /etc/firmware/athn-ar7010 140 -r--r--r-- 1 root bin 69.0K Jul 30 07:04 /etc/firmware/athn-ar7010-11 104 -r--r--r-- 1 root bin 50.1K Jul 30 07:04 /etc/firmware/athn-ar9271 8 -r--r--r-- 1 root bin 2.2K Jul 30 07:04 /etc/firmware/athn-license $ dmesg: OpenBSD 5.6-current (GENERIC.MP) #364: Thu Sep 4 02:57:22 MDT 2014 t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17124114432 (16330MB) avail mem = 16659546112 (15887MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeed90 (55 entries) bios0: vendor American Megatrends Inc. version 1605 date 10/25/2012 bios0: ASUSTeK COMPUTER INC. M5A97 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG HPET SSDT IVRS acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) UAR1(S4) P0PC(S4) UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4) PE21(S4) PE22(S4) PE23(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Phenom(tm) II X4 955 Processor, 3211.13 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: AMD erratum 721 detected and fixed cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 200MHz cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Phenom(tm) II X4 955 Processor, 3210.72 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu1: AMD erratum 721 detected and fixed cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD Phenom(tm) II X4 955 Processor, 3210.72 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu2: AMD erratum 721 detected and fixed cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: AMD Phenom(tm) II X4 955 Processor, 3210.72 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu3: AMD erratum 721 detected and fixed cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 5 pa 0xfec0, version 21, 24 pins ioapic1 at mainbus0: apid 6 pa 0xfec2, version 21, 32 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 4 (P0PC) acpiprt2 at acpi0: bus -1 (PE20) acpiprt3 at acpi0: bus -1 (PE21) acpiprt4 at acpi0: bus -1 (PE22) acpiprt5 at acpi0: bus -1 (PE23) acpiprt6 at acpi0:
Re: tplink TL-WN722N (ath ar9271): athn0: could not load firmware (and firmware is there)
Hi, On Thu, Sep 25, 2014 at 06:18:11PM -0500, Abel Abraham Camarillo Ojeda wrote: I have this usb dongle: http://www.tp-link.com/en/products/details/?model=tl-wn722n#over Tplink TL-WN722N, which according to driver (*.inf) is an atheros ar9271 device. after inserting in usb slot I get: athn0 at uhub1 port 3 ATHEROS USB2.0 WLAN rev 2.00/1.08 addr 2 athn0: could not load firmware and nothing else happens, with it inserted I ran fw_update(1), and then tried to remove it and insert it again, still same message. should it work? it should. I have the same device, and it works here (-current, but it works also in 5.5). $ ls -alsh /etc/firmware 140 -r--r--r-- 1 root bin 69.0K Jul 30 07:04 /etc/firmware/athn-ar7010 140 -r--r--r-- 1 root bin 69.0K Jul 30 07:04 /etc/firmware/athn-ar7010-11 104 -r--r--r-- 1 root bin 50.1K Jul 30 07:04 /etc/firmware/athn-ar9271 8 -r--r--r-- 1 root bin 2.2K Jul 30 07:04 /etc/firmware/athn-license $ $ ls -alsh /etc/firmware/athn-* 140 -r--r--r-- 1 root bin 69.0K Jan 11 2014 /etc/firmware/athn-ar7010 140 -r--r--r-- 1 root bin 69.0K Jan 11 2014 /etc/firmware/athn-ar7010-11 104 -r--r--r-- 1 root bin 50.1K Jan 11 2014 /etc/firmware/athn-ar9271 8 -r--r--r-- 1 root bin 2.2K Jan 11 2014 /etc/firmware/athn-license $ sha1 /etc/firmware/athn-* SHA1 (/etc/firmware/athn-ar7010) = 4712a8674f6d32b3d2bb548d304177a0fea09558 SHA1 (/etc/firmware/athn-ar7010-11) = 08d0587306e965cd7b04c0715114978395b5ac35 SHA1 (/etc/firmware/athn-ar9271) = 494bc6957da8f6d04d68f8594337fee356c190d3 SHA1 (/etc/firmware/athn-license) = 5fc3ee1bec135933fd8b1c73191e7d7556b9eed0 $ pkg_info athn-firmware Information for inst:athn-firmware-1.1p1 [...] $ dmesg | grep athn athn0 at uhub0 port 4 ATHEROS USB2.0 WLAN rev 2.00/1.08 addr 2 athn0: AR9271 rev 1 (1T1R), ROM rev 13, address c0:4a:00:1c:c0:aa -- Sébastien Marie