[pulseaudio-discuss] Pulseaudio on pandaboard problem re-visited..

Shawn Ferris shawn.ferris at gmail.com
Mon Apr 30 20:49:03 PDT 2012


> Excellent.. Thank you again for the help! I've got my image built and
> waiting for me to get home to boot it up. I've got my fingers crossed.

Is there a particular version of PA that I should use those patches
again? I downloaded 1.99.2 and the patches applied cleanly, but I'm
getting a core dump. I'm in the process of building gdb, but here's
partial output from strace:


write(2, "I: [pulseaudio] module.c: Loaded"..., 88I: [pulseaudio]
module.c: Loaded "module-augment-properties" (index: #3; argument:
"").
) = 88
open("/usr/lib/pulse-1.99/modules/module-alsa-card.la",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/lib/module-alsa-card.la", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/usr/lib/module-alsa-card.la", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/usr/local/lib/module-alsa-card.la", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/usr/i686-pc-linux-gnu/lib/module-alsa-card.la",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/module-alsa-card.la",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
access("/usr/lib/pulse-1.99/modules/module-alsa-card.so", R_OK) = 0
open("/usr/lib/pulse-1.99/modules/module-alsa-card.so", O_RDONLY) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\224
\0\0004\0\0\0"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=19688, ...}) = 0
mmap2(NULL, 51188, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9,
0) = 0xb2a6c000
mprotect(0xb2a71000, 28672, PROT_NONE)  = 0
mmap2(0xb2a78000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x4) = 0xb2a78000
close(9)                                = 0
open("/usr/lib/pulseaudio/libalsa-util.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/pulse-1.99/modules/libalsa-util.so", O_RDONLY) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\300\231\0\0004\0\0\0"...,
512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=168852, ...}) = 0
mmap2(NULL, 200428, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9,
0) = 0xb2a38000
mprotect(0xb2a61000, 28672, PROT_NONE)  = 0
mmap2(0xb2a68000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x28) = 0xb2a68000
close(9)                                = 0
open("/usr/lib/pulseaudio/libasound.so.2", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/pulse-1.99/modules/libasound.so.2", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/lib/pulseaudio/libasound.so.2", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=17586, ...}) = 0
mmap2(NULL, 17586, PROT_READ, MAP_PRIVATE, 9, 0) = 0xb6f7c000
close(9)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libasound.so.2", O_RDONLY) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\370\375\1\0004\0\0\0"...,
512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=506968, ...}) = 0
mmap2(NULL, 538560, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9,
0) = 0xb29b4000
mprotect(0xb2a2d000, 28672, PROT_NONE)  = 0
mmap2(0xb2a34000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x78) = 0xb2a34000
close(9)                                = 0
open("/usr/lib/pulseaudio/libudev.so.0", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/pulse-1.99/modules/libudev.so.0", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/lib/pulseaudio/libudev.so.0", O_RDONLY) = -1 ENOENT (No
such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libudev.so.0", O_RDONLY)     = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\30%\0\0004\0\0\0"...,
512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=32520, ...}) = 0
mmap2(NULL, 63976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9,
0) = 0xb29a4000
mprotect(0xb29ac000, 28672, PROT_NONE)  = 0
mmap2(0xb29b3000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x7) = 0xb29b3000
close(9)                                = 0
munmap(0xb6f7c000, 17586)               = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)


And these are basically the changes I made to default.pa:


load-module module-alsa-card use_ucm=1
# ### Automatically load driver modules depending on the hardware
available
# .ifexists module-udev-detect.so
# load-module module-udev-detect
# .else
# ### Use the static hardware detection module (for systems that lack
udev/hal support)
load-module module-detect
# .endif

I wasn't sure whether the module-detect was still needed, so I've
tried with and without and I get the same result. Also I tried
use_ucm=0 just for grins, and it also gives the same result.

I copied the Panda, PandaES and SDP4430 config dirs to
/usr/share/alsa/ucm (though I think the latter 2 are unnecessary for
me. My card comes up Panda) and removed the 4430.conf and udev rules
pointing pa to the 4430.conf.

Any suggestions while I try to get the debugger going? Should I be
using current git as opposed to 1.99.2?

Shawn


More information about the pulseaudio-discuss mailing list