Saturday 1 February 2014

i2c accessing at user space issue, How to solve this ..?

WARNING: at kernel/irq/manage.c:274 0xa01aa01b()                                
Unbalanced enable for IRQ 10
Modules linked in:
Backtrace: no frame pointer
---[ end trace 5cce32c8b5df3d34 ]---
When I run my application program its giving this error what does this mean and how to solve..?please guide me in detail.

Checking the kernel source(kernel/irq/manage.c:274), we can see that this warning print is triggered inenable_irq(). This happens when trying to enable an already enabled IRQ i.e. without it being disabled first.
If you are getting this warning as a result of running some user-space program, then you need to check the logic of the driver that this user-space program interacts with and fix the unnecessary enabling ofIRQ 10 in that driver.
Apart from polluting the kernel logs, this warning is pretty much safe to ignore as it does not affect the immediate functionality. However it does indicate a deeper problem in your program's (or the underlying driver's) state machine logic.

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More