You are not logged in.

#1 2014-09-26 11:19:34

shox
Member
Registered: 2012-06-20
Posts: 49

[Audio] Intel sound card froze the computer

Hello everyone ! I'm coming here because I'm unable to solve a bug with my new ArchLinux install on my HP EliteBook G1
On boot, when the first sound come, the system is frozen and I have to go to a TTY and come back juste ater to X to unfreeze it, when it comes back to X, sound is working.
Here is the dmesg just after that bug

[   18.357685] snd_hda_intel 0000:03:00.1: Disabling via VGA-switcheroo
[   31.733893] [drm] probing gen 2 caps for device 8086:9c18 = 5323c42/0
[   31.733898] [drm] PCIE gen 2 link speeds already enabled
[   31.738009] [drm] PCIE GART of 1024M enabled (table at 0x0000000000276000).
[   31.738108] radeon 0000:03:00.0: WB enabled
[   31.738109] radeon 0000:03:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff880036c15c00
[   31.738111] radeon 0000:03:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffff880036c15c04
[   31.738112] radeon 0000:03:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffff880036c15c08
[   31.738113] radeon 0000:03:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff880036c15c0c
[   31.738114] radeon 0000:03:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xffff880036c15c10
[   31.739665] radeon 0000:03:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90012935a18
[   31.933041] [drm] ring test on 0 succeeded in 1 usecs
[   31.933046] [drm] ring test on 1 succeeded in 1 usecs
[   31.933050] [drm] ring test on 2 succeeded in 1 usecs
[   31.933112] [drm] ring test on 3 succeeded in 2 usecs
[   31.933119] [drm] ring test on 4 succeeded in 1 usecs
[   32.120159] [drm] ring test on 5 succeeded in 2 usecs
[   32.120167] [drm] UVD initialized successfully.
[   32.120197] [drm] ib test on ring 0 succeeded in 0 usecs
[   32.120225] [drm] ib test on ring 1 succeeded in 0 usecs
[   32.120251] [drm] ib test on ring 2 succeeded in 0 usecs
[   32.120279] [drm] ib test on ring 3 succeeded in 0 usecs
[   32.120307] [drm] ib test on ring 4 succeeded in 0 usecs
[   32.272153] [drm] ib test on ring 5 succeeded
[   32.281645] snd_hda_intel 0000:03:00.1: Enabling via VGA-switcheroo
[   32.281758] snd_hda_intel 0000:03:00.1: irq 68 for MSI/MSI-X
[   35.511987] fuse init (API version 7.23)
[   39.380006] snd_hda_intel 0000:03:00.1: Disabling via VGA-switcheroo
[   39.406703] snd_hda_intel 0000:03:00.1: Cannot lock devices!
[  217.549726] [drm] probing gen 2 caps for device 8086:9c18 = 5323c42/0
[  217.549730] [drm] PCIE gen 2 link speeds already enabled
[  217.554342] [drm] PCIE GART of 1024M enabled (table at 0x0000000000276000).
[  217.554587] radeon 0000:03:00.0: WB enabled
[  217.554590] radeon 0000:03:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff880036c15c00
[  217.554592] radeon 0000:03:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xffff880036c15c04
[  217.554594] radeon 0000:03:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xffff880036c15c08
[  217.554596] radeon 0000:03:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff880036c15c0c
[  217.554598] radeon 0000:03:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xffff880036c15c10
[  217.556135] radeon 0000:03:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90012935a18
[  217.751488] [drm] ring test on 0 succeeded in 1 usecs
[  217.751492] [drm] ring test on 1 succeeded in 1 usecs
[  217.751496] [drm] ring test on 2 succeeded in 1 usecs
[  217.751557] [drm] ring test on 3 succeeded in 2 usecs
[  217.751565] [drm] ring test on 4 succeeded in 1 usecs
[  217.938608] [drm] ring test on 5 succeeded in 2 usecs
[  217.938616] [drm] UVD initialized successfully.
[  217.938648] [drm] ib test on ring 0 succeeded in 0 usecs
[  217.938675] [drm] ib test on ring 1 succeeded in 0 usecs
[  217.938703] [drm] ib test on ring 2 succeeded in 0 usecs
[  217.938730] [drm] ib test on ring 3 succeeded in 0 usecs
[  217.938758] [drm] ib test on ring 4 succeeded in 0 usecs
[  218.090574] [drm] ib test on ring 5 succeeded
[  218.097104] snd_hda_intel 0000:03:00.1: Enabling via VGA-switcheroo
[  218.097210] snd_hda_intel 0000:03:00.1: irq 68 for MSI/MSI-X
[  226.308601] snd_hda_intel 0000:03:00.1: Disabling via VGA-switcheroo
[  226.335170] snd_hda_intel 0000:03:00.1: Cannot lock devices!

It's a very strange bug and I'm unable to resolve it, could you help me to solve it ?
Here is my aplay -l

aplay -l
**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: HDMI [HDA Intel HDMI], périphérique 3: HDMI 0 [HDMI 0]
  Sous-périphériques: 0/1
  Sous-périphérique #0: subdevice #0
carte 0: HDMI [HDA Intel HDMI], périphérique 7: HDMI 1 [HDMI 1]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: HDMI [HDA Intel HDMI], périphérique 8: HDMI 2 [HDMI 2]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 1: PCH [HDA Intel PCH], périphérique 0: 92HD91BXX Analog [92HD91BXX Analog]
  Sous-périphériques: 0/1
  Sous-périphérique #0: subdevice #0
carte 2: HDMI_1 [HDA ATI HDMI], périphérique 3: HDMI 0 [HDMI 0]
  Sous-périphériques: 0/1
  Sous-périphérique #0: subdevice #0
carte 2: HDMI_1 [HDA ATI HDMI], périphérique 7: HDMI 1 [HDMI 1]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0

I tried to replace my /etc/asound.conf with this one but it didn't changed anything (even the aplay -l orders didn't changed)

defaults.ctl.card x
defaults.pcm.card x
defaults.timer.card x

Here is other tests

hwinfo --sound
09: PCI 03.0: 0403 Audio device                                 
  [Created at pci.328]
  Unique ID: 3hqH._TWPX2ddd71
  SysFS ID: /devices/pci0000:00/0000:00:03.0
  SysFS BusID: 0000:00:03.0
  Hardware Class: sound
  Model: "Intel Audio device"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x0a0c 
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x198f 
  Revision: 0x0b
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xd0830000-0xd0833fff (rw,non-prefetchable)
  IRQ: 68 (539 events)
  Module Alias: "pci:v00008086d00000A0Csv0000103Csd0000198Fbc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

14: PCI 1b.0: 0403 Audio device
  [Created at pci.328]
  Unique ID: u1Nb.DEEXeXjdnp2
  SysFS ID: /devices/pci0000:00/0000:00:1b.0
  SysFS BusID: 0000:00:1b.0
  Hardware Class: sound
  Model: "Intel Lynx Point-LP HD Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x9c20 "Lynx Point-LP HD Audio Controller"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x198f 
  Revision: 0x04
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xd0834000-0xd0837fff (rw,non-prefetchable)
  IRQ: 67 (288 events)
  Module Alias: "pci:v00008086d00009C20sv0000103Csd0000198Fbc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

25: PCI 300.1: 0403 Audio device
  [Created at pci.328]
  Unique ID: kEn8.4X4iAhtZBi0
  Parent ID: QSNP.8vbtNHo8HI6
  SysFS ID: /devices/pci0000:00/0000:00:1c.4/0000:03:00.1
  SysFS BusID: 0000:03:00.1
  Hardware Class: sound
  Model: "ATI Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0xaab0 "Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x1990 
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xd0540000-0xd0543fff (rw,non-prefetchable)
  IRQ: 17 (37 events)
  Module Alias: "pci:v00001002d0000AAB0sv0000103Csd00001990bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #17 (PCI bridge) 
