lkml.org 
[lkml]   [2004]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectquestion on accessing device nodes for drivers that are not loaded

I'm working on 2.6.9. I wrote a driver as a module that binds in as a misc char
device.

I created the node for it manually, tested loading/unloading, running, etc.

Then I unloaded the driver, and tried running my little test app. It appears to
have hung on the call to open the device node (for which there was no driver
loaded). Top shows it in D state. Then I went to load the driver module, and
the insmod command hung with a refcount of 1.

Is this expected behaviour?

Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.022 / U:1.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site