Re: Adding custom module to modules.conf

From: Kasper Dupont (kasperd_at_daimi.au.dk)
Date: 09/30/04


Date: Thu, 30 Sep 2004 22:49:07 +0200

John wrote:
>
> alias /dev/mydevice0 <driver name>

I think that line is wrong.

>
> modprobe: modprobe: Can't locate module char-major-253

Nice, I think we are very close to solving the problem now.

>
> My device's major number is 253, so I believe the alias in the
> modules.conf file is working.

Why do you believe that? I believe you are wrong. I guess
the major number of your device inode is 253. The kernel
sees that and tries to load the char-major-253 driver.
modprobe is started, and looks through the config file
for an alias for char-major-253, but finds nothing. Finally
modprobe looks for char-major-253.o, which it can obviously
not find.

Try writing this alias line instead:
alias char-major-253 <driver name>

-- 
Kasper Dupont


Relevant Pages

  • Curious problem with man
    ... Reading config file /etc/man.config ... # alias ... and we found no man directory nearby ... path directory /usr/kerberos/sbin is not in the config file ...
    (Fedora)
  • Re: Website dns without www?
    ... And adding a blank alias entry manually to the config file and ... Alias (CNAME) records cannot exist on the same node with another record, ... blank (same as parent folder) record should be an A record. ...
    (microsoft.public.windows.server.dns)
  • RE: Web.config
    ... application config file, but if you changte an existing value (as opposed ... that writing to the file is only good for updating the file for the next ... (This is especially relevant for config settings ... Please do not send email directly to this alias. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: mplayer screensize
    ... > Can I add those lines to my config file? ... i normally just set an alias in my profile. ...
    (comp.unix.bsd.freebsd.misc)
  • Sound, dual soundcards, second attempt (better I hope)
    ... PCI: PCI BIOS revision 2.10 entry at 0xfdb01, ... Journalled Block Device driver loaded ... usb.c: new USB bus registered, ... alias char-major-10-175 agpgart ...
    (comp.os.linux)