dmesg | grep -i snd
[   14.456964] snd_hda_intel 0000:00:1b.0: irq 67 for MSI/MSI-X
[   14.464356] snd_hda_intel 0000:00:03.0: irq 68 for MSI/MSI-X
[   16.520035] snd_hda_intel 0000:03:00.1: Handle VGA-switcheroo audio client
[   16.520038] snd_hda_intel 0000:03:00.1: Force to non-snoop mode
[   16.520081] snd_hda_intel 0000:03:00.1: irq 70 for MSI/MSI-X
[   21.515714] snd_hda_intel 0000:03:00.1: Disabling via VGA-switcheroo
[   36.126047] snd_hda_intel 0000:03:00.1: Enabling via VGA-switcheroo
[   36.126144] snd_hda_intel 0000:03:00.1: irq 70 for MSI/MSI-X
[   41.338528] snd_hda_intel 0000:03:00.1: Disabling via VGA-switcheroo
[   41.365146] snd_hda_intel 0000:03:00.1: Cannot lock devices!
[  175.419070] snd_hda_intel 0000:03:00.1: Enabling via VGA-switcheroo
[  175.419169] snd_hda_intel 0000:03:00.1: irq 70 for MSI/MSI-X
[  180.954826] snd_hda_intel 0000:03:00.1: Disabling via VGA-switcheroo
[  181.082160] snd_hda_intel 0000:03:00.1: Cannot lock devices!
lsmod
Module                  Size  Used by
fuse                   87446  3 
ctr                    12927  1 
ccm                    17534  1 
joydev                 17063  0 
mousedev               17272  0 
coretemp               12820  0 
intel_rapl             17356  0 
snd_hda_codec_idt      56908  1 
snd_hda_codec_hdmi     45117  2 
snd_hda_codec_generic    63126  1 snd_hda_codec_idt
x86_pkg_temp_thermal    12951  0 
hp_wmi                 17426  0 
sparse_keymap          12818  1 hp_wmi
intel_powerclamp       17122  0 
kvm_intel             143217  0 
ppdev                  16782  0 
iTCO_wdt               12831  0 
iTCO_vendor_support    12649  1 iTCO_wdt
kvm                   413027  1 kvm_intel
crct10dif_pclmul       13394  0 
crc32_pclmul           12915  0 
ghash_clmulni_intel    12978  0 
aesni_intel           151423  2 
aes_x86_64             16719  1 aesni_intel
lrw                    12757  1 aesni_intel
gf128mul               12970  1 lrw
glue_helper            12649  1 aesni_intel
ablk_helper            12572  1 aesni_intel
cryptd                 18553  3 ghash_clmulni_intel,aesni_intel,ablk_helper
microcode              22061  0 
evdev                  21544  16 
mac_hid                12633  0 
psmouse               102792  0 
serio_raw              12849  0 
arc4                   12536  2 
radeon               1376042  1 
i2c_i801               16965  0 
ttm                    73743  1 radeon
rtsx_pci_ms            16898  0 
memstick               13696  1 rtsx_pci_ms
hwmon                  12930  2 coretemp,radeon
ecb                    12737  2 
btusb                  25625  0 
iwlmvm                161824  0 
bluetooth             394557  2 btusb
mac80211              514630  1 iwlmvm
6lowpan_iphc           16588  1 bluetooth
iwlwifi               156837  1 iwlmvm
cfg80211              454161  3 iwlwifi,mac80211,iwlmvm
snd_hda_intel          26327  7 
snd_hda_controller     26727  1 snd_hda_intel
snd_hda_codec         108552  5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
rfkill                 18867  5 cfg80211,hp_wmi,bluetooth
snd_hwdep              17244  1 snd_hda_codec
snd_pcm                88487  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
uvcvideo               78952  0 
videobuf2_vmalloc      12816  1 uvcvideo
videobuf2_memops       12519  1 videobuf2_vmalloc
videobuf2_core         47787  1 uvcvideo
v4l2_common            12995  1 videobuf2_core
videodev              126443  3 uvcvideo,v4l2_common,videobuf2_core
media                  18365  2 uvcvideo,videodev
i915                  864723  6 
snd_timer              26614  1 snd_pcm
snd                    69340  22 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
tpm_infineon           16882  0 
soundcore              13031  2 snd,snd_hda_codec
parport_pc             26351  0 
battery                13356  0 
wmi                    17339  1 hp_wmi
parport                35749  2 ppdev,parport_pc
e1000e                215644  0 
drm_kms_helper         49262  2 i915,radeon
drm                   258005  8 ttm,i915,drm_kms_helper,radeon
thermal                17559  0 
intel_gtt              17848  1 i915
i2c_algo_bit           12744  2 i915,radeon
hp_accel               25200  0 
mei_me                 17941  0 
i2c_core               50152  8 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,v4l2_common,radeon,videodev
led_class              12859  2 hp_accel,iwlmvm
ptp                    17692  1 e1000e
shpchp                 35210  0 
pps_core               17225  1 ptp
hp_wireless            12491  0 
video                  17995  1 i915
button                 12909  1 i915
mei                    75033  1 mei_me
lis3lv02d              17883  1 hp_accel
input_polldev          13118  1 lis3lv02d
lpc_ich                20768  0 
tpm_tis                17182  0 
tpm                    31467  2 tpm_tis,tpm_infineon
ac                     12715  0 
processor              27777  0 
ext4                  501845  1 
crc16                  12343  2 ext4,bluetooth
mbcache                17171  1 ext4
jbd2                   86460  1 ext4
uas                    22044  0 
usb_storage            60311  2 uas
sd_mod                 44356  2 
crc_t10dif             12431  1 sd_mod
crct10dif_common       12356  2 crct10dif_pclmul,crc_t10dif
rtsx_pci_sdmmc         21105  0 
mmc_core              110475  1 rtsx_pci_sdmmc
atkbd                  22254  0 
libps2                 12739  2 atkbd,psmouse
ahci                   29195  0 
crc32c_intel           21809  0 
libahci                27158  1 ahci
libata                181553  2 ahci,libahci
scsi_mod              142915  4 uas,usb_storage,libata,sd_mod
ehci_pci               12512  0 
xhci_hcd              152990  0 
ehci_hcd               69939  1 ehci_pci
rtsx_pci               41815  2 rtsx_pci_ms,rtsx_pci_sdmmc
usbcore               199328  7 uas,btusb,uvcvideo,usb_storage,ehci_hcd,ehci_pci,xhci_hcd
usb_common             12440  1 usbcore
i8042                  18002  1 libps2
serio                  18282  9 serio_raw,atkbd,i8042,psmouse

Here is lspci :

00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:16.3 Serial controller: Intel Corporation 8 Series HECI KT (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-LM (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1c.5 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8730M]
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)

Here is "cat /proc/asound/modules"

 0 snd_hda_intel
 1 snd_hda_intel
 2 snd_hda_intel

Thanks for your help ! smile

Last edited by shox (2014-09-26 11:20:51)

Offline

#2 2014-09-27 17:39:12

shox
Member
Registered: 2012-06-20
Posts: 49

Re: [Audio] Intel sound card froze the computer

Fixed thanks to https://bugs.launchpad.net/ubuntu/+sour … ug/1310260
Add

options snd-hda-intel enable=0,1,0

in my /etc/modprobe.d

Offline

#3 2015-05-29 20:40:11

tom229
Member
Registered: 2013-05-15
Posts: 2

Re: [Audio] Intel sound card froze the computer

This bug was causing some very strange behaviour on my machine (HP ZBook 14, kernel: 4.0.4-2-ARCH). Steam would not load (hang), lspci would hang, the computer would not properly reboot, and 1/5 times it would boot up with a snd_hda_intel error.

Creating the file /etc/modprobe.d/my-alsa.conf and adding the line:

options snd-hda-intel enable=0,1,0

fixed the issue.

I'm not sure if this breaks sound over the display port. If I ever test that I'll post it back here.

Last edited by tom229 (2015-05-29 20:41:04)

Offline

Board footer

Powered by FluxBB