Bug 2982 - No sound with intel HDA [systemd migration permission issues]
Summary: No sound with intel HDA [systemd migration permission issues]
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
: 3221 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-08 15:27 CEST by Thibaut FRANCOIS
Modified: 2011-10-29 18:12 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
dmesg (84.75 KB, text/plain)
2011-10-08 15:28 CEST, Thibaut FRANCOIS
Details

Description Thibaut FRANCOIS 2011-10-08 15:27:23 CEST
Description of problem: For few weeks, I have no sound


Version-Release number of selected component (if applicable):
all package up to date
kernel 3.1.0-desktop-0.rc9.1.mga2

Same symptoms as bug 2899 (https://bugs.mageia.org/show_bug.cgi?id=2899) but the results of the commands are different for me:

lspcidrake -v | fgrep -i AUDIO
snd_hda_intel   : nVidia Corporation|High Definition Audio Controller (vendor:10de device:0be4 subv:1462 subd:2072) (rev: a1)
snd_hda_intel   : Intel Corporation|Cougar Point High Definition Audio Controller (vendor:8086 device:1c20 subv:1458 subd:a002) (rev: 05)

grep sound-slot /etc/modprobe.conf
alias sound-slot-0 unknown
alias sound-slot-1 snd_hda_intel

/sbin/lsmod
Module                  Size  Used by
af_packet              30955  2 
vboxnetadp             13382  0 
vboxnetflt             23435  0 
vboxdrv               286726  2 vboxnetadp,vboxnetflt
binfmt_misc            17456  1 
loop                   28048  0 
dm_mirror              22028  0 
dm_region_hash         20806  1 dm_mirror
dm_log                 18460  2 dm_mirror,dm_region_hash
dm_mod                 78763  2 dm_mirror,dm_log
cpufreq_ondemand       13789  0 
cpufreq_conservative    13783  0 
cpufreq_powersave      12618  0 
acpi_cpufreq           18766  1 
freq_table             14666  2 cpufreq_ondemand,acpi_cpufreq
mperf                  12667  1 acpi_cpufreq
snd_hda_codec_hdmi     31884  4                                                                                                                                                                                      
nvidia              11919147  40 
snd_hda_codec_realtek   332912  1 
snd_hda_intel          32922  0 
snd_hda_codec         109928  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              13604  1 snd_hda_codec
snd_seq_dummy          12798  0 
snd_seq_oss            38254  0 
snd_seq_midi_event     14899  1 snd_seq_oss
snd_seq                65527  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         14498  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            53807  0 
snd_pcm               100491  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss
joydev                 17412  0 
uas                    17815  0 
snd_timer              29395  2 snd_seq,snd_pcm
r8169                  55958  0 
snd_mixer_oss          22315  1 snd_pcm_oss
i2c_i801               17781  0 
usb_storage            57543  2 
mii                    13934  1 r8169
mei                    75592  0 
iTCO_wdt               17772  0 
serio_raw              13166  0 
evdev                  17789  9 
i2c_core               39973  2 nvidia,i2c_i801
sg                     36452  0 
iTCO_vendor_support    13718  1 iTCO_wdt
xhci_hcd              127458  0 
mxm_wmi                12979  0 
wmi                    19070  1 mxm_wmi
sr_mod                 22258  0 
snd                    82063  13 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore              15094  1 snd
snd_page_alloc         18484  2 snd_hda_intel,snd_pcm
processor              31182  1 acpi_cpufreq
button                 13818  0 
ipv6                  332463  28 
autofs4                38714  6 
ahci                   25720  0 
libahci                26984  1 ahci
ata_piix               30712  6 
pata_acpi              13027  0 
ata_generic            12899  0 
libata                211988  5 ahci,libahci,ata_piix,pata_acpi,ata_generic
ide_pci_generic        12866  0 
ide_gd_mod             34089  0 
ide_core              121381  2 ide_pci_generic,ide_gd_mod
sd_mod                 44764  8 
scsi_mod              218270  6 uas,usb_storage,sg,sr_mod,libata,sd_mod
crc_t10dif             12563  1 sd_mod
ext4                  421755  3 
jbd2                   82713  1 ext4
crc16                  12675  1 ext4
uhci_hcd               32101  0 
ohci_hcd               33195  0 
ehci_hcd               60884  0 
usbhid                 48542  0 
hid                    95006  1 usbhid
usbcore               206404  8 uas,usb_storage,xhci_hcd,uhci_hcd,ohci_hcd,ehci_hcd,usbhid

/sbin/fuser -v /dev/dsp
[tibo@localhost ~]$ 

cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xfbff8000 irq 43
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfaffc000 irq 17

ls -l /dev/snd/*
crw-rw---- 1 root audio 116,  8 oct.   8 15:13 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 17 oct.   8 15:13 /dev/snd/controlC1
crw-rw---- 1 root audio 116,  7 oct.   8 15:13 /dev/snd/hwC0D2
crw-rw---- 1 root audio 116, 16 oct.   8 15:13 /dev/snd/hwC1D0
crw-rw---- 1 root audio 116, 15 oct.   8 15:13 /dev/snd/hwC1D1
crw-rw---- 1 root audio 116, 14 oct.   8 15:13 /dev/snd/hwC1D2
crw-rw---- 1 root audio 116, 13 oct.   8 15:13 /dev/snd/hwC1D3
crw-rw---- 1 root audio 116,  6 oct.   8 15:13 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116,  5 oct.   8 15:13 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116,  4 oct.   8 15:13 /dev/snd/pcmC0D1c
crw-rw---- 1 root audio 116,  3 oct.   8 15:13 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116,  2 oct.   8 15:13 /dev/snd/pcmC0D2c
crw-rw---- 1 root audio 116, 12 oct.   8 15:13 /dev/snd/pcmC1D3p
crw-rw---- 1 root audio 116, 11 oct.   8 15:13 /dev/snd/pcmC1D7p
crw-rw---- 1 root audio 116, 10 oct.   8 15:13 /dev/snd/pcmC1D8p
crw-rw---- 1 root audio 116,  9 oct.   8 15:13 /dev/snd/pcmC1D9p
crw-rw---- 1 root audio 116,  1 oct.   8 15:13 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 oct.   8 15:13 /dev/snd/timer

/dev/snd/by-path:
total 0
lrwxrwxrwx 1 root root 12 oct.   8 15:13 pci-0000:00:1b.0 -> ../controlC0
lrwxrwxrwx 1 root root 12 oct.   8 15:13 pci-0000:01:00.1 -> ../controlC1

getfacl /dev/snd/*
getfacl : suppression du premier « / » des noms de chemins absolus
# file: dev/snd/by-path
# owner: root
# group: root
user::rwx
group::r-x
other::r-x

# file: dev/snd/controlC0
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/controlC1
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/hwC0D2
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/hwC1D0
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/hwC1D1
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/hwC1D2
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/hwC1D3
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/pcmC0D0c
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/pcmC0D0p
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/pcmC0D1c
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/pcmC0D1p
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/pcmC0D2c
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/pcmC1D3p
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/pcmC1D7p
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/pcmC1D8p
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/pcmC1D9p
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/seq
# owner: root
# group: audio
user::rw-
group::rw-
other::---

# file: dev/snd/timer
# owner: root
# group: audio
user::rw-
group::rw-
other::---
Comment 1 Thibaut FRANCOIS 2011-10-08 15:28:08 CEST
Created attachment 921 [details]
dmesg
Comment 2 Manuel Hiebel 2011-10-08 21:09:36 CEST
colin something for you ? :)

/me must really learn how to debug sound. :p

CC: (none) => mageia

Comment 3 Thibaut FRANCOIS 2011-10-09 12:22:24 CEST
To give some informations to my problem :
in the pulseaudio miser, I have only a "dummy output", and in the setup section "no card available"
Comment 4 Colin Guthrie 2011-10-10 10:00:01 CEST
This looks like fallout from systemd migration again (this has been reported several times on the Cauldron mailing list).

Basically there are no ACLs on your sound device nodes (/dev/snd/pcm*) and as such your user cannot access them and as a further extension PA gives you a dummy output instead.

The output from "systemd-loginctl" will likely NOT

Summary: No sound with intel HDA => No sound with intel HDA [systemd migration permission issues]

Comment 5 Colin Guthrie 2011-10-10 10:02:10 CEST
Damn, pressed <tab>-<return> as a typo and that submitted the bug :D

The output from "systemd-loginctl" will likely NOT show your user as being logged in.

Check in /etc/pam.d/ for .rpmnew files, particularly the system-auth and gdm files. Consolidate the additions in system-auth.rpmnew into the system-auth file and then reboot. Your user should show up under systemd-loginctl and also have ACLs on the sound nodes.

I'll close the bug just now as I'm pretty confident this is the issue.

Feel free to reopen if I'm wrong tho' :)

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME

Comment 6 Thibaut FRANCOIS 2011-10-11 08:25:40 CEST
Yeah, I rename system-auth.rpmnew with system-auth and after reboot, the sound is here !

Thanks a lot Colin ! :)
Comment 7 Colin Guthrie 2011-10-29 18:12:22 CEST
*** Bug 3221 has been marked as a duplicate of this bug. ***

CC: (none) => remi


Note You need to log in before you can comment on or make changes to this bug.