* v3.19: Nokia N900 - usb nokia gadget crash @ 2015-01-31 9:06 Pali Rohár 2015-01-31 9:25 ` Pali Rohár 0 siblings, 1 reply; 6+ messages in thread From: Pali Rohár @ 2015-01-31 9:06 UTC (permalink / raw) To: linux-omap Cc: linux-kernel, Pavel Machek, Sebastian Reichel, Aaro Koskinen, Ivaylo Dimitrov, Tony Lindgren, Felipe Balbi [-- Attachment #1: Type: Text/Plain, Size: 273 bytes --] 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). -- Pali Rohár pali.rohar@gmail.com [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: v3.19: Nokia N900 - usb nokia gadget crash 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 0 siblings, 1 reply; 6+ messages in thread From: Pali Rohár @ 2015-01-31 9:25 UTC (permalink / raw) To: linux-omap Cc: linux-kernel, Pavel Machek, Sebastian Reichel, Aaro Koskinen, Ivaylo Dimitrov, Tony Lindgren, Felipe Balbi [-- Attachment #1: Type: Text/Plain, Size: 561 bytes --] 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?? -- Pali Rohár pali.rohar@gmail.com [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: v3.19: Nokia N900 - usb nokia gadget crash 2015-01-31 9:25 ` Pali Rohár @ 2015-02-02 22:17 ` Felipe Balbi 2015-02-02 22:27 ` Felipe Balbi 0 siblings, 1 reply; 6+ messages in thread From: Felipe Balbi @ 2015-02-02 22:17 UTC (permalink / raw) To: Pali Rohár Cc: linux-omap, linux-kernel, Pavel Machek, Sebastian Reichel, Aaro Koskinen, Ivaylo Dimitrov, Tony Lindgren, Felipe Balbi [-- Attachment #1: Type: text/plain, Size: 778 bytes --] 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. -- balbi [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: v3.19: Nokia N900 - usb nokia gadget crash 2015-02-02 22:17 ` Felipe Balbi @ 2015-02-02 22:27 ` Felipe Balbi 2015-02-02 22:47 ` Pali Rohár 0 siblings, 1 reply; 6+ messages in thread From: Felipe Balbi @ 2015-02-02 22:27 UTC (permalink / raw) To: Felipe Balbi Cc: Pali Rohár, linux-omap, linux-kernel, Pavel Machek, Sebastian Reichel, Aaro Koskinen, Ivaylo Dimitrov, Tony Lindgren [-- Attachment #1: Type: text/plain, Size: 993 bytes --] 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 ? -- balbi [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: v3.19: Nokia N900 - usb nokia gadget crash 2015-02-02 22:27 ` Felipe Balbi @ 2015-02-02 22:47 ` Pali Rohár 2015-02-02 23:13 ` Felipe Balbi 0 siblings, 1 reply; 6+ messages in thread From: Pali Rohár @ 2015-02-02 22:47 UTC (permalink / raw) To: balbi Cc: linux-omap, linux-kernel, Pavel Machek, Sebastian Reichel, Aaro Koskinen, Ivaylo Dimitrov, Tony Lindgren [-- Attachment #1: Type: Text/Plain, Size: 1300 bytes --] 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@gmail.com [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: v3.19: Nokia N900 - usb nokia gadget crash 2015-02-02 22:47 ` Pali Rohár @ 2015-02-02 23:13 ` Felipe Balbi 0 siblings, 0 replies; 6+ messages in thread From: Felipe Balbi @ 2015-02-02 23:13 UTC (permalink / raw) To: Pali Rohár Cc: balbi, linux-omap, linux-kernel, Pavel Machek, Sebastian Reichel, Aaro Koskinen, Ivaylo Dimitrov, Tony Lindgren [-- 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 --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-02-02 23:13 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox