[PlanetCCRMA] FC4 kernel problems

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Mon Jul 25 10:19:00 2005


On Mon, 2005-07-25 at 09:59, Fernando Lopez-Lezcano wrote:
> On Sun, 2005-07-24 at 19:37, karlos wrote:
> > hi list, 
> > 
> > I have just installed the kernels. after starting (AND re-compiling)
> > jack it throws these errors:
> 
> Which kernel? Which operating system version?

Duh, read the post Fernando:
> [karlos@localhost ~]$ uname -r
> > 2.6.12-0.21.rdt.rhfc4.ccrma

Do you have the pam package that's part of the Planet CCRMA repository? 
These latest kernels need it for you to be able to use realtime 
scheduling as a normal user (non-root). If you installed the
planetccrma-core-edge package the proper pam should be there...

> Why rebuild jack and how did you rebuild it?

-- Fernando

> > jackd 0.100.1
> > Copyright 2001-2005 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
> > 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|1024|2|44100|0|0|nomon|swmeter|-|32bit
> > control device hw:0
> > configuring for 44100Hz, period = 1024 frames, buffer = 2 periods
> > nperiods = 2 for capture
> > nperiods = 2 for playback
> > JACK: unable to mlock() port buffers: Cannot allocate memory
> > cannot use real-time scheduling (FIFO at priority 20) [for thread
> > -1227547728, from thread -1227547728] (1: Operation not permitted)
> > cannot use real-time scheduling (FIFO at priority 10) [for thread
> > -1235940432, from thread -1235940432] (1: Operation not permitted)
> > 02:59:27.244 Could not connect to JACK server as client.

Those priorities are not the ones used by the CCRMA packages (which are
changed to work best with the priorities chosen by the rtirq startup
script)

> > I checked whether realtime is enabled but it seems it ain't. Also I
> > could not find the sources for it for rebuilt.
> > the thing was that I did not install via images or so, just the
> > command line apt-get.
> > 
> > here are some info:
> > 
> > [karlos@localhost ~]$ uname -r
> > 2.6.12-0.21.rdt.rhfc4.ccrma
> > 
> > [karlos@localhost ~]$ lsmod
> > Module                  Size  Used by
> > vfat                   13952  1
> > fat                    52508  1 vfat
> > nfsd                  222080  9
> > exportfs                6528  1 nfsd
> > lockd                  64168  2 nfsd
> > snd_seq_midi           10912  0
> > autofs4                19972  2
> > sunrpc                143300  7 nfsd,lockd
> > ipt_REJECT              5376  1
> > ipt_state               1792  5
> > ip_conntrack           44600  1 ipt_state
> > iptable_filter          2944  1
> > ip_tables              21888  3 ipt_REJECT,ipt_state,iptable_filter
> > video                  15748  0
> > container               4352  0
> > button                  6416  0
> > battery                 9348  0
> > ac                      4612  0
> > sd_mod                 19600  2
> > usb_storage            73792  1
> > scsi_mod              137544  2 sd_mod,usb_storage
> > md5                     3968  1
> > ipv6                  258496  10
> > uhci_hcd               31888  0
> > parport_pc             28356  0
> > parport                36424  1 parport_pc
> > i2c_viapro              7952  0
> > i2c_core               22288  1 i2c_viapro
> > snd_ice1712            66372  2
> > snd_ice17xx_ak4xxx      5120  1 snd_ice1712
> > snd_ak4xxx_adda         7040  2 snd_ice1712,snd_ice17xx_ak4xxx
> > snd_cs8427             11520  1 snd_ice1712
> > snd_ac97_codec         83708  1 snd_ice1712
> > snd_seq_dummy           4228  0
> > snd_seq_oss            37888  0
> > snd_seq_midi_event      7680  2 snd_seq_midi,snd_seq_oss
> > snd_seq                60176  9
> > snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
> > snd_pcm_oss            63776  0
> > snd_mixer_oss          21376  2 snd_pcm_oss
> > snd_pcm               106632  3 snd_ice1712,snd_ac97_codec,snd_pcm_oss
> > snd_timer              28292  2 snd_seq,snd_pcm
> > snd_page_alloc         11140  1 snd_pcm
> > snd_i2c                 6400  2 snd_ice1712,snd_cs8427
> > snd_mpu401_uart         8448  1 snd_ice1712
> > snd_rawmidi            27808  2 snd_seq_midi,snd_mpu401_uart
> > snd_seq_device          9868  5
> > snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
> > snd                    68612  21
> > snd_seq_midi,snd_ice1712,snd_ice17xx_ak4xxx,snd_ak4xxx_adda,snd_cs8427,snd_ac97_codec,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_i2c,snd_mpu401_uart,snd_rawmidi,snd_seq_device
> > soundcore               9824  2 snd
> > 8139too                25984  0
> > mii                     5504  1 8139too
> > floppy                 59860  0
> > dm_snapshot            18332  0
> > dm_zero                 2048  0
> > dm_mirror              23252  0
> > ext3                  138120  2
> > jbd                    68508  1 ext3
> > dm_mod                 59324  6 dm_snapshot,dm_zero,dm_mirror
> > 
> > Help is very much appreciated!!
> > thanks,