[packman] Re: [Jackit-devel] jackdmp: unknown driver 'portaudio'

Norbert Schmidt jackit-devel-member at 1en.de
Tue Feb 20 11:41:37 CET 2007


On Tue, Feb 20, 2007 at 10:34:10AM +0100, Stéphane Letz wrote:
> 
> >
> >>>
> >>>no client can connect to jackdmp:
> >
> >>>but after that starting ardour (and others) gives at the end:
> >>>
> >>>Loading UI configuration file /etc/ardour/ardour_ui.rc
> >>>arg 0 jackdmp
> >>>arg 1 -R
> >>>arg 2 -S
> >>>arg 3 -v
> >>>arg 4 -d
> >>>arg 5 portaudio
> >>>arg 6 -p
> >>>arg 7 512
> >>>jackdmp: unknown driver 'portaudio'



> >so now we have:
> >
> >/usr/lib # ls -l /usr/lib/libjack*
> >-rw-r--r-- 1 root root 320960 18. Feb 11:45 /usr/lib/libjackdmp.so
> >-rw-r--r-- 1 root root 217192 18. Feb 11:45 /usr/lib/libjackmp.so
> >lrwxrwxrwx 1 root root     13 20. Feb 08:28 
> >/usr/lib/libjack.so.0 -> libjackdmp.so
> >
> >Clients can connect /usr/lib/libjack.so.0 but starting ardour  
> >(i.e.) gives
> >the error above and exit.
> 
> So you mean simple clients (like jack_lsp, jack_connect, jack_metro)  
> can connect?

What was meant before is: clients should be able to find /usr/lib/libjack.so.0, 
sorry for misunderstanding. 
No client can connect, not only ardour (it was only an example to keep it simple).

~> jack-rack
lash_open_socket: could not connect to host 'localhost', service '14541'
lash_comm_connect_to_server: could not create server connection
lash_init: Not attempting to start daemon server automatically
lash_init: could not connect to server 'localhost' - disabling LASH
Status update: jack_rack_22516
arg 0 jackdmp
arg 1 -R
arg 2 -S
arg 3 -v
arg 4 -d
arg 5 portaudio
arg 6 -p
arg 7 512
jackdmp: unknown driver 'portaudio'

~> jackeq
jackEQ 0.4.1
(c) 2003 - 2004 S. Harris, P. Shirkey
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details.
Registering as jackEQ
arg 0 jackdmp
arg 1 -R
arg 2 -S
arg 3 -v
arg 4 -d
arg 5 portaudio
arg 6 -p
arg 7 512
jackdmp: unknown driver 'portaudio'

~> qjackconnect
arg 0 jackdmp
arg 1 -R
arg 2 -S
arg 3 -v
arg 4 -d
arg 5 portaudio
arg 6 -p
arg 7 512
jackdmp: unknown driver 'portaudio'

qjackctl gives no output to konsole, but _tail_ of "strace qjackctl":

open("/dev/snd/seq", O_RDWR)            = 9
ioctl(9, SNDRV_SEQ_IOCTL_PVERSION, 0xbf9b5098) = 0
ioctl(9, CDROMPAUSE or SNDRV_SEQ_IOCTL_CLIENT_ID, 0xbf9b5094) = 0
ioctl(9, CDROMPLAYMSF or SNDRV_SEQ_IOCTL_RUNNING_MODE, 0xbf9b5084) = 0
ioctl(9, CDROM_SET_OPTIONS or SNDRV_SEQ_IOCTL_CREATE_PORT, 0xbf9b51c8) = 0
ioctl(9, CDROM_DEBUG or SNDRV_SEQ_IOCTL_SUBSCRIBE_PORT, 0xbf9b5240) = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
ioctl(5, FIONREAD, [1])                 = 0
fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f07000
open("/usr/lib/jackmp", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 10
fstat64(10, {st_mode=S_IFDIR|0755, st_size=112, ...}) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
getdents64(10, /* 4 entries */, 4096)   = 120
open("/usr/lib/jackmp/jack_dummy.so", O_RDONLY) = 11
read(11, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\25\0"..., 512) = 512
fstat64(11, {st_mode=S_IFREG|0644, st_size=14040, ...}) = 0
mmap2(NULL, 16496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 11, 0) = 0xb6fe1000
fadvise64(11, 0, 16496, POSIX_FADV_WILLNEED) = 0
mmap2(0xb6fe4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0x2) = 0xb6fe4000
close(11)                               = 0
open("/etc/ld.so.cache", O_RDONLY)      = 11
fstat64(11, {st_mode=S_IFREG|0644, st_size=213081, ...}) = 0
mmap2(NULL, 213081, PROT_READ, MAP_PRIVATE, 11, 0) = 0xb6e24000
close(11)                               = 0
open("/usr/lib/libjackdmp.so", O_RDONLY) = 11
read(11, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`y\1\000"..., 512) = 512
fstat64(11, {st_mode=S_IFREG|0644, st_size=320960, ...}) = 0
close(11)                               = 0
munmap(0xb6e24000, 213081)              = 0
munmap(0xb6fe1000, 16496)               = 0
open("/usr/lib/jackmp/jack_alsa.so", O_RDONLY) = 11
read(11, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340G\0"..., 512) = 512
fstat64(11, {st_mode=S_IFREG|0644, st_size=64240, ...}) = 0
mmap2(NULL, 66432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 11, 0) = 0xb6e48000
fadvise64(11, 0, 66432, POSIX_FADV_WILLNEED) = 0
mmap2(0xb6e57000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 11, 0xe) = 0xb6e57000
close(11)                               = 0
munmap(0xb6e48000, 66432)               = 0
getdents64(10, /* 0 entries */, 4096)   = 0
close(10)                               = 0
write(2, "jackdmp: unknown driver \'portaud"..., 36) = 36
write(1, "arg 0 jackdmp\narg 1 -R\narg 2 -S\n"..., 85) = 85
exit_group(1)                           = ?
Process 22392 detached


What could be wrong?
Every clients work fine running jackd after removing jackdmp.

# rpm -e jackdmp-0.62-0.pm.1
original jack restored



> The libjack.so.0 symlink gives connectivity to whatever jackd *OR*  
> jackdmp  is installed : when jackdmp installs, it *overwrite* symlink  
> to point to likjackdmp.so. Then jack clients can connect to a running  
> jackdmp server. The jackd server cannot be launched anymore at this  
> point, you would have to "remove" jackdmp to rewrite back the correct  
> symlink, so that the jackd server can be used again.
>
ok, clarified, thanks.

Norbert
 




More information about the Packman mailing list