FS#34865 - [linux] 3.8.x do not load alsa-firmware properly

Attached to Project: Arch Linux
Opened by Christer Eriksson (agkbill) - Sunday, 21 April 2013, 06:54 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 24 April 2013, 06:16 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Firmware for E-MU 1820 included in alsa-firmware 1.0.27-1 do not load properly with Kernel 3.8.7-1-ARCH. Sound is not working and indicator-lights on the E-MU 1820 breakout box are not light up as they should.

If I downgrade to Kernel 3.7.10-1 sound works OK.


Additional info:
* package version(s)
* config and/or log files etc.

alsa-lib 1.0.27-1

[christer@Arch ~]$ dmesg | grep emu
[ 5.589362] emu1010: Special config.
[ 5.589479] emu1010: EMU_HANA_ID = 0x7f
[ 5.592248] emu1010: firmware file = emu/hana.fw, size = 0x133a4
[ 13.711422] emu1010: Hana Firmware loaded
[ 13.711470] emu1010: Hana version: 3.4
[ 13.711527] emu1010: Card options = 0x0
[ 13.711551] emu1010: Card options = 0x0
[ 13.712044] emu1010: Card options3 = 0x0
[ 14.740056] emu1010: Loading Audio Dock Firmware
[ 16.747660] emu1010: EMU_HANA+DOCK_IRQ_STATUS = 0x36
[ 16.747695] emu1010: EMU_HANA+DOCK_ID = 0x55
[ 16.747696] emu1010: Audio Dock Firmware loaded
[christer@Arch ~]$

Output from Aadebug ( http://alsa.opensrc.org/Aadebug )
[christer@Arch ~]$ ./alsadebug
ALSA Audio Debug v0.2.0 - Sun Apr 21 08:52:33 CEST 2013
http://alsa.opensrc.org/aadebug
http://www.gnu.org/licenses/agpl-3.0.txt

Kernel ----------------------------------------------------
Linux Arch 3.8.7-1-ARCH #1 SMP PREEMPT Sat Apr 13 09:01:47 CEST 2013 x86_64 GNU/Linux
Advanced Linux Sound Architecture Driver Version k3.8.7-1-ARCH.

Loaded Modules --------------------------------------------
snd_emu10k1 139271 1
snd_util_mem 2339 1 snd_emu10k1
snd_hwdep 6364 1 snd_emu10k1
snd_ac97_codec 112216 1 snd_emu10k1
snd_pcm_oss 38543 0
snd_mixer_oss 14995 1 snd_pcm_oss
snd_rawmidi 18742 1 snd_emu10k1
snd_seq_dummy 1463 0
snd_pcm 76956 3 snd_pcm_oss,snd_ac97_codec,snd_emu10k1
snd_page_alloc 7298 2 snd_pcm,snd_emu10k1
snd_seq_oss 29098 0
snd_seq_midi_event 5660 1 snd_seq_oss
snd_seq 49946 5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_seq_device 5180 5 snd_seq,snd_rawmidi,snd_seq_oss,snd_emu10k1,snd_seq_dummy
snd_timer 18687 3 snd_pcm,snd_seq,snd_emu10k1
snd 58893 13 snd_pcm_oss,snd_ac97_codec,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_oss,snd_emu10k1,snd_seq_device,snd_mixer_oss

Proc Asound -----------------------------------------------
0 [EMU1010 ]: Audigy2 - E-mu 1010 [MAEM8810]
E-mu 1010 [MAEM8810] (rev.3, serial:0x40011102) at 0xd000, irq 19
1: : sequencer
2: [ 0- 0]: hardware dependent
3: [ 0- 1]: raw midi
4: [ 0- 0]: raw midi
5: [ 0- 3]: digital audio playback
6: [ 0- 2]: digital audio playback
7: [ 0- 2]: digital audio capture
8: [ 0- 1]: digital audio capture
9: [ 0- 0]: digital audio playback
10: [ 0- 0]: digital audio capture
11: [ 0] : control
33: : timer
00-00: EMU10K1 (FX8010)
00-00: emu10k1 : ADC Capture/Standard PCM Playback : playback 32 : capture 1
00-01: emu10k1 mic : Mic Capture : capture 1
00-02: emu10k1 efx : Multichannel Capture/PT Playback : playback 8 : capture 1
00-03: emu10k1 : Multichannel Playback : playback 1
Client info
cur clients : 3
peak clients : 3
max clients : 192

Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Connecting To: 15:0
Client 14 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)
Client 15 : "OSS sequencer" [Kernel]
Port 0 : "Receiver" (-we-)
Connected From: 0:1
Client 16 : "E-mu 1010 [MAEM8810]" [Kernel]
Port 0 : "Audigy MPU-401 (UART)" (RWeX)
Port 32 : "Audigy MPU-401 #2" (RWeX)
Client 17 : "Emu10k1 WaveTable" [Kernel]
Port 0 : "Emu10k1 Port 0" (-We-)
Port 1 : "Emu10k1 Port 1" (-We-)
Port 2 : "Emu10k1 Port 2" (-We-)
Port 3 : "Emu10k1 Port 3" (-We-)

Dev Snd ---------------------------------------------------
total 0
drwxr-xr-x 2 root root 60 Apr 21 08:06 by-path
crw-rw----+ 1 root audio 116, 11 Apr 21 08:06 controlC0
crw-rw----+ 1 root audio 116, 2 Apr 21 08:06 hwC0D0
crw-rw----+ 1 root audio 116, 12 Apr 21 08:52 hwC0D2
crw-rw----+ 1 root audio 116, 4 Apr 21 08:06 midiC0D0
crw-rw----+ 1 root audio 116, 3 Apr 21 08:06 midiC0D1
crw-rw----+ 1 root audio 116, 13 Apr 21 08:52 midiC0D2
crw-rw----+ 1 root audio 116, 14 Apr 21 08:52 midiC0D3
crw-rw----+ 1 root audio 116, 10 Apr 21 08:06 pcmC0D0c
crw-rw----+ 1 root audio 116, 9 Apr 21 08:44 pcmC0D0p
crw-rw----+ 1 root audio 116, 8 Apr 21 08:06 pcmC0D1c
crw-rw----+ 1 root audio 116, 7 Apr 21 08:06 pcmC0D2c
crw-rw----+ 1 root audio 116, 6 Apr 21 08:06 pcmC0D2p
crw-rw----+ 1 root audio 116, 5 Apr 21 08:06 pcmC0D3p
crw-rw----+ 1 root audio 116, 1 Apr 21 08:06 seq
crw-rw----+ 1 root audio 116, 33 Apr 21 08:06 timer

CPU -------------------------------------------------------
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
cpu MHz : 2000.000
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
cpu MHz : 2000.000

RAM -------------------------------------------------------
MemTotal: 4051696 kB
SwapTotal: 51196 kB

Hardware --------------------------------------------------
01:00.0 VGA compatible controller: NVIDIA Corporation G94 [GeForce 9600 GT] (rev a1)
05:01.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)

Interupts -------------------------------------------------
CPU0 CPU1
0: 48 0 IO-APIC-edge timer
1: 1 1 IO-APIC-edge i8042
6: 2 1 IO-APIC-edge floppy
8: 0 1 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
12: 3 2 IO-APIC-edge i8042
16: 2325 2342 IO-APIC-fasteoi uhci_hcd:usb1, pata_jmicron, nvidia
18: 50097 50054 IO-APIC-fasteoi uhci_hcd:usb3, uhci_hcd:usb6, ehci_hcd:usb7, firewire_ohci, i801_smbus
19: 181 181 IO-APIC-fasteoi uhci_hcd:usb5, snd_emu10k1
21: 0 0 IO-APIC-fasteoi uhci_hcd:usb2
23: 0 0 IO-APIC-fasteoi uhci_hcd:usb4, ehci_hcd:usb8
44: 9679 9276 PCI-MSI-edge ahci
45: 5738 5758 PCI-MSI-edge eth0
46: 0 1 PCI-MSI-edge
NMI: 45 44 Non-maskable interrupts
LOC: 39430 47999 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 45 44 Performance monitoring interrupts
IWI: 0 0 IRQ work interrupts
RTR: 0 0 APIC ICR read retries
RES: 41500 38384 Rescheduling interrupts
CAL: 102 94 Function call interrupts
TLB: 3946 2787 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 10 10 Machine check polls
ERR: 0
MIS: 0

[christer@Arch ~]$

Steps to reproduce:

Downgrade and upgrade the kernel.

If there is anything else I can do to support investigation please let me know.

Best regards,
Christer
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 24 April 2013, 06:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.8.8-2
Comment by Tobias Powalowski (tpowa) - Monday, 22 April 2013, 10:25 GMT
What is the error on 3.8.x?
Comment by Christer Eriksson (agkbill) - Monday, 22 April 2013, 12:19 GMT
What I could se I did not get any error, everything looks OK. It looks like the firmware is loading (except the led on the break out box and the fact it is not working).

Is there any logfile that might contain a error?

Even dmesg output say that firmware loaded.
Comment by Tobias Powalowski (tpowa) - Monday, 22 April 2013, 12:25 GMT
Does journalctl contain anything?
Comment by Christer Eriksson (agkbill) - Monday, 22 April 2013, 19:55 GMT
Upgraded to Linux Arch 3.8.8-1 to check jpurnalctl. Firmware still not loading OK.

Only one entry with error and emu. But noting from Apr 22 when it is not loading OK.

[christer@Arch ~]$ sudo journalctl | grep error | grep emu
Apr 13 19:17:18 Arch kernel: snd_emu10k1: probe of 0000:05:01.0 failed with error -2
[christer@Arch ~]$

For April 22
[christer@Arch ~]$ sudo journalctl | grep emu
Apr 22 21:44:40 Arch kernel: emu1010: Special config.
Apr 22 21:44:40 Arch kernel: emu1010: EMU_HANA_ID = 0x7f
Apr 22 21:44:48 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 22 21:44:48 Arch kernel: emu1010: Hana Firmware loaded
Apr 22 21:44:48 Arch kernel: emu1010: Hana version: 3.4
Apr 22 21:44:48 Arch kernel: emu1010: Card options = 0x0
Apr 22 21:44:48 Arch kernel: emu1010: Card options = 0x0
Apr 22 21:44:48 Arch kernel: emu1010: Card options3 = 0x0
Apr 22 21:44:52 Arch kernel: emu1010: Loading Audio Dock Firmware
Apr 22 21:44:52 Arch kernel: emu1010: EMU_HANA+DOCK_IRQ_STATUS = 0x36
Apr 22 21:44:52 Arch kernel: emu1010: EMU_HANA+DOCK_ID = 0x55
Apr 22 21:44:52 Arch kernel: emu1010: Audio Dock Firmware loaded

[christer@Arch ~]$ sudo journalctl | grep firmware | grep emu
Apr 04 22:08:15 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 05 08:26:45 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 05 09:23:59 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 05 10:20:39 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 05 12:05:00 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 05 13:02:05 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 06 20:07:13 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 06 20:22:10 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 06 20:26:31 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 06 20:31:22 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 06 20:38:43 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 06 20:49:13 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 07 13:55:55 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 10 20:18:17 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 11 22:04:21 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 12 20:39:29 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 12 20:42:09 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 12 21:20:07 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 13 10:23:06 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 13 10:53:37 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 13 18:30:37 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 13 19:17:18 Arch kernel: emu1010: firmware: emu/hana.fw not found. Err = -2
Apr 13 20:11:21 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 15 19:32:53 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 15 20:25:36 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 15 20:43:38 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 15 20:52:13 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 16 16:35:03 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 21 08:00:56 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 21 08:06:39 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
Apr 22 21:44:48 Arch kernel: emu1010: firmware file = emu/hana.fw, size = 0x133a4
[christer@Arch ~]$



