Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2020 17:12:33 +0000
From:      GARG Shivam <shivam.garg@thalesgroup.com>
To:        Hans Petter Selasky <hps@selasky.org>, "freebsd-usb@freebsd.org" <freebsd-usb@freebsd.org>
Subject:   RE: Gadget serial driver support addition
Message-ID:  <MRXP264MB0904E1A96E353A0FEDF795DFF8570@MRXP264MB0904.FRAP264.PROD.OUTLOOK.COM>
In-Reply-To: <1f0636d2-b714-dce3-a1cc-6c69415a43f7@selasky.org>
References:  <MRXP264MB090413682FAAEFD5292AFF7BF85B0@MRXP264MB0904.FRAP264.PROD.OUTLOOK.COM> <254501b3-79fa-edaa-1b49-08b0132e86a6@selasky.org> <MRXP264MB09045AF58CE881047B7D6190F8560@MRXP264MB0904.FRAP264.PROD.OUTLOOK.COM> <MRXP264MB0904DB02E744CC7422454EB9F8570@MRXP264MB0904.FRAP264.PROD.OUTLOOK.COM> <6ea2f654-bea8-993d-f815-fe75500b643c@selasky.org> <MRXP264MB0904869BAD916B3241968545F8570@MRXP264MB0904.FRAP264.PROD.OUTLOOK.COM> <1f0636d2-b714-dce3-a1cc-6c69415a43f7@selasky.org>

index | next in thread | previous in thread | raw e-mail

Ok, let me report this to Linux-usb@vger.kernel.org.

Getting the below backtrack in Linux.

udhcpc D 00003fff87215f78 0 3285 3245 0x00000000
Call Trace:
[c0000001c42ef710] [c000000000008878] .__switch_to+0x8c/0xc4
[c0000001c42ef790] [c0000000009604cc] .__schedule+0x230/0x53c
[c0000001c42ef840] [c00000000096081c] .schedule+0x44/0xe4
[c0000001c42ef8c0] [c000000000963de4] .schedule_timeout+0x194/0x210
[c0000001c42ef9a0] [c0000000009616c4] .wait_for_common+0x170/0x1d0
[c0000001c42efa60] [c00000000009d4ec] .wait_rcu_gp+0x5c/0x74
[c0000001c42efb10] [c00000000009ee7c] .synchronize_sched+0x4c/0x70
[c0000001c42efb80] [c0000000007df974] .synchronize_net+0x20/0x4c
[c0000001c42efbf0] [c000000000906874] .__unregister_prot_hook+0x124/0x1c8
[c0000001c42efc80] [c000000000907014] .packet_do_bind+0x184/0x1e4
[c0000001c42efd10] [c0000000007c2d8c] .SyS_bind+0xf4/0x110
[c0000001c42efe30] [c000000000000698] system_call+0x38/0xc4

If you know anything, just let me know.

Thanks
Shivam



-----Original Message-----
From: Hans Petter Selasky <hps@selasky.org> 
Sent: Tuesday, August 25, 2020 10:36 PM
To: GARG Shivam <shivam.garg@thalesgroup.com>; freebsd-usb@freebsd.org
Subject: Re: Gadget serial driver support addition

On 2020-08-25 19:02, GARG Shivam wrote:
> My Device side Linux is getting panic as soon as I attached the USB to FreeBSD. Any view on this?
> 
> If I stopped the enumeration at FreeBSD using command (sysctl hw.usb.disable_enumeration=1), so device side Linux is stopped crashing.
> 
> Can you suggest me some area at device side that might be causing the crash.

Yes, you need to report this to "linux-usb@vger.kernel.org".

If Linux side is crashing it is likely a bug in the Linux gadget USB stack that needs to be fixed. Do you have a panic backtrace from Linux?

The crash probably explains why the device is not working!

--HPS

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MRXP264MB0904E1A96E353A0FEDF795DFF8570>