TP-LINK WiFi adapter failed after kernel upgrade

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

TP-LINK WiFi adapter failed after kernel upgrade

Postby nickdanger » Mon May 06, 2013 23:51

I have been using a USB connected wireless 802.11n adapter with my desktop PC. After upgrading the kernel (using kernel-switcher) it will no longer communicate. I tested it with another OS, and it is functional. I also tried using another adapter (Belkin Components F5D7050 Wireless G Adapter v4 - USB) and works with the new kernel, but of course, it is a different chipset.

Code: Select all
lsusb
Bus 001 Device 002: ID 0cf3:7015 Atheros Communications, Inc. TP-Link TL-WN821N v3 802.11n [Atheros AR7010+AR9287]


The following modules are loaded:
Code: Select all
 lsmod
Module                  Size  Used by
ipv6                  243841  46
8021q                  14439  0
garp                    4430  1 8021q
stp                     1417  1 garp
mrp                     5272  1 8021q
llc                     3248  2 stp,garp
zfs                   807601  0
zunicode              316296  1 zfs
zavl                    4037  1 zfs
zcommon                28795  1 zfs
joydev                  7936  0
kvm_amd                37224  0
kvm                   204463  1 kvm_amd
zd1211rw               42084  0
ath9k_htc              45154  0
ath9k_common            1825  1 ath9k_htc
ath9k_hw              332394  2 ath9k_common,ath9k_htc
ath                    13348  3 ath9k_common,ath9k_htc,ath9k_hw
mac80211              235239  2 ath9k_htc,zd1211rw
snd_hda_codec_hdmi     23057  1
snd_hda_intel          25560  2
snd_hda_codec          99842  2 snd_hda_codec_hdmi,snd_hda_intel
cfg80211              154987  4 ath,mac80211,ath9k_htc,zd1211rw
snd_hwdep               4638  1 snd_hda_codec
snd_pcm                59023  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          6134  2 snd_pcm,snd_hda_intel
fglrx                5090729  84
hid_logitech_dj         8352  0
microcode              10347  0
sp5100_tco              4800  0
snd_timer              14166  1 snd_pcm
psmouse                64916  0
snd                    46582  10 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
i2c_piix4               8976  0
k10temp                 2440  0
serio_raw               3992  0
pcspkr                  1552  0
r8169                  40104  0
edac_core              28282  0
firewire_ohci          24440  0
firewire_core          43925  1 firewire_ohci
sha512_generic          4817  0
sha1_generic            1846  0
dm_thin_pool           32965  0
dm_bio_prison           3713  1 dm_thin_pool
dm_persistent_data     35828  1 dm_thin_pool
dm_service_time         2605  0
dm_round_robin          2119  0
dm_queue_length         2320  0
dm_multipath           13944  3 dm_round_robin,dm_queue_length,dm_service_time
scsi_dh                 4514  1 dm_multipath
dm_log_userspace        8938  0
dm_flakey               3726  0
dm_delay                3935  0
dm_bufio               12475  1 dm_persistent_data
virtio_ring             4658  0
ablk_helper             1644  0
cryptd                  7022  1 ablk_helper
lrw                     3221  0
xts                     2807  0
gf128mul                5354  2 lrw,xts
aes_x86_64              7279  2
sha256_generic          9613  0
iscsi_tcp               7740  0
tg3                   124997  0
ptp                     6924  1 tg3
pps_core                7760  1 ptp
e1000                 109583  0
fuse                   59683  2
znvpair                42112  2 zfs,zcommon
spl                   107829  5 zfs,zavl,zunicode,zcommon,znvpair
xfs                   427778  0
nfs                   101232  0
lockd                  52757  1 nfs
sunrpc                146356  2 nfs,lockd
jfs                   142801  0
reiserfs              205877  0
ext4                  275271  3
jbd2                   47717  1 ext4
ext3                  108570  0
jbd                    37602  1 ext3
ext2                   54059  0
mbcache                 4610  3 ext2,ext3,ext4
sl811_hcd               8983  0
hid_generic             1081  0
xhci_hcd               75183  0
ohci_hcd               24386  0
uhci_hcd               20441  0
ehci_pci                3728  0
ehci_hcd               39885  1 ehci_pci
sx8                    11013  0
imm                     8788  0
parport                26827  1 imm

The module "ath9k_hw" is the correct driver for the Atheros chipset. I am not sure if this is a bug, or just a local configuration problem.

Kernel Linux 3.9.0-sabayon (x86_64)
Version #1 SMP Thu May 2 21:53:15 UTC 2013
C Library GNU C Library version 2.15 (stable)
Distribution Sabayon Linux amd64 13.06
Processor 4x AMD Phenom(tm) 9600 Quad-Core Processor
Memory 4047MB (1039MB used)

Thank you,
N.D.
Last edited by nickdanger on Tue May 14, 2013 15:03, edited 2 times in total.
nickdanger
Simple Hen
 
Posts: 89
Joined: Mon Aug 10, 2009 4:02

Re: TP-LINK wireless adapter failed after kernel upgrade

Postby Fitzcarraldo » Tue May 07, 2013 17:28

Any error messages in /var/log/messages or in the output of the dmesg command?
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: TP-LINK wireless adapter failed after kernel upgrade

Postby nickdanger » Tue May 07, 2013 20:55

