mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Friesen <cfriesen@nortelnetworks.com>
To: Linux kernel <linux-kernel@vger.kernel.org>
Subject: question on accessing device nodes for drivers that are not loaded
Date: Fri, 19 Nov 2004 15:51:38 -0600	[thread overview]
Message-ID: <419E6AEA.3060207@nortelnetworks.com> (raw)


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

                 reply	other threads:[~2004-11-19 21:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=419E6AEA.3060207@nortelnetworks.com \
    --to=cfriesen@nortelnetworks.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome