Re: Cannot configure Sound Card, RH9, New Box
From: Dances With Crows (danSPANceswitTRAPhcrows_at_usa.net)
Date: 08/27/04
- Next message: Linnix: "Dealing with Unreliable Serial Bus (USB NIC)"
- Previous message: Juhan Leemet: "Re: User Agents Analysis Report"
- In reply to: Nico Kadel-Garcia: "Re: Cannot configure Sound Card, RH9, New Box"
- Next in thread: Juhan Leemet: "Re: Cannot configure Sound Card, RH9, New Box"
- Reply: Juhan Leemet: "Re: Cannot configure Sound Card, RH9, New Box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Aug 2004 13:03:27 GMT
On Thu, 26 Aug 2004 23:51:03 -0400, Nico Kadel-Garcia staggered into the
Black Sun and said:
> "Dances With Crows" <danSPANceswitTRAPhcrows@usa.net> wrote in message
> news:slrncit3uj.hq9.danSPANceswitTRAPhcrows@samantha.crow202.dyndns.org...
>> > I was able to install and configure drivers for my SATA controller
>> > card. And it works when I initially loaded the module. However, I
>> > cannot get RH to detect the device and load the module on startup.
>> Redhat and derived distros have a script that's always executed on boot.
>> It's /etc/rc.d/rc.local . Add the modprobe command you need to that
>> script, and the module will be loaded.
> Don't muck with rc.local. Honest.
Huh? rc.local or boot.local is explicitly there to *be* mucked with.
> If you want to hand-load it at boot time, create an init script in
> /etc/init.d/{whatever}, and use the "chkconfig" command to enable or
> disable it at certain runlevels. That way you can turn it on or off at
> will by running the same init command after the sytem is running. This
...is overkill. chkconfig is a Redhat-specific command, and most
newbies get confused when you try to explain the SysV init setup to
them. The stated goal for this ("modprobe sata-foo && mount /dev/blah
/mnt/somewhere") certainly doesn't require a full init script.
> That way, if you have a problem with the driver, you can unload it in
> a well-defined fashion without hand-editing a critical system file,
> namely rc.local.
rc.local / boot.local isn't a critical system file. It's a shell script
that's run when the system boots. In a default distribution, it has
nothing in it but #!/bin/bash and a bunch of comments describing its
function. /etc/inittab and /etc/fstab are critical system files. If
you have a problem with a kernel module, you'll have to rmmod it.
-- Matt G|There is no Darkness in Eternity/But only Light too dim for us to see Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong http://www.brainbench.com / Hire me! -----------------------------/ http://crow202.dyndns.org/~mhgraham/resume
- Next message: Linnix: "Dealing with Unreliable Serial Bus (USB NIC)"
- Previous message: Juhan Leemet: "Re: User Agents Analysis Report"
- In reply to: Nico Kadel-Garcia: "Re: Cannot configure Sound Card, RH9, New Box"
- Next in thread: Juhan Leemet: "Re: Cannot configure Sound Card, RH9, New Box"
- Reply: Juhan Leemet: "Re: Cannot configure Sound Card, RH9, New Box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|