Sound just stopped working completely. It used to work before.

Bug #600041 reported by Tenoch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

It started gradually because the sound would stop working and after a reboot it would work again, today it just wont work at all even after the reboot.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: nvidia
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: aplay: device_list:223: no soundcards found...
Architecture: i386
ArecordDevices: arecord: device_list:223: no soundcards found...
CheckboxSubmission: 71f1eefe8b8b0a79087ed60434917a6b
CheckboxSystem: e704f33cc0866ff0f0256a33de39ea1c
Date: Tue Jun 29 21:18:53 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
PackageArchitecture: all
PciMultimedia:

ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: alsa-driver

Revision history for this message
Tenoch (mignonmexicain) wrote :
Revision history for this message
Tenoch (mignonmexicain) wrote :

I compiled to the latest version of alsa drivers and the sound started working again. However after a few mines sound was gone. Something makes the alsa drives get erased.

Revision history for this message
htmldeveloper@gmail.com (htmldeveloper) wrote : Re: [Bug 600041] Re: Sound just stopped working completely. It used to work before.

how about going through this:

https://wiki.ubuntu.com/DebuggingSoundProblems

https://wiki.ubuntu.com/DebuggingSoundProblems/KarmicCaveats

and see if u can provide more information?

On Wed, Jun 30, 2010 at 12:45 PM, Tenoch <email address hidden> wrote:
> I compiled to the latest version of alsa drivers and the sound started
> working again. However after a few mines sound was gone. Something makes
> the alsa drives get erased.
>
> --
> Sound just stopped working completely. It used to work before.
> https://bugs.launchpad.net/bugs/600041
> You received this bug notification because you are a member of Ubuntu
> Audio Team, which is subscribed to alsa-driver in ubuntu.
>
> Status in “alsa-driver” package in Ubuntu: New
>
> Bug description:
> It started gradually because the sound would stop working and after a reboot it would work again, today it just wont work at all even after the reboot.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
> ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
> Uname: Linux 2.6.32-22-generic i686
> NonfreeKernelModules: nvidia
> AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
> AplayDevices: aplay: device_list:223: no soundcards found...
> Architecture: i386
> ArecordDevices: arecord: device_list:223: no soundcards found...
> CheckboxSubmission: 71f1eefe8b8b0a79087ed60434917a6b
> CheckboxSystem: e704f33cc0866ff0f0256a33de39ea1c
> Date: Tue Jun 29 21:18:53 2010
> EcryptfsInUse: Yes
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> PackageArchitecture: all
> PciMultimedia:
>
> ProcEnviron:
>  LANG=en_US.utf8
>  SHELL=/bin/bash
> SourcePackage: alsa-driver
>
>
>

--
Regards,
Peter Teoh

Revision history for this message
Tenoch (mignonmexicain) wrote :

That is how i was able to report the bug by following all the instructions on the links you provided. If you need something else let me know. dmesg | grep firmware

Revision history for this message
htmldeveloper@gmail.com (htmldeveloper) wrote :

From below:

AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit
code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: aplay: device_list:223: no soundcards found...
Architecture: i386

It indicated that kernel did not load the driver: check lsmod | grep snd?

And since your kernel version has been upgraded:

Uname: Linux 2.6.32-22-generic i686

so take a look into the directory:

/lib/modules/2.6.32-22-generic/kernel/sound and see all the kernel
modules are there?

Eg, for mine (working fine):

/lib/modules/2.6.32-21-generic/kernel/sound>find
./drivers/snd-dummy.ko
./drivers/mpu401
./drivers/mpu401/snd-mpu401.ko
./drivers/mpu401/snd-mpu401-uart.ko
./drivers/snd-mts64.ko
./drivers/snd-mtpav.ko
./drivers/snd-portman2x4.ko
./drivers/snd-virmidi.ko
./soundcore.ko
./pcmcia
./pcmcia/vx
./pcmcia/vx/snd-vxpocket.ko
./pcmcia/pdaudiocf
./pcmcia/pdaudiocf/snd-pdaudiocf.ko
./sound_firmware.ko
./ac97_bus.ko

and of course have to be verified that it is loaded via lsmod as well.

On Thu, Jul 1, 2010 at 1:19 AM, Tenoch <email address hidden> wrote:
> That is how i was able to report the bug by following all the
> instructions on the links you provided. If you need something else let
> me know. dmesg | grep firmware
>
> --
> Sound just stopped working completely. It used to work before.
> https://bugs.launchpad.net/bugs/600041
> You received this bug notification because you are a member of Ubuntu
> Audio Team, which is subscribed to alsa-driver in ubuntu.
>
> Status in “alsa-driver” package in Ubuntu: New
>
> Bug description:
> It started gradually because the sound would stop working and after a reboot it would work again, today it just wont work at all even after the reboot.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
> ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
> Uname: Linux 2.6.32-22-generic i686
> NonfreeKernelModules: nvidia
> AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
> AplayDevices: aplay: device_list:223: no soundcards found...
> Architecture: i386
> ArecordDevices: arecord: device_list:223: no soundcards found...
> CheckboxSubmission: 71f1eefe8b8b0a79087ed60434917a6b
> CheckboxSystem: e704f33cc0866ff0f0256a33de39ea1c
> Date: Tue Jun 29 21:18:53 2010
> EcryptfsInUse: Yes
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> PackageArchitecture: all
> PciMultimedia:
>
> ProcEnviron:
>  LANG=en_US.utf8
>  SHELL=/bin/bash
> SourcePackage: alsa-driver
>
>
>

