LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-22-2008, 01:51 PM   #1
johnerskine2008
LQ Newbie
 
Registered: Jul 2008
Posts: 3

Rep: Reputation: 0
Sound Problem: Do I have a kernel issue?


Running Hardy 8.04 on AMD 64, with nvidia Corporation MCP51 High Definition Audio card

I'm having a problem with sound on my Hardy installation, after an abortive installation of some recently. As the installation slowed badly I switched off like an idiot. Hence the problem...

fsck sorted the file system, and I recovered the screen resolution too.

However a number of attempts haven't yielded a solution to the problem of no sound.

Kmix shows the red circle with the white X, and the message 'Mixer cannot be found'

I've checked system settings, and that hasn't sorted anything. I've also used a few guides, particularly the one at Ubuntu Forums (Comprehensive Sound Problems Solutions Guide)

Unfortunately, much of this is negated as I can't find if there's an ALSA driver for my soundcard at

I've opened a terminal and run a few scripts. The sequence that I've used is

aplay -l
aplay: device_list:205: no soundcards found...

then

lspci -v

which shows the following

00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
Subsystem: ASUSTeK Computer Inc. Unknown device 81cb
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 11
Memory at fe028000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>

Then I tried

'sudo modprobe snd-'

which gets the response

FATAL: Module snd_ not found.

Then

'lsmod | grep snd:'

which didn't get any response

I followed this with

'sudo apt-get --purge remove linux-sound-base alsa-base alsa-utils'

this runs, and generates the following error message

