Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] new init system

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Mads Laursen <dossen+sgl AT daimi.au.dk>
  • To: Grimoire <sm-grimoire AT lists.ibiblio.org>
  • Subject: Re: [SM-Grimoire] new init system
  • Date: Sun, 24 Aug 2003 10:04:44 +0200

On 23/08/03 20.32, Geoffrey Derber wrote:
> Okay, I've more or less gotten the new init system up and running on my
> system, but there are a few quirks I need help with.
>
> When I boot my system, even though it's in runlevel 5 for default, I
> have to do the following things before I can get gdm to run.
>
> cd /etc/init.d/runlevels/%S/
> ./keymap.sh start
> ./hotplug start
> modprobe nvidia
>
> neither init script, both of which are set as executable, are being run,
> also, when I start X, the nvidia module isn't being loaded, I have to
> manually load it prior to trying to start X, otherwise I get error
> messages about not being able to load the nvidia module.

I don't know about the init-scripts not being run (all of mine works)
but taking a look at the solution to audio-permissions suggested in
the LFS docs (http://hints.linuxfromscratch.org/hints/dsp_devfsd.txt)
I did this to make 'nvidia' load:

(pts/0)root@leela:~$ cat /etc/load_nvidia_mod
#!/bin/sh

mod=nvidia

pres=`lsmod | grep "^$mod\ " | tr -d '[:space:]'`
if [ -z $pres ]; then
modprobe $mod
fi

(pts/0)root@leela:~$ tail -2 /etc/devfsd.conf

LOOKUP nvidia.* EXECUTE /etc/load_nvidia_mod

Just remember to chmod the script so it is executable.

/dossen
--
"Nuclear war can ruin your whole compile."
-- Karl Lehenbauer

Attachment: pgpWgwTbSpqvu.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page