Anything specific I would look for in journalctl?


Comment by Tobias Powalowski (tpowa) - Tuesday, 23 April 2013, 07:02 GMT Comment by Tobias Powalowski (tpowa) - Tuesday, 23 April 2013, 09:06 GMT
Please try the following package:
https://dev.archlinux.org/~tpowa/linux/
It contains a fix from Takashi Iwai.
Comment by Christer Eriksson (agkbill) - Tuesday, 23 April 2013, 16:44 GMT

Works great. With 3.8.8-2 kernel the firmware loads fine and sound is working as is should.

Output from working system:

[christer@Arch ~]$ ./alsadebug
ALSA Audio Debug v0.2.0 - Tue Apr 23 18:42:08 CEST 2013
http://alsa.opensrc.org/aadebug
http://www.gnu.org/licenses/agpl-3.0.txt

Kernel ----------------------------------------------------
Linux Arch 3.8.8-2-ARCH #1 SMP PREEMPT Tue Apr 23 10:28:14 CEST 2013 x86_64 GNU/Linux
Advanced Linux Sound Architecture Driver Version k3.8.8-2-ARCH.

Loaded Modules --------------------------------------------
snd_emu10k1 139495 2
snd_util_mem 2339 1 snd_emu10k1
snd_hwdep 6364 1 snd_emu10k1
snd_ac97_codec 112216 1 snd_emu10k1
snd_rawmidi 18742 1 snd_emu10k1
snd_pcm_oss 38543 0
snd_mixer_oss 14995 1 snd_pcm_oss
snd_pcm 76956 4 snd_pcm_oss,snd_ac97_codec,snd_emu10k1
snd_page_alloc 7298 2 snd_pcm,snd_emu10k1
snd_seq_dummy 1463 0
snd_seq_oss 29098 0
snd_seq_midi_event 5660 1 snd_seq_oss
snd_seq 49946 5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_seq_device 5180 5 snd_seq,snd_rawmidi,snd_seq_oss,snd_emu10k1,snd_seq_dummy
snd_timer 18687 3 snd_pcm,snd_seq,snd_emu10k1
snd 58893 14 snd_pcm_oss,snd_ac97_codec,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_oss,snd_emu10k1,snd_seq_device,snd_mixer_oss

Proc Asound -----------------------------------------------
0 [EMU1010 ]: Audigy2 - E-mu 1010 [MAEM8810]
E-mu 1010 [MAEM8810] (rev.3, serial:0x40011102) at 0xd000, irq 19
1: : sequencer
2: [ 0- 0]: hardware dependent
3: [ 0- 1]: raw midi
4: [ 0- 0]: raw midi
5: [ 0- 3]: digital audio playback
6: [ 0- 2]: digital audio playback
7: [ 0- 2]: digital audio capture
8: [ 0- 1]: digital audio capture
9: [ 0- 0]: digital audio playback
10: [ 0- 0]: digital audio capture
11: [ 0] : control
33: : timer
00-00: EMU10K1 (FX8010)
00-00: emu10k1 : ADC Capture/Standard PCM Playback : playback 32 : capture 1
00-01: emu10k1 mic : Mic Capture : capture 1
00-02: emu10k1 efx : Multichannel Capture/PT Playback : playback 8 : capture 1
00-03: emu10k1 : Multichannel Playback : playback 1
Client info
cur clients : 3
peak clients : 3
max clients : 192

Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Connecting To: 15:0
Client 14 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)
Client 15 : "OSS sequencer" [Kernel]
Port 0 : "Receiver" (-we-)
Connected From: 0:1
Client 16 : "E-mu 1010 [MAEM8810]" [Kernel]
Port 0 : "Audigy MPU-401 (UART)" (RWeX)
Port 32 : "Audigy MPU-401 #2" (RWeX)
Client 17 : "Emu10k1 WaveTable" [Kernel]
Port 0 : "Emu10k1 Port 0" (-We-)
Port 1 : "Emu10k1 Port 1" (-We-)
Port 2 : "Emu10k1 Port 2" (-We-)
Port 3 : "Emu10k1 Port 3" (-We-)

Dev Snd ---------------------------------------------------
total 0
drwxr-xr-x 2 root root 60 Apr 23 18:38 by-path
crw-rw----+ 1 root audio 116, 11 Apr 23 18:38 controlC0
crw-rw----+ 1 root audio 116, 2 Apr 23 18:38 hwC0D0
crw-rw----+ 1 root audio 116, 12 Apr 23 18:42 hwC0D2
crw-rw----+ 1 root audio 116, 4 Apr 23 18:38 midiC0D0
crw-rw----+ 1 root audio 116, 3 Apr 23 18:38 midiC0D1
crw-rw----+ 1 root audio 116, 13 Apr 23 18:42 midiC0D2
crw-rw----+ 1 root audio 116, 14 Apr 23 18:42 midiC0D3
crw-rw----+ 1 root audio 116, 10 Apr 23 18:38 pcmC0D0c
crw-rw----+ 1 root audio 116, 9 Apr 23 18:39 pcmC0D0p
crw-rw----+ 1 root audio 116, 8 Apr 23 18:38 pcmC0D1c
crw-rw----+ 1 root audio 116, 7 Apr 23 18:38 pcmC0D2c
crw-rw----+ 1 root audio 116, 6 Apr 23 18:38 pcmC0D2p
crw-rw----+ 1 root audio 116, 5 Apr 23 18:38 pcmC0D3p
crw-rw----+ 1 root audio 116, 1 Apr 23 18:38 seq
crw-rw----+ 1 root audio 116, 33 Apr 23 18:38 timer

CPU -------------------------------------------------------
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
cpu MHz : 2000.000
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
cpu MHz : 2000.000

RAM -------------------------------------------------------
MemTotal: 4051696 kB
SwapTotal: 51196 kB

Hardware --------------------------------------------------
01:00.0 VGA compatible controller: NVIDIA Corporation G94 [GeForce 9600 GT] (rev a1)
05:01.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)

Interupts -------------------------------------------------
CPU0 CPU1
0: 48 0 IO-APIC-edge timer
1: 1 1 IO-APIC-edge i8042
6: 1 2 IO-APIC-edge floppy
8: 0 1 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
12: 4 1 IO-APIC-edge i8042
16: 481 482 IO-APIC-fasteoi pata_jmicron, uhci_hcd:usb1, nvidia
18: 6611 6631 IO-APIC-fasteoi uhci_hcd:usb3, uhci_hcd:usb6, ehci_hcd:usb7, firewire_ohci, i801_smbus
19: 1016 1019 IO-APIC-fasteoi uhci_hcd:usb5, snd_emu10k1
21: 0 0 IO-APIC-fasteoi uhci_hcd:usb2
23: 0 0 IO-APIC-fasteoi uhci_hcd:usb4, ehci_hcd:usb8
44: 6830 6751 PCI-MSI-edge ahci
45: 7573 7555 PCI-MSI-edge eth0
46: 1 0 PCI-MSI-edge
NMI: 28 24 Non-maskable interrupts
LOC: 13455 10530 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 28 24 Performance monitoring interrupts
IWI: 0 0 IRQ work interrupts
RTR: 0 0 APIC ICR read retries
RES: 9159 8090 Rescheduling interrupts
CAL: 61 70 Function call interrupts
TLB: 3982 3437 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 1 1 Machine check polls
ERR: 0
MIS: 0

[christer@Arch ~]$



Thank you for great work.

Best regards,
Christer

Loading...