Base /etc/conf.modules file v0.1

Adam J. Richter (adam@yggdrasil.com)
Mon, 27 Apr 1998 00:24:16 -0700


Here is an updated version of that universal /etc/conf.modules
file that incorporates the bug fixes and advice that I received from
my original postings. I hope it proves useful. Please feel free
to send me more additions or corrections.

This version incorporates the following changes, based on
corrections and advice from the following people, although none of
these were in the form of direct patches, and I made a number of judgement
calls in trying to get things right, so don't blame them for my mistakes.

Correct name for XT disk module (xd) Aaron M. Ucko
Correct appletalk typo, macmouse module Alister Riddell
binfmt-nnnn cleanup Richard Guenther
parallel port cleanup, plip James Mastros

This version also uncomments the few lines that reference driver
.o files that are not yet modularized. That way, in the future, as
these remaining drivers are modularized, modprobe should work right
away even if you do not upgrade your /etc/conf.modules file.

Anyhow, here it is. Hopefully, this will make extensive use
of kmod easier.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 205
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."

"Universal" base /etc/conf.modules, version 0.1:
-------------------------------CUT HERE-----------------------------------

keep
path[pcmcia]=/lib/modules/`uname -r`

alias block-major-2 floppy
# We currently cannot alias a name to multiple modules with modprobe.
# We really want block-major-3 to be aliased to load both ide-disk and
# ide-probe.
#alias block-major-3 ide-disk ide-cd ide-probe
alias block-major-3 ide-probe
alias block-major-4 serial

alias block-major-7 loop
alias block-major-8 sd_mod
alias block-major-9 md # Not yet modularized
#alias block-major-10
alias block-major-11 sr_mod
#alias block-major-12
alias block-major-13 xd
alias block-major-14 sound
alias block-major-15 cdu31a
alias block-major-16 gscd
alias block-major-17 optcd
alias block-major-18 sjcd
#alias block-major-19
alias block-major-20 mcdx
alias block-major-21 sg
#alias block-major-22 ide-disk ide-cd ide-probe
alias block-major-22 ide-probe
alias block-major-23 mcd
alias block-major-24 sonycd535
alias block-major-25 sbpcd
alias block-major-26 sbpcd
alias block-major-27 sbpcd
#alias block-major-28 sbpcd
alias block-major-28 acsi
# On PC's, block-major-28 is sbpcd. On Atari's block-major-28 is acsi.
# If your machine contains *four* separate ancient soundblaser CDROM
# busses, and you think that the first reference will be to the
# fourth bus on the machine (remember, each bus can have up to four
# drives), then edit this line. In the future, this line will be
# generated at install time or boot time by a process that figures
# out if you are running on an x86 or an Atari.
alias block-major-29 aztcd
#alias block-major-30
#alias block-major-31
alias block-major-32 cm206
alias block-major-33 ide-probe
alias block-major-34 ide-probe
#alias block-major-35
alias block-major-36 ps2esdi # not yet modularized
alias block-major-37 z2ram # Amiga
alias block-major-38 ap # Sparc AP1000 only
alias block-major-39 ddv # Sparc AP1000 only
alias block-major-43 nbd

alias char-major-6 lp
alias parport_lowlevel parport_pc
#alias parport_lowlevel parport_ax
# The parport_lowlevel alias is automatically loaded by the parport module,
# which is brought in by a symbol dependency in the lp module.
# parport_pc is for PC parallel ports only, but since there is no
# way to autodetect them other than by attempting to load the module,
# we just attempt to load the module whenever lp is loaded.
# On Sun Ultra/AX machines, use partport_ax instead of parport_pc.
# Ultimately, the parport_lowlevel alias will be defined by some sort
# of probe done each time the machine boots or the first time parport
# is referenced after booting.
alias char-major-9 st
alias char-major-12 tpqic02
alias char-major-14 sound
alias char-major-15 joystick
alias char-major-19 cyclades
alias char-major-20 cyclades
alias char-major-21 sg
alias char-major-22 epca # digiboard
alias char-major-23 epca # digiboard
# Because modprobe does not allow us to alias a name to more than one
# module, we cannot try both the stallion and istallion drivers.
# If you need the istallion driver, change all instances of stallion
# below to istallion. Eventually, this distinction will be determined
# by hardware autodetection at boot time, or modprobe will allow aliases
# to multiple modules, at which point you can uncomment the lines that
# would use the multiple aliases.
#alias char-major-24 istallion stallion
#alias char-major-25 istallion stallion
alias char-major-24 stallion
alias char-major-25 stallion
#alias char-major-26
alias char-major-27 ftape
#alias char-major-28 istallion stallion
alias char-major-28 stallion
#alias char-major-29 graphdev # not yet modularized
alias char-major-36 netlink_dev # not yet modularized

# We really want to autoload ide-probe as well as ide-{tape,disc,cd}, but
# modprobe does not currently allow us to alias a name to multiple modules.
# When modprobe is extended to do this, you can uncomment the
# following line and comment out the one after it.
#alias char-major-37 ide-tape ide-probe
alias char-major-37 ide-tape

