Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I keep getting errors on startup in Arch relating to my rc.conf:

failed to load module "wl"
failed to load module "lib80211" 

etc. It lists all the modules in my /etc/rc.conf

This is my full rc.conf:

#
# /etc/rc.conf - configuration file for initscripts
#

DAEMONS=(syslog-ng dbus networkmanager crond .. etc. ..)
MODULES=(... wl... lib80211... nvidia-bl... openntpd... slim... acpid... pommed)

# Storage
#
# USEDMRAID="no"
# USELVM="no"

# Network
#
# interface=
# address=
# netmask=
# gateway=

HARDWARECLOCK="UTC-5"
TIMEZONE="US/Central"

I notcied this when pommed failed to start in X when I added sudo pommed & in my xinitrc.

Is the config file formated properly?

share|improve this question
    
What are the '...' in MODULES ? –  warl0ck Sep 7 '12 at 3:56
add comment

1 Answer

up vote 4 down vote accepted

Your rc.conf is not properly configured; the elipses (...) in the wiki are illustrative only. The rc.conf file is a shell script and arrays shouldn't contain those dots.

Using that method is the deprecated way of loading modules. If you wish to continue to list them in this file, then you should use this format:

MODULES=(wl lib80211 nvidia-bl)

The correct way to load these modules is outlined on the Arch Wiki, by creating files under /etc/modprobe.d/. In the case of wl, as an example, you would create /etc/modprobe.d/wl and the file would contain:

# load broadcom module at boot
wl

Further, openntpd is a daemon, and should be listed in that array, not in the modules one—as should slim and acpid. I don't know what pommed is but I would check where that should be placed as well.

share|improve this answer
    
Okay, I got it working. The dots are what was messing me up. Thanks –  Jack Stewart Sep 7 '12 at 3:59
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.