shill: does not add wlan0 on hotplugging, becuase of missing MAC address |
||
Issue descriptionOS: R66 We rescan the pci bus and bring back the NIC when it goes missing. The 'add' udev event for wlan0 doesn't work for shill. Why is the IFLA_ADDRESS missing? Filed from the logs in https://b.corp.google.com/issues/35648315#comment348 2018-04-11T14:30:09.627187+02:00 DEBUG wpa_supplicant[706]: nl80211: Unsubscribe mgmt frames handle 0x8888d28e93b533e9 (deinit) 2018-04-11T14:30:09.627257+02:00 DEBUG wpa_supplicant[706]: dbus: Unregister interface object '/fi/w1/wpa_supplicant1/Interfaces/1' 2018-04-11T14:30:09.627449+02:00 ERR wpa_supplicant[706]: rmdir[ctrl_interface=/run/wpa_supplicant]: Permission denied 2018-04-11T14:30:09.636687+02:00 INFO shill[2579]: [INFO:device.cc(206)] Device destructed: wlan0 index 2 2018-04-11T14:30:09.637013+02:00 WARNING shill[2579]: [WARNING:nl80211_message.cc(711)] Unknown/unhandled netlink nl80211 message 0x04 2018-04-11T14:30:09.637341+02:00 INFO shill[2579]: [INFO:device_info.cc(320)] GetDeviceTechnology: device wlan0 has no uevent file 2018-04-11T14:30:09.637363+02:00 ERR shill[2579]: [ERROR:device_info.cc(735)] Add Link message for link 'wlan0' does not have IFLA_ADDRESS! 2018-04-11T14:30:09.638422+02:00 INFO shill[2579]: [INFO:manager.cc(1731)] Default physical service: 0 (not connected) 2018-04-11T14:30:09.638597+02:00 INFO shill[2579]: [INFO:service.cc(312)] Suppressed autoconnect to service 0 (no endpoints) 2018-04-11T14:30:09.638620+02:00 INFO shill[2579]: [INFO:service.cc(312)] Suppressed autoconnect to service 1 (no endpoints) 2018-04-11T14:30:09.638661+02:00 INFO shill[2579]: [INFO:service.cc(312)] Suppressed autoconnect to service 2 (no endpoints)
,
Apr 23 2018
Can you try the following: echo 1 > /sys/bus/pci/devices/<figure out ID for wifi>/remove echo 1 > /sys/bus/pci/rescan That comes closest to the sequence the logs were obtained with.
,
Apr 23 2018
Testing on both samus + eve: wlan0 disappears, comes back up, and gets an IP address again when I run these comments:
echo 1 > /sys/bus/pci/devices/0000:`lspci -mmd ::0280 | cut -f1 -d ' '`/remove
echo 1 > /sys/bus/pci/rescan
Maybe it's not the rescan itself that's messing things up, but rather the original hardware failure?
,
Jan 15
|
||
►
Sign in to add a comment |
||
Comment 1 by cernekee@chromium.org
, Apr 22 201815.2 KB
15.2 KB Download