LINUX.ORG.RU
ФорумAdmin

Помогите найти ошибку в syslog и messages

 


0

1

Вот, что у меня получилось. Пока, я только нашёл где момент падения wlan0, но не понял из-за чего.

syslog

Dec 13 09:29:47 localhost kernel: [ 1437.802117] hub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...
Dec 13 09:29:47 localhost kernel: [ 1437.802127] usb 1-1: USB disconnect, device number 2
Dec 13 09:29:47 localhost wpa_supplicant[3107]: wlan0: CTRL-EVENT-DISCONNECTED bssid=1*:**:**:**:**:** reason=3
Dec 13 09:29:47 localhost kernel: [ 1437.805526] wlan0: deauthenticating from 1*:**:**:**:**:** by local choice (reason=3)
Dec 13 09:29:47 localhost kernel: [ 1437.864208] cfg80211: Calling CRDA to update world regulatory domain
Dec 13 09:29:47 localhost kernel: [ 1437.874288] ath: Failed to wakeup in 500us
Dec 13 09:29:47 localhost avahi-daemon[2618]: Interface wlan0.IPv6 no longer relevant for mDNS.
Dec 13 09:29:47 localhost avahi-daemon[2618]: Leaving mDNS multicast group on interface wlan0.IPv6 with address 2***:****:****:*:***:****:****:****.
Dec 13 09:29:47 localhost avahi-daemon[2618]: Interface wlan0.IPv4 no longer relevant for mDNS.
Dec 13 09:29:47 localhost avahi-daemon[2618]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 3**.***.*.**.
Dec 13 09:29:47 localhost dhclient: receive_packet failed on wlan0: Network is down
Dec 13 09:29:47 localhost avahi-daemon[2618]: IP_DROP_MEMBERSHIP failed: No such device
Dec 13 09:29:47 localhost avahi-daemon[2618]: Withdrawing address record for 2***:****:****:*:***:****:****:**** on wlan0.
Dec 13 09:29:47 localhost avahi-daemon[2618]: Withdrawing address record for 3**.***.*.** on wlan0.
Dec 13 09:29:47 localhost avahi-daemon[2618]: Withdrawing workstation service for wlan0.
Dec 13 09:29:47 localhost kernel: [ 1438.157030] cfg80211: World regulatory domain updated:
Dec 13 09:29:47 localhost kernel: [ 1438.157037] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Dec 13 09:29:47 localhost kernel: [ 1438.157044] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.157050] cfg80211:     (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.157057] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.157063] cfg80211:     (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.157068] cfg80211:     (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.157073] cfg80211:     (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.157078] cfg80211:     (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.157083] cfg80211:     (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
Dec 13 09:29:47 localhost NetworkManager[2692]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/net/wlan0, iface: wlan0)
Dec 13 09:29:47 localhost NetworkManager[2692]: <info> (wlan0): now unmanaged
Dec 13 09:29:47 localhost NetworkManager[2692]: <info> (wlan0): device state change: activated -> unmanaged (reason 'removed') [100 10 36]
Dec 13 09:29:47 localhost NetworkManager[2692]: <info> (wlan0): deactivating device (reason 'removed') [36]
Dec 13 09:29:47 localhost wpa_supplicant[3107]: wlan0: Failed to initiate AP scan
Dec 13 09:29:47 localhost kernel: [ 1438.222810] usb 1-1: ath9k_htc: USB layer deinitialized
Dec 13 09:29:47 localhost NetworkManager[2692]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 3682
Dec 13 09:29:47 localhost NetworkManager[2692]: <warn> (2) failed to find interface name for index
Dec 13 09:29:47 localhost NetworkManager[2692]: <warn> (wlan0): failed to reset MAC address to 4*:**:**:**:**:**
Dec 13 09:29:47 localhost NetworkManager[2692]: <warn> (2) failed to find interface name for index
Dec 13 09:29:47 localhost NetworkManager[2692]: nm_system_iface_flush_routes: assertion `iface != NULL' failed
Dec 13 09:29:47 localhost NetworkManager[2692]: <warn> (2) failed to find interface name for index
Dec 13 09:29:47 localhost NetworkManager[2692]: <info> (wlan0): cleaning up...
Dec 13 09:29:47 localhost NetworkManager[2692]: <warn> (2) failed to find interface name for index
Dec 13 09:29:47 localhost NetworkManager[2692]: (nm-system.c:685):nm_system_iface_get_flags: runtime check failed: (iface != NULL)
Dec 13 09:29:47 localhost NetworkManager[2692]: <error> [1418462987.788271] [nm-system.c:687] nm_system_iface_get_flags(): (unknown): failed to get interface link object
Dec 13 09:29:47 localhost NetworkManager[2692]: <info> radio killswitch /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/ieee80211/phy0/rfkill0 disappeared
Dec 13 09:29:47 localhost wpa_supplicant[3107]: Could not read interface wlan0 flags: No such device
Dec 13 09:29:47 localhost dbus[2454]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Dec 13 09:29:47 localhost dbus[2454]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Dec 13 09:29:47 localhost kernel: [ 1438.460172] usb 1-1: new high-speed USB device number 4 using ehci_hcd
Dec 13 09:29:53 localhost kernel: [ 1443.609940] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271
Dec 13 09:29:53 localhost kernel: [ 1443.609947] usb 1-1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
Dec 13 09:29:53 localhost kernel: [ 1443.609952] usb 1-1: Product: USB2.0 WLAN
Dec 13 09:29:53 localhost kernel: [ 1443.609956] usb 1-1: Manufacturer: ATHEROS
Dec 13 09:29:53 localhost kernel: [ 1443.609959] usb 1-1: SerialNumber: 12345
Dec 13 09:29:53 localhost kernel: [ 1443.617326] usb 1-1: firmware: agent loaded htc_9271.fw into memory
Dec 13 09:29:53 localhost kernel: [ 1443.902525] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
Dec 13 09:29:53 localhost kernel: [ 1444.138510] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
Dec 13 09:29:53 localhost kernel: [ 1444.337487] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
Dec 13 09:29:53 localhost kernel: [ 1444.337493] ath: EEPROM regdomain: 0x809c
Dec 13 09:29:53 localhost kernel: [ 1444.337496] ath: EEPROM indicates we should expect a country code
Dec 13 09:29:53 localhost kernel: [ 1444.337500] ath: doing EEPROM country->regdmn map search
Dec 13 09:29:53 localhost kernel: [ 1444.337503] ath: country maps to regdmn code: 0x52
Dec 13 09:29:53 localhost kernel: [ 1444.337506] ath: Country alpha2 being used: CN
Dec 13 09:29:53 localhost kernel: [ 1444.337509] ath: Regpair used: 0x52
Dec 13 09:29:53 localhost kernel: [ 1444.341754] ieee80211 phy1: Atheros AR9271 Rev:1
Dec 13 09:29:53 localhost kernel: [ 1444.341764] cfg80211: Calling CRDA for country: CN
Dec 13 09:29:53 localhost kernel: [ 1444.342572] Registered led device: ath9k_htc-phy1
Dec 13 09:29:53 localhost kernel: [ 1444.342582] usb 1-1: ath9k_htc: USB layer initialized
Dec 13 09:29:53 localhost kernel: [ 1444.348964] cfg80211: Regulatory domain changed to country: CN
Dec 13 09:29:53 localhost kernel: [ 1444.348969] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Dec 13 09:29:53 localhost kernel: [ 1444.348975] cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:53 localhost kernel: [ 1444.348979] cfg80211:     (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2300 mBm)
Dec 13 09:29:53 localhost kernel: [ 1444.348984] cfg80211:     (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm)
Dec 13 09:29:53 localhost kernel: [ 1444.348988] cfg80211:     (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm)
Dec 13 09:29:53 localhost kernel: [ 1444.348993] cfg80211:     (57240000 KHz - 59400000 KHz @ 2160000 KHz), (N/A, 2800 mBm)
Dec 13 09:29:53 localhost kernel: [ 1444.348997] cfg80211:     (59400000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4400 mBm)
Dec 13 09:29:53 localhost kernel: [ 1444.349001] cfg80211:     (63720000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 2800 mBm)
Dec 13 09:29:53 localhost NetworkManager[2692]: <info> found WiFi radio killswitch rfkill1 (at /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/ieee80211/phy1/rfkill1) (driver (unknown))
Dec 13 09:29:53 localhost NetworkManager[2692]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/net/wlan0, iface: wlan0)
Dec 13 09:29:53 localhost NetworkManager[2692]:    SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/net/wlan0, iface: wlan0): no ifupdown configuration found.
Dec 13 09:29:53 localhost NetworkManager[2692]: <info> (wlan0): using nl80211 for WiFi device control
Dec 13 09:29:53 localhost NetworkManager[2692]: <warn> (wlan0): driver supports Access Point (AP) mode
Dec 13 09:29:53 localhost NetworkManager[2692]: <info> (wlan0): new 802.11 WiFi device (driver: 'ath9k_htc' ifindex: 3)
Dec 13 09:29:53 localhost NetworkManager[2692]: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1
Dec 13 09:29:53 localhost NetworkManager[2692]: <info> (wlan0): now managed
Dec 13 09:29:53 localhost NetworkManager[2692]: <info> (wlan0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Dec 13 09:29:53 localhost NetworkManager[2692]: <info> (wlan0): bringing up device.
Dec 13 09:29:53 localhost kernel: [ 1444.583359] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Dec 13 09:29:53 localhost NetworkManager[2692]: <info> (wlan0): preparing device.
Dec 13 09:29:53 localhost NetworkManager[2692]: <info> (wlan0): deactivating device (reason 'managed') [2]
Dec 13 09:29:54 localhost NetworkManager[2692]: <info> (wlan0): supplicant interface state: starting -> ready
Dec 13 09:29:54 localhost NetworkManager[2692]: <info> (wlan0): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
Dec 13 09:29:54 localhost NetworkManager[2692]: <info> (wlan0): supplicant interface state: ready -> inactive
Dec 13 09:29:54 localhost NetworkManager[2692]: <warn> Trying to remove a non-existant call id.

messages

Dec 13 09:29:47 localhost kernel: [ 1437.802127] usb 1-1: USB disconnect, device number 2
Dec 13 09:29:47 localhost kernel: [ 1437.864208] cfg80211: Calling CRDA to update world regulatory domain
Dec 13 09:29:47 localhost kernel: [ 1438.157030] cfg80211: World regulatory domain updated:
Dec 13 09:29:47 localhost kernel: [ 1438.157037] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Dec 13 09:29:47 localhost kernel: [ 1438.157044] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.157050] cfg80211:     (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.157057] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.157063] cfg80211:     (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.157068] cfg80211:     (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.157073] cfg80211:     (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.157078] cfg80211:     (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.157083] cfg80211:     (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
Dec 13 09:29:47 localhost kernel: [ 1438.222810] usb 1-1: ath9k_htc: USB layer deinitialized
Dec 13 09:29:47 localhost kernel: [ 1438.460172] usb 1-1: new high-speed USB device number 4 using ehci_hcd
Dec 13 09:29:53 localhost kernel: [ 1443.609940] usb 1-1: New USB device found, idVendor=0cf3, idProduct=9271

Dec 13 09:29:47 localhost kernel: [ 1437.802117] hub 1-0:1.0: port 1 disabled by hub (EMI?), re-enabling...

Ядро решило, что usb-хаб (контроллер usb-портов) отключил первый порт и включило его. В результате этого отключения-включения устройство, подключенное к этому порту, исчезает и появляется заново и, все, кто с ним работал, «замечают» это исчезновение.

Возможные причины в произвольном порядке: баг в ядре, аппаратные проблемы usb-хаба (допустим подсохшие кондёры), длинный или плохо экранированный USB-кабель.

mky ★★★★★ ()
Ответ на: комментарий от mky

Большое спасибо

Решил не разбираться. Сменил адаптер, новый wlan не падает как устройство, но не подключается к точке. Подробнее о новой проблеме Не подключается wi-fi TP-LINK TL-WN8200ND. Помоги, если можешь. А данную тему считаю закрытой. Хоть в проблеме и не разобрался, но решил сменой адаптера.

askaboutlinux ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.