Jonatan Antoni wrote:
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.

Double check that your kernel and modules are compiled from the same .config file. I made this mistake recently with g_ether, I forgot to "make modules" after removing netfilter and recompiling the kernel. g_ether would half work but then fall over once enumerated as a network device. It caused a cyclic reset when plugged into the host PC ...


Aras


-------------------------------------------------------
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