On Wed, 22 Apr 2015, Praveen Murali wrote: > > > -----Original Message----- > > > From: Ricardo Ribalda Delgado [mailto:ricardo.ribalda@xxxxxxxxx] > > > Sent: Tuesday, April 21, 2015 1:33 AM > > > To: Praveen Murali > > > Cc: linux-usb@xxxxxxxxxxxxxxx; balbi@xxxxxx; mina86@xxxxxxxxxx > > > Subject: Re: usb: gadget: g_multi does not work with net2280 > > > > > > Can you try with the latest kernel from linux-next? > > > Hi Ricardo, > I tried this with the kernel from linux-next tree; that did not work for me either. > The g_multi driver crashes the kernel on load (stack trace is attached). That is surprising. A gadget driver (indeed, any driver at all) should never crash the kernel -- no matter what problems some random Windows host might have. > [ 84.880877] g_multi gadget: unable to autoconfigure all endpoints > [ 84.880940] net2280_disable: Invalid ep=ffff8800c88b17e8 or ep->desc > [ 84.880989] net2280_disable: Invalid ep=ffff8800c88b13c0 or ep->desc > [ 84.881033] net2280_disable: Invalid ep=ffff8800c88b1458 or ep->desc > [ 84.881076] net2280_disable: Invalid ep=ffff8800c88b14f0 or ep->desc > [ 84.881239] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 > [ 84.881348] IP: [<ffffffffa053f382>] handle_exception+0x17a/0x2d5 [usb_f_mass_storage] This looks like a bug in net2280, the composite core, or usb_f_mass_storage. Perhaps the error pathways involving endpoint autoconfig haven't been tested thoroughly enough. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html