No sound w/HD install - sound w/live CD ?


Forum: HD Install
Topic: No sound w/HD install - sound w/live CD ?
started by: newOldUser

Posted by newOldUser on Nov. 15 2004,13:28
When I boot from the DSL 8.3 CD my old sound blaster 16 card works just fine. I can use xmms to play music.  In fact I liked DSL so much I decided to install it to the hard drive.  All went well with the hard drive install (or so it seemed) but now when I boot from the hard drive the sound card is not found (or maybe just not loaded?). When I run xmms it says my sound output is not configured.

If I run "soundcardconfig" it does not find my sound blaster 16 an lets me pick it from the list of sound cards.  When I select the "Sound Blaster 16" entry and hit enter I get a message that says "Segmentation fault" and the soundcardconfig program stops.

if I go into a term as root and do "modprobe sb" the sound card starts working and I can use xmms to play music.

So here are my questions:  

1) In what "init" file can I add the "modprobe sb" statement so it executes on bootup?

2) Why do I get that segmentation fault in soundcardconfig and should I be worried about it?

3) as a newbie bonus question... where do all the startup messages get stored? There are a lot of messages that fly by at bootup and I wanted to see if there were any "sound card" ones that would help.  I looked in /var/log/messages   and also did a "dmesg | less".  This showed me a lot of the messages but I still think there were some I saw go by that aren't in these listings.

Thanks for the help.

Posted by skaos on Nov. 15 2004,14:13
1) You could put it in /opt/bootlocal.sh
Posted by clivesay on Nov. 15 2004,14:38
If you have modprobed it, shouldn't it remain active on a HD install? I don't think you have to insert it every time at boot. That would only be necessary for the livecd.

Chris

Posted by cbagger01 on Nov. 15 2004,21:53
Nope.

modprobe is used to load a driver into the already running operating system, IE: into RAM

So in one way or the other, you will need to modprobe or insmod your driver when you boot up your system, whether or not it is a hd-install or a livecd.

The /opt/bootlocal.sh method should work fine.

These commands are required because it is not possible for knoppix to autodetect some devices, especially if they are legacy ISA devices or in some cases, newer devices that can simulate an older ISA device like an original Soundblaster card.

Posted by clivesay on Nov. 15 2004,22:17
CB -

Are you sure? I just booted a PC with a HD install that I had to do a modprobe sb during the original install and the sound still works.  ???  It is Feather-based and not DSL so maybe a difference between distros?

Maybe I'm crazy!

Chris

Posted by cbagger01 on Nov. 15 2004,22:32
Either you are crazy or my understanding of the modprobe command is faulty :-)
Posted by newOldUser on Nov. 16 2004,00:28
I need to do the "modprobe sb" as root each time I boot the system from the hard drive if I want sound. If I boot from the CD then there is no problem... the sound card works without doing the modprobe.

I'm still trying to capture the error messages at boot up. It says something like "can't find sound-slot-0" or "sound-service-0-0"

Posted by ke4nt1 on Nov. 16 2004,03:48
Placing the text " modprobe sb"  as a line in your /opt/bootlocal.sh file will fix your
troubles..

73
ke4nt

Posted by newOldUser on Nov. 20 2004,04:24
Skaos and ke4nt1 your suggestion works just fine... thanks
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.