system automatically reboot due to MC7430
dailijin
dailijin126 at 126.com
Thu Sep 1 15:42:32 UTC 2016
when this issue happen, I also plugin Ethernet cable, and a modem which need use dhclient to get IP.
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
Is there any patch to solve this issue now?
--
Best Regards,
Dai,Lijin
在 2016-09-01 23:32:43,"dailijin" <dailijin126 at 126.com> 写道:
>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.
GobiSerial only expose serial port for modem, and I don't find any issue when use it. so not use qcserial.
>> 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?
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.
As for usbnet driver, I apply the patch from https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/drivers/net/usb/usbnet.c?id=81e0ce79f2919dbd5f025894d29aa806af8695c7. and I also add another logic as below to support MC7304 at same time.
void usbnet_skb_return (struct usbnet *dev, struct sk_buff *skb)
{
int status;
if (test_bit(EVENT_RX_PAUSED, &dev->flags)) {
skb_queue_tail(&dev->rxq_pause, skb);
return;
}
if (skb->protocol != 8)
skb->protocol = eth_type_trans (skb, dev->net);
.......
}
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.
Thanks
>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
>> libqmi-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
>_______________________________________________
>libqmi-devel mailing list
>libqmi-devel at lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20160901/ebfb7548/attachment-0001.html>
More information about the libqmi-devel
mailing list