Hello,

we are using an AT91RM9200 microcomputer as a usb-gadget.
If our target is connected to a host and the usb-link is in use by e.g. 
g_ether, it goes into a kernel oops in some
cases.

I have reconstructed the following case:
- establish the usb-connection between the target and a windows host
- do "modprobe g_ether" on the target
- do "ifconfig usb0 192.168.1.2 up" on the target
- test the connection with e.g. ping
- do "rmmod g_ether"
The system hangs with a kernel oops message.

I have commented out the lines "local_irq_disable();" and "local_irq_enable();" 
in
at91_udc.c, within the methods "usb_gadget_register_driver" and 
"usb_gadget_unregister_driver".
Now it works for us (above case), but I am very interested in the reasons for 
having those lines.
Can somebody describe me some details on that?

Thx and Greetings,
Jonatan Antoni



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to