[Musix-usuarios] Re: again a problem using rtirq / solved!

Marcos Guglielmetti marcospcmusica en gmail.com
Jue Oct 18 16:34:07 CEST 2007


Hola Rui

Thanks for your new version... I made a new deb package from it, and it works 
fine... 

Installation:
sudo apt-get update
sudo apt-get install rtirq


More details (and kernel stuff, etc.), below:

 | On Thu, October 18, 2007 05:03, Marcos Guglielmetti wrote:
 | > Hi
 | >
 | > :-D
 | >
 | > How are you?
 | >
 | > Look: I am having problems again using rtirq on Musix (debian etch)...
 | >
 | > I just run it and it stay without "saying" nothing.
 | >
 | > I am using realtime patched kernels.
 |
 | are you sure you have it configured with complete realtime
 | (CONFIG_PREEMPT_RT=y) ?

Yes

 | what kernel version is it?
 
cat /boot/config-2.6.23-rt1 | grep CONFIG_PREEMPT_RT
CONFIG_PREEMPT_RT=y


 | from your recent musix announcement on lau/lad lists, you mention you're
 | having 2.6.23-rt1. now that's very interesting as i'm having serious
 | showstoppers (intermitent freezes) when trying that on several boxes (all
 | i386) 

Ehhh.... all the system freezes or just some apps?

 | and if you don't have the same experience on any of your distro 
 | recepients you either are extremely lucky or, as inferred from the above
 | suspicion, you're not really on a fully preempt-rt enabled kernel, or else
 | is just pibcak here :)
 
Well, no freezes for now, but we will be testing it these days

 | check your original .config (also in /proc/config.gz)
 |
 | what is the output of `/etc/init.d/rtirq status` ?
 
Before the uptdated rtirq, it was just nothing: that's why I am mailing you :) 
I dont know what happend (maybe I had some bad config)

 | > How can I debug it? Strace?
 |
 | rtirq is a bash script, so I guess you probably better run it as `bash -v
 | /etc/init.d/rtirq start`
 |
 | btw, there is a tiny update since you last called ;)
 |   http://www.rncbc.org/jack/rtirq-20071012.tar.gz
 |
 
Fine!

Well, I just did a fresh install:

wget -c http://www.rncbc.org/jack/rtirq-20071012.tar.gz

marcos en musix1:/mnt/hda1/www/rtirq/rtirq-20071012$ 

tar -xzf rtirq-20071012.tar.gz


sudo cp rtirq.sh /etc/init.d/rtirq     
cp rtirq.conf /etc/sysconfig/rtirq
sudo cp rtirq.conf /etc/default/rtirq
sudo cp rtirq.conf /etc/rtirq.conf

And it's ok now :)


marcos en musix1:/etc/init.d$ rtirq status

  PID CLS RTPRIO  NI PRI %CPU STAT COMMAND
  634 FF      85   - 125  0.0 S<   IRQ-10       uhci_hcd:usb1, EMU10K1
  642 FF      80   - 120  0.0 S<   IRQ-5        uhci_hcd:usb2
 1081 FF      80   - 120  0.0 S<   IRQ-11       ehci_hcd:usb4
  649 FF      78   - 118  0.0 S<   IRQ-12       uhci_hcd:usb3
  376 FF      75   - 115  0.0 S<   IRQ-1        i8042
    5 FF      50   -  90  0.0 S<   softirq-high/0
    6 FF      50   -  90  0.4 S<   softirq-timer/0
    7 FF      50   -  90  0.0 S<   softirq-net-tx/
    8 FF      50   -  90  0.0 S<   softirq-net-rx/
    9 FF      50   -  90  0.0 S<   softirq-block/0
   10 FF      50   -  90  0.0 S<   softirq-tasklet
   11 FF      50   -  90  0.0 S<   softirq-sched/0
   12 FF      50   -  90  0.0 S<   softirq-hrtimer
   13 FF      50   -  90  0.1 S<   softirq-rcu/0
   61 FF      50   -  90  0.0 S<   IRQ-9        acpi
  293 FF      50   -  90  0.0 S<   IRQ-14       ide0
  296 FF      50   -  90  0.0 S<   IRQ-15       ide1
  486 FF      50   -  90  0.0 S<   IRQ-8
 1136 FF      50   -  90  0.0 S<   IRQ-6
 1176 FF      50   -  90  0.0 S<   IRQ-7        parport0
 1472 FF      50   -  90  0.0 S<   IRQ-4        serial


Thats right?

uname -a
Linux musix1.0r3b27dvd 2.6.23-rt1 #1 SMP PREEMPT RT Sun Oct 14 15:17:12 EEST 
2007 i686 GNU/Linux


Playing a song with Rosegarden 1.5.1, 8 chanels on Zynaddsubfx, and Hydrogen:

top
top - 16:08:19 up 18 min,  1 user,  load average: 2.58, 1.56, 0.93
Tasks: 120 total,   1 running, 119 sleeping,   0 stopped,   0 zombie
Cpu(s): 29.7%us,  8.9%sy,  0.0%ni, 52.0%id,  9.0%wa,  0.3%hi,  0.0%si,  0.0%st
Mem:    350504k total,   343404k used,     7100k free,    15328k buffers
Swap:  2771132k total,       96k used,  2771036k free,    92800k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 9914 marcos    20   0 43212  13m 5048 S 30.2  3.9   0:49.85 zynaddsubfx
 9937 marcos    20   0 62300  28m  19m S 14.3  8.4   0:22.59 rosegarden4
 9037 root      10 -10  441m  50m 4556 S  8.0 14.8   0:42.85 Xorg
10003 marcos    20   0 68800  35m  12m S  8.0 10.4   0:10.99 hydrogen
 9939 marcos    20   0 38244  14m  12m S  4.8  4.3   0:11.79 rosegardenseque
    6 root     -51  -5     0    0    0 S  1.6  0.0   0:06.79 softirq-timer/0
  175 root      20   0     0    0    0 S  1.6  0.0   0:00.12 pdflush
 9671 marcos    20   0 98108  42m  28m S  1.6 12.4   0:15.53 kmail
 9902 marcos    20   0 21500 2716 2372 S  1.6  0.8   0:02.84 jackd
10034 root      20   0  2220 1056  776 R  1.6  0.3   0:00.03 top
    1 root      20   0  1940  636  544 S  0.0  0.2   0:00.30 init
    2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 migration/0
    4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 posix_cpu_timer
    5 root     -51  -5     0    0    0 S  0.0  0.0   0:00.00 softirq-high/0
    7 root     -51  -5     0    0    0 S  0.0  0.0   0:00.00 softirq-net-tx/
    8 root     -51  -5     0    0    0 S  0.0  0.0   0:00.00 softirq-net-rx/
    9 root     -51  -5     0    0    0 S  0.0  0.0   0:00.00 softirq-block/0
   10 root     -51  -5     0    0    0 S  0.0  0.0   0:00.00 softirq-tasklet
   11 root     -51  -5     0    0    0 S  0.0  0.0   0:00.03 softirq-sched/0
   12 root     -51  -5     0    0    0 S  0.0  0.0   0:00.19 softirq-hrtimer
   13 root     -51  -5     0    0    0 S  0.0  0.0   0:00.92 softirq-rcu/0
   14 root      10 -10     0    0    0 S  0.0  0.0   0:00.06 desched/0
   15 root      -2  -5     0    0    0 S  0.0  0.0   0:01.83 events/0
   16 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
   56 root      15  -5     0    0    0 S  0.0  0.0   0:00.02 kblockd/0


cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Duron(tm)
stepping        : 1
cpu MHz         : 1800.247
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat 
pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up ts
bogomips        : 3602.98
clflush size    : 32


Cheers,

-- 
MGG. Musix GNU+Linux



Más información sobre la lista de distribución Musix-usuarios