I’m using a mangOH Yellow board with WP7607 module and a Talon ethernet daughter board. When the mangOH boots, if I disable the legato startup, the ethernet port is registered as eth0, it gets an IP address via dhcp etc., and it works fine. But then if I start legato, the eth0 device gets deregistered. Same on both R16 and R17 software. I’m not sure why this is happening, and is there anything I can do to stop it?
Here is dmesg before starting legato, and you can see eth0 comes up :
dmesg:
[ 25.945887] QTI:start
[ 26.007291] done
[ 26.037476] LE_KPI: end initscript /etc/rcS.d/S99start_qti_le
[ 26.076692] QCMAP:Start DHCP server
[ 26.083355] QCMAP:DHCP server started
[ 26.209007] USB QCMAP NL IOCTL Snd GETNEIGH Succ
[ 30.991475] gpio_check_and_wake: wake-n_gpio26 STATE=WAKEUP
[ 30.999032] swimcu_calibrate_event_handle: MCU calibrate completed with remaining time 0
[ 30.999059] swimcu_lpo_calibrate_calc: MCU time=30000 vs MDM time=30143
[ 30.999087] gpio_check_and_wake: wake-n_gpio26 STATE=SLEEP
[ 34.640533] apr_register: Modem is not Up
[ 34.640582] adm_memory_map_regions: Unable to register ADM
[ 34.643541] adm_map_cal_data: map did not work! cal_type 0 ret -19
[ 34.648924] map_memory: map_cal failed, cal type 10, ret = -19!
[ 34.656013] adm_alloc_cal: cal_utils_alloc_block failed, ret = -19, cal type = 10!
[ 34.660982] call_allocs: alloc failed!
[ 90.345424] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 90.348464] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 90.405774] QTI:ETH mode
[ 90.414648] QTI:LINK_UP message posted
[ 90.851589] nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers in.
[ 105.966379] 50default (1730) used greatest stack depth: 4492 bytes left
[ 116.223420] QTI:LINK_UP Processed
And this is dmesg later when legato is started, and eth0 gets deregistered :
[ 116.223420] QTI:LINK_UP Processed <======= Last dmesg before running legato startup script.
[ 857.392959] sps:BAM 0x07884000 (va:0xdbae92bb) enabled: ver:0x18, number of pipes:24
[ 863.755213] gpio_map_name_to_num: find GPIO 76
[ 863.761450] gpio_map_name_to_num: find GPIO 38
[ 864.005398] smsc95xx 1-1.1:1.0 eth0: Failed to read reg index 0x00000114: -71
[ 864.005413] smsc95xx 1-1.1:1.0 eth0: Error reading MII_ACCESS
[ 864.005422] smsc95xx 1-1.1:1.0 eth0: MII is busy in smsc95xx_mdio_read
[ 864.005430] smsc95xx 1-1.1:1.0 eth0: Failed to read MII_BMSR
[ 864.018932] usb 1-1.1: USB disconnect, device number 3
[ 864.021475] smsc95xx 1-1.1:1.0 eth0: unregister ‘smsc95xx’ usb-7c00000.hsic_host-1.1, smsc95xx USB 2.0 Ethernet
[ 864.021597] smsc95xx 1-1.1:1.0 eth0: usbnet_stop
[ 864.023418] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister eth0
[ 864.040379] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister eth0
[ 864.141753] USB QCMAP NL IOCTL Snd GETNEIGH Succ
[ 864.146045] QTI:LINK_DOWN message posted
[ 864.149874] QTI:LINK_DOWN Processed
[ 864.280252] usb 1-1.1: new high-speed USB device number 6 using msm_hsic_host
[ 864.391486] usb 1-1.1: New USB device found, idVendor=0424, idProduct=9e00
[ 864.391500] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 864.394993] smsc95xx v1.0.6
[ 864.491114] smsc95xx 1-1.1:1.0 eth0: register ‘smsc95xx’ at usb-7c00000.hsic_host-1.1, smsc95xx USB 2.0 Ethernet, 0a:5d:07:9a:d4:31
[ 864.501575] mdm9607-asoc-snd soc:sound-wm8944: Defering mdm_asoc_machine_probe, q6_state 0
[ 864.650932] smsc95xx 1-1.1:1.0 eth0: usbnet_open
[ 864.651654] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 864.664363] USB QCMAP NL IOCTL Snd GETNEIGH Succ
[ 866.185309] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 866.187313] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 866.239710] QTI:ETH mode
[ 866.244728] QTI:LINK_UP Processed
[ 866.249149] QTI:LINK_UP message posted
[ 869.445782] gpio_map_name_to_num: find GPIO 76
[ 869.447878] gpio_map_name_to_num: find GPIO 38
[ 869.650924] usb 1-1.1: USB disconnect, device number 6
[ 869.653446] smsc95xx 1-1.1:1.0 eth0: unregister ‘smsc95xx’ usb-7c00000.hsic_host-1.1, smsc95xx USB 2.0 Ethernet
[ 869.653562] smsc95xx 1-1.1:1.0 eth0: usbnet_stop
[ 869.654989] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister eth0
[ 869.670397] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister eth0
[ 869.763373] USB QCMAP NL IOCTL Snd GETNEIGH Succ
[ 869.782761] QTI:LINK_DOWN message posted
[ 869.786633] QTI:LINK_DOWN Processed