试了defconfigs下的ath9k_htc,没有生成ath9k_hw.ko………Ubuntu下利用backport能生成x86 Ubuntu的ath9k所需要的ko!
离线
嵌入式Linux内核4.9.37,用的backport版本4.20.10-1,5.2.8-1都是一样。直接内核自带的源码配置内核生成大堆ko,插入ko都没问题,USB加载网卡固件失败!usb 1-1.2.4: ath9k_htc: Firmware htc_9271.fw requested
usbcore: registered new interface driver ath9k_htc
usb 1-1.2.4: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980
ath9k_htc 1-1.2.4:1.0: ath9k_htc: Target is unresponsive
ath9k_htc: Failed to initialize the device
usb 1-1.2.4: ath9k_htc: USB layer deinitialized
离线
/nfsroot # ./wpa_supplicant -Dnl80211 -iwlan0 -c /etc/nf &
/nfsroot # Successfully initialized wpa_supplicant
wlan0: SME: Trying to authenticate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="MERCURY_1D0C"
wlan0: SME: Trying to authenticate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: authenticate with e4:f3:f5:49:1d:0c
wlan0: send auth to e4:f3:f5:49:1d:0c (try 1/3)
wlan0: authenticated
wlan0: Trying to associate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: associate with e)
wlan0: RX AssocResp from e4:f3:f5:49:1d:0c (capab=0x431 status=0 aid=5)
wlan0: associated
wlan0: Associated with e4:f3:f5:49:1d:0c
wlan0: WPA: Failed to set PTK to the driver (alg=3 keylen=16 bssid=e4:f3:f5:49:1d:0c)
wlan0: deauthenticating)
wlan0: CTRL-EVENT-DISCONNECTED bssid=e4:f3:f5:49:1d:0c reason=1 locally_generated=1
wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="MERCURY_1D0C" auth_failures=10 duration=9Y
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="MERCURY_1D0C" auth_failures=11 duration=1D
/nfsroot #
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="MERCURY_1D0C"
wlan0: SME: Trying to authenticate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: authenticate with e4:f3:f5:49:1d:0c
wlan0: send auth to e4:f3:f5:49:1d:0c (try 1/3)
wlan0: authenticated
wlan0: Trying to associate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: associate with e)
wlan0: associate with e4:f3:f5:49:1d:0c (try 1/3)
wlan0: RX AssocResp from e4:f3:f5:49:1d:0c (capab=0x431 status=0 aid=5)
wlan0: associated
wlan0: Associated with e4:f3:f5:49:1d:0c
wlan0: WPA: Failed to set PTK to the driver (alg=3 keylen=16 bssid=e4:f3:f5:49:1d:0c)
wlan0: deauthenticating)
wlan0: CTRL-EVENT-DISCONNECTED bssid=e4:f3:f5:49:1d:0c reason=1 locally_generated=1
wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="MERCURY_1D0C" auth_failures=10 duration=9Y
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="MERCURY_1D0C" auth_failures=11 duration=1D
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="MERCURY_1D0C"
wlan0: SME: Trying to authenticate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: authenticate with e4:f3:f5:49:1d:0c
wlan0: send auth to e4:f3:f5:49:1d:0c (try 1/3)
wlan0: authenticated
wlan0: Trying to associate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: associate with e4:f3:f5:49:1d:0c (try 1/3)
wlan0: RX AssocResp from e4:f3:f5:49:1d:0c (capab=0x431 status=0 aid=6)
wlan0: associated
wlan0: Associated with e4:f3:f5:49:1d:0c
wlan0: WPA: Failed to set PTK to the driver (alg=3 keylen=16 bssid=e4:f3:f5:49:1d:0c)
wlan0: deauthenticating)
ath: phy4: Failed to wakeup in 500us
ath: phy4: Failed to wakeup in 500us
wlan0: CTRL-EVENT-DISCONNECTED bssid=e4:f3:f5:49:1d:0c reason=1 locally_generated=1
wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="MERCURY_1D0C" auth_failures=12 duration=1Y
usb 1-1: USB disconnect, device number 6
usb 1-1: ath9k_htc: USB layer deinitialized
usb 1-1: new high-speed USB device number 7 using ehci-platform
usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
usb 1-1: Direct firmware load for ath9k_htc/htc_9271-1.4.0.fw failed with error -2
usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51008
ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4
ath9k_htc 1-1:1.0: FW RMW support: On
ieee80211 phy5: Atheros AR9271 Rev:1
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="MERCURY_1D0C"
wlan0: SME: Trying to authenticate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: authenticate with e4:f3:f5:49:1d:0c
wlan0: send auth to e4:f3:f5:49:1d:0c (try 1/3)
wlan0: authenticated
wlan0: Trying to associate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: associate with e)
wlan0: RX AssocResp from e4:f3:f5:49:1d:0c (capab=0x431 status=0 aid=5)
wlan0: associated
wlan0: Associated with e4:f3:f5:49:1d:0c
wlan0: WPA: Failed to set PTK to the driver (alg=3 keylen=16 bssid=e4:f3:f5:49:1d:0c)
wlan0: deauthenticating)
ath: phy5: Failed to wakeup in 500us
ath: phy5: Failed to wakeup in 500us
wlan0: CTRL-EVENT-DISCONNECTED bssid=e4:f3:f5:49:1d:0c reason=1 locally_generated=1
wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="MERCURY_1D0C" auth_failures=14 duration=1Y
usb 1-1: USB disconnect, device number 7
usb 1-1: ath9k_htc: USB layer deinitialized
usb 1-1: new high-speed USB device number 8 using ehci-platform
usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
usb 1-1: Direct firmware load for ath9k_htc/htc_9271-1.4.0.fw failed with error -2
usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51008
ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4
ath9k_htc 1-1:1.0: FW RMW support: On
ieee80211 phy6: Atheros AR9271 Rev:1
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="MERCURY_1D0C"
wlan0: SME: Trying to authenticate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: authenticate with e4:f3:f5:49:1d:0c
wlan0: send auth to e4:f3:f5:49:1d:0c (try 1/3)
wlan0: authenticated
wlan0: Trying to associate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: associate with e4:f3:f5:49:1d:0c (try 1/3)
wlan0: RX AssocResp from e4:f3:f5:49:1d:0c (capab=0x431 status=0 aid=5)
wlan0: associated
wlan0: Associated with e4:f3:f5:49:1d:0c
wlan0: WPA: Failed to set PTK to the driver (alg=3 keylen=16 bssid=e4:f3:f5:49:1d:0c)
wlan0: deauthenticating)
wlan0: CTRL-EVENT-DISCONNECTED bssid=e4:f3:f5:49:1d:0c reason=1 locally_generated=1
wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="MERCURY_1D0C" auth_failures=16 duration=1Y
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="MERCURY_1D0C"
wlan0: SME: Trying to authenticate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: authenticate with e4:f3:f5:49:1d:0c
wlan0: send auth to e4:f3:f5:49:1d:0c (try 1/3)
wlan0: authenticated
wlan0: Trying to associate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: associate with e4:f3:f5:49:1d:0c (try 1/3)
wlan0: RX AssocResp from e4:f3:f5:49:1d:0c (capab=0x431 status=0 aid=5)
wlan0: associated
wlan0: Associated with e4:f3:f5:49:1d:0c
wlan0: WPA: Failed to set PTK to the driver (alg=3 keylen=16 bssid=e4:f3:f5:49:1d:0c)
wlan0: deauthenticating)
ath: phy6: Failed to wakeup in 500us
ath: phy6: Failed to wakeup in 500us
wlan0: CTRL-EVENT-DISCONNECTED bssid=e4:f3:f5:49:1d:0c reason=1 locally_generated=1
wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="MERCURY_1D0C" auth_failures=18 duration=1Y
usb 1-1: USB disconnect, device number 8
usb 1-1: ath9k_htc: USB layer deinitialized
usb 1-1: new high-speed USB device number 9 using ehci-platform
usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
usb 1-1: Direct firmware load for ath9k_htc/htc_9271-1.4.0.fw failed with error -2
usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51008
ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4
ath9k_htc 1-1:1.0: FW RMW support: On
ieee80211 phy7: Atheros AR9271 Rev:1
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="MERCURY_1D0C"
wlan0: SME: Trying to authenticate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: authenticate with e4:f3:f5:49:1d:0c
wlan0: send auth to e4:f3:f5:49:1d:0c (try 1/3)
wlan0: authenticated
wlan0: Trying to associate with e4:f3:f5:49:1d:0c (SSID='MERCURY_1D0C' freq=2437 MHz)
wlan0: associate with e4:f3:f5:49:1d:0c (try 1/3)
wlan0: RX AssocResp from e4:f3:f5:49:1d:0c (capab=0x431 status=0 aid=5)
wlan0: associated
wlan0: Associated with e4:f3:f5:49:1d:0c
wlan0: WPA: Failed to set PTK to the driver (alg=3 keylen=16 bssid=e4:f3:f5:49:1d:0c)
wlan0: deauthenticating)
ath: phy7: Failed to wakeup in 500us
ath: phy7: Failed to wakeup in 500us
wlan0: CTRL-EVENT-DISCONNECTED bssid=e4:f3:f5:49:1d:0c reason=1 locally_generated=1
wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="MERCURY_1D0C" auth_failures=20 duration=1Y
usb 1-1: USB disconnect, device number 9
usb 1-1: ath9k_htc: USB layer deinitialized
usb 1-1: new high-speed USB device number 10 using ehci-platform
usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
usb 1-1: Direct firmware load for ath9k_htc/htc_9271-1.4.0.fw failed with error -2
usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51008
ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4
ath9k_htc 1-1:1.0: FW RMW support: On
ieee80211 phy8: Atheros AR9271 Rev:1
离线
呵呵,这个很明显是加密认证失败啊,密码不对,或者驱动没有自带加密算法之类的吧.
离线
试了defconfigs下的ath9k_htc,没有生成ath9k_hw.ko………Ubuntu下利用backport能生成x86 Ubuntu的ath9k所需要的ko!
指定了内核路径了吗?嵌入式linux的内核根目录 KLIB_BUILD=? KLIB=?
最近编辑记录 拍打323 (2021-02-19 17:37:15)
离线