[linux-audio-user] jackd fails to start: cannot create shm segment /jack-shm-registry (No such file or directory)

Ivica Bukvic ico at fuse.net
Thu Apr 17 19:56:00 EDT 2003


Hi all, any ideas on this one?

I have 2 soundcards configured:
sblive
rme 9652

my modules.conf looks like this:
#install rme9652 Hammerfall buffer first before memory gets fragmented
pre-install snd-hammerfall-mem

alias eth0 3c59x
probeall usb-interface usb-uhci
alias /dev/nvidia*   nvidia

# ALSA native device support
alias char-major-116 snd
options snd major=116 cards_limit=3
alias snd-card-0 snd-emu10k1
alias snd-card-1 snd-rme9652
alias snd-card-2 snd-usb-audio

# OSS/Free compatibility
# SBLIVE (Card 0)
alias char-major-14 soundcore
alias sound-slot-0 snd-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

#We'll use Hammerfall (Card 1) only as an ALSA device

# USB-MIDI (Card 2)
alias sound-slot-2 snd-2
alias sound-service-2-1 snd-seq-oss
alias sound-service-2-8 snd-seq-oss

lsmod reflects that everything is loaded ok:
Module                  Size  Used by    Tainted: P
isofs                  28244   1  (autoclean)
zlib_inflate           21156   0  (autoclean) [isofs]
nls_iso8859-1           3516   1  (autoclean)
snd-pcm-oss            42468   0  (autoclean)
snd-mixer-oss          14296   0  (autoclean) [snd-pcm-oss]
snd-seq-oss            30016   0  (autoclean) (unused)
snd-seq-midi            4576   0  (autoclean) (unused)
udf                    92128   0  (autoclean)
sr_mod                 16952   2  (autoclean)
floppy                 56028   0  (autoclean)
snd-emu10k1-synth       5116   0  (unused)
snd-emux-synth         32092   0  [snd-emu10k1-synth]
snd-seq-midi-emul       6652   0  [snd-emux-synth]
snd-seq-virmidi         4556   0  [snd-emux-synth]
snd-seq-midi-event      5800   0  [snd-seq-oss snd-seq-midi
snd-seq-virmidi]
snd-seq                44560   2  [snd-seq-oss snd-seq-midi
snd-emux-synth 
snd-seq-midi-emul snd-seq-virmidi snd-seq-midi-event]
snd-usb-audio          47744   0  (unused)
snd-rme9652            21164   0
snd-hammerfall-mem      2848   0  [snd-rme9652]
snd-emu10k1            71348   0  [snd-emu10k1-synth]
snd-pcm                79680   0  [snd-pcm-oss snd-usb-audio snd-rme9652

snd-emu10k1]
snd-timer              19272   0  [snd-seq snd-pcm]
snd-rawmidi            18304   0  [snd-seq-midi snd-seq-virmidi
snd-usb-audio 
snd-emu10k1]
snd-page-alloc          7960   0  [snd-emu10k1 snd-pcm]
snd-util-mem            2984   0  [snd-emux-synth snd-emu10k1]
snd-ac97-codec         40416   0  [snd-emu10k1]
snd-seq-device          5740   0  [snd-seq-oss snd-seq-midi
snd-emu10k1-synth 
snd-emux-synth snd-seq snd-emu10k1 snd-rawmidi]
snd-hwdep               6272   0  [snd-emu10k1]
snd                    41476   0  [snd-pcm-oss snd-mixer-oss snd-seq-oss

snd-seq-midi snd-emux-synth snd-seq-virmidi snd-seq-midi-event snd-seq 
snd-usb-audio snd-rme9652 snd-emu10k1 snd-pcm snd-timer snd-rawmidi 
snd-util-mem snd-ac97-codec snd-seq-device snd-hwdep]
parport_pc             25320   1  (autoclean)
lp                      8224   0  (autoclean)
parport                35232   1  (autoclean) [parport_pc lp]
agpgart                41248   3  (autoclean)
nvidia               1593216  10  (autoclean)
nfsd                   74992   8  (autoclean)
af_packet              16872   1  (autoclean)
3c59x                  29936   1  (autoclean)
supermount             74908   2  (autoclean)
ide-scsi               11440   1
scsi_mod              105556   2  [sr_mod ide-scsi]
ide-cd                 33952   0
cdrom                  31712   0  [sr_mod ide-cd]
usb-midi               19256   0  (unused)
soundcore               6500   0  [snd usb-midi]
usbmouse                2936   0  (unused)
keybdev                 2720   0  (unused)
mousedev                5332   1
hid                    21028   0  (unused)
input                   5760   0  [usbmouse keybdev mousedev hid]
usb-uhci               25932   0  (unused)
usbcore                75616   1  [snd-usb-audio usb-midi usbmouse hid 
usb-uhci]
rtc                     8892   0  (autoclean)
ext3                   62252   3
jbd                    41500   3  [ext3]


my /etc/asound.conf looks like this:
pcm.sblive {
        type hw
        card 0
}
ctl.sblive {
        type hw
        card 0
}

pcm.rme9652 {
        type hw
        card 1
}
ctl.rme9652 {
        type hw
        card 1
}

When I do:

aplay -D sblive <filename>
it works just fine.

Yet, when I do

jackd -d alsa -d hw:0

or

jackd -d alsa -d sblive

or simply

jackd -d alsa

I get the following _every time_:

jackd 0.68.0
Copyright 2001-2003 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

key for /tmp/jack/shm/jack-shm-registry is 0x6a06252b
cannot create shm segment /jack-shm-registry (No such file or directory)
cannot create engine
jack main caught signal 15


I am using MDK 9.1 with low-lat kernel (otherwise vanilla), and the CVS
jack 
(4/17/03). The rpm for MDK (0.66) also has the same issue.

Any help on this one is greatly appreciated! Thank you! Sincerely,


Ivica Ico Bukvic, composer & multimedia sculptor
http://meowing.ccm.uc.edu/~ico





More information about the Linux-audio-user mailing list