LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2001, 10:21 PM   #1
justin19fl
Member
 
Registered: Apr 2001
Location: Pensacola, Florida
Distribution: Red Hat 9
Posts: 42

Rep: Reputation: 15

I am having trouble getting sound to work. I just installed Red Hat 6.1 and I'm using the Gnome desktop. I am new to Linux, so it is probably just a setting or somthing that I haven't found yet. Here is everything I know about it.

- When I boot up the computer I don't get any errors.

- When I load X I don't get any errors, but I don't have any sound.

- When I log out of X I get weird stuff like this:


/dev/dsp: No such device
/dev/dsp: No such device
rm: cannot remove `/home/justin/.gnome//gmc-MSIhgN': No such file or directory
esd: Esound sound daemon already running or stale UNIX socket
/tmp/.esd/socket
This socket already exists indicating esd is already running.
Exiting...
/dev/dsp: No such device
/dev/dsp: No such device
/dev/dsp: No such device
/dev/dsp: No such device
/bin/bash: xconfigurator: command not found
/dev/dsp: No such device
/dev/dsp: No such device

GnomeUI-WARNING **: Could not open help topics file NULL
/dev/dsp: No such device
/bin/bash: sndconfig: command not found
/dev/dsp: No such device
kill 773: No such process

waiting for X server to shut down

It does *basically* the same thing every time I log out, but most of the time it doesn't have the kill 773 at the end.

- When I shut down the computer it says this:


saving mixer settings modprobe: can't locate module sound-slot-0
modprobe: can't locate sound-service-0-0
aumix: error opening mixer

...and then everything else works fine and it shuts down.

Please try to keep it simple because I don't know Linux very well (my brain has gotten fryed from too much Windows)

Thanks in advance...
 
Old 05-13-2001, 04:13 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Before you read this, I suggest you read the Kernel Howtos.

It sounds like you need to recompile your kernel (gasp!). It's not as big a job as it might first appear, and so long as you KEEP A BACKUP of your existing kernel and of the new kernel options.

Boot into Windows. Determine as much as you possibly can about your hardware (unless you have the original manuals/documents lying handy ). For the sound card, you can do this by 'right-clicking' My Computer, going to Properties and then to system properties. Make a list of all the IRQs, DMAs and IO addresses for your soundcard. With some soundcards (like mine) you will see many entries. For example, I have 'Windows Sound System' and 'SB16', with different IRQs, etc, even though I've only got the one sound-card (CMI8330, onboard).

Reboot into Linux. Open a terminal window, go to '/usr/src/linux' and type 'make xconfig' (it might be './make xconfig'). Only change the soundcard part as the others are default, and should work anyway. Go to the 'save settings to file' bit, and save the setting to a file . I always save the settings to a Windows Partition aswell, so that should I completely wreck my Linux system, I've still got all the options, so I can sort out what went wrong.

Exit from the 'xconfig' program and then type 'make dep' followed by 'make clean' (I believe that 'make dep; make clean' on one line works, but I've never tried it). Once everything is done, type 'make bzImage' with a capital I in Image. And finally 'make bzlilo'. If this last step doesn't work, just run 'lilo'.

Now, what should happen is that your old kernel will be renamed '/oldkernel' or something, and your new one will be '/vmlinuz' (don't ask me about why it's spelt with a z here), and running lilo (or make bzlilo) remakes the lilo config file and points to both as OLD and LINUX respectively (I think).

As I only tried RedHat for about 4 weeks, I'm not sure what happend with the nice boot screen that you would normally get, but the standard Lilo screen is not that unforgiving.

Now, I'm saying that your sound-card will now work, but this works for almost all supported cards. I'm actually still having problems with my s/c because it's a bit of a crappy one. You may have to use something called ALSA (www.alsa-project.org).

Good luck.
 
Old 05-13-2001, 05:48 PM   #3
Dallam
Member
 
Registered: Apr 2001
Location: England
Distribution: SuSE 7.1
Posts: 63

Rep: Reputation: 15
Alsa (advanced linux sound i believe) works great. I had a problem with my sound when i installed suse, didn't configure right. Alsa fixed it right up )
Dallam
 
Old 05-13-2001, 06:02 PM   #4
justin19fl
Member
 
Registered: Apr 2001
Location: Pensacola, Florida
Distribution: Red Hat 9
Posts: 42

Original Poster
Rep: Reputation: 15
thanx...I'll try alsa first since it seems simpler.
 
Old 05-13-2001, 06:17 PM   #5
Dallam
Member
 
Registered: Apr 2001
Location: England
Distribution: SuSE 7.1
Posts: 63

Rep: Reputation: 15
Hi,
just make sure you read the alsa site first. I did rcalsasound before starting alsa config (alsa tries to shut down the sound module, sometimes it doesn't work). Alsa found and identified my card, set it all up and it was over and done with in a few minutes )
Dallam
 
Old 05-22-2001, 01:11 PM   #6
justin19fl
Member
 
Registered: Apr 2001
Location: Pensacola, Florida
Distribution: Red Hat 9
Posts: 42

Original Poster
Rep: Reputation: 15
Thanks for the help. I found out I didn't have sound support in the kernel from the install. Red Hat 6.1 comes with a program called sndconfig that detected my card and set it up. For some reason, I could not find sndconfig in the documentation, and the install didn't say anything about having to run it either.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Problems: CD works, no system/mp3/video sound tabnaka SUSE / openSUSE 5 01-13-2006 12:33 PM
Beginner Question: D-link 538tx configuration problems Jeebs Linux - Networking 1 10-29-2005 10:33 PM
Problems getting sound to play under Mandrake w/2 sound cards HGeneAnthony Linux - Hardware 1 07-02-2004 02:19 PM
(Beginner) Problems with 2nd Install of Slackware supe Slackware 2 06-07-2004 11:49 PM
I am THE beginner please help me :( statuszero Linux - General 10 05-26-2002 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration