|
发表于 2004-9-26 13:45:36
|
显示全部楼层
附上/etc/modules.conf文件:
------------------------------------------------------------------------------------
### This file is automatically generated by update-modules"
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modutils and read
# the manpage for update-modules.
#
### update-modules: start processing /etc/modutils/0keep
# DO NOT MODIFY THIS FILE!
# This file is not marked as conffile to make sure if you upgrade modutils
# it will be restored in case some modifications have been made.
#
# The keep command is necessary to prevent insmod and friends from ignoring
# the builtin defaults of a path-statement is encountered. Until all other
# packages use the new `add path'-statement this keep-statement is essential
# to keep your system working
keep
### update-modules: end processing /etc/modutils/0keep
### update-modules: start processing /etc/modutils/actions
# Special actions that are needed for some modules
# The BTTV module does not load the tuner module automatically,
# so do that in here
post-install bttv insmod tuner
post-remove bttv rmmod tuner
### update-modules: end processing /etc/modutils/actions
### update-modules: start processing /etc/modutils/aliases
# Aliases to tell insmod/modprobe which modules to use
# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off # Unix
# alias net-pf-2 off # IPv4
# alias net-pf-3 off # Amateur Radio AX.25
# alias net-pf-4 off # IPX
# alias net-pf-5 off # DDP / appletalk
# alias net-pf-6 off # Amateur Radio NET/ROM
# alias net-pf-9 off # X.25
# alias net-pf-10 off # IPv6
# alias net-pf-11 off # ROSE / Amateur Radio X.25 PLP
alias net-pf-17 af_packet # Packet socket (tcpdump)
# alias net-pf-19 off # Acorn Econet
alias via82cxxx via82cxxx_audio
alias char-major-10-175 agpgart
alias char-major-10-200 tun
alias char-major-81 bttv
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5
# Name inconsistency in 2.4 Kernel series
alias ide_cs ide-cs
alias usbcore off
alias autofs autofs4
# If both mousedev and usbmouse are insmodded, neither of them works right.
# Adding solution proposed by Kai Lehmann:
alias usbmouse mousedev
# Same for USB keyboards, which should be used in hid generic mode instead
alias usbkbd hid
### update-modules: end processing /etc/modutils/aliases
### update-modules: start processing /etc/modutils/apm
# alias char-major-10-134 apm
alias char-major-10-134 off
alias /dev/apm_bios /dev/misc/apm_bios
alias /dev/misc/apm_bios apm
options apm power_off=1
### update-modules: end processing /etc/modutils/apm
### update-modules: start processing /etc/modutils/autofs
probe autofs autofs4 autofs
### update-modules: end processing /etc/modutils/autofs
### update-modules: start processing /etc/modutils/bluez
# BlueZ modules
alias net-pf-31 bluez
alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-3 rfcomm
alias bt-proto-4 bnep
alias bt-proto-5 cmtp
alias bt-proto-6 hidp
alias tty-ldisc-15 hci_uart
alias char-major-10-250 hci_vhci
### update-modules: end processing /etc/modutils/bluez
### update-modules: start processing /etc/modutils/ftape-util
#
# load ftape/zftape automatically
#
# valid for all versions with zftape
alias char-major-27 zftape
# Bleeding edge ftape driver from ftape-module
options ftape ft_fdc_driver=ftape-internal,none,none,none
options ftape-internal ft_fdc_base=0x3f0 ft_fdc_irq=6 ft_fdc_dma=2
pre-install ftape-internal /usr/bin/swapout 15
# ftape driver from 2.2 kernel (Comment previous three lines and uncomment the next one)
# options ftape ft_fdc_rate_limit=1000 ft_fdc_threshold=16 ft_fdc_base=0x360 ft_fdc_irq=9 ft_fdc_dma=3
# You may need to fine tune the parameters. See the ftape documentation for more details
### update-modules: end processing /etc/modutils/ftape-util
### update-modules: start processing /etc/modutils/ipx.aliases
alias net-pf-4 ipx
### update-modules: end processing /etc/modutils/ipx.aliases
### update-modules: start processing /etc/modutils/irda
alias tty-ldisc-11 irtty
# The following is for new kernel.
alias char-major-161 ircomm-tty
# The following is for old kernel.
alias char-major-60 ircomm_tty
# To be able to attach some dongles
alias irda-dongle-0 tekram
alias irda-dongle-1 esi
alias irda-dongle-2 actisys
alias irda-dongle-3 actisys
alias irda-dongle-4 girbil
alias irda-dongle-5 litelink
alias irda-dongle-6 airport
alias irda-dongle-7 old_belkin
# FIR device drivers.
# options smc-ircc ircc_irq= ircc_dma=
# alias irda0 smc-ircc
# options toshoboe max_baud=
# alias irda0 toshoboe
# options w83977af_ir io= io2= irq= qos_mtt_bits=
# alias irda0 w83977af_ir
# To use the NSC driver on a Thinkpad laptop: uncomment the following:
# options nsc-ircc dongle_id=0x09
# alias irda0 nsc-ircc
### update-modules: end processing /etc/modutils/irda
### update-modules: start processing /etc/modutils/linux-wlan-ng
# Aliases to tell insmod/modprobe which module to use when bringing up the
# wlan0 interface.
# Uncomment the line corresponding to the type of prism2 device you have.
#alias wlan0 prism2_pci
alias wlan0 prism2_usb
#alias wlan0 prism2_cs
#alias wlan0 prism2_plx
### update-modules: end processing /etc/modutils/linux-wlan-ng
### update-modules: start processing /etc/modutils/madwifi
# Alias to load into the kernel
alias ath0 ath_pci
### update-modules: end processing /etc/modutils/madwifi
### update-modules: start processing /etc/modutils/mt-st
# Reset the st driver on module insertion...
post-install st /etc/init.d/mt-st modload > /dev/null 2> /dev/null
### update-modules: end processing /etc/modutils/mt-st
### update-modules: start processing /etc/modutils/options
options sbp2 sbp2_serialize_io=1
### update-modules: end processing /etc/modutils/options
### update-modules: start processing /etc/modutils/paths
# This file contains a list of paths that modprobe should scan,
# beside the ones that are compiled into the modutils tools
# themselves.
### update-modules: end processing /etc/modutils/paths
### update-modules: start processing /etc/modutils/ppp
alias /dev/ppp ppp_generic
alias char-major-108 ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
### update-modules: end processing /etc/modutils/ppp
### update-modules: start processing /etc/modutils/raidtools2
alias md-personality-1 linear
alias md-personality-2 raid0
alias md-personality-3 raid1
alias md-personality-4 raid5
### update-modules: end processing /etc/modutils/raidtools2
### update-modules: start processing /etc/modutils/setserial
#
# This is what I wanted to do, but logger is in /usr/bin, which isn't loaded
# when the module is first loaded into the kernel at boot time!
#
#post-install serial /etc/init.d/setserial start | logger -p daemon.info -t "setserial-module reload"
#pre-remove serial /etc/init.d/setserial stop | logger -p daemon.info -t "setserial-module uload"
#
alias /dev/tts serial
alias /dev/tts/0 serial
alias /dev/tts/1 serial
alias /dev/tts/2 serial
alias /dev/tts/3 serial
post-install serial /etc/init.d/setserial modload > /dev/null 2> /dev/null
pre-remove serial /etc/init.d/setserial modsave > /dev/null 2> /dev/null
### update-modules: end processing /etc/modutils/setserial
### update-modules: start processing /etc/modutils/arch/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc
# no warnings to stderr on KNOPPIX
insmod_opt=-q
### update-modules: end processing /etc/modutils/arch/i386 |
|