Re: v3.19: Nokia N900 - usb nokia gadget crash

From: Pali RohÃr
Date: Mon Feb 02 2015 - 17:47:34 EST


On Monday 02 February 2015 23:27:27 Felipe Balbi wrote:
> On Mon, Feb 02, 2015 at 04:17:13PM -0600, Felipe Balbi wrote:
> > On Sat, Jan 31, 2015 at 10:25:09AM +0100, Pali RohÃr wrote:
> > > On Saturday 31 January 2015 10:06:11 Pali RohÃr wrote:
> > > > Hello,
> > > >
> > > > when I try to modprobe g_nokia.ko gadget module on n900
> > > > device, it produce tons on lines to display and then
> > > > crash and reboot device. So its not working and I
> > > > (without Nokia (TM) serial console I cannot debug it).
> > >
> > > When I compile g_nokia into zImage (not as external
> > > module) then it kernel loads correctly and usb is
> > > working.
> > >
> > > Any idea why g_nokia as external kernel module cause
> > > problems, but compiled into zImage is working??
> >
> > what I got here is a WARNING from f_phonet only, I'll look
> > into it. Keep in mind I don't have N900 available, testing
> > with beagleboneblack and AM437x SK.
>
> looks like there's a bug with MUSB too which needs fixing for
> that. Did you get "inconsistent lock stae" WARN ?

I cannot read any message after I modprobe g_nokia.ko

I just see that kernel try to overwrite couple of lines on n900
display and after 1-3 seconds device reboot.

--
Pali RohÃr
pali.rohar@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part.