Moderators: khz, MattKingUSA
Pablo wrote:run raboof's script. And paste here the results of the last command
== GUI-enabled checks ==
Checking if you are root... no - good
Checking filesystem 'noatime' parameter... 2.6.32 kernel - good
(relatime is default since 2.6.30)
Checking CPU Governors... CPU 0: 'ondemand' CPU 1: 'ondemand' - not good
Set CPU Governors to 'performance' with 'cpufreq-set -c <cpunr> -g performance'
See also: http://linuxmusicians.com/viewtopic.php?f=27&t=844
Checking swappiness... 60 - not good
** vm.swappiness is larger than 10
set it with '/sbin/sysctl -w vm.swappiness=10'
See also: http://linuxmusicians.com/viewtopic.php?f=27&t=452&start=30#p8916
Checking for resource-intensive background processes... none found - good
Checking checking sysctl inotify max_user_watches... < 524288 - not good
increase max_user_watches by adding 'fs.inotify.max_user_watches = 524288' to /etc/sysctl.conf and rebooting
For more information, see http://wiki.linuxmusicians.com/doku.php?id=system_configuration#sysctl.conf
Checking access to the high precision event timer... not readable - not good
/dev/hpet found, but not readable.
make /dev/hpet readable by the 'audio' group
For more information, see http://wiki.linuxmusicians.com/doku.php?id=system_configuration#hpet
Checking access to the real-time clock... not readable - not good
/dev/rtc found, but not readable.
make /dev/rtc readable by the 'audio' group
For more information, see http://wiki.linuxmusicians.com/doku.php?id=system_configuration#real-time_clock
Checking whether you're in the 'audio' group... yes - good
Checking for multiple 'audio' groups... no - good
yes - good.
Checking the ability to prioritize processes with chrt... yes - good
== Other checks ==
Finding current kernel config... found /boot/config-2.6.32-25-generic
Checking for Ingo Molnar's Real-Time Preemption... not found.
** Kernel without real-time capabilities found
For more information, see http://wiki.linuxmusicians.com/doku.php?id=system_configuration#installing_a_real-time_kernel
Checking for high-resolution timers... found - good.
Checking for 1000hz clock... not found.
** Try setting your clock to 1000hz
For more information, see:
* http://wiki.linuxmusicians.com/doku.php?id=system_configuration#installing_a_real-time_kernel
* http://www.rosegardenmusic.com/wiki/frequently_asked_questions#what_does_system_timer_resolution_is_too_low_mean
Checking for High Resolution Timers... found - good.
Checking filesystem types... ok.
not found.
** Warning: no tmpfs partition mounted on /tmp
For more information, see:
- http://wiki.linuxmusicians.com/doku.php?id=system_configuration#tmpfs
- http://lowlatency.linuxaudio.org
** Set $SOUND_CARD_IRQ to the IRQ of your soundcard to enable more checks.
Find your sound card's IRQ by looking at '/proc/interrupts' and lspci.Pablo wrote:Also paste the contents of: cat /proc/interrupts
CPU0 CPU1
0: 239525 226985 IO-APIC-edge timer
1: 13 521 IO-APIC-edge i8042
4: 1 1 IO-APIC-edge
8: 1 0 IO-APIC-edge rtc0
9: 0 1 IO-APIC-fasteoi acpi
12: 177 1133 IO-APIC-edge i8042
14: 9310 8527 IO-APIC-edge ata_piix
15: 0 0 IO-APIC-edge ata_piix
16: 4 3 IO-APIC-fasteoi nouveau
18: 13715 1554 IO-APIC-fasteoi ata_piix
19: 393 16805 IO-APIC-fasteoi ohci1394, yenta
20: 1107 40779 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb5
21: 631 298 IO-APIC-fasteoi uhci_hcd:usb4, uhci_hcd:usb6, HDA Intel
22: 42 34 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb7
28: 89 11573 PCI-MSI-edge eth0
29: 0 0 PCI-MSI-edge iwl3945
NMI: 0 0 Non-maskable interrupts
LOC: 259962 108243 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 0 0 Performance monitoring interrupts
PND: 0 0 Performance pending work
RES: 28797 3822 Rescheduling interrupts
CAL: 41 85 Function call interrupts
TLB: 475 408 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 5 5 Machine check polls
ERR: 1
MIS: 0
Pablo wrote:Be patient
RTIRQ_NAME_LIST="rtc snd usb ...."RTIRQ_NAME_LIST="rtc yenta ohci1394"sudo apt-get install linux-rt rtirq-initPablo wrote:And reboot with the rt kernel in the grub menu.
Pablo wrote:help would be better if it were interactive
Pablo wrote:I suggest joining #ubuntustudio channel in #IRC
oNNogitaar wrote:Pablo wrote:I suggest joining #ubuntustudio channel in #IRC
...eh, how does that work?
Pablo wrote:please, give more info on your system. Do a:
sudo apt-get install ffado-tools
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De status informatie wordt gelezen... Klaar
ffado-tools is reeds de nieuwste versie.
0 pakketten opgewaardeerd, 0 pakketten nieuw geïnstalleerd, 0 te verwijderen en 2 niet opgewaardeerd.
Pablo wrote:Check the outputs of:
ffado-diag
FFADO diagnostic utility 0.1
============================
(C) 2008 Pieter Palmers
=== CHECK ===
Base system...
kernel version............ 2.6.31-11-rt
FIXME: implement test for RT kernel
RT patched............... False
old 1394 stack present.... True
old 1394 stack loaded..... True
old 1394 stack active..... True
new 1394 stack present.... True
new 1394 stack loaded..... False
new 1394 stack active..... False
/dev/raw1394 node present. True
/dev/raw1394 permissions.. True
Prerequisites (dynamic at run-time)...
gcc................ gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
g++................ sh: g++: not found
PyQt............... sh: pyuic: not found
jackd.............. jackd version 0.118.0 tmpdir /dev/shm protocol 24
path............. /usr/bin/jackd
flags............ Package jack was not found in the pkg-config search path.
Perhaps you should add the directory containing `jack.pc'
to the PKG_CONFIG_PATH environment variable
No package 'jack' found
libraw1394......... Package libraw1394 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libraw1394.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libraw1394' found
flags............ Package libraw1394 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libraw1394.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libraw1394' found
libavc1394......... Package libavc1394 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavc1394.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavc1394' found
flags............ Package libavc1394 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavc1394.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavc1394' found
libiec61883........ Package libiec61883 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libiec61883.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libiec61883' found
flags............ Package libiec61883 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libiec61883.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libiec61883' found
libxml++-2.6....... Package libxml++-2.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml++-2.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml++-2.6' found
flags............ Package libxml++-2.6 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml++-2.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml++-2.6' found
dbus-1............. Package dbus-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-1' found
flags............ Package dbus-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-1' found
Prerequisites (static at compile-time)...
gcc................ gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
g++................ g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3
PyQt............... sh: pyuic: not found
jackd.............. sh: jackd: not found
path.............
flags............ Package jack was not found in the pkg-config search path.
libraw1394......... 2.0.4
flags............ -lraw1394
libavc1394......... Package libavc1394 was not found in the pkg-config search path.
flags............ Package libavc1394 was not found in the pkg-config search path.
libiec61883........ 1.2.0
flags............ -liec61883 -lraw1394
libxml++-2.6....... 2.26.1
flags............ -pthread -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lgthread-2.0 -lrt -lglib-2.0
dbus-1............. 1.2.16
flags............ -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -L/lib -ldbus-1 -lpthread -lrt
Hardware...
Host controllers:
03:01.4 FireWire (IEEE 1394) [0c00]: O2 Micro, Inc. Firewire (IEEE 1394) [1217:00f7] (rev 02) (prog-if 10)
Subsystem: Dell Device [1028:01f9]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx+
Latency: 64, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 19
Region 0: Memory at f1dff000 (32-bit, non-prefetchable) [size=4K]
Region 1: Memory at f1dfe800 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ohci1394
Kernel modules: firewire-ohci, ohci1394
CPU info:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz
stepping : 10
cpu MHz : 1200.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida tpr_shadow vnmi flexpriority
bogomips : 4788.53
clflush size : 64
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz
stepping : 10
cpu MHz : 800.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida tpr_shadow vnmi flexpriority
bogomips : 4787.75
clflush size : 64
power management:
Configuration...
IRQ information
Hardware Interrupts:
--------------------
IRQ 0: PID: None, count: [148, 148], Sched None (priority None), drivers: ['timer']
IRQ 1: PID: None, count: [3, 3], Sched None (priority None), drivers: ['i8042']
IRQ 4: PID: None, count: [1, 1], Sched None (priority None), drivers: ['']
IRQ 8: PID: None, count: [0, 0], Sched None (priority None), drivers: ['rtc0']
IRQ 9: PID: None, count: [0, 0], Sched None (priority None), drivers: ['acpi']
IRQ 12: PID: None, count: [60, 60], Sched None (priority None), drivers: ['i8042']
IRQ 14: PID: None, count: [66468, 66468], Sched None (priority None), drivers: ['ata_piix']
IRQ 15: PID: None, count: [0, 0], Sched None (priority None), drivers: ['ata_piix']
IRQ 18: PID: None, count: [22197, 22197], Sched None (priority None), drivers: ['ata_piix']
IRQ 19: PID: None, count: [50, 50], Sched None (priority None), drivers: ['ohci1394', 'yenta']
IRQ 20: PID: None, count: [9763, 9763], Sched None (priority None), drivers: ['ehci_hcd:usb2', 'uhci_hcd:usb3', 'uhci_hcd:usb5']
IRQ 21: PID: None, count: [309, 309], Sched None (priority None), drivers: ['uhci_hcd:usb4', 'uhci_hcd:usb6', 'HDA Intel']
IRQ 22: PID: None, count: [41, 41], Sched None (priority None), drivers: ['ehci_hcd:usb1', 'uhci_hcd:usb7']
IRQ 28: PID: None, count: [32, 32], Sched None (priority None), drivers: ['eth0']
IRQ 29: PID: None, count: [0, 0], Sched None (priority None), drivers: ['iwl3945']
Software Interrupts:
--------------------
=== REPORT ===
FireWire kernel drivers:
[PASS] Kernel modules present and correctly loaded.
[PASS] /dev/raw1394 node present and accessible.
Pablo wrote:ffado-test Discover
-----------------------------------------------
FFADO test and diagnostic utility
Part of the FFADO project -- www.ffado.org
Version: 2.0.0
(C) 2008, Daniel Wagner, Pieter Palmers
This program comes with ABSOLUTELY NO WARRANTY.
-----------------------------------------------
08443292144: Warning (efc_avc_cmd.cpp)[ 90] deserialize: Deserialization failed
08443292407: Error (fireworks_device.cpp)[ 216] doEfcOverAVC: EfcOverAVCCmd command failed
08443292440: Error (fireworks_device.cpp)[ 737] readFlash: Flash read failed for block 0x00008000 (64 quadlets)
08443292456: Error (fireworks_session_block.cpp)[ 129] loadFromDevice: Flash read failed
08443292484: Error (fireworks_device.cpp)[ 426] loadSession: Could not load session block
08443292496: Warning (fireworks_device.cpp)[ 366] buildMixer: Could not load session
08443800533: Warning (efc_avc_cmd.cpp)[ 90] deserialize: Deserialization failed
08443800674: Error (fireworks_device.cpp)[ 216] doEfcOverAVC: EfcOverAVCCmd command failed
08443800720: Error (fireworks_device.cpp)[ 623] getClock: Could not get clock info
no message buffer overruns
Pablo wrote:ffado-test ListDevices
FFADO test and diagnostic utility
Part of the FFADO project -- www.ffado.org
Version: 2.0.0
(C) 2008, Daniel Wagner, Pieter Palmers
This program comes with ABSOLUTELY NO WARRANTY.
-----------------------------------------------
=== 1394 PORT 0 ===
Node id GUID VendorId ModelId Vendor - Model
0 0x474fc0001a192070 0x00474FC0 0x00000000 Linux - ohci1394 -
1 0x001486016bf52dca 0x00001486 0x0000AF12 Echo Digital Audio - AudioFire12
no message buffer overruns
Pablo wrote:And again, the quickscan script:
cd hg
Pablo wrote:perl realTimeConfigQuickScan.pl
== GUI-enabled checks ==
Checking if you are root... no - good
Checking filesystem 'noatime' parameter... 2.6.31 kernel - good
(relatime is default since 2.6.30)
Checking CPU Governors... CPU 0: 'ondemand' CPU 1: 'ondemand' - not good
Set CPU Governors to 'performance' with 'cpufreq-set -c <cpunr> -g performance'
See also: http://linuxmusicians.com/viewtopic.php?f=27&t=844
Checking swappiness... 60 - not good
** vm.swappiness is larger than 10
set it with '/sbin/sysctl -w vm.swappiness=10'
See also: http://linuxmusicians.com/viewtopic.php?f=27&t=452&start=30#p8916
Checking for resource-intensive background processes... none found - good
Checking checking sysctl inotify max_user_watches... < 524288 - not good
increase max_user_watches by adding 'fs.inotify.max_user_watches = 524288' to /etc/sysctl.conf and rebooting
For more information, see http://wiki.linuxmusicians.com/doku.php?id=system_configuration#sysctl.conf
Checking access to the high precision event timer... not readable - not good
/dev/hpet found, but not readable.
make /dev/hpet readable by the 'audio' group
For more information, see http://wiki.linuxmusicians.com/doku.php?id=system_configuration#hpet
Checking access to the real-time clock... not readable - not good
/dev/rtc found, but not readable.
make /dev/rtc readable by the 'audio' group
For more information, see http://wiki.linuxmusicians.com/doku.php?id=system_configuration#real-time_clock
Checking whether you're in the 'audio' group... yes - good
Checking for multiple 'audio' groups... no - good
yes - good.
Checking the ability to prioritize processes with chrt... yes - good
== Other checks ==
Finding current kernel config... found /boot/config-2.6.31-11-rt
Checking for Ingo Molnar's Real-Time Preemption... found - good.
Checking for high-resolution timers... found - good.
Checking for 1000hz clock... found - good.
Checking for High Resolution Timers... found - good.
Checking filesystem types... ok.
not found.
** Warning: no tmpfs partition mounted on /tmp
For more information, see:
- http://wiki.linuxmusicians.com/doku.php?id=system_configuration#tmpfs
- http://lowlatency.linuxaudio.org
** Set $SOUND_CARD_IRQ to the IRQ of your soundcard to enable more checks.
Find your sound card's IRQ by looking at '/proc/interrupts' and lspci.
I selected restart and got:
Ubuntu, met Linux 2.6.32-25-generic
Ubuntu, met Linux 2.6.32-25-generic (herstelmodus)
Ubuntu, met Linux 2.6.32-21-generic
Ubuntu, met Linux 2.6.32-21-generic (herstelmodus)
Ubuntu, met Linux 2.6.31-11-rt
Ubuntu, met Linux 2.6.31-11-rt (herstelmodus)
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
Microsoft Windows XP Professional (on /dev/sda1)
I selected the 5th and pressed enter.
mounting non on /dev failed: no such device
And then my normal Ubuntu studio opened.
I guess I did something wrong?![]()
oNNogitaar wrote:mounting non on /dev failed: no such device
Pablo wrote:run this:
gksudo gedit /etc/default/rtirq
...and look at that file. Change it to:
- Code: Select all
RTIRQ_NAME_LIST="rtc yenta ohci1394"
Reboot with the rt kernel again.
Now, check priorities:
ps -eo rtprio,cmd --sort rtprio| grep -i irq
- grep --color=auto -i irq
49 [sirq-high/0]
49 [sirq-timer/0]
49 [sirq-net-tx/0]
49 [sirq-net-rx/0]
49 [sirq-block/0]
49 [sirq-tasklet/0]
49 [sirq-sched/0]
49 [sirq-hrtimer/0]
49 [sirq-rcu/0]
49 [sirq-high/1]
49 [sirq-timer/1]
49 [sirq-net-tx/1]
49 [sirq-net-rx/1]
49 [sirq-block/1]
49 [sirq-tasklet/1]
49 [sirq-sched/1]
49 [sirq-hrtimer/1]
49 [sirq-rcu/1]
50 [irq/9-acpi]
50 [irq/14-ata_piix]
50 [irq/15-ata_piix]
50 [irq/18-ata_piix]
50 [irq/22-ehci_hcd]
50 [irq/20-ehci_hcd]
50 [irq/20-uhci_hcd]
50 [irq/21-uhci_hcd]
50 [irq/20-uhci_hcd]
50 [irq/21-uhci_hcd]
50 [irq/22-uhci_hcd]
50 [irq/12-i8042]
50 [irq/1-i8042]
50 [irq/28-eth0]
50 [irq/29-iwl3945]
50 [irq/21-HDA Inte]
80 [irq/19-ohci1394]
85 [irq/19-yenta]
90 [irq/8-rtc0]
AutoStatic wrote:https://bugs.launchpad.net/ubuntu/+source/linux-rt/+bug/599396
Pablo wrote:You "only" changed the brain and the heart, not the skin nor the clothes.
Pablo wrote:you can make that the linux rt is your default option in the grub menu. But I will cover that later.
AutoStatic wrote:http://linux.autostatic.com/je-systeem-configureren
http://linux.autostatic.com/firewire-gebruiken
Yup. It's a bit of a bogus warning anyway. The Lucid Lynx real-time kernel doesn't have support for devtmpfs (a filesystem for temporary stuff), only for the older and maybe a bit slower tmpfs. I think it's hardcoded somewhere in some package (probably the mountall package) but since I moved to a 2.6.33 real-time kernel I lost interest in getting rid of that warning.oNNogitaar wrote:...thanks! so it is nothing I could/should fix, right?
Ok, for Lucid the situation is a bit different since you don't have to edit /etc/modules and you don't need to add an extra udev rule. Ubuntu Studio Controls does that for you now (System - Administration - Ubuntu Studio Controls). Personally I still prefer to modify these things manually though. Hmmm, now that I read it all again, udev rules you create yourself should never go in /lib/udev/rules.d but in /etc/udev/rules.d...oNNogitaar wrote:...reading
Return to System Tuning and Configuration
Users browsing this forum: Google [Bot] and 2 guests