LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-17-2003, 01:56 AM   #1
googolplex
LQ Newbie
 
Registered: May 2003
Posts: 2

Rep: Reputation: 0
Module Aliases (Redhat 9.0)


Linux Newbie stuck on how to find module aliases!! I want to edit the /etc/modules.conf file to load up some modules at startup. But, in redhat you seem to need to know the aliases:
[ aliase eth0 eepro100 ] Here the aliase is eth0, but if i want to add another module (ie., i2c-core, or sbp2) how do i get the module aliase?
(When running gentoo this problem doesn't arise due to the presence of the "modules.autoload" file). I'm really stuck here - What am i missing - is there a utility that does this aliass naming for you?
Any help much appreciated!!
 
Old 05-17-2003, 04:22 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
the syntax is:
alias [device] [modulename]
so for instance, if I fire up xmms, I need a sound driver, so in my modules.conf I have:
alias /dev/sound emu10k1
so when /dev/sound is used, it loads the module for my soundcard (emu10k1)
 
Old 05-17-2003, 09:33 PM   #3
googolplex
LQ Newbie
 
Registered: May 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Device naming

Ok,thanks - but! The man pages give you the syntax, but my question is really this - how are the module devices NAMED? For instance, how do i find the names of all installed module aliases:

/etc/modules.conf
alias eth0 e100
alias ??? i2c-core
alias ??? video1394
alias ??? udf

The unkown for me is how this ??? is found. With the e100 module it is relatively obvious that the device is an eth connection, in this case eth0. However, it is less obvious what these devices are with other modules. For example:

/etc/modules.conf
alias ieee1394-controller ohci1394

How do i ascertain that the correct device name for the ohci1394 module is ieee1394-controller! This is my real problem. I am obviously missing something, there must be a listing somewhere of how to call the modules you have installed when compiling the kernel, yes? I'm still unable to fix this.
 
Old 05-18-2003, 05:51 AM   #4
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Quote:
Originally posted by bulliver
the syntax is:
alias [device] [modulename]
The syntax is:
alias alias_name result
alias_name does not require to be device name

Quote:
Originally posted by googolplex
[...]The unkown for me is how this ??? is found. With the e100 module it is relatively obvious that the device is an eth connection, in this case eth0. However, it is less obvious what these devices are with other modules.
I am not sure but I think without documentations (or source files) for the driver you cannot find the proper '???' value.
What is more it is not only the matter of the driver you are trying to install. Look for the following dummy example.
Utility U uses a computer resource R. So it names the device (module) in a way for example Resource (Resource.o).
I write my own driver and name it MyResource.o.
(So I need the information about the Resource.o software interface expected by the utility U). I need to give you the information that you should do the 'alias Resource MyResource'.
But if another utility uses device Resource1 which in fact is for the same resource you also need to put 'alias Resource1 MyResource' also to get the functionality.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM driver/module not loaded REDHAT ES 2.1 BRANDOUY Red Hat 0 09-08-2004 04:06 AM
Redhat 6.0 Load Module at boot smokybfgs Linux - Hardware 2 04-01-2004 02:59 PM
module aliases, where mapped, not all in modules.conf/.devfs flipper333 Slackware 2 11-23-2003 04:46 AM
Redhat 9 module dependencies, help??? liontech2002 Linux - General 2 08-13-2003 08:53 PM
SiS900 module in RedHat 8 has a bug pjrobin Linux - Hardware 1 01-07-2003 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration