Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions
User Name
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.


  Search this Thread
Old 09-14-2002, 09:18 PM   #1
LQ Newbie
Registered: Sep 2002
Location: Tasmania AU
Distribution: Debian Sarge - is stable wooo!
Posts: 21

Rep: Reputation: 15
Question Debian Woody sound problem after clean install

Greetings all !

I am new Debian Woody linux user of about a week.
I have installed a fairly default install off the 7 CDs onto 2
computer systems, both have the same problem.

The sound does not work.
Upon entering the desktop I get an informational message:

Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such device)
The sound server will continue, using the null output device.

The message on both systems was somthing like permission
denied but I fixed that by adding the user to the sound group.

Both systems are lacking sound modules in: /lib/modules/2.2.20-idepci/

Both systems report nothing sound related from: #lsmod

Wow all that googling made me sound pretty smart just then 8)
Ok, time to go downhill :/

My assumptions are:
My kernel is not configured to use sound.
I dont have any sound modules installed.

My clueless questions are:
Can I give my kernel options using lilo to make it use sound?
Or do I need to compile my kernel, if so how does Debian do that?
(I vaguely recall something about compiling into a deb, then install from there)
Are there any Woody kernels pre-compiled floating around?
Can the sound modules be apt-get off the CDs, or do they need to be
compiled from source. If so where do I get the source, from the CDs?

I have not installed any compilers because I hate C. I assume I will
need to do so to compile things. What do I apt-get to get gcc working?
Is gcc the man for this job?

Please add letter perfect command line examples to answers.

Oh, and why in this day and age does Debian NOT install sound
on a desktop machine (even had games selected)?
(Just kidding - Debian evolution can take all the time it wants 8)

My answer to your question:
Yes I am an idiot, I know Debian is not suited to beginners. 8)

PS: Please give me a url to the expert.deb that you experts use to know
all the answers.

cheers and thanks in advance,
Old 09-14-2002, 10:05 PM   #2
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
Are you sure that no sound drivers are installed? It is possible that they are installed but not loaded. If so run
and install the relevent driver.

Failing that you can install a prebuilt kernel image (hopefully one that contains the driver you want!).
apt-get install kernel-image-2.4.18-686
Make sure you pick a kernel image suitable for your system!

Otherwise to compile your own kernel on a Debian system
apt-get install kernel-source
This should give you a message telling you to pick a real package along with a list of possibilities. Then
apt-get install kernel-package less gzip (and the package you picked from the above list)
zless /usr/share/doc/kernel-package/README.gz
read the instructions and do it.
Old 09-15-2002, 12:30 AM   #3
LQ Newbie
Registered: Sep 2002
Location: Tasmania AU
Distribution: Debian Sarge - is stable wooo!
Posts: 21

Original Poster
Rep: Reputation: 15
modconf brings up a nice blue screen which I remember seeing during the install.

It lists the following module categories:


I have looked in each of the categories and can see nothing that I recognise as having anything to do with sound.

Am working on trying to apt-get a kernel image.
I can't find one in dselect, and apt get doesnt find one it just says:
Couldn't find package kernel-image-2.4.18-686

I need to figure out how to add more CDs to the /etc/apt/sources.list because I think I did not scan all the CDs during the install. After the fourth install it clicked that none of the other CDs were being used.

Do I need to upgrade to kernel 2.4.x or should sound work fine under kernel 2.2.x. I have no idea about what kernel is what.
Old 09-15-2002, 01:41 AM   #4
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
I suggest adding some Internet apt sources, the apt-spy tool shoud help you do this.

A 2.4 kernel should be find, but 2.2 should support most sound cards too.
Old 09-15-2002, 02:29 AM   #5
LQ Newbie
Registered: Sep 2002
Location: Tasmania AU
Distribution: Debian Sarge - is stable wooo!
Posts: 21

Original Poster
Rep: Reputation: 15
ok all those thinking about helping wait until I repost.

I have just discovered the uname command.
It reports that the kernel that I am using is:
kernel 2.2.20-idepci
Which, unless I'm mistaken means it does an absolute minimum of modules in it, during the intall.

btw: This was the default option when I hit enter to start the install process at the boot: prompt. Being new to it all, I had no idea what any of it meant. (I hit yes a lot during the install process 8-)

After I get myself sorted, hopefully all being well, I will post here to close this thread.

thank you for the timely responses, they were not on the money, but they made me think about the problem in the right way which led to a solution (i think- hope)

Old 09-15-2002, 03:21 AM   #6
LQ Newbie
Registered: Sep 2002
Location: Tasmania AU
Distribution: Debian Sarge - is stable wooo!
Posts: 21

Original Poster
Rep: Reputation: 15
Problem Solved

see previous post

am happy now 8-)
Old 09-15-2002, 06:02 PM   #7
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
For others with the same problem. Woody has the 2.2 kernel as default, so when you fresh install (boot from cd) write bf2.4 this will install it with the 2.4 kernel.
For a SB compatible soundcard, OSS module almost works every time.
When the system is installed, then as root write:
adduser foo audio
where foo is the user that should have the rights to using sound (remember debian is configured for security)
Old 11-24-2002, 12:31 AM   #8
LQ Newbie
Registered: Jan 2002
Location: omaha, ne
Distribution: suse, debian, redhat, mandrake, openbsd, progeny, engarde
Posts: 15

Rep: Reputation: 0
Cool load the proper module for sound card

If you don't have the proper module loaded for your sound card, you will get this similiar error. "lsmod" shows the modules you are using, "modprobe" invokes a module (must be root). "modconf" will let you pick out the module you need to install via categories. i am running debian stable with a SB Live! Value card, and the module for this card is "emu10k1" for the chipset. i can find this out by checking out the dmesg, "dmesg | less" or looking into my "/proc/pci" file and looking through till I found my sound card, it sayd 'emu10k1' right next to it.

now that we know the module, we must make sure it loads everytime. adding "emu10k1" to my "/etc/modules" file seemed to do it, though there is also an "/etc/modutils/emu10k1" file that does the alias of the driver with 'sound', though shouldn't that be in /etc/modutils/aliases ? my /dev/dsp (sound) device has permissions crw-rw----, and is own'd by root to group 'audio', so they both have read/write permissions, but not all others, and no one has execute permissions. this seems to work for me, got that error message taken away. =) peace
Old 11-24-2002, 09:34 AM   #9
Senior Member
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
i had same problem with es1371
during install instead of just hitting enter key (woody 3) you type bf24

the install the proper kernel module during the install process.

you need to add yourself to audio group also. other wise you get "permission denied: /dev/dsp" error if you boot kde or try to use sound.


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
How to install firewall for Debian 3.0 woody r2 kryptotronic Debian 2 04-03-2004 02:48 PM
Sound glitch in Debian Woody with KDE 3.1.4 upgrade Cage47 Debian 0 04-02-2004 09:56 AM
Reconfigure sound driver for Debian Woody blakeless Linux - Hardware 7 10-09-2003 09:52 PM
Debian Woody Install Help ironwalker Linux - Newbie 2 02-03-2003 02:43 PM
Debian Woody install c0n Linux - Distributions 6 08-16-2002 08:38 AM > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 01:39 PM.

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