--
Regards,
Peter Teoh

Revision history for this message
Tenoch (mignonmexicain) wrote :

I have noticed that sometimes the sound works, but after a few minutes it just stops working. The info below is after the sound stopped working. The command alsamixer actually gave me a menu to change the settings of my sound card, but this is not always the case because when i turn on the computer and there is no sound from the beginning of the session if i try alsamixer it says no such file or directory.

ernesto@ernesto-laptop:~$ lsmod | grep snd
snd_hda_codec_conexant 22641 1
snd_hda_intel 21941 2
snd_hda_codec 74201 2 snd_hda_codec_conexant,snd_hda_intel
snd_hwdep 5412 1 snd_hda_codec
snd_pcm_oss 35308 0
snd_mixer_oss 13746 1 snd_pcm_oss
snd_pcm 70662 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy 1338 0
snd_seq_oss 26726 0
snd_seq_midi 4557 0
snd_rawmidi 19056 1 snd_seq_midi
snd_seq_midi_event 6003 2 snd_seq_oss,snd_seq_midi
snd_seq 47263 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 19098 2 snd_pcm,snd_seq
snd_seq_device 5700 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 54148 16 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 6620 1 snd
snd_page_alloc 7076 2 snd_hda_intel,snd_pcm

Revision history for this message
Tenoch (mignonmexicain) wrote :
Download full text (3.9 KiB)

I have those kernels below. In the 2.6.32.23-generic kernel all of the files or directories you mentioned on top are present.

/lib/modules/2.6.32-21-generic
/lib/modules/2.6.32-22-generic
/lib/modules/2.6.32-23-generic

Not sure what you mean by "and of course have to be verified that it is loaded via lsmod as well" i just ran that command and this is the output

ernesto@ernesto-laptop:~$ lsmod
Module Size Used by
aes_i586 7268 581
aes_generic 26863 1 aes_i586
dm_crypt 11331 0
binfmt_misc 6587 1
snd_hda_codec_conexant 22641 1
ppdev 5259 0
ipt_REJECT 1928 1
ipt_LOG 4542 9
xt_limit 1382 2
xt_tcpudp 2011 8
ipt_addrtype 1631 4
vboxnetadp 6390 0
snd_hda_intel 21941 2
vboxnetflt 12740 0
snd_hda_codec 74201 2 snd_hda_codec_conexant,snd_hda_intel
vboxdrv 168753 2 vboxnetadp,vboxnetflt
snd_hwdep 5412 1 snd_hda_codec
xt_state 1098 6
snd_pcm_oss 35308 0
snd_mixer_oss 13746 1 snd_pcm_oss
snd_pcm 70662 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
ip6table_filter 2343 1
arc4 1153 2
ip6_tables 11227 1 ip6table_filter
nf_nat_irc 1124 0
snd_seq_dummy 1338 0
nf_conntrack_irc 3332 1 nf_nat_irc
snd_seq_oss 26726 0
snd_seq_midi 4557 0
snd_rawmidi 19056 1 snd_seq_midi
snd_seq_midi_event 6003 2 snd_seq_oss,snd_seq_midi
nf_nat_ftp 1836 0
snd_seq 47263 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
nf_nat 15735 2 nf_nat_irc,nf_nat_ftp
nf_conntrack_ipv4 10672 8 nf_nat
nf_defrag_ipv4 1073 1 nf_conntrack_ipv4
ath5k 121792 0
nf_conntrack_ftp 5381 1 nf_nat_ftp
snd_timer 19098 2 snd_pcm,snd_seq
mac80211 205146 1 ath5k
ath 7611 1 ath5k
snd_seq_device 5700 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
nf_conntrack 61583 7 xt_state,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_nat,nf_conntrack_ipv4,nf_conntrack_ftp
sdhci_pci 5470 0
iptable_filter 2271 1
sdhci 15462 1 sdhci_pci
snd 54148 16 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
cfg80211 126517 3 ath5k,mac80211,ath
soundcore 6620 1 snd
joydev 8708 0
ip_tables 9991 1 iptable_filter
led_class 2864 2 ath5k,sdhci
k8temp 3024 0
snd_page_alloc 7076 2 snd_hda_intel,snd_pcm
ricoh_mmc 2923 0
i2c_nforce2 5199 0
nvidia 9961216 40
agpgart 31724 1 nvidia
psmouse 63245 0
uvcvideo 56990 0
videodev 34361 1 uvcvideo
v4l1_compat 13251...

Read more...

Revision history for this message
Tenoch (mignonmexicain) wrote :

Now this is when I turn on my computer and there is no sound since the beginning of the session.
ernesto@ernesto-laptop:~$ lsmod | grep snd
ernesto@ernesto-laptop:~$
as you can see the lsmod | grep snd did not have any output

the files or directories are present, none is missing on kernel 2.6.32.23-generic

ernesto@ernesto-laptop:~$ lsmod
Module Size Used by
aes_i586 7268 404
aes_generic 26863 1 aes_i586
binfmt_misc 6587 1
ppdev 5259 0
ipt_REJECT 1928 1
ipt_LOG 4542 9
xt_limit 1382 2
xt_tcpudp 2011 8
dm_crypt 11331 0
ipt_addrtype 1631 4
xt_state 1098 6
ip6table_filter 2343 1
ip6_tables 11227 1 ip6table_filter
vboxnetadp 6390 0
vboxnetflt 12740 0
nf_nat_irc 1124 0
nf_conntrack_irc 3332 1 nf_nat_irc
nf_nat_ftp 1836 0
nf_nat 15735 2 nf_nat_irc,nf_nat_ftp
vboxdrv 168753 2 vboxnetadp,vboxnetflt
nf_conntrack_ipv4 10672 8 nf_nat
nf_defrag_ipv4 1073 1 nf_conntrack_ipv4
arc4 1153 2
joydev 8708 0
nf_conntrack_ftp 5381 1 nf_nat_ftp
uvcvideo 56990 0
nvidia 9961216 40
nf_conntrack 61583 7 xt_state,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_nat,nf_conntrack_ipv4,nf_conntrack_ftp
videodev 34361 1 uvcvideo
i2c_nforce2 5199 0
iptable_filter 2271 1
sdhci_pci 5470 0
ricoh_mmc 2923 0
v4l1_compat 13251 2 uvcvideo,videodev
k8temp 3024 0
agpgart 31724 1 nvidia
ath5k 121792 0
mac80211 205146 1 ath5k
sdhci 15462 1 sdhci_pci
ath 7611 1 ath5k
ip_tables 9991 1 iptable_filter
x_tables 14299 8 ipt_REJECT,ipt_LOG,xt_limit,xt_tcpudp,ipt_addrtype,xt_state,ip6_tables,ip_tables
cfg80211 126517 3 ath5k,mac80211,ath
led_class 2864 2 ath5k,sdhci
psmouse 63245 0
serio_raw 3978 0
lp 7028 0
parport 32635 2 ppdev,lp
ohci1394 26950 0
fbcon 35102 71
tileblit 2031 1 fbcon
font 7557 1 fbcon
bitblit 4707 1 fbcon
softcursor 1189 1 bitblit
video 17375 0
output 1871 1 video
pata_amd 8766 2
forcedeth 49556 0
ieee1394 81181 1 ohci1394
vga16fb 11385 1
vgastate 8961 1 vga16fb
ahci 32168 2

Revision history for this message
htmldeveloper@gmail.com (htmldeveloper) wrote :
Download full text (5.9 KiB)

On Fri, Jul 2, 2010 at 5:39 AM, Tenoch <email address hidden> wrote:
> Now this is when I turn on my computer and there is no sound since the beginning of the session.
> ernesto@ernesto-laptop:~$ lsmod | grep snd
> ernesto@ernesto-laptop:~$
> as you can see the  lsmod | grep snd did not have any output
>
>
> the files or directories are present, none is missing on kernel 2.6.32.23-generic
>

Just to clarify, so u have gone each of the following subdirectories:

/lib/modules/2.6.32-21-generic/kernel
/lib/modules/2.6.32-22-generic/kernel
/lib/modules/2.6.32-23-generic/kernel

and make sure that the kernel modules exists? They cannot be
identical due to kernel version differences. For eg, under my
directory (custom-build kernel):

/lib/modules/2.6.34-rc3/kernel
./sound/usb:
total 752
drwxr-xr-x 4 root root 4096 2010-06-18 00:58 .
drwxr-xr-x 12 root root 4096 2010-06-18 00:58 ..
drwxr-xr-x 2 root root 4096 2010-06-18 00:58 caiaq
-rw-r--r-- 1 root root 544195 2010-06-18 00:58 snd-usb-audio.ko
-rw-r--r-- 1 root root 204939 2010-06-18 00:58 snd-usb-lib.ko
drwxr-xr-x 2 root root 4096 2010-06-18 00:58 usx2y

./sound/usb/caiaq:
total 652
drwxr-xr-x 2 root root 4096 2010-06-18 00:58 .
drwxr-xr-x 4 root root 4096 2010-06-18 00:58 ..
-rw-r--r-- 1 root root 658176 2010-06-18 00:58 snd-usb-caiaq.ko

./sound/usb/usx2y:
total 664
drwxr-xr-x 2 root root 4096 2010-06-18 00:58 .
drwxr-xr-x 4 root root 4096 2010-06-18 00:58 ..
-rw-r--r-- 1 root root 204586 2010-06-18 00:58 snd-usb-us122l.ko
-rw-r--r-- 1 root root 465217 2010-06-18 00:58 snd-usb-usx2y.ko

and ensuring the permission are valid, right? (unlikely to have error
if u are doing it by Lucid or apt-get way)

Together with "dmesg"'s output needed as well - do this on the machine
where /dev/snd is not found. "dmesg" should indicate some errors
during kernel bootup, as lsmod does not show any "snd" related modules
being loaded.

Since udev configuration is commonly used by all the different kernel
version - this is unlikely to be the cause of error.

> ernesto@ernesto-laptop:~$ lsmod
> Module                  Size  Used by
> aes_i586                7268  404
> aes_generic            26863  1 aes_i586
> binfmt_misc             6587  1
> ppdev                   5259  0
> ipt_REJECT              1928  1
> ipt_LOG                 4542  9
> xt_limit                1382  2
> xt_tcpudp               2011  8
> dm_crypt               11331  0
> ipt_addrtype            1631  4
> xt_state                1098  6
> ip6table_filter         2343  1
> ip6_tables             11227  1 ip6table_filter
> vboxnetadp              6390  0
> vboxnetflt             12740  0
> nf_nat_irc              1124  0
> nf_conntrack_irc        3332  1 nf_nat_irc
> nf_nat_ftp              1836  0
> nf_nat                 15735  2 nf_nat_irc,nf_nat_ftp
> vboxdrv               168753  2 vboxnetadp,vboxnetflt
> nf_conntrack_ipv4      10672  8 nf_nat
> nf_defrag_ipv4          1073  1 nf_conntrack_ipv4
> arc4                    1153  2
> joydev                  8708  0
> nf_conntrack_ftp        5381  1 nf_nat_ftp
> uvcvideo               56990  0
> nvidia               9961216  40
> nf_conntrack           61583  7 xt_st...

Read more...

Revision history for this message
htmldeveloper@gmail.com (htmldeveloper) wrote :
Download full text (4.0 KiB)

if it is still working, get a snapshot of the lsof output. (this
will show all the devices it opened, eg:

lsof |grep snd

pulseaudi 4379 tthtlc mem CHR 116,6
6857 /dev/snd/pcmC0D0p
pulseaudi 4379 tthtlc mem REG 8,2 362800
10148 /usr/lib/libsndfile.so.1.0.17
pulseaudi 4379 tthtlc 22u CHR 116,8
6820 /dev/snd/controlC0
pulseaudi 4379 tthtlc 29u CHR 116,8
6820 /dev/snd/controlC0
pulseaudi 4379 tthtlc 32u CHR 116,8
6820 /dev/snd/controlC0
pulseaudi 4379 tthtlc 35u CHR 116,6
6857 /dev/snd/pcmC0D0p
gconf-hel 4380 tthtlc mem REG 8,2 362800
10148 /usr/lib/libsndfile.so.1.0.17
mixer_app 4476 tthtlc 21u CHR 116,8
6820 /dev/snd/controlC0

and then perhaps compare the output with that when the sound is no
longer audible. I suspect some hanging process, opening the drivers,
and never closed it properly. A reboot is often needed (for me at
least, after combining bristol + rosegarden + totem usages in
different order).

On Fri, Jul 2, 2010 at 5:08 AM, Tenoch <email address hidden> wrote:
> I have noticed that sometimes the sound works, but after a few minutes
> it just stops working. The info below is after the sound stopped
> working. The command alsamixer actually gave me a menu to change the
> settings of my sound card, but this is not always the case because when
> i turn on the computer and there is no sound from the beginning of the
> session if i try alsamixer it says no such file or directory.
>
> ernesto@ernesto-laptop:~$ lsmod | grep snd
> snd_hda_codec_conexant    22641  1
> snd_hda_intel          21941  2
> snd_hda_codec          74201  2 snd_hda_codec_conexant,snd_hda_intel
> snd_hwdep               5412  1 snd_hda_codec
> snd_pcm_oss            35308  0
> snd_mixer_oss          13746  1 snd_pcm_oss
> snd_pcm                70662  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
> snd_seq_dummy           1338  0
> snd_seq_oss            26726  0
> snd_seq_midi            4557  0
> snd_rawmidi            19056  1 snd_seq_midi
> snd_seq_midi_event      6003  2 snd_seq_oss,snd_seq_midi
> snd_seq                47263  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
> snd_timer              19098  2 snd_pcm,snd_seq
> snd_seq_device          5700  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
> snd                    54148  16 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
> soundcore               6620  1 snd
> snd_page_alloc          7076  2 snd_hda_intel,snd_pcm
>
> --
> Sound just stopped working completely. It used to work before.
> https://bugs.launchpad.net/bugs/600041
> You received this bug notification because you are a member of Ubuntu
> Audio Team, which is subscribed to alsa-driver in ubuntu.
>
> Status in “alsa-driver” package in Ubuntu: New
>
> Bug description:
> It started gradually because the sound would stop working and after a reboot it would work again, today it just wont work at all even after the reboot.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
>...

Read more...

Revision history for this message
Tenoch (mignonmexicain) wrote :
Download full text (27.7 KiB)

i check the directories of only hte kernel 2.6.32.23-generic

I have not being able to make the sound work again. I have rebooted so many times and now it does not work anymore. Here is the output of dsmeg

[ 0.215553] ACPI: PCI Interrupt Link [LUS0] (IRQs 18) *11
[ 0.215738] ACPI: PCI Interrupt Link [LUS2] (IRQs 22) *7
[ 0.215923] ACPI: PCI Interrupt Link [LMAC] (IRQs 20) *11
[ 0.216115] ACPI: PCI Interrupt Link [LAZA] (IRQs 21) *10
[ 0.216300] ACPI: PCI Interrupt Link [LGPU] (IRQs 16) *10
[ 0.216485] ACPI: PCI Interrupt Link [LPID] (IRQs 22) *0, disabled.
[ 0.216670] ACPI: PCI Interrupt Link [LSI0] (IRQs 23) *11
[ 0.216855] ACPI: PCI Interrupt Link [Z018] (IRQs 18) *5
[ 0.217040] ACPI: PCI Interrupt Link [Z019] (IRQs 22) *10
[ 0.217225] ACPI: PCI Interrupt Link [LPMU] (IRQs *11)
[ 0.217340] vgaarb: device added: PCI:0000:00:12.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.217348] vgaarb: loaded
[ 0.217465] SCSI subsystem initialized
[ 0.217564] libata version 3.00 loaded.
[ 0.217637] usbcore: registered new interface driver usbfs
[ 0.217653] usbcore: registered new interface driver hub
[ 0.217682] usbcore: registered new device driver usb
[ 0.217846] ACPI: WMI: Mapper loaded
[ 0.217848] PCI: Using ACPI for IRQ routing
[ 0.218002] NetLabel: Initializing
[ 0.218004] NetLabel: domain hash size = 128
[ 0.218006] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.218019] NetLabel: unlabeled traffic allowed by default
[ 0.218053] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 31
[ 0.218059] hpet0: 3 comparators, 32-bit 25.000000 MHz counter
[ 0.228037] Switching to clocksource hpet
[ 0.229929] AppArmor: AppArmor Filesystem Enabled
[ 0.229948] pnp: PnP ACPI init
[ 0.229966] ACPI: bus type pnp registered
[ 0.232954] pnp: PnP ACPI: found 12 devices
[ 0.232957] ACPI: ACPI bus type pnp unregistered
[ 0.232960] PnPBIOS: Disabled by ACPI PNP
[ 0.232973] system 00:02: iomem range 0xe0000000-0xefffffff has been reserved
[ 0.232979] system 00:03: ioport range 0x1000-0x107f has been reserved
[ 0.232983] system 00:03: ioport range 0x1080-0x10ff has been reserved
[ 0.232986] system 00:03: ioport range 0x1400-0x147f has been reserved
[ 0.232989] system 00:03: ioport range 0x1480-0x14ff has been reserved
[ 0.232992] system 00:03: ioport range 0x1800-0x187f has been reserved
[ 0.232995] system 00:03: ioport range 0x1880-0x18ff has been reserved
[ 0.233002] system 00:04: ioport range 0x360-0x361 has been reserved
[ 0.233005] system 00:04: ioport range 0x4d0-0x4d1 has been reserved
[ 0.233014] system 00:0b: iomem range 0xffc00000-0xffffffff could not be reserved
[ 0.233018] system 00:0b: iomem range 0xfec00000-0xfec00fff could not be reserved
[ 0.233021] system 00:0b: iomem range 0xfee00000-0xfeefffff could not be reserved
[ 0.233025] system 00:0b: iomem range 0xfed00000-0xfed00fff has been reserved
[ 0.233028] system 00:0b: iomem range 0xfef00000-0xfef00fff has been reserved
[ 0.267740] pci 0000:00:08.0: PCI bridge, secondary bus 0000:02
[ 0.267742] pci 0000:00:08.0: IO window: disabled
[ 0.267747] pci 0000:00:08.0: MEM window: 0...

Revision history for this message
Tenoch (mignonmexicain) wrote :

"Just to clarify, so u have gone each of the following subdirectories:

/lib/modules/2.6.32-21-generic/kernel
/lib/modules/2.6.32-22-generic/kernel
/lib/modules/2.6.32-23-generic/kernel"

yes i have those subdirectories

Revision history for this message
Tenoch (mignonmexicain) wrote :
Download full text (15.9 KiB)

This may be useful info, i ran this command after the card actally loaded but the sound lasted long enough to hear the log in screen sound.

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.59
!!################################

!!Script ran on: Fri Jul 2 22:40:26 UTC 2010

!!Linux Distribution
!!------------------

Ubuntu 10.04 LTS \n \l DISTRIB_ID=Ubuntu DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"

!!DMI Information
!!---------------

Manufacturer: Hewlett-Packard
Product Name: HP Pavilion dv6700 Notebook PC

!!Kernel Information
!!------------------

Kernel release: 2.6.32-23-generic
Operating System: GNU/Linux
Architecture: i686
Processor: unknown
SMP Enabled: Yes

!!ALSA Version
!!------------

Driver version: 1.0.21
Library version: 1.0.22
Utilities version: 1.0.22

!!Loaded ALSA modules
!!-------------------

snd_hda_intel

!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - Yes

ESound Daemon:
      Installed - Yes (/usr/bin/esd)
      Running - No

!!Soundcards recognised by ALSA
!!-----------------------------

 0 [NVidia ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xf6480000 irq 21

!!PCI Soundcards installed in the system
!!--------------------------------------

00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)

!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!--------------------------------------------------------

00:07.0 0403: 10de:055c (rev a1)
 Subsystem: 103c:30cf

!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2

!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
 bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
 enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
 enable_msi : 0
 id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
 index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
 model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
 patch : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>
 position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
 power_save : 0
 power_save_controller : Y
 probe_mask : -1,-1,-...

Revision history for this message
htmldeveloper@gmail.com (htmldeveloper) wrote :

> [   22.175150]   alloc kstat_irqs on node -1
> [   22.175161] HDA Intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 21 (level, low) -> IRQ 21
> [   22.175164] hda_intel: Disable MSI for Nvidia chipset
> [   22.175206] HDA Intel 0000:00:07.0: setting latency timer to 64

Mine is like this:

[ 20.239014] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level,
low) -> IRQ 22
[ 20.239059] HDA Intel 0000:00:1b.0: irq 29 for MSI/MSI-X
[ 20.239083] HDA Intel 0000:00:1b.0: setting latency timer to 64

Could it be hardware problem? Can you put in the original Ubuntu
10.04 CD and bootup without installation, use it as a LiveCD and see
if there is any sound?

>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
> ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
> Uname: Linux 2.6.32-22-generic i686
> NonfreeKernelModules: nvidia
> AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
> AplayDevices: aplay: device_list:223: no soundcards found...

Both aplay cannot detect any soundcard and /dev/snd not detected are
related to kernel module not loaded successfully. So I will focus on
that first.

> Architecture: i386
> ArecordDevices: arecord: device_list:223: no soundcards found...
> CheckboxSubmission: 71f1eefe8b8b0a79087ed60434917a6b
> CheckboxSystem: e704f33cc0866ff0f0256a33de39ea1c
> Date: Tue Jun 29 21:18:53 2010
> EcryptfsInUse: Yes
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> PackageArchitecture: all
> PciMultimedia:
>

Question: was this upgraded from 9.10 to 10.04? Hm.....I have
seldom done upgrading....almost 99% bound to cause problem. Just
install from fresh CD...or boot it as LiveCD.

> ProcEnviron:
>  LANG=en_US.utf8
>  SHELL=/bin/bash
> SourcePackage: alsa-driver
>
>
>

--
Regards,
Peter Teoh

Revision history for this message
htmldeveloper@gmail.com (htmldeveloper) wrote :

can u also provide these info:

cat /proc/asound/hwdep
cat /proc/asound/modules
cat /proc/asound/timers
cat /proc/asound/card0/codec#2

and other info if available under /proc/asound.

On Sat, Jul 3, 2010 at 9:44 AM, Peter Teoh <email address hidden> wrote:
>> [   22.175150]   alloc kstat_irqs on node -1
>> [   22.175161] HDA Intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 21 (level, low) -> IRQ 21
>> [   22.175164] hda_intel: Disable MSI for Nvidia chipset
>> [   22.175206] HDA Intel 0000:00:07.0: setting latency timer to 64
>
> Mine is like this:
>
> [   20.239014] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level,
> low) -> IRQ 22
> [   20.239059] HDA Intel 0000:00:1b.0: irq 29 for MSI/MSI-X
> [   20.239083] HDA Intel 0000:00:1b.0: setting latency timer to 64
>
> Could it be hardware problem?   Can you put in the original Ubuntu
> 10.04 CD and bootup without installation, use it as a LiveCD and see
> if there is any sound?
>
>
>>
>> ProblemType: Bug
>> DistroRelease: Ubuntu 10.04
>> Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
>> ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
>> Uname: Linux 2.6.32-22-generic i686
>> NonfreeKernelModules: nvidia
>> AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
>> AplayDevices: aplay: device_list:223: no soundcards found...
>
> Both aplay cannot detect any soundcard and /dev/snd not detected are
> related to kernel module not loaded successfully.   So I will focus on
> that first.
>
>> Architecture: i386
>> ArecordDevices: arecord: device_list:223: no soundcards found...
>> CheckboxSubmission: 71f1eefe8b8b0a79087ed60434917a6b
>> CheckboxSystem: e704f33cc0866ff0f0256a33de39ea1c
>> Date: Tue Jun 29 21:18:53 2010
>> EcryptfsInUse: Yes
>> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
>> PackageArchitecture: all
>> PciMultimedia:
>>
>
> Question:   was this upgraded from 9.10 to 10.04?   Hm.....I have
> seldom done upgrading....almost 99% bound to cause problem.   Just
> install from fresh CD...or boot it as LiveCD.
>
>> ProcEnviron:
>>  LANG=en_US.utf8
>>  SHELL=/bin/bash
>> SourcePackage: alsa-driver
>>
>>
>>
>
>
>
> --
> Regards,
> Peter Teoh
>

--
Regards,
Peter Teoh

Revision history for this message
Tenoch (mignonmexicain) wrote :

yes, i did an upgrade, and no i do not have a live cd. Since, last time a guy in the irc channel try to help me by doing this:
*if* it fixes the problem. then the solution was adding "options snd-hda-intel probe_mask=1" to /etc/modprobe.d/alsa-base.conf
you had the "azx_get_response timeout, switching to single_cmd mode" error messages in dmesg output, and followed the solution suggested in https://help.ubuntu.com/community/HdaIntelSoundHowto

So it did not fix the problem, it just worked longer for like 2 hrs before again the sound was gone. Now, once again i am having difficulties loading the soundcard, so typing

cat /proc/asound/hwdep
cat /proc/asound/modules
cat /proc/asound/timers
cat /proc/asound/card0/codec#2

gives me no out put.
I wil try later to see if soundcard loads so i can provide you with the requested data.

Revision history for this message
Tenoch (mignonmexicain) wrote :

The card finally loaded again here is the info (Sound was working this time)

00-00: HDA Codec 0
 0 snd_hda_intel
G0: system timer : 4000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P0-1-0: PCM playback 0-1-0 : SLAVE
cat: /proc/asound/card0/codec#2: No such file or directory

Revision history for this message
Tenoch (mignonmexicain) wrote :
Download full text (27.8 KiB)

the sound was still working so i got this,

update-no 2151 ernesto mem REG 8,1 256324 3145961 /usr/lib/locale/en_US.utf8/LC_CTYPE
update-no 2151 ernesto mem REG 8,1 1170770 3146086 /usr/lib/locale/en_US.utf8/LC_COLLATE
update-no 2151 ernesto mem REG 0,21 2020 397018 /home/ernesto/.local/share/mime/mime.cache
update-no 2151 ernesto mem REG 8,1 54 3147010 /usr/lib/locale/en_US.utf8/LC_NUMERIC
update-no 2151 ernesto mem REG 8,1 2454 3146109 /usr/lib/locale/en_US.utf8/LC_TIME
update-no 2151 ernesto mem REG 8,1 286 3146110 /usr/lib/locale/en_US.utf8/LC_MONETARY
update-no 2151 ernesto mem REG 8,1 57 3146111 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
update-no 2151 ernesto mem REG 8,1 34 3147016 /usr/lib/locale/en_US.utf8/LC_PAPER
update-no 2151 ernesto mem REG 8,1 77 3147017 /usr/lib/locale/en_US.utf8/LC_NAME
update-no 2151 ernesto mem REG 8,1 155 3146112 /usr/lib/locale/en_US.utf8/LC_ADDRESS
update-no 2151 ernesto mem REG 8,1 59 3146113 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
update-no 2151 ernesto mem REG 8,1 23 3147020 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
update-no 2151 ernesto mem REG 8,1 26048 410126 /usr/lib/gconv/gconv-modules.cache
update-no 2151 ernesto mem REG 8,1 373 3146114 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
update-no 2151 ernesto 0u CHR 1,3 0t0 884 /dev/null
update-no 2151 ernesto 1u REG 0,21 4184 262170 /home/ernesto/.xsession-errors
update-no 2151 ernesto 2u REG 0,21 4184 262170 /home/ernesto/.xsession-errors
update-no 2151 ernesto 3u unix 0xf06c7a00 0t0 12447 socket
update-no 2151 ernesto 4r FIFO 0,8 0t0 12449 pipe
update-no 2151 ernesto 5w FIFO 0,8 0t0 12449 pipe
update-no 2151 ernesto 6u unix 0xf06c7c00 0t0 12450 socket
update-no 2151 ernesto 7r FIFO 0,8 0t0 12453 pipe
update-no 2151 ernesto 8w FIFO 0,8 0t0 12453 pipe
update-no 2151 ernesto 9u FIFO 0,8 0t0 12454 pipe
update-no 2151 ernesto 10u FIFO 0,8 0t0 12454 pipe
update-no 2151 ernesto 11r unix 0xf06c1000 0t0 12455 socket
update-no 2151 ernesto 12w unix 0xf06c1200 0t0 12457 /tmp/orbit-ernesto/linc-867-0-2ac718b1d8c4
update-no 2151 ernesto 13r unix 0xf0719000 0t0 12460 /tmp/orbit-ernesto/linc-867-0-2ac718b1d8c4
update-no 2151 ernesto 14w unix 0xf06c0a00 0t0 12461 socket
update-no 2151 ernesto 15u sock 0,6 0t0 12463 can't identify protocol
update-no 2151 ernesto 16u unix 0xf0718600 0t0 12464 socket
update-no 2151 ernesto 17u DIR 0,11 0 1 inotify
update-no 2151 ernesto 19w REG ...

Revision history for this message
Tenoch (mignonmexicain) wrote :

sorry so this is what you actually needed
ernesto@ernesto-laptop:~$ lsof |grep snd
gnome-set 1864 ernesto mem REG 8,1 403988 2139 /usr/lib/libsndfile.so.1.0.21
pulseaudi 1879 ernesto mem REG 8,1 403988 2139 /usr/lib/libsndfile.so.1.0.21
pulseaudi 1879 ernesto 22u CHR 116,8 0t0 4849 /dev/snd/controlC0
pulseaudi 1879 ernesto 29u CHR 116,8 0t0 4849 /dev/snd/controlC0
gconf-hel 1906 ernesto mem REG 8,1 403988 2139 /usr/lib/libsndfile.so.1.0.21
firefox-b 2072 ernesto mem REG 8,1 403988 2139 /usr/lib/libsndfile.so.1.0.21

Revision history for this message
htmldeveloper@gmail.com (htmldeveloper) wrote :
Download full text (3.8 KiB)

i see, so it is software problem, nothing hardware. can u recount
how do u get to this stage of getting the software to work again?
(did u do anything, or just simply reboot your machine?)

many bug report is linked to resuming from suspend, and the sound
driver somehow cannot suspend and resume cleanly......but then this is
also resolved at some stage.

The "lsof" which I requested was meant to see which processes open up
which sound ports, and possibly meaning that the kernel has to
multiplex these different applications together with regard to
transmitting sound to the speaker. And if there is no sound, one of
these processes could be the culprit of the failure - which is why u
need to compare the lsof before and after the sound failed. Or how
about comparing your lsof with mine:

/root>lsof |grep snd
pulseaudi 3404 tteikhua mem CHR 116,5
6059 /dev/snd/pcmC0D0p
pulseaudi 3404 tteikhua mem REG 8,6 362800
10213 /usr/lib/libsndfile.so.1.0.17
pulseaudi 3404 tteikhua 22u CHR 116,7
6028 /dev/snd/controlC0
pulseaudi 3404 tteikhua 29u CHR 116,7
6028 /dev/snd/controlC0
pulseaudi 3404 tteikhua 34u CHR 116,7
6028 /dev/snd/controlC0
pulseaudi 3404 tteikhua 35u CHR 116,5
6059 /dev/snd/pcmC0D0p
gconf-hel 3405 tteikhua mem REG 8,6 362800
10213 /usr/lib/libsndfile.so.1.0.17
mixer_app 3606 tteikhua 21u CHR 116,7
6028 /dev/snd/controlC0

(Ubuntu 9.04 with linus-tree kernel at 2.6.35-rc3).

THis link have lots of suggestion on solving the audio problem:

http://swiss.ubuntuforums.org/showthread.php?t=1468048&page=2

Anyway, since it is working now.....I hope you can move on something
else. Thanks.

On Sun, Jul 4, 2010 at 4:06 AM, Tenoch <email address hidden> wrote:
> sorry so this is what you actually needed
> ernesto@ernesto-laptop:~$ lsof |grep snd
> gnome-set 1864    ernesto  mem       REG        8,1   403988       2139 /usr/lib/libsndfile.so.1.0.21
> pulseaudi 1879    ernesto  mem       REG        8,1   403988       2139 /usr/lib/libsndfile.so.1.0.21
> pulseaudi 1879    ernesto   22u      CHR      116,8      0t0       4849 /dev/snd/controlC0
> pulseaudi 1879    ernesto   29u      CHR      116,8      0t0       4849 /dev/snd/controlC0
> gconf-hel 1906    ernesto  mem       REG        8,1   403988       2139 /usr/lib/libsndfile.so.1.0.21
> firefox-b 2072    ernesto  mem       REG        8,1   403988       2139 /usr/lib/libsndfile.so.1.0.21
>
> --
> Sound just stopped working completely. It used to work before.
> https://bugs.launchpad.net/bugs/600041
> You received this bug notification because you are a member of Ubuntu
> Audio Team, which is subscribed to alsa-driver in ubuntu.
>
> Status in “alsa-driver” package in Ubuntu: New
>
> Bug description:
> It started gradually because the sound would stop working and after a reboot it would work again, today it just wont work at all even after the reboot.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.04
> Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
> ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
> Uname: Linux 2.6.32-22-generic i686
> NonfreeKernelModules: nvid...

Read more...

Revision history for this message
Tenoch (mignonmexicain) wrote :

I think it may be a hardware problem, i tried a puppy linux live cd. The same problem no sound card was detected. It just works for a few minutes before going useless again. Do you know any solution? would i be better off buying a new laptop?

Revision history for this message
dino99 (9d9) wrote :

Closing that outdated report as EOL has been reached long time ago

Changed in alsa-driver (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.