Public bug reported:

Pulseaudio in Jaunty (0.9.14-0ubuntu10) isn't loading module-alsa-sink:

$ pulseaudio
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
E: module.c: Failed to open module "module-alsa-sink": file not found
E: module.c: Failed to open module "module-alsa-source": file not found

The file does exist, and pulse does open it:

access("/usr/lib/pulse-0.9/modules/module-alsa-sink.so", R_OK) = 0
open("/usr/lib/pulse-0.9/modules/module-alsa-sink.so", O_RDONLY) = 19
read(19, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p>\0\0\0\0\0\0@"..., 
832) = 832
fstat(19, {st_mode=S_IFREG|0644, st_size=48192, ...}) = 0
mmap(NULL, 2143392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 19, 0) = 
0x7fce54abf000
mprotect(0x7fce54aca000, 2093056, PROT_NONE) = 0
mmap(0x7fce54cc9000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 19, 0xa000) = 0x7fce54cc9000
close(19)                               = 0
open("/usr/lib/pulse-0.9/modules/libalsa-util.so", O_RDONLY) = 19
read(19, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3003\0\0\0\0\0\0@"..., 
832) = 832
fstat(19, {st_mode=S_IFREG|0644, st_size=43776, ...}) = 0
mmap(NULL, 2138984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 19, 0) = 
0x7fce548b4000
mprotect(0x7fce548bd000, 2097152, PROT_NONE) = 0
mmap(0x7fce54abd000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 19, 0x9000) = 0x7fce54abd000
close(19)                               = 0
open("/usr/lib/pulse-0.9/modules/libasound.so.2", O_RDONLY) = -1 ENOENT (No 
such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 19
fstat(19, {st_mode=S_IFREG|0644, st_size=154926, ...}) = 0
mmap(NULL, 154926, PROT_READ, MAP_PRIVATE, 19, 0) = 0x7fce6003b000
close(19)                               = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libasound.so.2", O_RDONLY) = 19
read(19, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\253\2\0\0\0\0\0@"..., 832) 
= 832
fstat(19, {st_mode=S_IFREG|0644, st_size=918112, ...}) = 0
mmap(NULL, 3013640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 19, 0) = 
0x7fce545d4000
mprotect(0x7fce546ad000, 2097152, PROT_NONE) = 0
mmap(0x7fce548ad000, 28672, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 19, 0xd9000) = 0x7fce548ad000
close(19)                               = 0
mprotect(0x7fce548ad000, 12288, PROT_READ) = 0
mprotect(0x7fce54abd000, 4096, PROT_READ) = 0
munmap(0x7fce6003b000, 154926)          = 0
munmap(0x7fce54abf000, 2143392)         = 0
munmap(0x7fce548b4000, 2138984)         = 0
munmap(0x7fce545d4000, 3013640)         = 0
open("/usr/lib/pulse-0.9/modules/module-alsa-sink.so", O_RDONLY) = 19
read(19, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p>\0\0\0\0\0\0@"..., 
832) = 832
fstat(19, {st_mode=S_IFREG|0644, st_size=48192, ...}) = 0
mmap(NULL, 2143392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 19, 0) = 
0x7fce54abf000
mprotect(0x7fce54aca000, 2093056, PROT_NONE) = 0
mmap(0x7fce54cc9000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 19, 0xa000) = 0x7fce54cc9000
close(19)                               = 0
open("/usr/lib/pulse-0.9/modules/libalsa-util.so", O_RDONLY) = 19
read(19, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3003\0\0\0\0\0\0@"..., 
832) = 832
fstat(19, {st_mode=S_IFREG|0644, st_size=43776, ...}) = 0
mmap(NULL, 2138984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 19, 0) = 
0x7fce548b4000
mprotect(0x7fce548bd000, 2097152, PROT_NONE) = 0
mmap(0x7fce54abd000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 19, 0x9000) = 0x7fce54abd000
close(19)                               = 0
open("/usr/lib/pulse-0.9/modules/libasound.so.2", O_RDONLY) = -1 ENOENT (No 
such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 19
fstat(19, {st_mode=S_IFREG|0644, st_size=154926, ...}) = 0
mmap(NULL, 154926, PROT_READ, MAP_PRIVATE, 19, 0) = 0x7fce6003b000
close(19)                               = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libasound.so.2", O_RDONLY) = 19
read(19, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\253\2\0\0\0\0\0@"..., 832) 
= 832
fstat(19, {st_mode=S_IFREG|0644, st_size=918112, ...}) = 0
mmap(NULL, 3013640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 19, 0) = 
0x7fce545d4000
mprotect(0x7fce546ad000, 2097152, PROT_NONE) = 0
mmap(0x7fce548ad000, 28672, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 19, 0xd9000) = 0x7fce548ad000
close(19)                               = 0
mprotect(0x7fce548ad000, 12288, PROT_READ) = 0
mprotect(0x7fce54abd000, 4096, PROT_READ) = 0
munmap(0x7fce6003b000, 154926)          = 0
munmap(0x7fce54abf000, 2143392)         = 0
munmap(0x7fce548b4000, 2138984)         = 0
munmap(0x7fce545d4000, 3013640)         = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff681ba120) = -1 ENOTTY 
(Inappropriate ioctl for device)
write(2, "E: module.c: Failed to open modul"..., 70E: module.c: Failed to open 
module "module-alsa-sink": file not found

$ pulseaudio --dump-modules
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
E: modinfo.c: Failed to open module 
"/usr/lib/pulse-0.9/modules/module-alsa-sink": file not found
E: modinfo.c: Failed to open module 
"/usr/lib/pulse-0.9/modules/module-alsa-source": file not found
module-always-sink                      Always keeps at least one sink loaded 
even if it's a null one
module-bluetooth-device                 Bluetooth audio sink and source
module-bluetooth-discover               Detect available bluetooth audio 
devices and load bluetooth audio drivers
module-bluetooth-proximity              Bluetooth Proximity Volume Control
module-cli                              Command line interface
module-cli-protocol-tcp                 Command line interface protocol (TCP 
sockets)
module-cli-protocol-unix                Command line interface protocol (UNIX 
sockets)
module-combine                          Combine multiple sinks to one
module-console-kit                      Create a client for each ConsoleKit 
session of this user
module-default-device-restore           Automatically restore the default sink 
and source
module-detect                           Detect available audio hardware and 
load matching drivers
module-device-restore                   Automatically restore the volume/mute 
state of devices
module-esound-compat-spawnfd            ESOUND compatibility module: -spawnfd 
emulation
module-esound-compat-spawnpid           ESOUND compatibility module: -spawnpid 
emulation
module-esound-protocol-tcp              ESOUND protocol (TCP sockets)
module-esound-protocol-unix             ESOUND protocol (UNIX sockets)
module-esound-sink                      ESOUND Sink
module-gconf                            GConf Adapter
module-hal-detect                       Detect available audio hardware and 
load matching drivers
module-http-protocol-tcp                HTTP (TCP sockets)
module-http-protocol-unix               HTTP (UNIX sockets)
module-ladspa-sink                      Virtual LADSPA sink
module-lirc                             LIRC volume control
module-match                            Playback stream expression matching 
module
module-mmkbd-evdev                      Multimedia keyboard support via Linux 
evdev
module-native-protocol-fd               Native protocol autospawn helper
module-native-protocol-tcp              Native protocol (TCP sockets)
module-native-protocol-unix             Native protocol (UNIX sockets)
module-null-sink                        Clocked NULL sink
module-oss                              OSS Sink/Source
module-pipe-sink                        UNIX pipe sink
module-pipe-source                      UNIX pipe source
module-position-event-sounds            Position event sounds between L and R 
depending on the position on screen of the widget triggering them.
module-remap-sink                       Virtual channel remapping sink
module-rescue-streams                   When a sink/source is removed, try to 
move their streams to the default sink/source
module-rtp-recv                         Recieve data from a network via 
RTP/SAP/SDP
module-rtp-send                         Read data from source and send it to 
the network via RTP/SAP/SDP
module-simple-protocol-tcp              Simple protocol (TCP sockets)
module-simple-protocol-unix             Simple protocol (UNIX sockets)
module-sine                             Sine wave generator
module-stream-restore                   Automatically restore the 
volume/mute/device state of streams
module-suspend-on-idle                  When a sink/source is idle for too 
long, suspend it
module-tunnel-sink                      Tunnel module for sinks
module-tunnel-source                    Tunnel module for sources
module-volume-restore                   Automatically restore the volume and 
the devices of streams
module-x11-bell                         X11 bell interceptor
module-x11-publish                      X11 credential publisher
module-x11-xsmp                         X11 session management
module-zeroconf-discover                mDNS/DNS-SD Service Discovery
module-zeroconf-publish                 mDNS/DNS-SD Service Publisher

Works fine with module-oss.

Also, the problem seems to have appeared out of nowhere - Pulse had been
playing fine, presumably via alsa, until it randomly started consuming
100% cpu and needed a kill -9. I've done this and restarted pulse many
times, but one time it just started throwing the error. Logging out and
rebooting haven't had an effect.

** Affects: pulseaudio (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[Jaunty] pulseaudio can't load module-alsa-sink
https://bugs.launchpad.net/bugs/337736
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to