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

From: Felipe Balbi
Date: Mon Feb 02 2015 - 18:13:27 EST


On Mon, Feb 02, 2015 at 11:47:26PM +0100, Pali Rohár wrote:
> 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.

alright, I guess I found both bugs. I'll send patches soon.

--
balbi

Attachment: signature.asc
Description: Digital signature