inos Posted September 20, 2016 Share Posted September 20, 2016 First of all, thank you very much for the great work! On cubietruck after upgrade to 5.20, I have some trouble with network bonding. /etc/network/interfaces: auto eth0 iface eth0 inet manual bond-master bond0 bond-primary eth0 bond-mode active-backup auto wlan0 iface wlan0 inet manual wpa-ssid xxxx.xxx wpa-psk xxxxxxxxx bond-master bond0 bond-primary eth0 bond-mode active-backup # Define master auto bond0 iface bond0 inet static address xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx gateway xxx.xxx.xxx.xxx hwaddress ether xx:xx:xx:xx:xx bond-slaves none bond-primary eth0 bond-mode active-backup bond-miimon 100 After booting, the device is not reachable via the LAN unless the wlan0 is down the corresponding log: <6>bonding: bond0: setting mode to active-backup (1). <6>ADDRCONF(NETDEV_UP): bond0: link is not ready <6>bonding: bond0: Adding slave eth0. <6>sunxi_gmac: probed <6>eth0: PHY ID 001cc915 at 0 IRQ 0 (sunxi_gmac-0:00) active <6>eth0: PHY ID 001cc915 at 1 IRQ 0 (sunxi_gmac-0:01) <6>bonding: bond0: making interface eth0 the new active one. <6>bonding: bond0: first active interface up! <6>bonding: bond0: enslaving eth0 as an active interface with an up link. <6>ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready <6>bonding: bond0: Setting eth0 as primary slave. <3>bonding: unable to update mode of bond0 because interface is up. <6>bonding: bond0: Adding slave wlan0. <3>[ap6210] Dongle Host Driver, version 1.28.23.3 (r). <3>[ap6210] Compiled in drivers/net/wireless/ap6210 on Sep 14 2016 at 19:40:55. <3>[ap6210] WLAN going back to live sdio_reset_comm(): <3>[ap6210] dhd_bus_devreset: WLAN ON <3>[ap6210] Final fw_path=/lib/firmware/ap6210/fw_bcm40181a2.bin <3>[ap6210] Final nv_path=/lib/firmware/ap6210/nvram_ap6210.txt <3>[ap6210] download firmware /lib/firmware/ap6210/fw_bcm40181a2.bin <3>[ap6210] Dongle ready, protocol version 4 <3>[ap6210] Dongle ready, protocol version 4 <3>[ap6210] Firmware up: op_mode=0x0005, Broadcom Dongle Host Driver mac=6c:fa:a7:16:12:19 <3>[ap6210] Firmware version = wl0: Mar 10 2014 14:59:50 version 5.90.195.89.18 FWID 01-b13c09c7 <3>[ap6210] Chip: a962 Rev 1 Pkg 9<3>[ap6210] p2p0: p2p_dev_addr=6e:fa:a7:16:12:19 <6>bonding: bond0: enslaving wlan0 as a backup interface with an up link. <6>bonding: bond0: Setting eth0 as primary slave. <6>bonding: bond0: Setting MII monitoring interval to 100. <3>bonding: unable to update mode of bond0 because interface is up. <6>bonding: bond0: Setting eth0 as primary slave. <6>bonding: bond0: link status definitely down for interface eth0, disabling it <6>bonding: bond0: making interface wlan0 the new active one. <6>Installing knfsd (copyright (C) 1996 okir@monad.swb.de). <6>PHY: sunxi_gmac-0:00 - Link is Up<c> - 1000/Full<c> <6>bonding: bond0: link status definitely up for interface eth0, 1000 Mbps full duplex. <6>bonding: bond0: making interface eth0 the new active one. Forgot to mention the WLAN itself (without bonding) works fine. On shutdown or reboot, the device hangs with the following message: <3>[ap6210] wl_event_handler was terminated <6>bonding: bond0: Removing slave wlan0. <6>bonding: bond0: releasing backup interface wlan0 <3>[ap6210] Reason 3 <3>[ap6210] error (-5) <3>[ap6210] dhd_check_hang: Event HANG send up due to re=2 te=0 e=-110 s=2 <3>[ap6210] 'wl bss -C 0' failed: -110 <3>[ap6210] NOTE: this ioctl error is normal when the BSS has not been created yet. <3>[ap6210] dhd_prot_ioctl : bus is down. we have nothing to do <3>[ap6210] wlan0:error(-1) <3>[ap6210] Reason 3 <3>[ap6210] dhd_prot_ioctl : bus is down. we have nothing to do <3>[ap6210] bcmsdh_set_irq Flag = 0 <3>[ap6210] dhd_bus_devreset: WLAN OFF DONE <3>[ap6210] WLAN placed in RESET <3>[ap6210] In : chip crash eventing So shutdown or reboot is possible only after ifconfig wlan0 down Thanks for your help! Martin Link to comment Share on other sites More sharing options...
Recommended Posts