>From /etc/rc.d/rc.sysinint (this is from a RH6.2 system):

alias=`egrep -s "^alias[[:space:]]+sound-slot-0[[:space:]]+" /etc/conf.modules |
 awk '{ print $3 }'`
if [ -n "$alias" -a "$alias" != "off" ] ; then
      action "Loading sound module ($alias)" modprobe $alias
      RETURN=$?

But I guess it's probably documented somewhere...

__
Larry Grover, PhD
Assoc Prof of Physiology
Marshall Univ Sch of Med



On Sun, 24 Dec 2000 20:48:04 -0500 (EST), Justin Zygmont <[EMAIL PROTECTED]> wrote:
>
> how did you know about the sound-slot-0?  I wish they would list those
> things somewhere..
>
>
> On Wed, 10 Jan 2001, Larry Grover wrote:
>
>> One of my computers uses the same sound modules (also RH7).  Here's the relevant 
>sections of my modules.conf file:
>> 
>> alias sound-service-0-0 cs4232
>> alias sound-slot-0 cs4232
>> options sound dmabuf=1
>> alias midi opl3
>> options opl3 io=0x388
>> options cs4232 io=0x530 irq=5 dma=1 dma2=0 mpuio=0x220 mpuirq=5
>> 
>> You may need to pass some options to the sound modules (as I do), in order for it 
>to recognize which system resources to use (irq, dma, etc).  You'll need to find out 
>what resources your sound card is using, since they may be different than on my 
>system.
>> 
>> What happens if you try to modprobe the sound module (cs4232) after the boot-up 
>process is done?
>> On my computer, I had to move the the loading of the sound modules from 
>/etc/rc.sysinit to rc.local, since the sound modules refused to load any earlier 
>during the system start-up.
>> 
>> __
>> Larry Grover, PhD
>> Assoc Prof of Physiology
>> Marshall Univ Sch of Med
>> 
>> 
>> 
>> On Wed, 10 Jan 2001 15:07:50 -0500, "J. Nestlerode" <[EMAIL PROTECTED]> 
>wrote:
>> >
>> > Thanks to all who replied.  It's still not working.  Here is a re-cap
>> > and what I've tried:
>> >
>> > Sound was lost after upgrading from RH6.1 to RH7.0.  Kernel *was*
>> > upgraded to 2.2.16-22 at that time.  Modutils were also upgraded
>> > (2.3.21-1).  
>> >
>> > conf.modules was renamed to modules.conf.  Other modules listed in this
>> > file are loading, but not sound.  During boot, I get the errors:  
>> >
>> >>> modprobe: Can't locate module cs4232 
>> >>> rc.sysinit: Loading sound module (cs4232):  failed 
>> >>> 
>> >>> modprobe: Can't locate module opl3 
>> >>> rc.sysinit: Loading midi module (opl3):  failed 
>> >
>> > When I run sndconfig, it complains:
>> >
>> >>> "You don't seem to be running a kernel with modular sound enabled.
>> >>> (soundcore.o was not found in the module search path)."                 
>> >
>> > soundcore.o *is* located /lib/modules/2.2.16-22/misc/.  (Thanks to Larry
>> > Grover for suggesting I check that.)  cs4232.o and op13.o are also in
>> > this directory.  Which begs the question, why isn't modprobe locating
>> > these modules on bootup?  (It *is* locating and loading the modules for
>> > my scsi and ethernet cards, which are located in
>> > /lib/modules/2.2.16-22/scsi and .../net, respectively.)  
>> >
>> > I'm at a loss.  Any ideas what else I might try?  Oh- one more thing: 
>> > how to tell definitively which kernel is running?  The reason I ask, >>
>> > cat /etc/issue returns:  
>> >
>> > Red Hat Linux release 7.0 (Guinness)
>> > Kernel 2.2.12-20 on an i586
>> > (new Red Hat, but old kernel)
>> >
>> > likewise, >> uname -r says:  2.2.12-20
>> >
>> > However, >> rpm -q kernel says:  kernel-2.2.16-22
>> >
>> > and lilo.conf is definitely pointing to the new image:
>> >
>> > image=/boot/vmlinuz
>> >         label=linux
>> >         initrd=/boot/initrd-2.2.16-22.img
>> >
>> > So I *am* running the new kernel, right?  Sorry this is so long.  TIA, 
>> >
>> > Joe
>> >
>> 
>> 
>> 
>> _______________________________________________
>> Redhat-list mailing list
>> [EMAIL PROTECTED]
>> https://listman.redhat.com/mailman/listinfo/redhat-list
>> 
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to