I have successfully gotten my EM7565 up and running with multiple PDNs on my PC, running kernel 4.19.x.
I was trying to port this to my linux board, and when loading the GobiNet I eventually get a watchdog crash and the driver doesn’t load correctly. The board is running an older kernel, but I tried both 4.1.15 and 4.9.x, same result. The two kernels are compiled roughly with the same configuration, so I’m guessing I just don’t have the correct config? I compared the updates for usbnet and other components and don’t really see major differences.
When I disable the multiple PDNs, using the at!netnum and set it to 0, the driver works fine and I get my data up and running without a problem. So I figured it must be related to the virtual network somehow?
Anyone has some idea what could be wrong? I compared to the debug output from my PC, but it is so very different than not much is the same at all. An ethernet device watchdog reset?
kernel_crash_loading_gobinet.txt (26.7 KB)
Hi Danny,
I happened to have an i.MX6 board with the default Debian configuration:
root@stretch-dev:~/driver/S2.36N2.55_IPAlias/S2.36N2.55/GobiNet# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 10 (v7l)
BogoMIPS : 3.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 10
processor : 1
model name : ARMv7 Processor rev 10 (v7l)
BogoMIPS : 3.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 10
processor : 2
model name : ARMv7 Processor rev 10 (v7l)
BogoMIPS : 3.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 10
processor : 3
model name : ARMv7 Processor rev 10 (v7l)
BogoMIPS : 3.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 10
Hardware : Freescale i.MX6 Quad/DualLite (Device Tree)
Revision : 63012
Serial : 0000000000000000
root@stretch-dev:~/driver/S2.36N2.55_IPAlias/S2.36N2.55/GobiNet#
root@stretch-dev:~/driver/S2.36N2.55_virtual_adaptor/S2.36N2.55/GobiNet# uname -a
Linux stretch-dev 4.1.15-25-boundary-12s #1 SMP PREEMPT Debian 4.1.15-25.25 (2017-09-19) armv7l GNU/Linux
root@stretch-dev:~/driver/S2.36N2.55_virtual_adaptor/S2.36N2.55/GobiNet#
first of all make sure that you are compiling the driver for “virtual adapter”
In GobiUSBNet.c set ipalias to 0
int iIPAlias=0;
This will not explain why it crashes though.
Unfortunately I couldn’t duplicate the crash but I’m sharing my i.MX6 enum logs (with IIPAlias=0)
I can give you a few hints what could be wrong.
In your log somehow the driver is reading more QMUXs that the max allowed with is 8 (MAX_MUX_NUMBER_SUPPORTED)
“[ 119.136336] Override Number Of RMNET supported to :4”
Also in your log “QMAP Enabled” is not showing up.
Your USB comp is probably set right because it worked before on the PC but it is worth double checking it:
at!entercnd=“A710”
OK
at!usbcomp?
Config Index: 1
Config Type: 3 (Generic)
Interface bitmask: 0000010D (diag,nmea,modem,rmnet0)
OK
ati
Manufacturer: Sierra Wireless, Incorporated
Model: EM7565
Revision: SWI9X50C_01.08.04.00 dbb5d0 jenkins 2018/08/21 21:40:11
MEID: 35926008000022
ESN: 12801925343, 801D60DF
IMEI: 359260080000224
IMEI SV: 8
FSN: UF726185760404
+GCAP: +CGSM
OK
enum_log.txt (33.8 KB)
Thanks,
James