[PlanetCCRMA] no realtime with latest kernel

Mark Knecht Mark Knecht <markknecht@gmail.com>
Tue Feb 22 12:03:00 2005

Hi Fernando,
   I'm trying to get my laptop updated but running a new kernel from
the Planet I'm not being allowed to run realtime:

[root@flash root]# uname -r
[root@flash root]#

>From QJC's message window:

11:53:55.813 Patchbay deactivated.
11:53:55.942 Statistics reset.
11:53:55.970 MIDI connection graph change.
11:54:00.097 Startup script...
11:54:00.097 artsshell -q terminate
11:54:00.340 Startup script terminated with exit status=256.
11:54:00.340 JACK is starting...
11:54:00.340 /usr/bin/jackd -R -p512 -dalsa -dhw:0 -r44100 -p256 -n2 -i2 -o2
11:54:00.352 JACK was started with PID=3198 (0xc7e).
jackd 0.99.36
Copyright 2001-2003 Paul Davis and others.
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
cannot lock down memory for jackd (Cannot allocate memory)
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|256|2|44100|2|2|nomon|swmeter|-|32bit
control device hw:0
configuring for 44100Hz, period = 256 frames, buffer = 2 periods
nperiods = 2 for capture
nperiods = 2 for playback
JACK: unable to mlock() port buffers: Cannot allocate memory
jack_create_thread: error -1 switching current thread to rt for
inheritance: Unknown error 4294967295
cannot start watchdog thread
cannot load driver module alsa
11:54:00.510 JACK was stopped successfully.
11:54:02.384 Could not connect to JACK server as client.

Here's fstab:

LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext2    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/hda6               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660
noauto,owner,kudzu,ro 0 0
none                    /var/lib/jack/tmp       tmpfs   defaults         0 0
/dev/sda1               /mnt/audio1             vfat    noauto,user     0 0

and it seems that tmpfs is mounter:

[root@flash root]# mount
/dev/hda9 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda8 on /boot type ext2 (rw)
none on /dev/shm type tmpfs (rw)
none on /var/lib/jack/tmp type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
[root@flash root]#

I seem to be fully updated:

[mark@flash mark]$ su -
[root@flash root]# vi /etc/fstab
[root@flash root]# apt-get update
Get:1 http://ccrma.stanford.edu fedora/2/i386 release [1826B]
Fetched 1826B in 0s (15.2kB/s)
Hit http://ccrma.stanford.edu fedora/2/i386/core pkglist
Hit http://ccrma.stanford.edu fedora/2/i386/core release
Hit http://ccrma.stanford.edu fedora/2/i386/updates pkglist
Hit http://ccrma.stanford.edu fedora/2/i386/updates release
Hit http://ccrma.stanford.edu fedora/2/i386/planetccrma pkglist
Hit http://ccrma.stanford.edu fedora/2/i386/planetccrma release
Hit http://ccrma.stanford.edu fedora/2/i386/planetcore pkglist
Hit http://ccrma.stanford.edu fedora/2/i386/planetcore release
Hit http://ccrma.stanford.edu fedora/2/i386/planetedge pkglist
Hit http://ccrma.stanford.edu fedora/2/i386/planetedge release
Hit http://ccrma.stanford.edu fedora/2/i386/planetccrma srclist
Reading Package Lists... Done
Building Dependency Tree... Done
[root@flash root]# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
[root@flash root]#

I don't know if anything special is supposed to be loaded anymore:

[root@flash root]# lsmod
Module                  Size  Used by
snd_mixer_oss          21504  2
snd_seq                74896  0
snd_seq_device          9740  1 snd_seq
snd_atiixp             23776  3
snd_ac97_codec         75256  1 snd_atiixp
snd_pcm               120968  2 snd_atiixp,snd_ac97_codec
snd_timer              37380  2 snd_seq,snd_pcm
snd                    73732  9
soundcore              11232  3 snd
snd_page_alloc         10884  2 snd_atiixp,snd_pcm
autofs4                28292  0
kaweth                 21248  0
iptable_filter          3712  0
ip_tables              18944  1 iptable_filter
8139too                30208  0
mii                     4864  1 8139too
dm_mod                 62868  0
joydev                  9792  0
ohci_hcd               27784  0
ehci_hcd               40836  0
video                  15620  0
button                  6544  0
battery                 9220  0
ac                      4740  0
radeon                136452  2
md5                     4224  1
ipv6                  279232  8
ext3                  135304  1
jbd                    90264  1 ext3
[root@flash root]#

What have I forgotten here? alsamixer works. Alsa is loaded. Jack runs
non-realtime, but I do get xruns.

Thanks in advance,