From: Felipe Balbi <balbi@ti.com>
To: "Pali Rohár" <pali.rohar@gmail.com>
Cc: <balbi@ti.com>, <linux-omap@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, Pavel Machek <pavel@ucw.cz>,
Sebastian Reichel <sre@kernel.org>,
Aaro Koskinen <aaro.koskinen@iki.fi>,
Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>,
Tony Lindgren <tony@atomide.com>
Subject: Re: v3.19: Nokia N900 - usb nokia gadget crash
Date: Mon, 2 Feb 2015 17:13:03 -0600 [thread overview]
Message-ID: <20150202231303.GD30753@saruman.tx.rr.com> (raw)
In-Reply-To: <201502022347.26582@pali>
[-- Attachment #1: Type: text/plain, Size: 1452 bytes --]
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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2015-02-02 23:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-31 9:06 v3.19: Nokia N900 - usb nokia gadget crash Pali Rohár
2015-01-31 9:25 ` Pali Rohár
2015-02-02 22:17 ` Felipe Balbi
2015-02-02 22:27 ` Felipe Balbi
2015-02-02 22:47 ` Pali Rohár
2015-02-02 23:13 ` Felipe Balbi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150202231303.GD30753@saruman.tx.rr.com \
--to=balbi@ti.com \
--cc=aaro.koskinen@iki.fi \
--cc=ivo.g.dimitrov.75@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=pali.rohar@gmail.com \
--cc=pavel@ucw.cz \
--cc=sre@kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox