<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>when this issue happen, I also plugin Ethernet cable, and a modem which need use dhclient to get IP.</div><div><br></div><div>So I think maybe there is conflict between Raw_IP mode and Ethernet mode in qmi_wwan when periodically reset the MC7430 which don't plugin SIM card via "AT!RESET" command</div><div>Is there any patch to solve this issue now?</div><br><br><br><br><div style="position:relative;zoom:1">--<br><div>
<div style="FONT-SIZE: 14px">
<div align="left"><strong><font color="#0000ff"><em>Best Regards,</em></font></strong></div>
<div><strong><font color="#0000ff"><em>Dai,Lijin</em></font></strong></div></div></div><div style="clear:both"></div></div><div id="divNeteaseMailCard"></div><br>在 2016-09-01 23:32:43,"dailijin" <dailijin126@126.com> 写道:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><pre>>On Thu, 2016-09-01 at 12:57 +0800, dailijin wrote:
>> Hi Bjorn,
>>
>>
>> My device need to use 6 MC7430 modems and they can work normally via
>> libqmi. but if I only plugin 3 SIM cards for 6 MC7430, then do live
>> with 6M/2s. after run 30 minutes or more time, the system will
>> automatically reboot. I captured the log as below。
>
>I see GobiSerial there, but qmi_wwan. Is there some reason not to use
>qcserial instead of GobiSerial? In any case, that's probably not the
>issue here.
<div>GobiSerial only expose serial port for modem, and I don't find any issue when use it. so not use qcserial.</div><div><br></div>>> Aug 31 07:03:38 tvupack systemd[1]: ntpd.service: main process
>> exited, code=exited, status=1/FAILURE
>> Aug 31 07:03:38 tvupack systemd[1]: Unit ntpd.service entered failed
>> state.
>> Aug 31 07:03:42 tvupack perl[1487]: tvudial : slotid: 5, using dev 0
>> -> cdc-wdm1 to dial MC7430
>> Aug 31 07:03:42 tvupack perl[1487]: tvudial : slotid: 5, using dev 0
>> -> wwan0 to dial MC7430, diaing net name: wwan0
>> Aug 31 07:03:45 tvupack kernel: usb 1-1.6.2: USB disconnect, device
>> number 109
>> Aug 31 07:03:45 tvupack kernel: GobiSerial driver ttyUSB11:
>> GobiSerial converter now disconnected from ttyUSB11
>> Aug 31 07:03:45 tvupack kernel: GobiSerial 1-1.6.2:1.2: device
>> disconnected
>> Aug 31 07:03:45 tvupack kernel: GobiSerial driver ttyUSB12:
>> GobiSerial converter now disconnected from ttyUSB12
>> Aug 31 07:03:45 tvupack kernel: GobiSerial 1-1.6.2:1.3: device
>> disconnected
>> Aug 31 07:03:45 tvupack kernel: qmi_wwan 1-1.6.2:1.8 wwan10:
>> unregister 'qmi_wwan' usb-0000:00:1d.0-1.6.2, WWAN/QMI device
>> Aug 31 07:03:45 tvupack kernel: qmi_wwan 1-1.6.2:1.10 wwan11:
>> unregister 'qmi_wwan' usb-0000:00:1d.0-1.6.2, WWAN/QMI device
>> Aug 31 07:03:45 tvupack kernel: skbuff: skb_under_panic:
>> text:ffffffff816a609d len:216 put:65 head:ffff880005a21e00
>> data:ffff880005a21dff tail:0xd7 end:0x640 dev:wwan2
>
>Kernel 3.8 is fairly old at this point, have you done backports of the
>qmi_wwan/cdc-wdm/usbnet driver stack for fixes that have been done in
>later kernels? Or is the qmi_wwan driver in this kernel the one that
>shipped with 3.8?
<div>the qmi_wwan driver is in kernel 3.8, I have applied some patchs which is mentioned by Bjorn. so it can support MC7430/MC7455 now.</div><div>As for usbnet driver, I apply the patch from <span style="line-height: 31.098669052124023px; font-size: 14px;"><a href="https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/drivers/net/usb/usbnet.c?id=81e0ce79f2919dbd5f025894d29aa806af8695c7." _src="https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/drivers/net/usb/usbnet.c?id=81e0ce79f2919dbd5f025894d29aa806af8695c7.">https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/drivers/net/usb/usbnet.c?id=81e0ce79f2919dbd5f025894d29aa806af8695c7.</a> and I also add another logic as below to support MC7304 at same time.</span></div><div><span style="line-height: 31.098669052124023px; font-size: 14px;"><br></span></div><div><div style="font-family: Arial; white-space: normal;"><div>void usbnet_skb_return (struct usbnet *dev, struct sk_buff *skb)</div><div>{</div><div> int status;</div><div><br></div><div> if (test_bit(EVENT_RX_PAUSED, &dev->flags)) {</div><div> skb_queue_tail(&dev->rxq_pause, skb);</div><div> return;</div><div> } </div><div> <span style="color: rgb(255, 0, 0);"> if (skb->protocol != 8)</span></div><div><span style="color: rgb(255, 0, 0);"> skb->protocol = eth_type_trans (skb, dev->net);</span></div><div><span style="color: rgb(0, 0, 0);"> .......</span></div><div><span style="color: rgb(0, 0, 0);">}</span></div><div><span style="color: rgb(0, 0, 0);"><br></span></div><div><span style="color: rgb(0, 0, 0);">if above modification is not same as the backport patch which you said. could you provide the detail of the patch to me? then I will test again.</span></div><div><span style="color: rgb(0, 0, 0);"><br></span></div><div><span style="color: rgb(0, 0, 0);">Thanks</span></div></div></div><div><span style="line-height: 31.098669052124023px; font-size: 14px;"><br></span></div><div><span style="line-height: 31.098669052124023px; font-size: 14px;"> </span></div>>Dan
>
>
>>
>> My customer don't reproduce this issue when use MC7330 instead
>> of all MC7430. so I guess this maybe related to MC7430 modem. Is
>> there anyone report the similar issue to you? or could you give me
>> investigation direction ?
>>
>>
>> Note,
>>
>>
>> My kernel version is 3.8, system is Gentoo
>>
>>
>> Thanks in advance.
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> Best Regards,
>> Dai,Lijin
>> _______________________________________________
>> libqmi-devel mailing list
>> <a href="mailto:libqmi-devel@lists.freedesktop.org">libqmi-devel@lists.freedesktop.org</a>
>> https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
>_______________________________________________
>libqmi-devel mailing list
><a href="mailto:libqmi-devel@lists.freedesktop.org">libqmi-devel@lists.freedesktop.org</a>
>https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
</pre></div><br><br><span title="neteasefooter"><p> </p></span></blockquote></div><br><br><span title="neteasefooter"><div id="netease_mail_footer"><div style="border-top:#CCC 1px solid;padding:10px 5px;font-size:15px;color:#777;line-height:22px"><a href="http://you.163.com/item/detail?id=1055021&from=web_gg_mail_jiaobiao_3" target="_blank" style="color:#3366FF;text-decoration:none">【网易自营|30天无忧退货】Moleskine制造商直供经典商务皮面记事本,限时仅39元></a>
</div></div></span>