Yes, but of course, very extensive. I will omit the portions that do not pertain to network interface hardware, and the network management modules.
The most suspicious entry is almost halfway down the, /var/log/messages entries. It says:
"May 7 18:37:08 tuxbox NetworkManager[6108]: SCPlugin-Ifnet: Found error: Unknown config for wlp0s18f2u2"
The wireless adapter (wlan0) designation is "wlp0s18f2u2".

Code: Select all
~ $ nano /var/log/messages
May  7 18:37:07 tuxbox kernel: [    3.233262] usb 1-2: new high-speed USB device number 2 using ehci-pci
May  7 18:37:07 tuxbox kernel: [    3.352573] usb 1-2: New USB device found, idVendor=0cf3, idProduct=7015
May  7 18:37:07 tuxbox kernel: [    3.352579] usb 1-2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
May  7 18:37:07 tuxbox kernel: [    3.352582] usb 1-2: Product: USB WLAN
May  7 18:37:07 tuxbox kernel: [    3.352585] usb 1-2: Manufacturer: ATHEROS
May  7 18:37:07 tuxbox kernel: [    3.352587] usb 1-2: SerialNumber: 12345
May  7 18:37:07 tuxbox kernel: [    3.371525] JFS: nTxBlock = 8192, nTxLock = 65536
May  7 18:37:07 tuxbox kernel: [    3.379014] RPC: Registered named UNIX socket transport module.
May  7 18:37:07 tuxbox kernel: [    3.379018] RPC: Registered udp transport module.
May  7 18:37:07 tuxbox kernel: [    3.379019] RPC: Registered tcp transport module.
May  7 18:37:07 tuxbox kernel: [    3.379021] RPC: Registered tcp NFSv4.1 backchannel transport module.
May  7 18:37:07 tuxbox kernel: [    3.387048] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
May  7 18:37:07 tuxbox kernel: [    3.406838] SPL: Loaded module v0.6.1-11_g8bbda8d
May  7 18:37:07 tuxbox kernel: [    3.407281] znvpair: module license 'CDDL' taints kernel.
May  7 18:37:07 tuxbox kernel: [    3.407284] Disabling lock debugging due to kernel taint
May  7 18:37:07 tuxbox kernel: [    3.411946] fuse init (API version 7.21)
May  7 18:37:07 tuxbox kernel: [    3.416035] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
May  7 18:37:07 tuxbox kernel: [    3.416038] e1000: Copyright (c) 1999-2006 Intel Corporation.

May  7 18:37:07 tuxbox kernel: [   11.545071] usb 1-2: ath9k_htc: Firmware htc_7010.fw requested
May  7 18:37:07 tuxbox kernel: [   11.545185] usbcore: registered new interface driver ath9k_htc
May  7 18:37:07 tuxbox kernel: [   11.678276] usb 1-2: ath9k_htc: Transferred FW: htc_7010.fw, size: 72992
May  7 18:37:07 tuxbox kernel: [   11.740614] ath9k_htc 1-2:1.0: ath9k_htc: HTC initialized with 45 credits
May  7 18:37:07 tuxbox kernel: [   11.905761] ath9k_htc 1-2:1.0: ath9k_htc: FW Version: 1.3
May  7 18:37:07 tuxbox kernel: [   11.905767] ath: EEPROM regdomain: 0x809c
May  7 18:37:07 tuxbox kernel: [   11.905769] ath: EEPROM indicates we should expect a country code
May  7 18:37:07 tuxbox kernel: [   11.905772] ath: doing EEPROM country->regdmn map search
May  7 18:37:07 tuxbox kernel: [   11.905773] ath: country maps to regdmn code: 0x52
May  7 18:37:07 tuxbox kernel: [   11.905775] ath: Country alpha2 being used: CN
May  7 18:37:07 tuxbox kernel: [   11.905776] ath: Regpair used: 0x52
May  7 18:37:07 tuxbox kernel: [   11.906098] ieee80211 phy0: Atheros AR9287 Rev:2
May  7 18:37:07 tuxbox kernel: [   11.906111] cfg80211: Calling CRDA for country: CN
May  7 18:37:07 tuxbox kernel: [   11.909736] cfg80211: Regulatory domain changed to country: CN
May  7 18:37:07 tuxbox kernel: [   11.909741] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May  7 18:37:07 tuxbox kernel: [   11.909744] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
May  7 18:37:07 tuxbox kernel: [   11.909746] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)
May  7 18:37:07 tuxbox kernel: [   11.909748] cfg80211:   (57240000 KHz - 59400000 KHz @ 2160000 KHz), (N/A, 2800 mBm)
May  7 18:37:07 tuxbox kernel: [   11.909750] cfg80211:   (59400000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4400 mBm)
May  7 18:37:07 tuxbox kernel: [   11.909752] cfg80211:   (63720000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 2800 mBm)
May  7 18:37:07 tuxbox [   11.973917] systemd-udevd[4469]: renamed network interface wlan0 to wlp0s18f2u2

May  7 18:37:08 tuxbox NetworkManager[6108]: <info> NetworkManager (version 0.9.6.4) is starting...
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> WEXT support is enabled
May  7 18:37:08 tuxbox dbus[5256]: [system] Activating service name='org.freedesktop.NetworkManager' (using servicehelper)
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> VPN: loaded org.freedesktop.NetworkManager.pptp
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> VPN: loaded org.freedesktop.NetworkManager.openvpn
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> VPN: loaded org.freedesktop.NetworkManager.vpnc
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: Initializing!
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: management mode: managed
May  7 18:37:08 tuxbox NetworkManager[6108]: <warn> failed to allocate link cache: (-12) Netlink Error (errno = Operation not supported)
May  7 18:37:08 tuxbox NetworkManager[6108]: <warn> failed to allocate link cache: (-12) Netlink Error (errno = Operation not supported)
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: Loading connections
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: guessed connection type (neversummer) = 802-11-wireless
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: update_connection_setting_from_config_block: name:neversummer, id:neversummer, uuid: 98502de4-5ccf-38c2-f5b1-122a7900eab2
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: Using mode: infrastructure
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: wireless_setting added for neversummer
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: updating wireless security settings (neversummer).
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: Using dhcp dhcp6 method for neversummer
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: DHCP hostname: tuxbox.mydomain.test
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: IPv6 for neversummer enabled, using auto
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: Connection verified neversummer:1
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: guessed connection type (wlp0s18f2u2) = 802-11-wireless
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: update_connection_setting_from_config_block: name:wlp0s18f2u2, id:wlp0s18f2u2, uuid: c5006f7b-7e3c-8dc6-e872-5ccfd54dcefd
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: wireless_setting added for wlp0s18f2u2
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: Found error: Unknown config for wlp0s18f2u2
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: guessed connection type (enp2s0) = 802-3-ethernet
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: update_connection_setting_from_config_block: name:enp2s0, id:enp2s0, uuid: a374f3a1-2ef1-731c-3845-f2b995e6bd02
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: Found error: Unknown config for enp2s0
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: Hostname updated to: tuxbox.mydomain.test
May  7 18:37:08 tuxbox NetworkManager[6108]:    SCPlugin-Ifnet: Initialzation complete!
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> Loaded plugin ifnet: (C) 1999-2010 Gentoo Foundation, Inc. To report bugs please use bugs.gentoo.org with [networkmanager] or [qiaom$
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.

May  7 18:37:08 tuxbox NetworkManager[6108]: <info> trying to start the modem manager...
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> monitoring kernel firmware directory '/lib/firmware'.
May  7 18:37:08 tuxbox dbus[5256]: [system] Activating service name='org.freedesktop.ModemManager' (using servicehelper)
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> Loaded device factory: /usr/lib64/NetworkManager/libnm-device-plugin-wimax.so
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:12.2/usb1/1-2/1-2:1.0/ieee80211/phy0/rfkill0) (driver ath9k$
May  7 18:37:08 tuxbox dbus[5256]: [system] Activating service name='org.bluez' (using servicehelper)
May  7 18:37:08 tuxbox dbus[5256]: [system] Successfully activated service 'org.freedesktop.NetworkManager'
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> WiFi enabled by radio killswitch; enabled by state file
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> WWAN enabled by radio killswitch; enabled by state file
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> WiMAX enabled by radio killswitch; enabled by state file
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> Networking is enabled by state file
May  7 18:37:08 tuxbox NetworkManager[6108]: <warn> failed to allocate link cache: (-12) Netlink Error (errno = Operation not supported)
May  7 18:37:08 tuxbox dbus[5256]: [system] Activated service 'org.bluez' failed: Launch helper exited with unknown return code 1
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  ModemManager (version 0.6.0.0-r1) starting...
May  7 18:37:08 tuxbox dbus[5256]: [system] Successfully activated service 'org.freedesktop.ModemManager'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Option High-Speed'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'AnyData'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Longcheer'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'ZTE'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Wavecom'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Huawei'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Samsung'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Novatel'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Ericsson MBM'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'SimTech'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Nokia'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Sierra'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Gobi'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Linktop'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'X22X'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Option'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'MotoC'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Iridium'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Cinterion'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Loaded plugin 'Generic'
May  7 18:37:08 tuxbox modem-manager[6120]: <info>  Successfully loaded 20 plugins
May  7 18:37:08 tuxbox kernel: [   23.013503] 8021q: 802.1Q VLAN Support v1.8
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (enp2s0): carrier is OFF
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (enp2s0): new Ethernet device (driver: 'r8169' ifindex: 2)
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (enp2s0): exported as /org/freedesktop/NetworkManager/Devices/0
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (enp2s0): now managed
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (enp2s0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (enp2s0): bringing up device.
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (enp2s0): preparing device.
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (enp2s0): deactivating device (reason 'managed') [2]
May  7 18:37:08 tuxbox kernel: [   23.020695] r8169 0000:02:00.0 enp2s0: link down
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> Added default wired connection 'Wired connection 1' for /sys/devices/pci0000:00/0000:00:07.0/0000:02:00.0/$
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (wlp0s18f2u2): using nl80211 for WiFi device control
May  7 18:37:08 tuxbox NetworkManager[6108]: <warn> (wlp0s18f2u2): driver supports Access Point (AP) mode
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (wlp0s18f2u2): new 802.11 WiFi device (driver: 'ath9k_htc' ifindex: 3)
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (wlp0s18f2u2): exported as /org/freedesktop/NetworkManager/Devices/1
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (wlp0s18f2u2): now managed
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (wlp0s18f2u2): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (wlp0s18f2u2): bringing up device.
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (wlp0s18f2u2): preparing device.
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> (wlp0s18f2u2): deactivating device (reason 'managed') [2]
May  7 18:37:08 tuxbox dbus[5256]: [system] Activating service name='fi.w1.wpa_supplicant1' (using servicehelper)
May  7 18:37:08 tuxbox NetworkManager[6108]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
May  7 18:37:08 tuxbox NetworkManager[6108]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
May  7 18:37:08 tuxbox NetworkManager[6108]: <info> NetworkManager is running with OpenRC...
May  7 18:37:09 tuxbox dbus[5256]: [system] Successfully activated service 'fi.w1.wpa_supplicant1'
May  7 18:37:09 tuxbox NetworkManager[6108]: <warn> bluez error getting default adapter: Launch helper exited with unknown return code 1
May  7 18:37:09 tuxbox NetworkManager[6108]: <info> modem-manager is now available
May  7 18:37:09 tuxbox NetworkManager[6108]: <info> wpa_supplicant started
May  7 18:37:09 tuxbox NetworkManager[6108]: <info> (wlp0s18f2u2) supports 4 scan SSIDs
May  7 18:37:09 tuxbox NetworkManager[6108]: <info> (wlp0s18f2u2): supplicant interface state: starting -> readyMay  7 18:37:09 tuxbox NetworkManager[6108]: <$
May  7 18:37:09 tuxbox NetworkManager[6108]: <warn> Trying to remove a non-existant call id.
May  7 18:37:09 tuxbox NetworkManager[6108]: <info> (wlp0s18f2u2): supplicant interface state: ready -> disconnected
May  7 18:37:09 tuxbox NetworkManager[6108]: <info> (wlp0s18f2u2) supports 4 scan SSIDs
May  7 18:37:10 tuxbox gdm-simple-slave[5995]: WARNING: Failed to give slave programs access to the display. Trying to proceed.
May  7 18:37:10 tuxbox NetworkManager[6108]: <info> (wlp0s18f2u2): supplicant interface state: disconnected -> inactive
May  7 18:37:10 tuxbox /etc/init.d/NetworkManager[6081]: WARNING: NetworkManager has started, but is inactive
May  7 18:37:13 tuxbox avahi-daemon[6252]: Found user 'avahi' (UID 108) and group 'avahi' (GID 444).
May  7 18:37:13 tuxbox avahi-daemon[6252]: Successfully dropped root privileges.
May  7 18:37:13 tuxbox avahi-daemon[6252]: avahi-daemon 0.6.30 starting up.
May  7 18:37:13 tuxbox avahi-daemon[6252]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
May  7 18:37:13 tuxbox avahi-daemon[6252]: Successfully called chroot().
May  7 18:37:13 tuxbox avahi-daemon[6252]: Successfully dropped remaining capabilities.
May  7 18:37:13 tuxbox avahi-daemon[6253]: chroot.c: open() failed: No such file or directory
May  7 18:37:13 tuxbox avahi-daemon[6252]: Failed to open /etc/resolv.conf: Invalid argument
May  7 18:37:13 tuxbox dbus[5256]: [system] Activating service name='org.freedesktop.Accounts' (using servicehelper)
May  7 18:37:13 tuxbox avahi-daemon[6252]: Loading service file /services/sftp-ssh.service.
May  7 18:37:13 tuxbox avahi-daemon[6252]: Loading service file /services/ssh.service.
May  7 18:37:13 tuxbox accounts-daemon[6256]: started daemon version 0.6.31
May  7 18:37:13 tuxbox dbus[5256]: [system] Successfully activated service 'org.freedesktop.Accounts'
May  7 18:37:13 tuxbox kernel: [   27.988676] NET: Registered protocol family 10
May  7 18:37:13 tuxbox kernel: [   27.988932] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
May  7 18:37:13 tuxbox kernel: [   27.988967] IPv6: ADDRCONF(NETDEV_UP): wlp0s18f2u2: link is not ready
May  7 18:37:13 tuxbox avahi-daemon[6252]: Network interface enumeration completed.
May  7 18:37:13 tuxbox avahi-daemon[6252]: Registering HINFO record with values 'X86_64'/'LINUX'.
May  7 18:37:13 tuxbox avahi-daemon[6252]: Server startup complete. Host name is tuxbox.local. Local service cookie is 4020369622.
May  7 18:37:13 tuxbox avahi-daemon[6252]: Service "tuxbox" (/services/ssh.service) successfully established.
May  7 18:37:13 tuxbox avahi-daemon[6252]: Service "tuxbox" (/services/sftp-ssh.service) successfully established.
May  7 18:37:14 tuxbox gdm-launch-environment][6250]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0)
May  7 18:37:14 tuxbox gdm-launch-environment][6250]: pam_ck_connector(gdm-launch-environment:session): nox11 mode, ignoring PAM_TTY :0
May  7 18:37:15 tuxbox rpc.statd[6446]: Version 1.2.7 starting
May  7 18:37:16 tuxbox ntpd[6512]: ntpd [email protected] Thu Apr 18 05:38:18 UTC 2013 (1)
May  7 18:37:16 tuxbox ntpd[6528]: proto: precision = 0.104 usec
May  7 18:37:16 tuxbox ntpd[6528]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
May  7 18:37:16 tuxbox ntpd[6528]: Listen and drop on 1 v6wildcard :: UDP 123
May  7 18:37:16 tuxbox ntpd[6528]: Listen normally on 2 lo 127.0.0.1 UDP 123
May  7 18:37:16 tuxbox ntpd[6528]: Listen normally on 3 lo ::1 UDP 123
May  7 18:37:16 tuxbox ntpd[6528]: peers refreshed
May  7 18:37:16 tuxbox ntpd[6528]: Listening on routing socket on fd #20 for interface updates

and

Code: Select all
~ $ dmesg
[    3.180233] ohci_hcd 0000:00:14.5: irq 18, io mem 0xfe8f9000
[    3.234895] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    3.234897] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.234899] usb usb7: Product: OHCI Host Controller
[    3.234902] usb usb7: Manufacturer: Linux 3.9.0-sabayon ohci_hcd
[    3.234904] usb usb7: SerialNumber: 0000:00:14.5
[    3.234979] hub 7-0:1.0: USB hub found
[    3.234989] hub 7-0:1.0: 2 ports detected
[    3.236872] usb 1-2: new high-speed USB device number 2 using ehci-pci
[    3.356085] usb 1-2: New USB device found, idVendor=0cf3, idProduct=7015
[    3.356089] usb 1-2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[    3.356092] usb 1-2: Product: USB WLAN
[    3.356094] usb 1-2: Manufacturer: ATHEROS
[    3.356096] usb 1-2: SerialNumber: 12345
[    3.375126] JFS: nTxBlock = 8192, nTxLock = 65536
[    3.382599] RPC: Registered named UNIX socket transport module.
[    3.382603] RPC: Registered udp transport module.
[    3.382605] RPC: Registered tcp transport module.
[    3.382606] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.390667] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
[    3.410448] SPL: Loaded module v0.6.1-11_g8bbda8d
[    3.410858] znvpair: module license 'CDDL' taints kernel.
[    3.410861] Disabling lock debugging due to kernel taint
[    3.415409] fuse init (API version 7.21)
[    3.419510] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    3.419513] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    3.422449] pps_core: LinuxPPS API ver. 1 registered
[    3.422452] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    3.422624] PTP clock support registered
[    3.432526] iscsi: registered transport (tcp)
[    3.458427] virtio: Unknown parameter `virtio'
[    3.471460] virtio: Unknown parameter `virtio'
[    3.479252] virtio_balloon: Unknown symbol register_virtio_driver (err 0)
[    3.479280] virtio_balloon: Unknown symbol unregister_virtio_driver (err 0)
[    3.479311] virtio_balloon: Unknown symbol virtio_check_driver_offered_feature (err 0)

[   10.200631] cfg80211: Calling CRDA to update world regulatory domain
[   10.238523] usb 1-2: ath9k_htc: Firmware htc_7010.fw requested
[   10.238567] usbcore: registered new interface driver ath9k_htc
[   10.442715] cfg80211: World regulatory domain updated:
[   10.442720] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.442723] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.442725] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.442727] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.442729] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.442731] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)

[   10.741006] usb 1-2: ath9k_htc: Transferred FW: htc_7010.fw, size: 72992
[   10.801318] kvm: Nested Virtualization enabled
[   10.801322] kvm: Nested Paging enabled
[   10.803088] ath9k_htc 1-2:1.0: ath9k_htc: HTC initialized with 45 credits
[   10.842310] Error: Driver 'pcspkr' is already registered, aborting...
[   10.969236] ath9k_htc 1-2:1.0: ath9k_htc: FW Version: 1.3
[   10.969242] ath: EEPROM regdomain: 0x809c
[   10.969244] ath: EEPROM indicates we should expect a country code
[   10.969247] ath: doing EEPROM country->regdmn map search
[   10.969249] ath: country maps to regdmn code: 0x52
[   10.969250] ath: Country alpha2 being used: CN
[   10.969251] ath: Regpair used: 0x52
[   10.969574] ieee80211 phy0: Atheros AR9287 Rev:2
[   10.969585] cfg80211: Calling CRDA for country: CN
[   10.973392] cfg80211: Regulatory domain changed to country: CN
[   10.973396] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.973399] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   10.973401] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[   10.973403] cfg80211:   (57240000 KHz - 59400000 KHz @ 2160000 KHz), (N/A, 2800 mBm)
[   10.973405] cfg80211:   (59400000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4400 mBm)
[   10.973407] cfg80211:   (63720000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 2800 mBm)
[   10.991844] systemd-udevd[4469]: renamed network interface wlan0 to wlp0s18f2u2

[   22.731543] 8021q: 802.1Q VLAN Support v1.8
[   22.738422] r8169 0000:02:00.0 enp2s0: link down
[   27.665157] NET: Registered protocol family 10
[   27.665436] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[   27.665471] IPv6: ADDRCONF(NETDEV_UP): wlp0s18f2u2: link is not ready


Thank you,
N.D.
nickdanger
Simple Hen
 
Posts: 89
Joined: Mon Aug 10, 2009 4:02

Re: TP-LINK wireless adapter failed after kernel upgrade

Postby Fitzcarraldo » Tue May 07, 2013 21:23

Is your installation using the unholy new udev interface naming scheme, or the 'traditional' interface naming scheme? From your dmesg output it looks like it is using the new scheme for the USB WiFi device. Do you have a file /etc/udev/rules.d/80-net-name-slot.rules containing only comments, and does the command ifconfig show interfaces as e.g. 'eth0' and 'wlan0' or does it instead show interfaces as e.g. 'enp3s0' and 'wlp6s0'?

Code: Select all
aspire5536 fitzcarraldo # udevadm test-builtin net_id /sys/class/net/eth0 2>/dev/null
ID_NET_NAME_MAC=enx001f16a6b211
ID_OUI_FROM_DATABASE=Wistron Corporation
ID_NET_NAME_PATH=enp3s0
aspire5536 fitzcarraldo # udevadm test-builtin net_id /sys/class/net/wlan0 2>/dev/null
ID_NET_NAME_MAC=wlx0017c488066d
ID_OUI_FROM_DATABASE=Quanta Microsystems, INC.
ID_NET_NAME_PATH=wlp6s0

If you don't have the file /etc/udev/rules.d/80-net-name-slot.rules then create it containing only comments, such as:

Code: Select all
# I don't want to switch to the new udev naming scheme.
# http://forums.gentoo.org/viewtopic-t-948718.html
# End of file.

Also check what files and symlinks you have in the directory /etc/init.d/ (are they using the traditional interface names or the new naming scheme?).

Are you using OpenRC or have you switched to systemd?

If you want to see the chaos this upstream change in the naming scheme has caused in Gentoo circles lately, visit the Gentoo Forums and enter the keywords "udev persistent" into the search box :roll:. Users of pre-canned distributions such as SL are more or less oblivious because the developers manage to shield a lot of this from the users, i.e. protect the users, but users of source distributions such as Gentoo suffer the consequences. You won't find many Gentoo users who are happy with this change from upstream.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: TP-LINK wireless adapter failed after kernel upgrade

Postby nickdanger » Wed May 08, 2013 1:02

My last re-install did things differently than what I am used to. I saw packages and archives I do not remember seeing before being "multi-fetched" and loaded. After switching kernels to 3.9.0, I got many more packages, and then when I finished the switch with equo deptest, I got a great many more. So I rebooted and the TP-Link/Atheros Wifi would not connect. After plugging in the Belkin Wifi adapter to replace the one not working, it connected to the net, and RIGO promptly decided I needed a few hundred more file updates. Maybe my freshly made install disk was creating a ZOMBIE machine for a BOT net, but probably not.
Code: Select all
 # ifconfig
enp2s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:e0:4d:b8:b2:c2  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 72  bytes 6800 (6.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 72  bytes 6800 (6.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp0s18f2u5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.102  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::217:3fff:feff:413  prefixlen 64  scopeid 0x20<link>
        ether 00:17:3f:ff:04:13  txqueuelen 1000  (Ethernet)
        RX packets 403299  bytes 598303346 (570.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 269387  bytes 25108493 (23.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

"wlp0s18f2u5" is my other (Belkin) USB wifi adapter that is working. I think "enp2s0" must be the (unused) wired NIC. I can find no "udevadm" utility for Gentoo, so I cannot display the output from it.
Code: Select all
 cd /etc/udev/rules.d/
tuxbox rules.d # ls
60-fprint-autosuspend.rules  70-persistent-net.rules

I created 80-net-name-slot.rules in /etc/udev/rules.d/ as you indicated.
Code: Select all
tuxbox / # cd /etc/init.d/
tuxbox init.d # ls
acpid             lvm-monitoring        pcscd
alsasound         mdadm                 postfix
atieventsd        mdraid                procfs
avahi-daemon      mit-krb5kadmind       pwcheck
avahi-dnsconfd    mit-krb5kdc           pydoc-2.7
bbswitch-setup    mit-krb5kpropd        reboot.sh
bluetooth         modules               rfcomm
bootmisc          mount-ro              root
bumblebee         mtab                  rpcbind
busybox-ntpd      multipath             rpc.gssd
busybox-watchdog  multipathd            rpc.idmapd
cdeject           mysql                 rpc.pipefs
consolefont       net.aol               rpc.statd
consolekit        net.ath0              rpc.svcgssd
cpufrequtils      net.ath1              rsyncd
crypto-loop       net.ath2              sabayonlive
cups-browsed      net.ath3              sabayon-mce
cupsd             net.ath4              samba
dbus              net.eth0              saned
devfs             net.eth1              saslauthd
device-mapper     net.eth2              savecache
dhcpcd            net.eth3              shutdown.sh
dhcpd             net.eth4              slapd
dhcrelay          net.eth5              slpd
dhcrelay6         net.eth6              smartd
dmcrypt           net.eth7              snmpd
dmesg             net.eth8              snmptrapd
dmeventd          net.lo                sshd
dnsmasq           netmount              swap
fancontrol        net.ppp0              swapfiles
fbcondecor        net.ppp1              swclock
fsck              net.ppp2              sysctl
functions.sh      net.ppp3              sysfs
fuse              net.ra0               syslog-ng
git-daemon        net.ra1               system-tools-backends
gpm               net.ra2               termencoding
hdparm            net.ra3               timidity
hostname          net.ra4               tmpfiles.setup
hwclock           net.ra5               udev
installer-gui     net.wlan0             udev-mount
installer-text    net.wlan1             ufw
ip6tables         net.wlan2             urandom
iptables          net.wlan3             vgl
irexec            NetworkManager        virtualbox-guest-additions
iscsid            NetworkManager-setup  vixie-cron
keymaps           nfs                   vpnc
killprocs         nfsmount              wimax
lircd             nscd                  wpa_supplicant
lircmd            ntp-client            xdm
lldpad            ntpd                  xdm-setup
lm_sensors        numlock               x-setup
local             openrc-settingsd      zfs
localmount        openvpn
lvm               pciparm

Looks like I am still using OpenRC
Code: Select all
tuxbox / # eselect sysvinit list
Available sysvinit implementations:
  [1]   systemd
  [2]   sysvinit *
tuxbox / # eselect settingsd list
Available settingsd implementations:
  [1]   openrc *
  [2]   systemd


Thank you again,
N.D.
nickdanger
Simple Hen
 
Posts: 89
Joined: Mon Aug 10, 2009 4:02

Re: TP-LINK wireless adapter failed after kernel upgrade

Postby Fitzcarraldo » Wed May 08, 2013 1:12

nickdanger wrote:Maybe my freshly made install disk was creating a ZOMBIE machine for a BOT net, but probably not.

No, it was just lxnay et al doing some clever stuff to take into account all the complicated changes recently (including the change in udev).

Anyway, with that file /etc/udev/rules.d/80-net-name-slot.rules you should now be back to the 'old' naming convention (eth0 for wired, and wlan0 for wireless) when you use the ifconfig command. Is that what you are now experiencing (after rebooting)? Is the TP-LINK USB wireless adapter working again (after rebooting)?
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: TP-LINK wireless adapter failed after kernel upgrade

Postby nickdanger » Wed May 08, 2013 3:23

Yes and no, The /etc/udev/rules.d/80-net-name-slot.rules file did change the names back to eth0 and wlan0 as expected. I still have the 3.7.0 kernel installed, and if I boot to it, the TP-Link wireless adapter is fully functional. When I boot the 3.9.0 kernel it does not work. I am thinking a bug report may be required, but before I do that, I would like to find another user with the same problem, or find exactly where the problem originates. I am not sure any of the developers have a Atheros chip set wireless adapter for testing.
nickdanger
Simple Hen
 
Posts: 89
Joined: Mon Aug 10, 2009 4:02

Re: TP-LINK wireless adapter failed after kernel upgrade

Postby Fitzcarraldo » Wed May 08, 2013 3:34

I'm using the weekly Entropy repository on this particular laptop with an Atheros WiFi adapter (PCIe, not USB) so do not yet have the 3.9.x kernel and therefore cannot be of much help to you there. It's working fine with the 3.8.x kernel though:

Code: Select all
aspire5536 fitzcarraldo # lspci | grep -i atheros
06:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
aspire5536 fitzcarraldo # lsmod | grep ath
ath9k                  77754  0
ath9k_common            1825  1 ath9k
ath9k_hw              319637  2 ath9k_common,ath9k
ath                    13268  3 ath9k_common,ath9k,ath9k_hw
mac80211              221909  1 ath9k
cfg80211              145999  3 ath,ath9k,mac80211
dm_multipath           13928  3 dm_round_robin,dm_queue_length,dm_service_time
scsi_dh                 4514  1 dm_multipath
aspire5536 fitzcarraldo # equo search linux-sabayon
>>  @@ Searching...
>>      @@ Package: sys-kernel/linux-sabayon-3.2-r13 branch: 5, [sabayonlinux.org]
>>         Available:     version: 3.2-r13 ~ tag: NoTag ~ revision: 1
>>         Installed:     version: Not installed ~ tag: N/A ~ revision: N/A
>>         Slot:          3.2
>>         Homepage:      http://gitweb.sabayon.org/?p=linux/kernel/sabayon.git;a=summary
>>         Description:   Official Sabayon Linux Standard
>>                        kernel image
>>         License:       GPL-2 freedist
>>      @@ Package: sys-kernel/linux-sabayon-3.3-r4 branch: 5, [sabayonlinux.org]
>>         Available:     version: 3.3-r4 ~ tag: NoTag ~ revision: 1
>>         Installed:     version: Not installed ~ tag: N/A ~ revision: N/A
>>         Slot:          3.3
>>         Homepage:      http://gitweb.sabayon.org/?p=linux/kernel/sabayon.git;a=summary
>>         Description:   Official Sabayon Linux Standard
>>                        kernel image
>>         License:       GPL-2 freedist
>>      @@ Package: sys-kernel/linux-sabayon-3.4-r6 branch: 5, [sabayonlinux.org]
>>         Available:     version: 3.4-r6 ~ tag: NoTag ~ revision: 0
>>         Installed:     version: Not installed ~ tag: N/A ~ revision: N/A
>>         Slot:          3.4
>>         Homepage:      http://gitweb.sabayon.org/?p=linux/kernel/sabayon.git;a=summary
>>         Description:   Official Sabayon Linux Standard
>>                        kernel image
>>         License:       GPL-2 freedist
>>      @@ Package: sys-kernel/linux-sabayon-3.5-r7 branch: 5, [sabayonlinux.org]
>>         Available:     version: 3.5-r7 ~ tag: NoTag ~ revision: 1
>>         Installed:     version: Not installed ~ tag: N/A ~ revision: N/A
>>         Slot:          3.5
>>         Homepage:      http://gitweb.sabayon.org/?p=linux/kernel/sabayon.git;a=summary
>>         Description:   Official Sabayon Linux Standard
>>                        kernel image
>>         License:       GPL-2 freedist
>>      @@ Package: sys-kernel/linux-sabayon-3.6-r3 branch: 5, [sabayonlinux.org]
>>         Available:     version: 3.6-r3 ~ tag: NoTag ~ revision: 1
>>         Installed:     version: Not installed ~ tag: N/A ~ revision: N/A
>>         Slot:          3.6
>>         Homepage:      http://gitweb.sabayon.org/?p=linux/kernel/sabayon.git;a=summary
>>         Description:   Official Sabayon Linux Standard
>>                        kernel image
>>         License:       GPL-2 freedist
>>      @@ Package: sys-kernel/linux-sabayon-3.7.10 branch: 5, [sabayonlinux.org]
>>         Available:     version: 3.7.10 ~ tag: NoTag ~ revision: 1
>>         Installed:     version: Not installed ~ tag: N/A ~ revision: N/A
>>         Slot:          3.7
>>         Homepage:      http://gitweb.sabayon.org/?p=linux/kernel/sabayon.git;a=summary
>>         Description:   Official Sabayon Linux Standard
>>                        kernel image
>>         License:       GPL-2 freedist
>>      @@ Package: sys-kernel/linux-sabayon-3.8.8 branch: 5, [sabayonlinux.org]
>>         Available:     version: 3.8.8 ~ tag: NoTag ~ revision: 5
>>         Installed:     version: 3.8.8 ~ tag: NoTag ~ revision: 5
>>         Slot:          3.8
>>         Homepage:      http://gitweb.sabayon.org/?p=linux/kernel/sabayon.git;a=summary
>>         Description:   Official Sabayon Linux Standard
>>                        kernel image
>>         License:       GPL-2 freedist
>>  Keywords:  linux-sabayon
>>  Found:     7 entries
aspire5536 fitzcarraldo # ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:1f:16:a6:b2:11  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 494842  bytes 836925208 (798.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 494842  bytes 836925208 (798.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.72  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::217:c4ff:fe88:66d  prefixlen 64  scopeid 0x20<link>
        ether 00:17:c4:88:06:6d  txqueuelen 1000  (Ethernet)
        RX packets 470795  bytes 588435460 (561.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 245605  bytes 42752711 (40.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

aspire5536 fitzcarraldo #
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: TP-LINK wireless adapter failed after kernel upgrade

Postby Fitzcarraldo » Wed May 08, 2013 3:59

Just a thought: I'm not sure if your model of Atheros chipset requires separate firmware to be installed (some Atheros chips do not). Have you installed/re-installed the linux-firmware package? Give it a try as it won't do any harm. Reboot afterwards, of course.

Code: Select all
# equo install linux-firmware
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: TP-LINK wireless adapter failed after kernel upgrade

Postby Fitzcarraldo » Wed May 08, 2013 4:40

Just did an equo update and found that the 3.9.x kernel is available to me after all, so I did the full upgrade and also switched to the latest kernel and rebooted, and wireless is still working with the ath9k driver for this chipset:

Code: Select all
aspire5536 fitzcarraldo # uname -a
Linux aspire5536 3.9.0-sabayon #1 SMP Thu May 2 21:53:15 UTC 2013 x86_64 AMD Athlon(tm) X2 Dual-Core QL-64 AuthenticAMD GNU/Linux
aspire5536 fitzcarraldo # equo search linux-sabayon-3.9
>>  @@ Searching...
>>      @@ Package: sys-kernel/linux-sabayon-3.9-r3 branch: 5, [sabayonlinux.org]
>>         Available:     version: 3.9-r3 ~ tag: NoTag ~ revision: 0
>>         Installed:     version: 3.9-r3 ~ tag: NoTag ~ revision: 0
>>         Slot:          3.9
>>         Homepage:      http://gitweb.sabayon.org/?p=linux/kernel/sabayon.git;a=summary
>>         Description:   Official Sabayon Linux Standard
>>                        kernel image
>>         License:       GPL-2 freedist
>>  Keywords:  linux-sabayon-3.9
>>  Found:     1 entry
aspire5536 fitzcarraldo # ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:1f:16:a6:b2:11  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 146  bytes 12340 (12.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 146  bytes 12340 (12.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.72  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::217:c4ff:fe88:66d  prefixlen 64  scopeid 0x20<link>
        ether 00:17:c4:88:06:6d  txqueuelen 1000  (Ethernet)
        RX packets 338  bytes 96858 (94.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 425  bytes 84515 (82.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

aspire5536 fitzcarraldo # lsmod | grep ath
ath9k                  76798  0
ath9k_common            1825  1 ath9k
ath9k_hw              332394  2 ath9k_common,ath9k
ath                    13348  3 ath9k_common,ath9k,ath9k_hw
mac80211              235239  1 ath9k
cfg80211              154987  3 ath,ath9k,mac80211
dm_multipath           13944  3 dm_round_robin,dm_queue_length,dm_service_time
scsi_dh                 4514  1 dm_multipath
aspire5536 fitzcarraldo #

That's probably about as much information as I can provide at the moment without access to your specific model of WiFi adapter.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Next

Return to Hardware

Who is online

Users browsing this forum: No registered users and 5 guests