(Reading database ... dpkg: error processing /var/cache/apt/archives/linux-image
-2.6.24-19-generic_2.6.24-19.36_i386.deb (--unpack):
files list file for package `linux-image-2.6.24-19-generic' is missing final newline
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-2.6.24-19-generic_2.6.24-19.36_i386.deb
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

Then I tried

'sudo apt-get install linux-sound-base alsa-base alsa-utils'

which generates the same error message

Then I tried

'aplay -l'

again, but still no soundcard showing

Then I tried

'sudo apt-get install build-essential linux-headers-$(uname -r) module-assistant alsa-source'

This generates the same error message


Then I tried

'sudo dpkg-reconfigure alsa-source'

and got

Package `alsa-source' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: alsa-source is not installed.
John@ubuntu:~$ sudo dpkg-reconfigure alsa-source
Package `alsa-source' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: alsa-source is not installed.

Then I tried

'sudo apt-get install build-essential linux-headers-$(uname -r) module-assistant alsa-source'

which generates the same error message again

Finally, I tried

'sudo apt-get install alsa-utils'

This generated the same error message

then I tried

sudo /etc/init.d/alsa-utils reset

which generates

* Resetting ALSA... [ OK ]

but the sound still didn't work, after switching off and rebooting

I've also run sudo lspci -v

and got

00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
Subsystem: ASUSTeK Computer Inc. Unknown device 81cb
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 11
Memory at fe028000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+ Queue=0/0 Enable-
Capabilities: [6c] HyperTransport: MSI Mapping

Does this say anything more that's useful?

Sorry to burden people with a lots of script, but I'm not sure what's important here.

Would using

dpkg --info (= dpkg-deb --info) to examine archive files,
dpkg --contents (= dpkg-deb --contents) to list their contents.

be a useful next move?

Or alternatively, based on some reading I've been doing (Running Linux; Dalheimer and Welsh), should I look at reinstalling the kernel?

Any ideas?

Last edited by johnerskine2008; 08-04-2008 at 08:43 PM. Reason: Problem solved
 
Old 07-23-2008, 06:42 AM   #2
biophysics
Member
 
Registered: Jan 2002
Location: Germany
Distribution: Kubuntu
Posts: 444

Rep: Reputation: 30
Seems like the modules are not loaded.
can you post
lsmod | grep snd

Otherwise, try to
sudo apt-get -f install

I would recommend you to then use "synaptic/adept_manager" to reinstall alsa* packages. then reboot machine.

If nothing works then, sudo /etc/init.d/alsa-utils start

Do you have a folder
/lib/modules/KERNEL-VERSION/ ?

If this is a very new install, I would tell it is easier to reinstall the machine (keep the home folder safe).
 
Old 07-26-2008, 05:05 AM   #3
jameslaw
Member
 
Registered: Nov 2005
Location: Trento, Italy
Distribution: Debian:testing, Ubuntu
Posts: 33

Rep: Reputation: 15
OP doesn't seem to be answering your request, but I have the same problem, so I will. I have a different sound chip, though.

> sudo lspci -v
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
Subsystem: Dell Inspiron 1420
Flags: bus master, fast devsel, latency 0, IRQ 9
Memory at fe9fc000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0


> /lib$ lsmod | grep snd
snd_pcm_oss 42144 0
snd_mixer_oss 17920 1 snd_pcm_oss
snd_pcm 78596 1 snd_pcm_oss
snd_seq_dummy 4868 0
snd_seq_oss 35584 0
snd_seq_midi 9376 0
snd_rawmidi 25760 1 snd_seq_midi
snd_seq_midi_event 8320 2 snd_seq_oss,snd_seq_midi
snd_seq 54224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 24836 2 snd_pcm,snd_seq
snd_seq_device 9612 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 56996 9 snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_de vice
soundcore 8800 1 snd
snd_page_alloc 11400 1 snd_pcm

There are no broken dependencies to fix, so "sudo apt-get -f install" does nothing.

I've reinstalled alsa-packages several times and it doesn't change anything. Same errors as above.

Folder: /lib/modules/2.6.24-19-generic
> ls /lib/modules/2.6.24-19-generic
build madwifi modules.ieee1394map modules.pcimap ubuntu
extra modules.alias modules.inputmap modules.seriomap updates
initrd modules.ccwmap modules.isapnpmap modules.symbols volatile
kernel modules.dep modules.ofmap modules.usbmap

The problem started with dist-upgrade to Hardy. Sound worked perfectly till then. Everything else about the system is fine. If I could downgrade, I would.

One thing I tried which seems strange is manually inserting the snd-hda-intel module.
>sudo insmod ./modules/2.6.24-19-generic/kernel/sound/pci/hda/snd-hda-intel.ko
insmod: error inserting './modules/2.6.24-19-generic/kernel/sound/pci/hda/snd-hda-intel.ko': -1 Unknown symbol in module

Don't know if that means anything or not.

Thx.

Quote:
Originally Posted by biophysics View Post
Seems like the modules are not loaded.
can you post
lsmod | grep snd

Otherwise, try to
sudo apt-get -f install

I would recommend you to then use "synaptic/adept_manager" to reinstall alsa* packages. then reboot machine.

If nothing works then, sudo /etc/init.d/alsa-utils start

Do you have a folder
/lib/modules/KERNEL-VERSION/ ?

If this is a very new install, I would tell it is easier to reinstall the machine (keep the home folder safe).
 
Old 07-26-2008, 04:55 PM   #4
biophysics
Member
 
Registered: Jan 2002
Location: Germany
Distribution: Kubuntu
Posts: 444

Rep: Reputation: 30
apt-get install alsamixergui alsa-utils gnome-alsamixer

Then, run alsamixer (or kmix or gnome mixer)
and look for "headphone jack sense"

you should mute it, then sound will work.
 
Old 07-27-2008, 05:25 AM   #5
jameslaw
Member
 
Registered: Nov 2005
Location: Trento, Italy
Distribution: Debian:testing, Ubuntu
Posts: 33

Rep: Reputation: 15
No mixers or volume controls will run. Alsamixer included.

$ alsamixer
alsamixer: function snd_ctl_open failed for default: No such file or directory

The problem still seems to be that the modules won't load.



Quote:
Originally Posted by biophysics View Post
apt-get install alsamixergui alsa-utils gnome-alsamixer

Then, run alsamixer (or kmix or gnome mixer)
and look for "headphone jack sense"

you should mute it, then sound will work.
 
Old 07-28-2008, 03:41 PM   #6
johnerskine2008
LQ Newbie
 
Registered: Jul 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Been away - hence the lack of a post

Thanks for getting back to me on this

Results of lsmod | grep sound is nothing, and I ran > to print the output to a text file too, and there was no output from this command.

Ran sudo apt-get -f install, and came up with this same error message

Errors were encountered while processing:
/var/cache/apt/archives/linux-image-2.6.24-19-generic_2.6.24-19.36_i386.deb
Processing was halted because there were too many errors.

Then used synaptic to reinstall all ALSA packages

and got

E: /var/cache/apt/archives/linux-image-2.6.24-19-generic_2.6.24-19.36_i386.deb: files list file for package `linux-image-2.6.24-19-generic' is missing final newline

Finally tried

sudo /etc/init.d/alsa-utils start
* Setting up ALSA... [OK]

but still no sound

Any more ideas?
 
Old 07-29-2008, 02:41 AM   #7
jameslaw
Member
 
Registered: Nov 2005
Location: Trento, Italy
Distribution: Debian:testing, Ubuntu
Posts: 33

Rep: Reputation: 15
If you check the output of "dmesg" do you see some snd-hda-intel: missing symbol errors? If so you have the same problem as me, which is that the kernel modules for ALSA won't load. I'm sure your broken install for the generic kernel headers is not helping, but mine install fine and the modules still won't load.

I've tried rebuilding them with module-assistant, but no work. Build is fine, but modules still won't load.
 
Old 07-29-2008, 06:29 AM   #8
biophysics
Member
 
Registered: Jan 2002
Location: Germany
Distribution: Kubuntu
Posts: 444

Rep: Reputation: 30
Quote:
I'm having a problem with sound on my Hardy installation, after an abortive installation of some recently. As the installation slowed badly I switched off like an idiot. Hence the problem...
If it was a recent installation, it would be easier to reinstall it.
 
Old 07-30-2008, 02:55 AM   #9
jameslaw
Member
 
Registered: Nov 2005
Location: Trento, Italy
Distribution: Debian:testing, Ubuntu
Posts: 33

Rep: Reputation: 15
Got sound working. Here's the deal.

http://linux.dell.com/wiki/index.php...Kernel_Upgrade

On the previous page at:

http://linux.dell.com/wiki/index.php/Ubuntu_8.04

They also have fixes for the non-working Wifi LED and a update for your sources.list, if you haven't already.

My laptop works perfectly again.
 
Old 08-04-2008, 08:39 PM   #10
johnerskine2008
LQ Newbie
 
Registered: Jul 2008
Posts: 3

Original Poster
Rep: Reputation: 0
[Solved] Sound Problem: Do I have a kernel issue?

Eventually got the bottom of this problem.

Solution here

https://answers.launchpad.net/ubuntu/+question/41235

Hope this is useful, and many thanks to all those who have helped.
 
  


Reply

Tags
dell, laptop, sound



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 Card Problem in FC 6 --- Really Wierd Issue animeshsaxena Linux - Hardware 3 05-18-2007 04:07 AM
6.06 button resolution problem & sound issue paulgj Ubuntu 2 06-11-2006 04:45 PM
Sound reduced volume issue, upgrading firefox, atx poweroff problem deggial Slackware 8 03-27-2006 12:51 PM
help debian sound issue after kernel upgrade Lleb_KCir Linux - Software 6 07-11-2005 10:34 AM
Kernel 2.6.4 Sound and Ntfs Issue FedoraFox Linux - Newbie 3 06-02-2004 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:52 PM.

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