You are not logged in.

#1 2014-04-14 07:46:18

zivziv
Member
From: Florida, USA
Registered: 2010-02-05
Posts: 49
Website

3.14 kernel: no audio

I've seen this issue mentioned on the forum, but is it solved by anyone?

Issue description:
After upgrading to kernel version 3.14, I cannot get my audio working. I have the following errors on start:

$ dmesg | grep codec
[   12.962990] hda-codec: No codec parser is available
[   12.975370] hda-codec: No codec parser is available

aplay sees no audio devices:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****

I've temporarily solved this issues by installing linux-lts kernel; kernel version 3.13 was also working fine.

Offline

#2 2014-04-15 18:11:36

Areckx
Member
Registered: 2013-07-08
Posts: 7

Re: 3.14 kernel: no audio

I have had the same issue.

I have found a workaround by manually doing the following::

# rmmod snd_hda_intel && modprobe snd_hda_intel

You may get the following message::

rmmod: ERROR: Module snd_hda_intel is not currently loaded

so::

# modprobe snd_hda_intel

I am wondering what has happened though, this is annoying but it works.

Last edited by Areckx (2014-04-15 18:13:22)

Offline

#3 2014-04-15 18:25:48

zivziv
Member
From: Florida, USA
Registered: 2010-02-05
Posts: 49
Website

Re: 3.14 kernel: no audio

In fact, this was one of the first things I tried; but in my case rrmod says "module is in use" and does not remove it. "-f" does not help either.

Offline

#4 2014-04-16 05:43:52

nplx
Member
Registered: 2014-04-16
Posts: 1

Re: 3.14 kernel: no audio

I have the same problem.
dmesg | grep error gives me this:

[   23.344024] firmware load error [cwc4630]
[   23.365013] snd_cs46xx: probe of 0000:00:05.0 failed with error -2

Offline

#5 2014-04-16 07:31:03

zivziv
Member
From: Florida, USA
Registered: 2010-02-05
Posts: 49
Website

Re: 3.14 kernel: no audio

Upgrading the kernel to 3.14.1 today didn't solve the issue for me...

Offline

#6 2014-04-16 09:02:57

Vamp898
Member
From: 東京
Registered: 2009-01-03
Posts: 909
Website

Re: 3.14 kernel: no audio

Can you post the output of lspci -k ?

Offline

#7 2014-04-16 09:05:23

zivziv
Member
From: Florida, USA
Registered: 2010-02-05
Posts: 49
Website

Re: 3.14 kernel: no audio

$ lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Complex
        Subsystem: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek [Radeon HD 6530D]
        Subsystem: Micro-Star International Co., Ltd. Device 7695
        Kernel driver in use: radeon
        Kernel modules: radeon
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series]
        Subsystem: Micro-Star International Co., Ltd. Device 7695
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Port
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Port
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 03)
        Subsystem: Micro-Star International Co., Ltd. Device 7695
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_hcd
00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 03)
        Subsystem: Micro-Star International Co., Ltd. Device 7695
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_hcd
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [IDE mode] (rev 40)
        Subsystem: Micro-Star International Co., Ltd. Device 7695
        Kernel driver in use: ahci
        Kernel modules: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
        Subsystem: Micro-Star International Co., Ltd. Device 7695
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
        Subsystem: Micro-Star International Co., Ltd. Device 7695
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
        Subsystem: Micro-Star International Co., Ltd. Device 7695
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
        Subsystem: Micro-Star International Co., Ltd. Device 7695
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 13)
        Subsystem: Micro-Star International Co., Ltd. Device 7695
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD] FCH IDE Controller
        Subsystem: Micro-Star International Co., Ltd. Device 7695
        Kernel driver in use: pata_atiixp
        Kernel modules: pata_atiixp, pata_acpi, ata_generic
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
        Subsystem: Micro-Star International Co., Ltd. Device d695
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
        Subsystem: Micro-Star International Co., Ltd. Device 7695
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
        Subsystem: Micro-Star International Co., Ltd. Device 7695
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci
00:14.7 SD Host controller: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller
        Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SD Flash Controller
        Kernel driver in use: sdhci-pci
        Kernel modules: sdhci_pci
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
        Kernel driver in use: k10temp
        Kernel modules: k10temp
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 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
        Subsystem: Micro-Star International Co., Ltd. Device 7695
        Kernel driver in use: r8169
        Kernel modules: r8169

Offline

#8 2014-04-17 10:51:10

Vamp898
Member
From: 東京
Registered: 2009-01-03
Posts: 909
Website

Re: 3.14 kernel: no audio

00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
        Subsystem: Micro-Star International Co., Ltd. Device d695
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

FCH Azalia Controller

mine is an

00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)                                                                                                                              
        Subsystem: ASUSTeK Computer Inc. Device 8445                                                                                                                                                               
        Kernel driver in use: snd_hda_intel                                                                                                                                                                        
        Kernel modules: snd_hda_intel

But im still running 3.13, im going to upgrade to 3.14 and tell you what happens to me. If the same happens to me, it seems related to this wink

Last edited by Vamp898 (2014-04-17 10:51:43)

Offline

#9 2014-04-19 10:33:20

Cedric31
Member
Registered: 2014-04-16
Posts: 3

Re: 3.14 kernel: no audio

Hello,

The same issue for me wtih the same controller. I did'nt find any solution.


00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
        Subsystem: ASUSTeK Computer Inc. Device 1003
        Kernel driver in use: snd_hda_intel

Offline

#10 2014-04-19 16:46:43

pigiron
Member
From: USA
Registered: 2009-07-14
Posts: 150

Re: 3.14 kernel: no audio

This looks like an ALSA bug to my untrained eye.

I poked around in Linus's source code tree and the ALSA folks changed the logic in this area for 3.14 and from what I can tell, it's still mostly the same in 3.15.

First of all, the Intel HDA chip (and it's associated snd_hda_intel kernel module) is just a bridge chip. It's the codec chip "behind" the bridge where all the audio magic happens. In zivziv's case there are two codec chips, one for HDMI and one for analog audio. You (and others) don't say which of these (and it's associated codec kernel module) are giving you "no audio", but in this case it probably doesn't matter because from looking at this:

$ dmesg | grep codec
[   12.962990] hda-codec: No codec parser is available
[   12.975370] hda-codec: No codec parser is available

the problem may be occurring on both since you got two error messages.

While the code possibly found your codec chips (who knows, maybe that logic is borked also), it appears that the new code logic then tries to classify whether the chip is either an HDMI codec chip (no analog inputs/outputs) or "generic" (it has some analog inputs/outputs). In your case, it doesn't get a match for either classification so it throws that error message and bails out.

Maybe Areckx in comment #2 is on to something so you might verify that all the codec kernel modules are even getting loaded (compare lsmod output in the working and failing cases). If yes, then you might want to contact the ALSA developers about this, but you should document the snot out of it with too many details/information or they'll likely blow you off. i.e. Nobody's going to want to play "20 questions" to get enough info to start helping you. So before pressing "send" on the bug report, walk away from the keyboard and ask yourself if there's anything they may ask that you haven't covered.

Lastly, nplx in comment #4 has a completely different problem.

Offline

#11 2014-04-20 09:21:13

Cedric31
Member
Registered: 2014-04-16
Posts: 3

Re: 3.14 kernel: no audio

Ok, i've solved the problem on my computer.

I've re-installed Alsa :

yaourt -Rdd alsa-firmware alsa-lib alsa-plugins alsa-tools alsa-utils lib32-alsa-lib
yaourt -S alsa-firmware alsa-lib alsa-plugins alsa-tools alsa-utils lib32-alsa-lib

And also i've compiled my custom kernel (3.14.1-1) with this options (I don't know if it was necessary) :

  • CONFIG_SND_HDA_INTEL=y.

  • CONFIG_SND_HDA_CODEC_HDMI=y.

  • CONFIG_SND_HDA_GENERIC=y.

After reboot sound is back and work like a charm smile  (and no more error with dmesg | grep codec )

Last edited by Cedric31 (2014-04-20 11:35:08)

Offline

#12 2014-04-21 10:07:15

zivziv
Member
From: Florida, USA
Registered: 2010-02-05
Posts: 49
Website

Re: 3.14 kernel: no audio

pigiron,
Thanks for your feedback! I'm using the analog sound output; but I also don't think it really matters in my case since I'm getting two errors. And I don't believe it's ALSA bug per se as the same ALSA binaries were working with kernel 3.13, and are now working with linux-lts kernel (3.10, I believe). So it may be something between ALSA and the kernel.

Cedric31,
Thanks for the info! I will also try to reinstall ALSA packages and reboot.

Offline

#13 2014-04-22 02:59:30

zivziv
Member
From: Florida, USA
Registered: 2010-02-05
Posts: 49
Website

Re: 3.14 kernel: no audio

Well, reinstalling ALSA packages didn't help, unfortunately.
I will now compare lsmod output for working and non-working kernels, as pigiron suggested.

UP:
Comparing the outputs showed that one module is missing for 3.14 kernel: snd_page_alloc. Its description says "Memory allocator for ALSA system", and it sounds useful smile I wonder why it's not present among 3.14 kernel modules?
And, btw, snd_hda_codec module size is 1.5 times larger in lts kernel than in 3.14...

 3.10.37-1-lts modules:
snd                    44447  13 snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
snd_hda_codec         127395  1 snd_hda_intel
snd_hda_intel          30052  4
snd_hwdep               4746  1 snd_hda_codec
snd_page_alloc          5942  2 snd_pcm,snd_hda_intel
snd_pcm                64196  2 snd_hda_codec,snd_hda_intel
snd_timer              15070  1 snd_pcm
soundcore               4354  1 snd
 3.14.1 modules:
snd                    44583  13 snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
snd_hda_codec          85688  1 snd_hda_intel
snd_hda_intel          32055  4
snd_hwdep               4778  1 snd_hda_codec
snd_pcm                65796  2 snd_hda_codec,snd_hda_intel
snd_timer              15006  1 snd_pcm
soundcore               4354  1 snd

Last edited by zivziv (2014-04-22 04:02:24)

Offline

#14 2014-05-27 19:42:03

shackra
Member
From: Siquirres, Costa Rica
Registered: 2012-02-06
Posts: 7
Website

Re: 3.14 kernel: no audio

I'm experiencing this issue, and I cannot do what in comment #2 is suggested, as comment #3 describes.

My audio device

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
	Subsystem: Toshiba America Info Systems Device ff44
	Kernel modules: snd_hda_intel

my loaded modules

[~][4] $ lsmod | grep snd
snd_hda_intel          43727  1 
snd_hda_codec         131542  1 snd_hda_intel
snd_pcm                97138  2 snd_hda_codec,snd_hda_intel
snd_timer              22386  1 snd_pcm
snd_hwdep               6986  1 snd_hda_codec
snd                    74927  8 snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               7700  1 snd

my kernel version

<(jorge@abril)---(mar may 27 13:40:20)>
[~][5] $ uname -r
3.14.3-1-rt5-LIBRE-RT

Downgrading to a older version of the kernel should help as a workaround.

Last edited by shackra (2014-05-27 19:46:44)

Offline

#15 2014-05-28 13:14:21

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

Re: 3.14 kernel: no audio

No problems with my setup:

$ uname -a
Linux blackbox 3.14.2-1-ARCH #1 SMP PREEMPT Sun Apr 27 11:28:44 CEST 2014 x86_64 GNU/Linux
$ lspci -nn | grep -i audio [partial]
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383] (rev 40)
$ lsmod | awk '/^snd/{print $1}'
snd_hrtimer
snd_hda_codec_realtek
snd_hda_codec_hdmi
snd_hda_codec_generic
snd_ice1724
snd_ak4113
snd_pt2258
snd_ak4114
snd_i2c
snd_hda_intel
snd_ice17xx_ak4xxx
snd_hda_codec
snd_ak4xxx_adda
snd_ac97_codec
snd_rawmidi
snd_hwdep
snd_seq_dummy
snd_seq_oss
snd_seq_midi_event
snd_seq
snd_seq_device
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_timer
snd

Offline

#16 2014-05-29 03:57:40

Gooberslot
Member
Registered: 2012-03-28
Posts: 11

Re: 3.14 kernel: no audio

nplx wrote:

I have the same problem.
dmesg | grep error gives me this:

[   23.344024] firmware load error [cwc4630]
[   23.365013] snd_cs46xx: probe of 0000:00:05.0 failed with error -2

You've probably solved this problem yourself by now but in case you haven't you can download the appropriate firmware here: http://rpm.pbone.net/index.php3/stat/4/ … h.rpm.html or compile it from the git source, both ways worked for me.

Offline

Board footer

Powered by FluxBB