<div dir="ltr">I suspect I am doing something wrong in the code with register/unregister_chrdev(), but I have been over that code a million times. It looks fine. <div><br></div><div>Now: </div><div>insmod the device, OK</div>
<div>rmmod the device, OK</div><div>Check /proc/devices , device # is present</div><div>insmod the device again, fails with ERROR: could not insert module ./foobar.ko: Device or resource busy</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Dec 27, 2013 at 6:59 PM, <span dir="ltr"><<a href="mailto:Valdis.Kletnieks@vt.edu" target="_blank">Valdis.Kletnieks@vt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Fri, 27 Dec 2013 16:10:43 -0800, Eric Fowler said:<br>
<br>
> I have checked that and the problem persists.<br>
<br>
</div>I see insmod and rmmod - but no lsmod output. Not ls, lsmod. Different command.<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">cc:NSA<br></div>
</div>