You are not logged in.

#1 2008-06-10 20:28:41

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

A lot of modules in rc.conf

I have a lot of modules in /etc/rc.conf, how do i find out what i really need. During boot it takes a second or two to load all the modules, is that long?

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="nl_NL.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Amsterdam"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(uinput r8169 slhc rt2x00lib rt2x00pci rt61pci snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore ivtv)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="lua"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng @network !netfs @crond @mpd @hal @fam @alsa @g15daemon @sensors)

Last edited by Vintendo (2008-06-10 20:29:10)

Offline

#2 2008-06-10 21:13:06

fancris3
Member
Registered: 2007-03-18
Posts: 67

Re: A lot of modules in rc.conf

usually work with MOD_AUTOLOAD="yes" and if you have MODULES=()

Offline

#3 2008-06-10 21:25:29

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: A lot of modules in rc.conf

Heh, if you have a lot of modules, what do I have?

MODULES=(atl1 mii slhc ac97_bus snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device snd-seq-midi-event snd-seq snd-page-alloc snd-pcm snd-rawmidi snd-timer snd snd-mpu401-uart snd-ak4114 snd-ak4xxx-adda snd-pt2258 snd-i2c snd-ac97-codec snd-ice1724 snd-ice17xx-ak4xxx soundcore)

Offline

#4 2008-06-10 21:30:57

Sp4rkR4t
Member
From: Southampton
Registered: 2008-05-06
Posts: 110

Re: A lot of modules in rc.conf

MOD_AUTOLOAD="no"
#MOD_BLACKLIST=() #deprecated
MODULES=(!pcspkr button dock processor thermal cdrom agpgart sis-agp lp ppdev i2c-sis96x i2c-core evdev emu10k1-gp gameport psmouse serio_raw parport parport_pc pci_hotplug shpchp rtc-cmos rtc-core rtc-lib ac97_bus snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device snd-seq-midi-event snd-seq snd-hwdep snd-page-alloc snd-pcm snd-rawmidi snd-timer snd snd-ac97-codec snd-emu10k1 soundcore snd-util-mem pata_acpi pata_sis ata_generic scsi_mod mii ppp_generic sis900 slhc usbcore ehci-hcd ohci-hcd sd_mod sr_mod fuse)

That is my MODULES section.

Offline

#5 2008-06-10 21:33:02

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: A lot of modules in rc.conf

Okay, i get it:P I do not have a lot modules. I was just wondering:P

Offline

#6 2008-06-11 07:18:44

FireSoul
Member
Registered: 2008-04-02
Posts: 14

Re: A lot of modules in rc.conf

MODULES=(ac97_bus snd snd-ac97-codec soundcore)

smile

Offline

#7 2008-06-11 18:50:48

Zer0
Member
From: Windsor, ON, Canada
Registered: 2006-08-25
Posts: 299

Re: A lot of modules in rc.conf

hwdetect --modules

Will list the autodetected modules for your system (which is probably the same as the list in your rc.conf)

Offline

Board footer

Powered by FluxBB