RE: PROBLEM: kernel oops with g_serial USB gadget on 2.6.30

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Monday, June 22, 2009 4:07 PM, Alan Stern wrote:

> > >  Marek> I would like to ask if someone has successfully used
> g_serial
> > >  Marek> USB gadget driver with kernel 2.6.29 or 2.6.30? I'm
> developing
> > >  Marek> a low level hardware driver for USB gadgets on ARM S3C6410
> > >  Marek> platform. This driver is working quite fine (I've used it a
> > >  Marek> lot with g_ether CDC/RNDIS ethernet gadget driver). During
> my
> > >  Marek> development I've found the following bug in g_serial
> driver:
> > >
> > > You are aware that Ben Dooks has written an UDC driver for the OTG
> > > controller on the s3c6410 which is now in mainline, right?
> > >
> > > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-
> > > 2.6.git;a=commit;h=5b7d70c6dbf2db786395cbd21750a1a4ce222f84
> >
> > Yes, I am aware. That driver does not work well for me (but this is
> the
> > other case). However I did a test with his driver and the result was
> also
> > a kernel oops:
> >
> > [...]
> >
> > > I've used the g_serial driver on 2.6.29 without problems (not on
> > > s3c6410 though).
> >
> > On what hardware you use the g_serial driver? It is ARM-based? I
> > understand that this might be also related to the way that low level
> > hardware gadget driver is implemented, but I really have no idea how
> > to hunt for this bug.
> 
> This is just a guess...  But there's a good possibility that the oops
> was caused by recent changes to the serial layer which have not been
> propagated through to the g_serial driver.

How recent these changes are? I did a test on another ARM-based Linux 
platform with old 2.6.28 kernel and the result was exactly the same as 
above...

Best regards
--
Marek Szyprowski
Samsung Poland R&D Center


--
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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux