Re: Adding custom module to modules.conf
From: Kasper Dupont (kasperd_at_daimi.au.dk)
Date: 09/30/04
- Next message: devesh.agrawal_at_gmail.com: "Initial value of the esp on loading a new program in kernel 2.6"
- Previous message: John: "Adding custom module to modules.conf"
- In reply to: John: "Adding custom module to modules.conf"
- Next in thread: Måns Rullgård: "Re: Adding custom module to modules.conf"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: devesh.agrawal_at_gmail.com: "Initial value of the esp on loading a new program in kernel 2.6"
- Previous message: John: "Adding custom module to modules.conf"
- In reply to: John: "Adding custom module to modules.conf"
- Next in thread: Måns Rullgård: "Re: Adding custom module to modules.conf"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|