I've run
ffado-diag and
realTimeConfigQuickScan.pl and to the best of my knowledge, they do not report any problems. And since my entire setup works fine, I can live without the
ffado-mixer. However, before I decided to file the issue under 'strange computer behaviour that doesn't effect my life', I took closer look at the problem I saw that the card was hanging on a pretty crowded irq.
Code: Select all
~$ cat /proc/interrupts
...
19: 16996 3417 IO-APIC-fasteoi ata_piix, ata_piix, ohci1394
...
Somehow I thought that the mixer couldn't 'reach' the device since it shared its irq with other devices. I came to this conclusion after
realTimeConfigQuickScan.pl reported that it couldn't proceed with extended scan due to crowded irq.
So I ran out and bought an
ExpressCard to firewire (Texas Instruments chipset). But the only result was that I found out that the expresscard also docked into the 19th irq. So I blame the buses on my Dell Latitude 4300. The strange thing was that I expected to find a 'yenta' entry in /proc/interrupts, but the 'ohci1394' popped up twice...
Code: Select all
~$ cat /proc/interrupts
...
19: 16996 3417 IO-APIC-fasteoi ata_piix, ata_piix, ohci1394, ohci1394
...
That's pretty much it. The mixer still reports errors, but my setup works fine. If anyone have a solution for this I'll be very greatful (and impressed!).
This is the commands I run before I get to work:
Code: Select all
sudo cpufreq-set -c 0 -g performance
sudo cpufreq-set -c 1 -g performance
sudo /sbin/sysctl -w vm.swappiness=10
sudo /etc/init.d/rtirq start
sudo mount -t tmpfs none /tmp
/usr/bin/jackd -P70 -p512 -dfirewire -r48000 -p128 -n3 & j2amidi_bridge &
This is the output that ffado-diag outputs:
Code: Select all
~$ 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++................ g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3
PyQt............... Python User Interface Compiler 3.18.1 for Qt version 3.3.8b
jackd.............. jackd version 0.118.0 tmpdir /dev/shm protocol 24
path............. /usr/bin/jackd
flags............ -ljack -lpthread -lrt
libraw1394......... 2.0.4
flags............ -lraw1394
libavc1394......... 0.5.3
flags............ -lavc1394 -lrom1394 -lraw1394
libiec61883........ 1.2.0
flags............ -liec61883 -lraw1394
libxml++-2.6....... 2.30.0
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
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:
02:01.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd R5C832 IEEE 1394 Controller [1180:0832] (rev 05) (prog-if 10)
Subsystem: Dell Device [1028:024d]
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 (500ns min, 1000ns max), Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 19
Region 0: Memory at f65ff800 (32-bit, non-prefetchable) [size=2K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME+
Kernel driver in use: ohci1394
Kernel modules: firewire-ohci, ohci1394
CPU info:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU P9600 @ 2.53GHz
stepping : 10
cpu MHz : 800.000
cache size : 6144 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 : 13
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 smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida tpr_shadow vnmi flexpriority
bogomips : 5053.47
clflush size : 64
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU P9600 @ 2.53GHz
stepping : 10
cpu MHz : 2535.000
cache size : 6144 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 : 13
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 smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida tpr_shadow vnmi flexpriority
bogomips : 5053.72
clflush size : 64
power management:
Configuration...
IRQ information
Hardware Interrupts:
--------------------
IRQ 0: PID: None, count: [130, 130], Sched None (priority None), drivers: ['timer']
IRQ 1: PID: None, count: [14, 14], Sched None (priority None), drivers: ['i8042']
IRQ 8: PID: None, count: [1, 1], Sched None (priority None), drivers: ['rtc0']
IRQ 9: PID: None, count: [404, 404], Sched None (priority None), drivers: ['acpi']
IRQ 12: PID: None, count: [76, 76], Sched None (priority None), drivers: ['i8042']
IRQ 17: PID: None, count: [43, 43], Sched None (priority None), drivers: ['eth1']
IRQ 18: PID: None, count: [0, 0], Sched None (priority None), drivers: ['mmc0']
IRQ 19: PID: None, count: [18214, 18214], Sched None (priority None), drivers: ['ata_piix', 'ata_piix', 'ohci1394']
IRQ 20: PID: None, count: [176, 176], Sched None (priority None), drivers: ['ehci_hcd:usb2', 'uhci_hcd:usb3', 'uhci_hcd:usb6']
IRQ 21: PID: None, count: [451, 451], Sched None (priority None), drivers: ['uhci_hcd:usb4', 'uhci_hcd:usb7', 'HDA Intel']
IRQ 22: PID: None, count: [35, 35], Sched None (priority None), drivers: ['ehci_hcd:usb1', 'uhci_hcd:usb5', 'uhci_hcd:usb8']
IRQ 27: PID: None, count: [336, 336], Sched None (priority None), drivers: ['eth0']
IRQ 28: PID: None, count: [13301, 13301], Sched None (priority None), drivers: ['i915']
Software Interrupts:
--------------------
=== REPORT ===
FireWire kernel drivers:
[PASS] Kernel modules present and correctly loaded.
[PASS] /dev/raw1394 node present and accessible.