preemption imbalance?

Marc St-Jean <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
I'm in the process of cleaning up a USB gadget driver for the MSP71XX
platform and on boot I receive the following message:

"initcall at 0x803f0ab8: msp71xx_udc_init+0x0/0x38(): returned with
preemption imbalance"

later followed by many:

"BUG: scheduling while atomic: swapper/0x0000000a/0
Call Trace:
[<8010775c>] dump_stack+0x8/0x34
[<8035aa90>] schedule+0xa2c/0xb14
[<801038f4>] cpu_idle+0x34/0x68
[<803d79cc>] start_kernel+0x394/0x538"

although the kernel goes on initializing, init starts and I can login.

Since msp71xx_udc_init() calls:
platform_driver_register(&msp71xx_udc_driver) and that structure has
entry points for the probe and remove functions.

I'm assuming the probing/registering function is not releasing a
lock or some other kernel resource properly. Would anyone on this list
gadget driver experience have an idea which one it could be?

Thanks in advance,
Marc



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.