Bug#753816: [systemd] Broken audio

Michael Biebl biebl at debian.org
Sat Jul 5 17:58:09 BST 2014


Am 05.07.2014 18:38, schrieb Antonio Marcos López Alonso:
> El 05/07/14 17:06, Michael Biebl escribió:
>> Am 05.07.2014 17:56, schrieb Antonio Marcos López Alonso:
>>> Just in case, have you noticed I'm using an ALSA-Jack loopback setting
>>> for audio?
>> Under sysvinit, udev (including udevadm settle) is started before the
>> kmod init script, which loads snd_aloop.
>> That means, snd_aloop is loaded after snd_hda_intel.
>>
>> Under systemd, it looks like the snd_aloop module is loaded about the
>> same time systemd-udevd is started. There might be a race here and
>> snd_aloop is loaded before snd_hda_intel.
>>
>> This *might* be the reason, but I'm no expert on this matter.
>>
>> Can you try removing snd_aloop from /etc/modules and test if that makes
>> a difference.
>>
> 
> OK removed snd_aloop and audio is back. Then reloaded the module,
> restarted JACK and audio is still fine. So as you said there must be
> some race condition in there. Should I keep this ticket opened?
> 

Hm, not sure what to do about this. We could order
systemd-load-modules.service after systemd-udevd.service. But that
doesn't guarantee the loading order of the modules and it feels like
papering over the underlying issue.

I'm no sound expert, but I'd say that the loading order should not
matter. Maybe we need some input from the kernel team or some alsa
experts here.

I took the liberty to CC the Debian kernel team and the maintainer of
the snd_aloop module. I hope they can help us here.

For reference the complete bug report is at [1]


Michael


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753816


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140705/63599c9a/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list