public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: AJM <ajm@transtec.demon.co.uk>
To: linux-kernel@vger.kernel.org
Subject: Module Names - Hyphen Converted to Underscore
Date: Mon, 27 Dec 2004 19:38:56 +0000	[thread overview]
Message-ID: <41D064D0.6050509@transtec.demon.co.uk> (raw)

I have compiled stock (kernel.org) 2.6.3 and 2.6.9 kernels which exhibit 
the following unusual behaviour on module loading: If the kernel module 
has a hyphen in its name, then this appears to be translated into an 
underscore by the kernel, such that, for example after "insmod 3w-xxxx", 
lsmod shows "3w_xxxx", "rmmod 3w-xxxx" fails but "rmmod 3w_xxxx" succeeds.

The distribution I am compiling the kernels under is Mandrake 10.0, and 
if I compile the 2.6.3-4mdk kernel source supplied with the distribution 
  then this problem does not arise.

A Google search reveals a number of similar problems, but with no 
explanation other than possible typing errors.

Any suggestions as to why this is happening?

Thanks in advance,

Jonathan.

             reply	other threads:[~2004-12-27 19:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-27 19:38 AJM [this message]
2004-12-27 19:43 ` Module Names - Hyphen Converted to Underscore Jan Engelhardt
2004-12-27 19:54 ` Tomasz Torcz
2004-12-27 20:09   ` Alan Curry

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=41D064D0.6050509@transtec.demon.co.uk \
    --to=ajm@transtec.demon.co.uk \
    --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