My guess is the bug is in userspace library, since a kernel module
which uses the same API's in kernel mode works fine. I will work on the
sample code and send it..<br>
<br>
-Viswa<br>
<br><br><div><span class="gmail_quote">On 3/27/06, <b class="gmail_sendername">Roland Dreier</b> <<a href="mailto:rdreier@cisco.com">rdreier@cisco.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    Roland> Did this code work with mainline kernel 2.6.15?  If so you<br>    Roland> could do a bisection on the changes between 2.6.15 and<br>    Roland> 2.6.16 to pin down which patch broke things.<br><br>Just to be clear: the thing to check would be the same userspace code
<br>on kernel 2.6.15 and 2.6.16.  Because it's entirely possible that the<br>bug is in a userspace library.<br><br> - R.<br></blockquote></div><br>