[Bug 1202492] New: Audio devices missing when running kernel 5.19.x
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 Bug ID: 1202492 Summary: Audio devices missing when running kernel 5.19.x Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Sound Assignee: tiwai@suse.com Reporter: martti.laaksonen@sci.fi QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Opening a new bug report as suggested in https://bugzilla.opensuse.org/show_bug.cgi?id=1202452. After Tumbleweed releases started shipping kernel 5.19 sound input and output devices are missing. When booted with previous kernel 5.18.15 audio devices are present and working. The (hopefully) relevant details between 5.18 and 5.19 kernels are in the attached files. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c1 --- Comment #1 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860835 --> http://bugzilla.opensuse.org/attachment.cgi?id=860835&action=edit dmesg output from kernel 5.18.15 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c2 --- Comment #2 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860836 --> http://bugzilla.opensuse.org/attachment.cgi?id=860836&action=edit lsmod output from kernel 5.18.15 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c3 --- Comment #3 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860837 --> http://bugzilla.opensuse.org/attachment.cgi?id=860837&action=edit alsa-info.sh output from kernel 5.18.15 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c4 --- Comment #4 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860838 --> http://bugzilla.opensuse.org/attachment.cgi?id=860838&action=edit inxi -xxA output from kernel 5.18.15 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c5 --- Comment #5 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860839 --> http://bugzilla.opensuse.org/attachment.cgi?id=860839&action=edit dmesg output from kernel 5.19.1 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c6 --- Comment #6 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860840 --> http://bugzilla.opensuse.org/attachment.cgi?id=860840&action=edit lsmod output from kernel 5.19.1 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c7 --- Comment #7 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860841 --> http://bugzilla.opensuse.org/attachment.cgi?id=860841&action=edit alsa-info.sh output from kernel 5.19.1 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c8 --- Comment #8 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860842 --> http://bugzilla.opensuse.org/attachment.cgi?id=860842&action=edit inxi -xxA output from kernel 5.19.1 -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c9 --- Comment #9 from Takashi Iwai <tiwai@suse.com> --- Could you try to reload snd-hda-intel module? e.g. logout, goto VT1, and do modprobe -r snd-hda-intel modprobe snd-hda-intel and give the dmesg output afterward. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c10 --- Comment #10 from Takashi Iwai <tiwai@suse.com> --- Oh, at the second modprobe, try to pass dyndbg=+p option, i.e. modprobe snd-hda-intel dyndbg=+p -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c11 --- Comment #11 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Ok, I did what you asked, twice actually, because when I checked the dmesg output after the first time, I did not see anything sound driver related output. Nothing on the second attempt either. Logs attached. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c12 --- Comment #12 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860844 --> http://bugzilla.opensuse.org/attachment.cgi?id=860844&action=edit modprobe commands - reload snd-hda-intel -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c13 --- Comment #13 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860845 --> http://bugzilla.opensuse.org/attachment.cgi?id=860845&action=edit dmesg output after reload of snd-hda-intel -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c14 --- Comment #14 from Takashi Iwai <tiwai@suse.com> --- Thanks. That's weird. Could you give the output of "modinfo snd-hda-intel" on 5.19.1 kernel? -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c15 --- Comment #15 from Takashi Iwai <tiwai@suse.com> --- ... also modinfo from 5.18 kernel, too. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c16 --- Comment #16 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860846 --> http://bugzilla.opensuse.org/attachment.cgi?id=860846&action=edit kernel 5.18.15 snd-hda-intel modinfo -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c17 --- Comment #17 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860847 --> http://bugzilla.opensuse.org/attachment.cgi?id=860847&action=edit kernel 5.19.1 snd-hda-intel modinfo -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c18 --- Comment #18 from Takashi Iwai <tiwai@suse.com> --- The modinfo outputs look OK as well. Both contain the modalias for your devices (1022:15e3), so that's expected. Now, please check how the sysfs entries for snd-hda-intel look (after loading snd-hda-intel). For example, in /sys/bus/pci/drivers directory, it should have snd_hda_intel subdirectory. On my machine, it's like: % ls -l /sys/bus/pci/drivers/snd_hda_intel/ total 0 lrwxrwxrwx 1 root root 0 Aug 17 17:16 0000:00:1f.3 -> ../../../../devices/pci0000:00/0000:00:1f.3 --w------- 1 root root 4096 Aug 17 17:16 bind lrwxrwxrwx 1 root root 0 Aug 17 13:20 module -> ../../../../module/snd_hda_intel --w------- 1 root root 4096 Aug 17 17:16 new_id --w------- 1 root root 4096 Aug 17 17:16 remove_id --w------- 1 root root 4096 Aug 17 13:19 uevent --w------- 1 root root 4096 Aug 17 17:16 unbind Does the subdirectory exist on your 5.19 system? -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c19 --- Comment #19 from Takashi Iwai <tiwai@suse.com> --- If the subdirectory for snd_hda_intel is present, try the following: % echo 0000:0b:00.6 > /sys/bus/pci/drivers/snd_hda_intel/bind It corresponds to the PCI slot of your onboard audio. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c20 --- Comment #20 from Martti Laaksonen <martti.laaksonen@sci.fi> --- The subdirectory exists but it is missing those links to PCI devices. 5.18.15-1-default: total 0 lrwxrwxrwx 1 root root 0 elo 17 18:39 0000:0b:00.1 -> ../../../../devices/pci0000:00/0000:00:08.1/0000:0b:00.1 lrwxrwxrwx 1 root root 0 elo 17 18:39 0000:0b:00.6 -> ../../../../devices/pci0000:00/0000:00:08.1/0000:0b:00.6 --w------- 1 root root 4096 elo 17 18:39 bind lrwxrwxrwx 1 root root 0 elo 17 18:27 module -> ../../../../module/snd_hda_intel --w------- 1 root root 4096 elo 17 18:39 new_id --w------- 1 root root 4096 elo 17 18:39 remove_id --w------- 1 root root 4096 elo 17 18:27 uevent --w------- 1 root root 4096 elo 17 18:39 unbind 5.19.1-1-default: total 0 --w------- 1 root root 4096 elo 17 18:44 bind lrwxrwxrwx 1 root root 0 elo 17 18:44 module -> ../../../../module/snd_hda_intel --w------- 1 root root 4096 elo 17 18:44 new_id --w------- 1 root root 4096 elo 17 18:44 remove_id --w------- 1 root root 4096 elo 17 18:43 uevent --w------- 1 root root 4096 elo 17 18:44 unbind Trying to do that bind thingy using either of the PCI slots shown in kernel 5.18.15 sysfs directory listing fails with 'Device or resource busy' error. bender:~ # echo 0000:0b:00.6 > /sys/bus/pci/drivers/snd_hda_intel/bind -bash: echo: write error: Device or resource busy bender:~ # echo 0000:0b:00.1 > /sys/bus/pci/drivers/snd_hda_intel/bind -bash: echo: write error: Device or resource busy -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c21 --- Comment #21 from Takashi Iwai <tiwai@suse.com> --- OK, and what are bound on those devices? You can see the entries in /sys/bus/pci/devices/* subdirectories. The bound driver could be seen in the symlink there, e.g. on mine is such as: % ls -l /sys/bus/pci/devices/0000:00:1f.3/driver lrwxrwxrwx 1 root root 0 Aug 17 13:19 /sys/bus/pci/devices/0000:00:1f.3/driver -> ../../../bus/pci/drivers/snd_hda_intel/ -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c22 --- Comment #22 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Nothing is bound on them, as far as I can tell. Just to be sure I'm still looking at correct devices, 'lspci -D' displays these devices: 0000:0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller 0000:0b:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller mlaakson@bender:~> ls -l /sys/bus/pci/devices/0000:0b:00.1/ total 0 -r--r--r-- 1 root root 4096 elo 17 19:15 ari_enabled -rw-r--r-- 1 root root 4096 elo 17 19:15 broken_parity_status -r--r--r-- 1 root root 4096 elo 17 18:50 class -rw-r--r-- 1 root root 4096 elo 17 18:50 config -r--r--r-- 1 root root 4096 elo 17 19:15 consistent_dma_mask_bits -r--r--r-- 1 root root 4096 elo 17 19:15 current_link_speed -r--r--r-- 1 root root 4096 elo 17 19:15 current_link_width -rw-r--r-- 1 root root 4096 elo 17 19:15 d3cold_allowed -r--r--r-- 1 root root 4096 elo 17 18:50 device -r--r--r-- 1 root root 4096 elo 17 19:15 dma_mask_bits -rw-r--r-- 1 root root 4096 elo 17 19:15 driver_override -rw-r--r-- 1 root root 4096 elo 17 19:15 enable lrwxrwxrwx 1 root root 0 elo 17 19:15 iommu -> ../../0000:00:00.2/iommu/ivhd0 lrwxrwxrwx 1 root root 0 elo 17 18:50 iommu_group -> ../../../../kernel/iommu_groups/1 -r--r--r-- 1 root root 4096 elo 17 18:50 irq drwxr-xr-x 2 root root 0 elo 17 19:15 link -r--r--r-- 1 root root 4096 elo 17 19:15 local_cpulist -r--r--r-- 1 root root 4096 elo 17 19:15 local_cpus -r--r--r-- 1 root root 4096 elo 17 19:15 max_link_speed -r--r--r-- 1 root root 4096 elo 17 19:15 max_link_width -r--r--r-- 1 root root 4096 elo 17 19:15 modalias -rw-r--r-- 1 root root 4096 elo 17 19:15 msi_bus -rw-r--r-- 1 root root 4096 elo 17 18:50 numa_node drwxr-xr-x 2 root root 0 elo 17 19:15 power -r--r--r-- 1 root root 4096 elo 17 19:15 power_state --w--w---- 1 root root 4096 elo 17 19:15 remove --w------- 1 root root 4096 elo 17 19:15 rescan --w------- 1 root root 4096 elo 17 19:15 reset -rw-r--r-- 1 root root 4096 elo 17 19:15 reset_method -r--r--r-- 1 root root 4096 elo 17 19:15 resource -rw------- 1 root root 16384 elo 17 19:15 resource0 -r--r--r-- 1 root root 4096 elo 17 18:50 revision lrwxrwxrwx 1 root root 0 elo 17 18:50 subsystem -> ../../../../bus/pci -r--r--r-- 1 root root 4096 elo 17 18:50 subsystem_device -r--r--r-- 1 root root 4096 elo 17 18:50 subsystem_vendor lrwxrwxrwx 1 root root 0 elo 17 19:15 supplier:pci:0000:0b:00.0 -> ../../../virtual/devlink/pci:0000:0b:00.0--pci:0000:0b:00.1 -rw-r--r-- 1 root root 4096 elo 17 18:50 uevent -r--r--r-- 1 root root 4096 elo 17 18:50 vendor mlaakson@bender:~> ls -l /sys/bus/pci/devices/0000:0b:00.6/ total 0 -r--r--r-- 1 root root 4096 elo 17 19:14 ari_enabled -rw-r--r-- 1 root root 4096 elo 17 19:14 broken_parity_status -r--r--r-- 1 root root 4096 elo 17 18:50 class -rw-r--r-- 1 root root 4096 elo 17 18:50 config -r--r--r-- 1 root root 4096 elo 17 19:14 consistent_dma_mask_bits -r--r--r-- 1 root root 4096 elo 17 19:14 current_link_speed -r--r--r-- 1 root root 4096 elo 17 19:14 current_link_width -rw-r--r-- 1 root root 4096 elo 17 19:14 d3cold_allowed -r--r--r-- 1 root root 4096 elo 17 18:50 device -r--r--r-- 1 root root 4096 elo 17 19:14 dma_mask_bits -rw-r--r-- 1 root root 4096 elo 17 19:14 driver_override -rw-r--r-- 1 root root 4096 elo 17 19:14 enable lrwxrwxrwx 1 root root 0 elo 17 19:14 firmware_node -> ../../../LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:33/device:41 lrwxrwxrwx 1 root root 0 elo 17 19:14 iommu -> ../../0000:00:00.2/iommu/ivhd0 lrwxrwxrwx 1 root root 0 elo 17 18:50 iommu_group -> ../../../../kernel/iommu_groups/1 -r--r--r-- 1 root root 4096 elo 17 18:50 irq drwxr-xr-x 2 root root 0 elo 17 19:14 link -r--r--r-- 1 root root 4096 elo 17 19:14 local_cpulist -r--r--r-- 1 root root 4096 elo 17 19:14 local_cpus -r--r--r-- 1 root root 4096 elo 17 19:14 max_link_speed -r--r--r-- 1 root root 4096 elo 17 19:14 max_link_width -r--r--r-- 1 root root 4096 elo 17 19:14 modalias -rw-r--r-- 1 root root 4096 elo 17 19:14 msi_bus -rw-r--r-- 1 root root 4096 elo 17 18:50 numa_node drwxr-xr-x 2 root root 0 elo 17 19:14 power -r--r--r-- 1 root root 4096 elo 17 19:14 power_state --w--w---- 1 root root 4096 elo 17 19:14 remove --w------- 1 root root 4096 elo 17 19:14 rescan -r--r--r-- 1 root root 4096 elo 17 19:14 resource -rw------- 1 root root 32768 elo 17 19:14 resource0 -r--r--r-- 1 root root 4096 elo 17 18:50 revision lrwxrwxrwx 1 root root 0 elo 17 18:50 subsystem -> ../../../../bus/pci -r--r--r-- 1 root root 4096 elo 17 18:50 subsystem_device -r--r--r-- 1 root root 4096 elo 17 18:50 subsystem_vendor -rw-r--r-- 1 root root 4096 elo 17 18:50 uevent -r--r--r-- 1 root root 4096 elo 17 18:50 vendor -r--r--r-- 1 root root 4096 elo 17 19:14 waiting_for_supplier -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c23 --- Comment #23 from Takashi Iwai <tiwai@suse.com> --- Hrm, it's not trivial to see what's blocking :-< Just to be sure, could you try 6.0-rc1 kernel to see whether the same issue is present? A kernel is found in OBS Kernel:HEAD repo. Also, the latest 5.19.x kernel is found in OBS Kernel:stable repo, too. 6.0-rc1 kernel has some known issue, so we'd like to see only whether it detects the devices at boot or not. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c24 --- Comment #24 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Tested with: kernel:stable 5.19.1-4.g4fdb301-default kernel:HEAD 6.0.0-rc1-3.g7bd57d5-default. No change, audio devices are still missing. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c25 --- Comment #25 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860856 --> http://bugzilla.opensuse.org/attachment.cgi?id=860856&action=edit dmesg output from kernel 5.19.1-4.g4fdb301-default -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c26 --- Comment #26 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860857 --> http://bugzilla.opensuse.org/attachment.cgi?id=860857&action=edit lsmod output from kernel 5.19.1-4.g4fdb301-default -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c27 --- Comment #27 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860858 --> http://bugzilla.opensuse.org/attachment.cgi?id=860858&action=edit alsa-info.sh output from kernel 5.19.1-4.g4fdb301-default -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c28 --- Comment #28 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860859 --> http://bugzilla.opensuse.org/attachment.cgi?id=860859&action=edit dmesg output from kernel 6.0.0-rc1-3.g7bd57d5-default -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c29 --- Comment #29 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860860 --> http://bugzilla.opensuse.org/attachment.cgi?id=860860&action=edit lsmod output from kernel 6.0.0-rc1-3.g7bd57d5-default -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c30 --- Comment #30 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860861 --> http://bugzilla.opensuse.org/attachment.cgi?id=860861&action=edit alsa-info.sh output from kernel 6.0.0-rc1-3.g7bd57d5-default -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c31 --- Comment #31 from Martti Laaksonen <martti.laaksonen@sci.fi> --- snd-hda-intel reload also does not have any effect on either kernel. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c32 --- Comment #32 from Takashi Iwai <tiwai@suse.com> --- Thanks. It's no surprising, let's continue debugging. You can uninstall 6.0-rc1 and Kernel:stable kernel packages again. I'm building a test kernel with a debug patch in OBS home:tiwai:bsc1202492 repo. The kernel should be available later (after an hour or so) at http://download.opensuse.org/repositories/home:/tiwai:/bsc1202492/standard/ Please give it a try later. This kernel will print (probably lots of) debug messages at probing each device, starting with the prefix "XXX". Please give the dmesg output after the boot and after trying to bind manually. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c33 --- Comment #33 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860898 --> http://bugzilla.opensuse.org/attachment.cgi?id=860898&action=edit dmesg output from kernel 5.19.1-1.ga80d391-default -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c34 --- Comment #34 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Just booted the test kernel and did the bind operation. No reloading of snd-hda-intel or anything else. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c35 --- Comment #35 from Takashi Iwai <tiwai@suse.com> --- Thanks! Could you try to boot with amd_iommu=off? Alternatively, iommu=off. Both may break something else, but we'd like to know whether this makes the audio device recoverable again. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c36 --- Comment #36 from Takashi Iwai <tiwai@suse.com> --- ... and I'm building another test kernel with a potential workaround (not a fix!) in OBS home:tiwai:bsc1202492-2 repo. Once after the build finishes, could you give this a try, too? It'll appear later at: http://download.opensuse.org/repositories/home:/tiwai:/bsc1202492-2/standard... -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c37 --- Comment #37 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860899 --> http://bugzilla.opensuse.org/attachment.cgi?id=860899&action=edit dmesg output from kernel 5.19.1-1.ga80d391-default amd_iommu=off -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c38 --- Comment #38 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Booting the test kernel with amd_iommu=off made audio devices working again. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c39 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|tiwai@suse.com |jroedel@suse.com --- Comment #39 from Takashi Iwai <tiwai@suse.com> --- Good to hear. As far as I understand, this is a regression due to the IOMMU DMA ownership support, as it seems (the upstream commit 512881eacfa72c2136b27b9934b7b27504a9efc2). The PCI core receives -EBUSY from iommu_device_use_default_domain() at pci_dma_configure() for HD-audio devices by some reason, resulting in the probe error. It seems that the problem happens only with AMD, so far, and not on every AMD platform. Joerg, could you take a look? -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c40 --- Comment #40 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Can confirm that the workaround implemented in the test kernel 5.19.1-1.g6993685-default also works with default kernel boot options, i.e. no need to pass amd_iommu=off or iommu=off. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c41 --- Comment #41 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 860921 --> http://bugzilla.opensuse.org/attachment.cgi?id=860921&action=edit dmesg output from kernel 5.19.1-1.g6993685-default -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c45 --- Comment #45 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Created attachment 861004 --> http://bugzilla.opensuse.org/attachment.cgi?id=861004&action=edit dmesg output from kernel 5.19.3-1.g6a8683f-default -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c46 --- Comment #46 from Martti Laaksonen <martti.laaksonen@sci.fi> --- Tested audio with test kernel 5.19.3-1.g6a8683f-default, can confirm audio devices are still missing. dmesg output attached. I did notice in the dmesg output a stack trace from iommu_attach_group which I suppose is part of your debug printouts. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c47 --- Comment #47 from Takashi Iwai <tiwai@suse.com> --- Thanks! The stack trace is intentional to show the call site. The log indicates that the code path changing the group->domain is: amdgpu_pci_probe -> amdgpu_driver_load_kms -> amdgpu_device_init -> amdgpu_amdkfd_device_init -> kgd2kfd_device_init -> kgd2kfd_resume_iommu -> kfd_iommu_resume -> amd_iommu_init_device -> iommu_attach_group -> __iommu_attach_group that happens during AMDGPU driver probe. Afterwards, snd-hda-intel driver gets probed, but it fails because those audio PCI devices belong to the same IOMMU group as the AMD graphics PCI device, and the group->domain is no longer equal with group->default_domain. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c49 --- Comment #49 from a b <x3.141592@yahoo.de> --- I can't boot this Kernel 5.19.7-2.1.gb78279d. After some minutes it comes a messages with the hint to save the sosreport. At this time my keyboard is still offline. So i can't give you that file. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c50 --- Comment #50 from Takashi Iwai <tiwai@suse.com> --- (In reply to a b from comment #49)
I can't boot this Kernel 5.19.7-2.1.gb78279d. After some minutes it comes a messages with the hint to save the sosreport. At this time my keyboard is still offline. So i can't give you that file.
Hmm, could you check whether the kernel in OBS Kernel:HEAD still boots fine? http://download.opensuse.org/repositories/Kernel:/stable/standard/ If this works and the test kernel doesn't, it's a bug in the patch. If both don't boot, it's an issue in the upstream kernel. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c51 --- Comment #51 from Martti Laaksonen <martti.laaksonen@sci.fi> --- I also had the same problem with the test kernel not booting properly and non-functional keyboard, so the only way out was to power cycle the machine. The default kernel 5.19.7-3.g11a0be1-default from http://download.opensuse.org/repositories/Kernel:/stable/standard/ boots without issues and audio also works with that kernel. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c52 --- Comment #52 from a b <x3.141592@yahoo.de> --- I can confirm this. Kernel 5.19.7-3.g11a0be1-default is booting. And Audio works. Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c53 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo? | --- Comment #53 from Takashi Iwai <tiwai@suse.com> --- Thanks, then it's likely a bug in the patch. I'll report it back. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c54 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo? --- Comment #54 from Takashi Iwai <tiwai@suse.com> --- I noticed an obvious bug in the patch. Now another test kernel is being rebuilt with the corrected patch in OBS home:tiwai:bsc1202492-5 repo. Could you give it a try later again? -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c55 --- Comment #55 from Martti Laaksonen <martti.laaksonen@sci.fi> --- The latest test kernel 5.19.7-1.g0ce4ebb-default booted just fine and HD-audio also works. I take it you don't need any logs besides the confirmation that it seemingly works? -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c56 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo? | --- Comment #56 from Takashi Iwai <tiwai@suse.com> --- Thanks, that's enough. I informed the positive news to the upstream dev. Let's wait for the official fix patch. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202492 http://bugzilla.opensuse.org/show_bug.cgi?id=1202492#c57 --- Comment #57 from a b <x3.141592@yahoo.de> --- After regular update yesterday: No problems with kernel 5.19.7-1-default from main repository as yet. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com