My HDAudio is no longer recognized

OSS specific Linux discussion (x86/amd64)

Moderators: dev, hannu, cesium

keantoken
Member
Posts: 44
Joined: Fri Jul 08, 2011 2:54 am

My HDAudio is no longer recognized

Postby keantoken » Wed Feb 19, 2014 8:53 pm

I have installed the latest Git source using the kernel 3.12 patch. Previously my HDAudio card worked fine, but now the mixer panel is blank and OSS doesn't seem to recognize it fully:

Code: Select all

lspci
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
03:04.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]


Code: Select all

ossinfo
Version info: OSS 4.2 (b 2009/201402170311) (0x00040100) OSS_HG
Platform: Linux/x86_64 3.12-11.dmz.1-liquorix-amd64 #1 ZEN SMP PREEMPT Sat Feb 15 21:48:42 UTC 2014 (ronin)

Number of audio devices:   2
Number of audio engines:   7
Number of MIDI devices:      1
Number of mixer devices:   3


Device objects
 0: osscore0 OSS core services
 1: oss_cmi878x0 Asus Xonar DX (AV100) interrupts=0 (1)
 2: oss_hdaudio0 ATI HD Audio interrupts=4651 (4651)
    HD Audio controller ATI HD Audio
    Vendor ID    0x10024383
    Subvendor ID 0x104384fb
     Codec  0: Unknown (0x00000001/0x00000bb1)
 3: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)
0: CMI8788 UART (MIDI port 1 of device object 1)

Mixer devices
 0: CMedia CMI8788 (Mixer 0 of device object 1)
 1: AC97 Input Mixer (CMI9780) (Mixer 1 of device object 1)
 2: High Definition Audio 0x0000000 (Mixer 0 of device object 2)

Audio devices
Asus Xonar DX (AV100) (MultiChannel)  /dev/oss/oss_cmi878x0/pcm0  (device index 0)
Asus Xonar DX (AV100) (SPDIF)     /dev/oss/oss_cmi878x0/pcm1  (device index 1)

Nodes
  /dev/dsp -> /dev/oss/oss_cmi878x0/pcm0
  /dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0
  /dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0


Also, it seems like something is causing IO pagefaults with the Xonar DX:

Code: Select all

journalctl -bx
Feb 19 13:56:00 ronin kernel: pcieport 0000:00:04.0: driver skip pci_set_master, fix it!
Feb 19 13:56:00 ronin kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x0019 address=0x00000000366c8000 flag
Feb 19 13:56:00 ronin kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x0019 address=0x00000000366c8040 flag
Feb 19 13:56:00 ronin kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x0019 address=0x00000000366c8000 flag
Feb 19 13:56:00 ronin kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x0019 address=0x00000000366c8040 flag
Feb 19 13:56:00 ronin kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x0019 address=0x00000000366c8000 flag
Feb 19 13:56:00 ronin kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x0019 address=0x00000000366c8040 flag
Feb 19 13:56:00 ronin kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x0019 address=0x00000000366c8000 flag
Feb 19 13:56:00 ronin kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x0019 address=0x00000000366c8040 flag
Feb 19 13:56:00 ronin kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x0019 address=0x00000000366c8000 flag
Feb 19 13:56:00 ronin kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x0019 address=0x00000000366c8040 flag
Feb 19 13:56:00 ronin kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x0019 address=0x00000000366c8000 flag
Feb 19 13:56:00 ronin kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x0019 address=0x00000000366c8040 flag
Feb 19 13:56:00 ronin kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=03:00.0 domain=0x0019 address=0x00000000366c8000 flag


Also, running osstest causes my computer to become completely unresponsive.

My system:

Code: Select all

inxi -bxx
System:    Host: ronin Kernel: 3.12-11.dmz.1-liquorix-amd64 x86_64 (64 bit, gcc: 4.8.2)
           Desktop: Xfce 4.10.2 (Gtk 2.24.18) dm: lightdm Distro: Debian GNU/Linux jessie/sid
Machine:   Mobo: ASUSTeK model: M5A99FX PRO R2.0 version: Rev 1.xx Bios: American Megatrends version: 2201 date: 11/22/2013
CPU:       Octa core AMD FX-8350 Eight-Core (-MCP-) clocked at 4025.278 MHz
Graphics:  Card: NVIDIA G73 [GeForce 7600 GS] bus-ID: 01:00.0 chip-ID: 10de:0392
           X.Org: 1.15.0 driver: nvidia Resolution: 1280x960@60.0hz
           GLX Renderer: GeForce 7600 GS/PCIe/SSE2 GLX Version: 2.1.2 NVIDIA 304.119 Direct Rendering: Yes
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 ver: 2.3LK-NAPI port: a000 bus-ID: 0a:00.0 chip-ID: 10ec:8168
Drives:    HDD Total Size: 320.1GB (24.0% used)
Info:      Processes: 304 Uptime: 59 min Memory: 1279.8/7841.4MB Runlevel: 5 default: 2
           Gcc sys: 4.8.2 alt: 4.2/4.3/4.4/4.5/4.6/4.7/4.9 Client: Shell (bash 4.2.45 running in xfce4-terminal) inxi: 1.9.18

keantoken
Member
Posts: 44
Joined: Fri Jul 08, 2011 2:54 am

Re: My HDAudio is no longer recognized

Postby keantoken » Wed Feb 19, 2014 9:11 pm

This looks like a very similar issue:

http://comments.gmane.org/gmane.linux.kernel.iommu/1813

This thread at least provides an explanation:

https://bbs.archlinux.org/viewtopic.php?id=168467

Why hasn't ASUS fixed the BIOS?

Code: Select all

sudo tail /var/log/kern.log
Feb 19 13:56:00 ronin kernel: oss_hdaudio: HDA codec 0x00000001 not known yet
Feb 19 13:56:00 ronin kernel: oss_hdaudio: HDA codec 0x00000c00 not known yet
Feb 19 13:56:00 ronin kernel: usbcore: registered new interface driver oss_usb
Feb 19 14:40:45 ronin kernel: usbcore: deregistering interface driver oss_usb
Feb 19 14:41:20 ronin kernel: oss_hdaudio: RIRB timeout (cad=0, nid=0, d=0, verb=f00, parm=0)
Feb 19 14:41:20 ronin kernel: oss_hdaudio: attach_codec: Codec #0 is not physically present
Feb 19 14:41:20 ronin kernel: oss_hdaudio: RIRB timeout (cad=0, nid=0, d=0, verb=f00, parm=0)
Feb 19 14:41:20 ronin kernel: oss_hdaudio: No hdaudio codecs were detected
Feb 19 14:41:20 ronin kernel: oss_hdaudio: probe of 0000:00:14.2 failed with error -5
Feb 19 14:41:20 ronin kernel: usbcore: registered new interface driver oss_usb


I enabled my IOMMU recently but my ethernet is not having any problems. I'll disable it again and see what happens.

keantoken
Member
Posts: 44
Joined: Fri Jul 08, 2011 2:54 am

Re: My HDAudio is no longer recognized

Postby keantoken » Wed Feb 19, 2014 10:10 pm

Well, using the iommu=pt kernel option works, so I don't have to disable IOMMU. Finally, I have sound.

keantoken
Member
Posts: 44
Joined: Fri Jul 08, 2011 2:54 am

Re: My HDAudio is no longer recognized

Postby keantoken » Fri Jan 16, 2015 9:35 am

Well I just reinstalled my system and had to rediscover this again. This fix was particularly tricky to find. It breaks the HDAudio driver for some people, so really I think it should be added to the driver.

For those wondering how to do it, who are using Grub2, you open /etc/default/grub with root privileges (sudo nano /etc/default/grub) and add iommu=pt to the other options in the default linux command like so:

/etc/default/grub wrote:GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset nouveau.modeset=0 iommu=pt"


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 3 guests