Intel HDA sound device not working (Kaby Lake) in LM 18.2

Bug #1710263 reported by Chris Serino
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned
Debian
Fix Released
Unknown
Ubuntu
Confirmed
Undecided
Unassigned

Bug Description

My computer is a ZBOX Nano MI547 with a Kaby Lake i5 7200U and the audio should use HDMI to output sound.

Linux Mint Version:
Linux Mint 18.2 Cinnamon 64-bit

I've tried using the 4.8.0-53 kernel that it shipped with and upgrading the kernel to 4.8.0-58 (which I am using now for the rest of the output I will provide)

The ALSA debug output: http://www.alsa-project.org/db/?f=9dc31c6d9f4c55a837920d553a4d1d5a5b78cf9e

```
~ $ lspci -nnk | grep -i -A7 audio
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:9d71] (rev 21)
 Subsystem: Intel Corporation Device [8086:7270]
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd_soc_skl, snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
 Subsystem: Intel Corporation Sunrise Point-LP SMBus [8086:7270]
 Kernel modules: i2c_i801
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection I219-LM [8086:156f] (rev 21)
```

dmesg:
```
[ 4.615997] snd_soc_skl 0000:00:1f.3: enabling device (0000 -> 0002)
[ 4.616200] snd_soc_skl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 4.723336] snd_soc_skl 0000:00:1f.3: CORB reset timeout#1, CORBRP = 0
[ 4.723343] snd_soc_skl 0000:00:1f.3: no hda codecs found!
[ 4.723495] ------------[ cut here ]------------
[ 4.723499] WARNING: CPU: 2 PID: 406 at /build/linux-hwe-0IbwuF/linux-hwe-4.8.0/kernel/memremap.c:85 memremap+0xb4/0x180
[ 4.723500] memremap attempted on mixed range 0x0000000000000000 size: 0x0
[ 4.723500] Modules linked in: snd_soc_skl(+) snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_hda_core snd_soc_sst_match arc4 snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi intel_rapl x86_pkg_temp_thermal intel_powerclamp input_leds coretemp kvm_intel kvm snd_seq snd_seq_device iwlmvm irqbypass crct10dif_pclmul snd_timer crc32_pclmul mac80211 ghash_clmulni_intel btusb aesni_intel btrtl aes_x86_64 lrw glue_helper ablk_helper cryptd iwlwifi snd soundcore cfg80211 ir_lirc_codec serio_raw lirc_dev mei_me intel_pch_thermal shpchp mei hci_uart rc_rc6_mce btbcm nuvoton_cir btqca btintel rc_core bluetooth intel_lpss_acpi intel_lpss acpi_pad mac_hid acpi_als kfifo_buf industrialio parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq
[ 4.723535] dm_mirror dm_region_hash dm_log hid_generic usbhid uas usb_storage i915 i2c_algo_bit drm_kms_helper e1000e syscopyarea sysfillrect sysimgblt ptp fb_sys_fops pps_core drm ahci r8169 libahci mii pinctrl_sunrisepoint pinctrl_intel i2c_hid video hid fjes
[ 4.723549] CPU: 2 PID: 406 Comm: systemd-udevd Not tainted 4.8.0-58-generic #63~16.04.1-Ubuntu
[ 4.723550] Hardware name: ZOTAC ZBOX-MI527/MI547/ZBOX-MI527/MI547, BIOS B331P105 01/04/2017
[ 4.723552] 0000000000000286 00000000631e5164 ffff8f33d9bd3988 ffffffffa862e553
[ 4.723554] ffff8f33d9bd39d8 0000000000000000 ffff8f33d9bd39c8 ffffffffa828316b
[ 4.723556] 00000055da0f6000 0000000000000001 0000000000000000 ffff8f33da0f6000
[ 4.723559] Call Trace:
[ 4.723562] [<ffffffffa862e553>] dump_stack+0x63/0x90
[ 4.723565] [<ffffffffa828316b>] __warn+0xcb/0xf0
[ 4.723567] [<ffffffffa82831ef>] warn_slowpath_fmt+0x5f/0x80
[ 4.723570] [<ffffffffa828933a>] ? region_intersects+0x2a/0x120
[ 4.723571] [<ffffffffa839e3e4>] memremap+0xb4/0x180
[ 4.723576] [<ffffffffc0b00458>] skl_nhlt_init+0x78/0xd0 [snd_soc_skl]
[ 4.723579] [<ffffffffc0afead8>] skl_probe+0x2b8/0x7f0 [snd_soc_skl]
[ 4.723581] [<ffffffffa8685b35>] local_pci_probe+0x45/0xa0
[ 4.723583] [<ffffffffa8686f93>] pci_device_probe+0x103/0x150
[ 4.723586] [<ffffffffa879d804>] driver_probe_device+0x224/0x430
[ 4.723587] [<ffffffffa879daef>] __driver_attach+0xdf/0xf0
[ 4.723589] [<ffffffffa879da10>] ? driver_probe_device+0x430/0x430
[ 4.723591] [<ffffffffa879b2ec>] bus_for_each_dev+0x6c/0xc0
[ 4.723592] [<ffffffffa879cefe>] driver_attach+0x1e/0x20
[ 4.723594] [<ffffffffa879c9ad>] bus_add_driver+0x1fd/0x270
[ 4.723595] [<ffffffffc0b29000>] ? 0xffffffffc0b29000
[ 4.723597] [<ffffffffa879e460>] driver_register+0x60/0xe0
[ 4.723598] [<ffffffffa868546c>] __pci_register_driver+0x4c/0x50
[ 4.723601] [<ffffffffc0b2901e>] skl_driver_init+0x1e/0x1000 [snd_soc_skl]
[ 4.723603] [<ffffffffa8202190>] do_one_initcall+0x50/0x1a0
[ 4.723605] [<ffffffffa83ebc21>] ? __vunmap+0x81/0xd0
[ 4.723607] [<ffffffffa840a792>] ? kmem_cache_alloc_trace+0x152/0x1c0
[ 4.723609] [<ffffffffa840af59>] ? kfree+0x169/0x170
[ 4.723610] [<ffffffffa839ee64>] do_init_module+0x5f/0x1f6
[ 4.723612] [<ffffffffa83115b0>] load_module+0x1780/0x1d20
[ 4.723613] [<ffffffffa830de60>] ? __symbol_put+0x60/0x60
[ 4.723616] [<ffffffffa85d268d>] ? ima_post_read_file+0x7d/0xa0
[ 4.723619] [<ffffffffa857290b>] ? security_kernel_post_read_file+0x6b/0x80
[ 4.723620] [<ffffffffa8311dbf>] SYSC_finit_module+0xdf/0x110
[ 4.723622] [<ffffffffa8311e0e>] SyS_finit_module+0xe/0x10
[ 4.723624] [<ffffffffa8a9a8f6>] entry_SYSCALL_64_fastpath+0x1e/0xa8
[ 4.723625] ---[ end trace 476308d4e1500692 ]---
[ 4.723850] ------------[ cut here ]------------
[ 4.723856] WARNING: CPU: 1 PID: 406 at /build/linux-hwe-0IbwuF/linux-hwe-4.8.0/sound/hda/hdac_i915.c:423 snd_hdac_i915_exit+0x71/0x90 [snd_hda_core]
[ 4.723857] Modules linked in: snd_soc_skl(+) snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_hda_core snd_soc_sst_match arc4 snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi intel_rapl x86_pkg_temp_thermal intel_powerclamp input_leds coretemp kvm_intel kvm snd_seq snd_seq_device iwlmvm irqbypass crct10dif_pclmul snd_timer crc32_pclmul mac80211 ghash_clmulni_intel btusb aesni_intel btrtl aes_x86_64 lrw glue_helper ablk_helper cryptd iwlwifi snd soundcore cfg80211 ir_lirc_codec serio_raw lirc_dev mei_me intel_pch_thermal shpchp mei hci_uart rc_rc6_mce btbcm nuvoton_cir btqca btintel rc_core bluetooth intel_lpss_acpi intel_lpss acpi_pad mac_hid acpi_als kfifo_buf industrialio parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq
[ 4.723877] dm_mirror dm_region_hash dm_log hid_generic usbhid uas usb_storage i915 i2c_algo_bit drm_kms_helper e1000e syscopyarea sysfillrect sysimgblt ptp fb_sys_fops pps_core drm ahci r8169 libahci mii pinctrl_sunrisepoint pinctrl_intel i2c_hid video hid fjes
[ 4.723885] CPU: 1 PID: 406 Comm: systemd-udevd Tainted: G W 4.8.0-58-generic #63~16.04.1-Ubuntu
[ 4.723886] Hardware name: ZOTAC ZBOX-MI527/MI547/ZBOX-MI527/MI547, BIOS B331P105 01/04/2017
[ 4.723886] 0000000000000286 00000000631e5164 ffff8f33d9bd39f8 ffffffffa862e553
[ 4.723888] 0000000000000000 0000000000000000 ffff8f33d9bd3a38 ffffffffa828316b
[ 4.723890] 000001a7d5e01018 ffff8f33d5e01018 ffff8f33d5ffa1c0 ffff8f33da0f60a0
[ 4.723891] Call Trace:
[ 4.723893] [<ffffffffa862e553>] dump_stack+0x63/0x90
[ 4.723894] [<ffffffffa828316b>] __warn+0xcb/0xf0
[ 4.723896] [<ffffffffa828329d>] warn_slowpath_null+0x1d/0x20
[ 4.723899] [<ffffffffc0b19c71>] snd_hdac_i915_exit+0x71/0x90 [snd_hda_core]
[ 4.723902] [<ffffffffc0afe376>] skl_free+0x76/0x80 [snd_soc_skl]
[ 4.723904] [<ffffffffc0afecf9>] skl_probe+0x4d9/0x7f0 [snd_soc_skl]
[ 4.723905] [<ffffffffa8685b35>] local_pci_probe+0x45/0xa0
[ 4.723906] [<ffffffffa8686f93>] pci_device_probe+0x103/0x150
[ 4.723908] [<ffffffffa879d804>] driver_probe_device+0x224/0x430
[ 4.723909] [<ffffffffa879daef>] __driver_attach+0xdf/0xf0
[ 4.723911] [<ffffffffa879da10>] ? driver_probe_device+0x430/0x430
[ 4.723912] [<ffffffffa879b2ec>] bus_for_each_dev+0x6c/0xc0
[ 4.723913] [<ffffffffa879cefe>] driver_attach+0x1e/0x20
[ 4.723914] [<ffffffffa879c9ad>] bus_add_driver+0x1fd/0x270
[ 4.723915] [<ffffffffc0b29000>] ? 0xffffffffc0b29000
[ 4.723916] [<ffffffffa879e460>] driver_register+0x60/0xe0
[ 4.723917] [<ffffffffa868546c>] __pci_register_driver+0x4c/0x50
[ 4.723920] [<ffffffffc0b2901e>] skl_driver_init+0x1e/0x1000 [snd_soc_skl]
[ 4.723921] [<ffffffffa8202190>] do_one_initcall+0x50/0x1a0
[ 4.723923] [<ffffffffa83ebc21>] ? __vunmap+0x81/0xd0
[ 4.723924] [<ffffffffa840a792>] ? kmem_cache_alloc_trace+0x152/0x1c0
[ 4.723925] [<ffffffffa840af59>] ? kfree+0x169/0x170
[ 4.723926] [<ffffffffa839ee64>] do_init_module+0x5f/0x1f6
[ 4.723927] [<ffffffffa83115b0>] load_module+0x1780/0x1d20
[ 4.723928] [<ffffffffa830de60>] ? __symbol_put+0x60/0x60
[ 4.723930] [<ffffffffa85d268d>] ? ima_post_read_file+0x7d/0xa0
[ 4.723931] [<ffffffffa857290b>] ? security_kernel_post_read_file+0x6b/0x80
[ 4.723932] [<ffffffffa8311dbf>] SYSC_finit_module+0xdf/0x110
[ 4.723934] [<ffffffffa8311e0e>] SyS_finit_module+0xe/0x10
[ 4.723935] [<ffffffffa8a9a8f6>] entry_SYSCALL_64_fastpath+0x1e/0xa8
[ 4.723935] ---[ end trace 476308d4e1500693 ]---
[ 4.730816] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 4.843490] snd_hda_intel 0000:00:1f.3: CORB reset timeout#1, CORBRP = 0
[ 4.845011] snd_hda_intel 0000:00:1f.3: no codecs found!
```

summary: - Intel HDA sound device not working (Skylake) in LM 18.2
+ Intel HDA sound device not working (Kaby Lake) in LM 18.2
description: updated
Revision history for this message
Fabio A. (falemagn) wrote :
Download full text (4.5 KiB)

dmsg output:

[14408.495545] snd_soc_skl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[14408.508677] ------------[ cut here ]------------
[14408.508681] WARNING: CPU: 2 PID: 6845 at /build/linux-CBO9Tx/linux-4.10.0/kernel/memremap.c:85 memremap+0xb4/0x180
[14408.508682] memremap attempted on mixed range 0x0000000000000000 size: 0x0
[14408.508682] Modules linked in: snd_soc_skl(+) snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine btrfs xor raid6_pq ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs cpuid ccm rfcomm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat libcrc32c nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter snd_hrtimer pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) cmac bnep binfmt_misc nls_iso8859_1 joydev uvcvideo i2c_designware_platform i2c_designware_core videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev asus_nb_wmi asus_wmi
[14408.508706] sparse_keymap rtsx_usb_ms memstick media btusb btrtl intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm arc4 rtl8723be btcoexist rtl8723_common rtl_pci rtlwifi mac80211 cfg80211 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec snd_hda_core irqbypass crct10dif_pclmul snd_hwdep snd_pcm crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd_seq snd_seq_device snd_timer input_leds snd soundcore shpchp serio_raw elan_i2c int3403_thermal mei_me mei idma64 virt_dma processor_thermal_device intel_soc_dts_iosf intel_lpss_pci intel_pch_thermal hci_uart btbcm btqca btintel bluetooth tpm_crb intel_lpss_acpi intel_lpss int3406_thermal mac_hid int3402_thermal int340x_thermal_zone
[14408.508728] int3400_thermal acpi_thermal_rel asus_wireless acpi_pad cuse parport_pc ppdev lp parport ip_tables x_tables autofs4 rtsx_usb_sdmmc rtsx_usb nouveau i915 mxm_wmi ttm i2c_algo_bit r8169 drm_kms_helper syscopyarea mii sysfillrect sysimgblt fb_sys_fops drm ahci libahci i2c_hid hid wmi pinctrl_sunrisepoint video pinctrl_intel fjes [last unloaded: snd_seq_midi_event]
[14408.508741] CPU: 2 PID: 6845 Comm: modprobe Tainted: G OE 4.10.0-36-generic #40-Ubuntu
[14408.508742] Hardware name: ASUSTeK COMPUTER INC. X556UJ/X556UJ, BIOS X556UJ.405 05/20/2016
[14408.508742] Call Trace:
[14408.508745] dump_stack+0x63/0x81
[14408.508747] __warn+0xcb/0xf0
[14408.508749] warn_slowpath_fmt+0x5f/0x80
[14408.508750] ? region_intersects+0x2a/0x120
[14408.508751] memremap+0xb4/0x180
[14408.508755] skl_nhlt_init+0x78/0xd0 [snd_soc_skl]
[14408.508758] skl_probe+0x2c7/0x7f0 [snd_soc_skl]
[14408.508759] local_pci_probe+0x45/0xa0
[14408.508760] pci_device_probe+0x103/0x150
[14408.508763] driver_probe_device+0x2bb/0x460
[14408.508764] __driver_attach+0xdf/0xf0
[14408.508766] ? driver_probe_device+0x460/0x460
[14408.508767] bus_for_each_dev+0x6c/0xc0
[14408.50...

Read more...

Revision history for this message
Fabio A. (falemagn) wrote :

Forgot to say: using ubuntu 17.04. This is the uname output: 4.10.0-36-generic #40-Ubuntu SMP Tue Sep 19 12:15:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Fabio A. (falemagn) wrote :
Download full text (4.5 KiB)

dmsg output:

[14408.495545] snd_soc_skl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[14408.508677] ------------[ cut here ]------------
[14408.508681] WARNING: CPU: 2 PID: 6845 at /build/linux-CBO9Tx/linux-4.10.0/kernel/memremap.c:85 memremap+0xb4/0x180
[14408.508682] memremap attempted on mixed range 0x0000000000000000 size: 0x0
[14408.508682] Modules linked in: snd_soc_skl(+) snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine btrfs xor raid6_pq ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs cpuid ccm rfcomm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat libcrc32c nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter snd_hrtimer pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) cmac bnep binfmt_misc nls_iso8859_1 joydev uvcvideo i2c_designware_platform i2c_designware_core videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core videodev asus_nb_wmi asus_wmi
[14408.508706] sparse_keymap rtsx_usb_ms memstick media btusb btrtl intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm arc4 rtl8723be btcoexist rtl8723_common rtl_pci rtlwifi mac80211 cfg80211 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec snd_hda_core irqbypass crct10dif_pclmul snd_hwdep snd_pcm crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd_seq snd_seq_device snd_timer input_leds snd soundcore shpchp serio_raw elan_i2c int3403_thermal mei_me mei idma64 virt_dma processor_thermal_device intel_soc_dts_iosf intel_lpss_pci intel_pch_thermal hci_uart btbcm btqca btintel bluetooth tpm_crb intel_lpss_acpi intel_lpss int3406_thermal mac_hid int3402_thermal int340x_thermal_zone
[14408.508728] int3400_thermal acpi_thermal_rel asus_wireless acpi_pad cuse parport_pc ppdev lp parport ip_tables x_tables autofs4 rtsx_usb_sdmmc rtsx_usb nouveau i915 mxm_wmi ttm i2c_algo_bit r8169 drm_kms_helper syscopyarea mii sysfillrect sysimgblt fb_sys_fops drm ahci libahci i2c_hid hid wmi pinctrl_sunrisepoint video pinctrl_intel fjes [last unloaded: snd_seq_midi_event]
[14408.508741] CPU: 2 PID: 6845 Comm: modprobe Tainted: G OE 4.10.0-36-generic #40-Ubuntu
[14408.508742] Hardware name: ASUSTeK COMPUTER INC. X556UJ/X556UJ, BIOS X556UJ.405 05/20/2016
[14408.508742] Call Trace:
[14408.508745] dump_stack+0x63/0x81
[14408.508747] __warn+0xcb/0xf0
[14408.508749] warn_slowpath_fmt+0x5f/0x80
[14408.508750] ? region_intersects+0x2a/0x120
[14408.508751] memremap+0xb4/0x180
[14408.508755] skl_nhlt_init+0x78/0xd0 [snd_soc_skl]
[14408.508758] skl_probe+0x2c7/0x7f0 [snd_soc_skl]
[14408.508759] local_pci_probe+0x45/0xa0
[14408.508760] pci_device_probe+0x103/0x150
[14408.508763] driver_probe_device+0x2bb/0x460
[14408.508764] __driver_attach+0xdf/0xf0
[14408.508766] ? driver_probe_device+0x460/0x460
[14408.508767] bus_for_each_dev+0x6c/0xc0
[14408.50...

Read more...

Changed in ubuntu:
status: Confirmed → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Changed in debian:
status: Unknown → New
Revision history for this message
abdAllah Yves Lambert (yl-t) wrote :

Looks like it works with 4.15.0-rc8 kernel (you'll probably need to modprobe snd_hda_intel

Changed in debian:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.