v3.19: Nokia N900 - usb nokia gadget crash
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).
Signature · 2 lines
Pali Rohár [email protected]
Quoted 6 lines · 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??
Signature · 2 lines
Pali Rohár [email protected]
Quoted 8 lines · Pali Rohár
Quoted 6 lines · 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).
Quoted 5 lines
When I compile
g_nokiainto zImage (not as external module) then it kernel loads correctly and usb is working.Any idea why
g_nokiaas 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.
Signature · 1 line
balbi
Quoted 12 lines · Felipe Balbi
Quoted 11 lines · Pali Rohár
Quoted 6 lines · 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_nokiainto zImage (not as external module) then it kernel loads correctly and usb is working.
Quoted 6 lines
Quoted 2 lines
Any idea why
g_nokiaas external kernel module cause problems, but compiled into zImage is working??what I got here is a WARNING from
f_phonetonly, 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 ?
Signature · 1 line
balbi
Quoted 17 lines · On Monday 02 February 2015 23:27:27 Felipe Balbi wrote:
Quoted 16 lines · Felipe Balbi
Quoted 14 lines · Pali Rohár
Quoted 6 lines · 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_nokiainto zImage (not as external module) then it kernel loads correctly and usb is working.Any idea why
g_nokiaas external kernel module cause problems, but compiled into zImage is working??
Quoted 6 lines
Quoted 3 lines
what I got here is a WARNING from
f_phonetonly, 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.
Signature · 2 lines
Pali Rohár [email protected]
Quoted 22 lines · Pali Rohár
Quoted 21 lines · On Monday 02 February 2015 23:27:27 Felipe Balbi wrote:
Quoted 19 lines · Felipe Balbi
Quoted 8 lines · Pali Rohár
Quoted 6 lines · 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).
Quoted 6 lines
When I compile
g_nokiainto zImage (not as external module) then it kernel loads correctly and usb is working.Any idea why
g_nokiaas external kernel module cause problems, but compiled into zImage is working??what I got here is a WARNING from
f_phonetonly, I'll look into it. Keep in mind I don't have N900 available, testing with beagleboneblack and AM437x SK.
Quoted 7 lines
Quoted 2 lines
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.
Signature · 1 line
balbi