lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5903832d-7d27-4847-b161-48b9f7e92ee6@blueyonder.co.uk>
Date:   Tue, 26 Sep 2023 13:23:13 +0100
From:   Sid Boyce <sboyce@...eyonder.co.uk>
To:     Randy Dunlap <rdunlap@...radead.org>,
        LKML Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Ryzen 9 7950x sound module does not not build

On 26/09/2023 02:48, Randy Dunlap wrote:
> Hi,
>
> On 9/25/23 18:20, Sid Boyce wrote:
>> Machine:
>>   Type: Desktop System: ASUS product: N/A v: N/A serial: N/A
>>   Mobo: ASUSTeK model: PRIME B650M-A WIFI II v: Rev 1.xx
>>     serial: 221214156800233 UEFI: American Megatrends v: 1634 date: 07/21/2023
>> CPU:
>>   Info: 16-core model: AMD Ryzen 9 7950X bits: 64 type: MT MCP cache:
>>     L2: 16 MiB
>> slipstream:/usr/src/linux-6.6.0-rc3 # grep CONFIG_SND_SOC_AMD_RPL_ACP6x=m .config
>> CONFIG_SND_SOC_AMD_RPL_ACP6x=m
>>
>>
>> This module never gets built, so only USB audio works.
>> # dmesg -T|grep snd
>> [Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:01:00.1: Disabling MSI
>> [Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
>> [Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:0b:00.6: enabling device (0000 -> 0002)
>> [Sun Sep 24 23:48:08 2023] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
>> [Sun Sep 24 23:48:08 2023] usbcore: registered new interface driver snd-usb-audio
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC897: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    mono: mono_out=0x0
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    dig-out=0x11/0x0
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:    inputs:
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:      Front Mic=0x19
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:      Rear Mic=0x18
>> [Sun Sep 24 23:48:08 2023] snd_hda_codec_realtek hdaudioC2D0:      Line=0x1a
>>
>>
>> # fuser -v /dev/snd/*
>>                      USER        PID ACCESS COMMAND
>> /dev/snd/controlC0:  lancelot   3738 F.... wireplumber
>> /dev/snd/controlC1:  lancelot   3738 F.... wireplumber
>> /dev/snd/controlC2:  lancelot   3738 F.... wireplumber
>> /dev/snd/pcmC0D0p:   lancelot   3737 F...m pipewire
>> /dev/snd/seq:        lancelot   3737 F.... pipewire
>>
>> Regards
>>
>> Sid.
> It builds for me:
>
>    CC [M]  sound/soc/amd/rpl/rpl-pci-acp6x.o
>    LD [M]  sound/soc/amd/rpl/snd-rpl-pci-acp6x.o
>    CC [M]  sound/soc/amd/rpl/snd-rpl-pci-acp6x.mod.o
>    LD [M]  sound/soc/amd/rpl/snd-rpl-pci-acp6x.ko
>
> and the object file subdirectory contains:
>
> -rw-r--r-- 1 rdunlap rdunlap    34 Sep 25 18:37 snd-rpl-pci-acp6x.mod
> -rw-r--r-- 1 rdunlap rdunlap  9360 Sep 25 18:37 rpl-pci-acp6x.o
> -rw-r--r-- 1 rdunlap rdunlap  9616 Sep 25 18:37 snd-rpl-pci-acp6x.o
> -rw-r--r-- 1 rdunlap rdunlap    38 Sep 25 18:37 modules.order
> -rw-r--r-- 1 rdunlap rdunlap   777 Sep 25 18:38 snd-rpl-pci-acp6x.mod.c
> -rw-r--r-- 1 rdunlap rdunlap  3104 Sep 25 18:38 snd-rpl-pci-acp6x.mod.o
> -rw-r--r-- 1 rdunlap rdunlap 11816 Sep 25 18:38 snd-rpl-pci-acp6x.ko
>
>
> You might need to post your failing .config file.
>
Thanks Randy,

I've since rebooted and did a modprobe. No idea why it isn't 
automatically loaded.

#modinfo snd-rpl-pci-acp6x
filename: 
       /usr/lib/modules/6.6.0-rc3-vanilla/kernel/sound/soc/amd/rpl/snd-rpl-pci-acp6x.ko.gz
license:        GPL v2
description:    AMD ACP RPL PCI driver
srcversion:     0F909BC61165681426ECEEB
alias:          pci:v00001022d000015E2sv*sd*bc04sc80i00*
depends:
retpoline:      Y
intree:         Y
name:           snd_rpl_pci_acp6x
vermagic:       6.6.0-rc3-vanilla SMP preempt mod_unload modversions

# modprobe snd-rpl-pci-acp6x

#lsmod|grep snd
snd_rpl_pci_acp6x      16384  0
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
snd_seq               131072  7 snd_seq_dummy
snd_hda_codec_realtek   192512  1
snd_hda_codec_hdmi     94208  1
snd_hda_codec_generic   110592  1 snd_hda_codec_realtek
snd_hda_intel          65536  2
snd_usb_audio         458752  2
snd_intel_dspcfg       40960  1 snd_hda_intel
snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
snd_hda_codec         233472  4 
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek 

snd_usbmidi_lib        49152  1 snd_usb_audio
snd_hda_core          147456  5 
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek 

snd_ump                36864  1 snd_usb_audio
snd_rawmidi            57344  2 snd_usbmidi_lib,snd_ump
snd_seq_device         16384  3 snd_seq,snd_ump,snd_rawmidi
mc                     94208  1 snd_usb_audio
snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
snd_pcm               225280  6 
snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
ledtrig_audio          12288  2 snd_hda_codec_generic,asus_wmi
snd                  163840  23 
snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_ump,snd_pcm,snd_rawmidi 

soundcore              16384  1 snd
usbcore               446464  6 
xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,btusb,xhci_pci

Regards

Sid.

-- 
Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist
Microsoft Windows Free Zone - Linux used for all Computing Tasks

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