alias char-major-43 isdn-major
alias char-major-44 isdn-major
alias char-major-45 isdn-major
alias char-major-46 rocket
alias char-major-48 riscom8
alias char-major-49 riscom8
alias char-major-67 coda # This is the coda filesystem, not a device.
alias char-major-75 specialix
alias char-major-76 specialix
alias char-major-81 videodev

alias char-major-10-0 busmouse
alias char-major-10-1 psaux
alias char-major-10-2 msbusmouse
alias char-major-10-3 atixlmouse
alias char-major-10-4 amigamouse
alias char-major-10-5 atarimouse
alias char-major-10-6 sunmouse # not yet modularized
alias char-major-10-7 amigamouse
#alias char-major-10-8 # smouse? simple serial mouse?
alias char-major-10-9 pc110pad
alias char-major-10-10 macmouse # ADB mouse. Not yet implemnted.
#alias char-major-10-128 beep # not yet modularized. (MIPS)
#alias char-major-10-129 # "Kernel module load request?"

# If modprobe would allow us to alias to multiple modules, we would
# use the following two lines. Instead, we have to settle for the
# next two lines after that.
#alias char-major-10-130 acquirewdt wdt softdog
#alias char-major-10-131 wdt pcwd
alias char-major-10-130 acquirewdt
alias char-major-10-131 wdt

alias char-major-10-135 rtc # Not yet modularized (real time clock)
#alias char-major-10-136 c-qcam bw-qcam # lp0 # Replaced by videodev
#alias char-major-10-137 c-qcam bw-qcam # lp1 # Replaced by videodev
#alias char-major-10-138 c-qcam bw-qcam # lp2 # Replaced by videodev
alias char-major-10-139 openprom
alias char-major-10-140 adb-bus # Not yet modularized
alias char-major-10-144 nvram
alias char-major-10-145 hfmodem
#alias char-major-10-146 graphics # Not yet modularized (SGI).
#alias char-major-10-147 graphics # Not yet modularized (SGI, opengl).
#alias char-major-10-148 streamtable # Not yet modularized (SGI, gfx).
#alias char-major-10-149 streamtable # Not yet modularized (SGI, mouse).
#alias char-major-10-150 streamtable # Not yet modularized (SGI, keyboard).
#alias char-major-10-151 leds # Front panel LEDs???
alias char-major-10-152 radio # Not yet modularized

# On 68000 port, the LP driver is modularized into subdrivers.
# See linux/drivers/char/lp_m68k.c
# char-major-6-1: ??? XXX

alias tty-ldisc-1 slip
alias tty-ldisc-3 ppp
alias tty-ldisc-4 strip
alias tty-ldisc-5 ax25
alias tty-ldisc-6 x25
alias tty-ldisc-7 irda

alias net-pf-1 unix
alias net-pf-2 af_inet # common stuff is not modularized
alias net-pf-3 ax25
alias net-pf-4 ipx
alias net-pf-5 appletalk
alias net-pf-6 netrom
alias net-pf-7 bridge # Bridge code is not modularized
#alias net-pf-8 aal5 # ATM code. Not yet implemented.
alias net-pf-9 x25 # XXX: how about x25_asy?
alias net-pf-10 ipv6
alias net-pf-11 rose
alias net-pf-12 decnet # Distributed separately from kernel.
#alias net-pf-13 netbeui # Commented out and not modularized
#alias net-pf-14 security # ip_forward? ip_output?
#alias net-pf-15 key # ??
alias net-pf-16 af_netlink # Not yet modularized
alias net-pf-17 af_packet
#alias net-pf-18 ash # Not yet implemented, whatever it is.

# It looks like net/core/dev.c loads interface names, like "eth0", etc.
# Serial network interfaces are already preloaded via "tty-ldisc-N"
# when their line disciplines are selected.
alias plip[0-9]* plip

alias binfmt-[0-9a-f][0-9a-f][0-9a-f][0-9a-f] binfmt_misc
post-install binfmt_misc /etc/rc.modules/rc.binfmts
# /etc/rc.modules/rc.binfmts is a shell script that loads the
# /proc/sys/fs/binfmt_misc entries. See
# /usr/src/linux/Documentation/binfmt_misc.txt for more information.
alias binfmt-0064 binfmt_aout
alias binfmt-0206 iBCS # x.out
alias binfmt-464c binfmt_elf
# We also laod binfmt_misc for ELF and a.out to autodetect
# {Net,Free,Open}BSD a.out files and other SysV ELF executables.
#alias binfmt-464c binfmt_em86 # handled by binfmt_misc
#alias binfmt-babe binfmt_java # handled by binfmt_misc
#alias binfmt-xxxx binfmt_misc # To be handled by separate request_module

# drivers/sound/soundcard.c generates requests for modules named "mixer%d"

# ppp-compress-1: ppp_predictor1 # Not yet implemented
# ppp-compress-2: ppp_predictor1 # Not yet implemented
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate # From original RFC draft
alias ppp-compress-26 ppp_deflate # Final standard per ppp-2.3.4 README

# File system names
alias iso9660 isofs
alias xenix sysv
alias coherent sysv

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu