You are not logged in.

#1 2014-05-03 22:00:42

scott_fakename
Member
Registered: 2012-08-15
Posts: 93

Sound dies frequently, requires reloading of snd-hda-intel

I was wondering if anyone else was having issues with this.

My sound abruptly quits about every 30 seconds to ten minutes. I have to quit everything that's playing audio and reload the module.

I have tried switching to linux lts, but it's bad there too.

Any idea how to get a good driver (or if figure out if that's even the root cause)?

Thanks,
--Scott

Offline

#2 2014-05-04 07:58:17

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: Sound dies frequently, requires reloading of snd-hda-intel

post output of dmesg just after it happened.
don't post the whole output - it's rather long - but use the time stamps on the left to find the relevant bits.

then do this: using the output from lspci and lsmod, find names for your sound setup (both hard- and software, e.g. intel, sound, audio, ...), then use these to grep dmesg, e.g.

demsg | grep -i <somesearchterm>

and share your insights!

Last edited by ondoho (2014-05-04 07:59:35)

Offline

#3 2014-05-06 16:30:41

scott_fakename
Member
Registered: 2012-08-15
Posts: 93

Re: Sound dies frequently, requires reloading of snd-hda-intel

lsmod:

Module                  Size  Used by
fuse                   73976  3 
ext4                  450299  1 
crc16                   1359  1 ext4
mbcache                 5738  1 ext4
jbd2                   77050  1 ext4
joydev                  9695  0 
ums_realtek             7391  0 
arc4                    2000  2 
acpi_cpufreq           10438  0 
mperf                   1235  1 acpi_cpufreq
rtl8192ce              50679  0 
rtlwifi                71019  1 rtl8192ce
rtl8192c_common        37367  1 rtl8192ce
kvm                   371186  0 
mac80211              437615  2 rtlwifi,rtl8192ce
cfg80211              389056  2 mac80211,rtlwifi
atl1c                  36642  0 
snd_hda_codec_conexant    36218  1 
microcode              14868  0 
snd_hda_intel          35469  0 
snd_hda_codec         147602  2 snd_hda_codec_conexant,snd_hda_intel
toshiba_acpi           13902  0 
pcspkr                  2027  0 
evdev                   9944  13 
sparse_keymap           3114  1 toshiba_acpi
rfkill                 15698  3 cfg80211,toshiba_acpi
psmouse                85436  0 
wmi                     8283  1 toshiba_acpi
serio_raw               5105  0 
k10temp                 3114  0 
ac                      3324  0 
snd_hwdep               6332  1 snd_hda_codec
snd_pcm                78469  2 snd_hda_codec,snd_hda_intel
fan                     2753  0 
battery                 7629  0 
snd_page_alloc          7202  2 snd_pcm,snd_hda_intel
snd_timer              18878  1 snd_pcm
snd                    58918  6 snd_hwdep,snd_timer,snd_hda_codec_conexant,snd_pcm,snd_hda_codec,snd_hda_intel
thermal                 8620  0 
soundcore               5386  1 snd
sp5100_tco              5816  0 
i2c_piix4              10279  0 
video                  11328  0 
shpchp                 25489  0 
button                  4669  0 
processor              27776  3 acpi_cpufreq
jfs                   173045  2 
sr_mod                 14834  0 
cdrom                  34848  1 sr_mod
sd_mod                 30570  5 
usb_storage            48359  1 ums_realtek
ehci_pci                4120  0 
ahci                   23080  4 
ohci_hcd               26896  0 
ehci_hcd               49272  1 ehci_pci
libahci                21410  1 ahci
usbcore               177464  6 ums_realtek,rtlwifi,usb_storage,ohci_hcd,ehci_hcd,ehci_pci
usb_common              1648  1 usbcore
libata                171656  2 ahci,libahci
scsi_mod              127548  4 usb_storage,libata,sd_mod,sr_mod
radeon                809142  2 
i2c_algo_bit            5391  1 radeon
drm_kms_helper         35438  1 radeon
ttm                    64812  1 radeon
drm                   230400  4 ttm,drm_kms_helper,radeon
i2c_core               23720  5 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon

lspci:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6310]
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:15.1 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
06:00.0 Ethernet controller: Qualcomm Atheros AR8152 v1.1 Fast Ethernet (rev c1)

dmesg records no messages that I can see about any of the sound modules, except when I reload snd_hda_intel, when it leaves a series of these:

[ 1667.067356] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input9
[ 1668.768060] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input10
[ 1669.376578] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input11
[ 1670.105000] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input12
[ 1670.784424] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input13
[ 1671.428013] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input14
[ 1672.050375] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input15
[ 1672.728694] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input16

Granted, in this case I didn't wait for it to die on its own and just repeatedly reloaded the module (hence the timestamps one second apart). But that reproduces the same behavior that it does when it dies on its own.

I don't know why it declares a new device every time. Also there is not such path as /devices/ but I suspect that's just some internal thing that isn't supposed to be reflected in the filesystem.

Still flummoxed.

Thanks for the reply, sorry I didn't respond sooner.

Offline

#4 2014-05-06 17:27:15

ondoho
Member
Registered: 2013-04-30
Posts: 692
Website

Re: Sound dies frequently, requires reloading of snd-hda-intel

the dmesg output tells me nothing.

from the other output you posted, i see you have an AMD Azalia Sound card/chip? Never heard of it, but is it supposed to use snd_hda_intel as a driver?

now with this information, please do the following:

1) extensive forum/wiki/web searches if there's commonly problems with this hardware and linux combo.
2) output of "dmesg | grep -i azalia", "dmesg | grep -i amd", "dmesg | -i grep intel"

Offline

#5 2014-05-06 17:48:51

scott_fakename
Member
Registered: 2012-08-15
Posts: 93

Re: Sound dies frequently, requires reloading of snd-hda-intel

Yeah, dmesg doesn't say much of anything about this, that's true. That's one of the reasons it's so frustrating to track down.

But apparently azalia *is* supposed to use snd_hda_intel, so I guess that's moderately good.

Here is `dmesg | grep -Ei '(azalia|amd|intel)'`:

[    0.000000] RAMDISK: [mem 0x37858000-0x37c23fff]
[    0.000000] ACPI: SSDT 00000000dfee4000 003F4 (v01 AMD    POWERNOW 00000001 AMD  00000001)
[    0.000000] ACPI: SSDT 00000000dfee2000 0168E (v02    AMD     ALIB 00000001 MSFT 04000000)
[    0.146651] smpboot: CPU0: AMD E-300 APU with Radeon(tm) HD Graphics (fam: 14, model: 02, stepping: 00)
[    0.258898] Performance Events: AMD PMU driver.
[    0.692679] perf: AMD IBS detected (0x000000ff)
[    2.313204] QUIRK: Enable AMD PLL fix
[    2.313210] ehci-pci 0000:00:12.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
[    2.328810] ehci-pci 0000:00:13.2: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
[    8.677250] snd_hda_intel 0000:00:14.2: setting latency timer to 64

Supposedly some people find success with a file in /etc/modprobe.d that contains 'options snd_hda_intel model=toshiba' so I'm off to try that, but I wanted to post what I had before I reboot and lose it.

Thanks

Last edited by scott_fakename (2014-05-06 17:50:25)

Offline

#6 2014-05-06 19:29:11

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Sound dies frequently, requires reloading of snd-hda-intel

I have the same on-board sound card, never had any problems with it. Try disabling power saving option (modprobe options - power_save=0) or Message Signaled Interrupt (enable_msi=0).

scott_fakename wrote:

Supposedly some people find success with a file in /etc/modprobe.d that contains 'options snd_hda_intel model=toshiba' so I'm off to try that, but I wanted to post what I had before I reboot and lose it.

Is this a laptop or dekstop?

Edit: Yes is uses snd-hda-intel.

Last edited by emeres (2014-05-06 19:30:11)

Offline

#7 2014-05-07 02:39:05

scott_fakename
Member
Registered: 2012-08-15
Posts: 93

Re: Sound dies frequently, requires reloading of snd-hda-intel

/etc/modprobe.d/alsa_crash.conf:

options snd_hda_intel model=toshiba
options snd_hda_intel enable_msi=0
options snd_hda_intel power_save=0

Still no dice.

emeres, yes it is a laptop -- a toshiba satelite to be specific.

Lookes like I have a lot more googling ahead of me.

Thanks,
--Scott

Offline

#8 2014-05-07 02:55:32

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Sound dies frequently, requires reloading of snd-hda-intel

Use all options in one line, and check every combination. Do you any other alsa specific or power related configuration? It might be wise to add vid and pid (check yours with lspci -nn|grep -i audio).

options snd-hda-intel vid=1002 pid=4383 model=toshiba power_save=0

Check other module options as well as different models in all hda related documentaion.

Offline

Board footer

Powered by FluxBB