Hello, everyone!

I'm desperately looking for help with the following problem, and I
guess this is the first place to ask for directions.

Some time ago I have tried an Echo Audiofire 2 audio card (firewire)
with my Ubuntu systems and it worked very well with Intrepid and
Jaunty alpha 4 even without a realtime kernel. I have installed the
FFADO and JACK packages from Khashayar's PPA, and had nearly 100%
success (occasional XRUNs don't count). The card is flashed with the
latest firmware, as recommended.

Right now I don't have Intrepid, and my Jaunty system is fully
updated, but JACK and FFADO produce heavy xruns with the generic
kernel and crash very often with the rt-kernel. The crashes are
random, they happen with and without actual audio apps. My primary
testing app is MOC audio player for now :)

My system is Athlon64x2 laptop with an ATI Radeon (no proprietary drivers used).

$ uname -a
Linux teaquetzl 2.6.28-3-rt #9-Ubuntu SMP PREEMPT RT Fri Mar 27
23:23:50 UTC 2009 i686 GNU/Linux

Here's my limits.conf:
@admin - rtprio 99
@admin - nice -19
@admin - memlock unlimited

/etc/default/rtirq is tweaked the following way:
RTIRQ_NAME_LIST="rtc ohci1394 snd usb i8042"
RTIRQ_NON_THREADED="rtc ohci1394 snd"

I have attached the logs produced with "jackd -R -d firewire -v2". The
warning about loadFromMemory appeared in the past, but it didn't seem
to break anything.

I have also rebuilt the FFADO debs using the latest SVN checkout
(1.999.41) today and the whole bunch or error messages changed to
something different, so I am attaching this log as well.
a...@teaquetzl:~$ jackd -R -d firewire -v2
no message buffer overruns
jackd 0.116.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.
loading driver ..
01577676472:  (ffado.cpp)[  92] ffado_streaming_init: libffado 1.999.40- built 
Feb 24 2009 00:53:39
01577969078: Warning (fireworks_session_block.cpp)[ 257] loadFromMemory: size 
not correct: got 13392, should be 0 according to data
libiec61883 warning: Established connection on channel 0.
You may need to manually set the channel on the receiving node.
libiec61883 warning: Established connection on channel 1.
You may need to manually set the channel on the transmitting node.
01661008217: Fatal (IsoHandlerManager.cpp)[ 342] Execute: (0x9983858, Receive) 
Handler died: now: 204A048F, last: 1C46258A, diff: 49342213 (max: 49152000)
firewire ERR: wait status < 0! (= -1)
DRIVER NT: could not run driver cycle
01665125319: Error (IsoHandler.cpp)[ 646] prepare: Incorrect state, expected 
E_Initialized, got 4
01665125346: Fatal (IsoHandler.cpp)[ 692] enable: Could not prepare handler
01665125353: Error (StreamProcessor.cpp)[1167] scheduleStartDryRunning: Could 
not start handler for SP 0x9995ac8
01665125360: Error (StreamProcessorManager.cpp)[ 412] startDryRunning: Could 
not put SP 0x9995ac8 into the dry-running state
01665125370: Error (IsoHandler.cpp)[ 646] prepare: Incorrect state, expected 
E_Initialized, got 4
01665125376: Fatal (IsoHandler.cpp)[ 692] enable: Could not prepare handler
01665125381: Error (StreamProcessor.cpp)[1167] scheduleStartDryRunning: Could 
not start handler for SP 0x9995ac8
01665125386: Error (StreamProcessorManager.cpp)[ 412] startDryRunning: Could 
not put SP 0x9995ac8 into the dry-running state
01665125396: Error (IsoHandler.cpp)[ 646] prepare: Incorrect state, expected 
E_Initialized, got 4
01665125401: Fatal (IsoHandler.cpp)[ 692] enable: Could not prepare handler
01665125407: Error (StreamProcessor.cpp)[1167] scheduleStartDryRunning: Could 
not start handler for SP 0x9995ac8
01665125412: Error (StreamProcessorManager.cpp)[ 412] startDryRunning: Could 
not put SP 0x9995ac8 into the dry-running state
01665125421: Error (IsoHandler.cpp)[ 646] prepare: Incorrect state, expected 
E_Initialized, got 4
01665125427: Fatal (IsoHandler.cpp)[ 692] enable: Could not prepare handler
01665125431: Error (StreamProcessor.cpp)[1167] scheduleStartDryRunning: Could 
not start handler for SP 0x9995ac8
01665125437: Error (StreamProcessorManager.cpp)[ 412] startDryRunning: Could 
not put SP 0x9995ac8 into the dry-running state
01665125447: Error (IsoHandler.cpp)[ 646] prepare: Incorrect state, expected 
E_Initialized, got 4
01665125452: Fatal (IsoHandler.cpp)[ 692] enable: Could not prepare handler
01665125457: Error (StreamProcessor.cpp)[1167] scheduleStartDryRunning: Could 
not start handler for SP 0x9995ac8
01665125462: Error (StreamProcessorManager.cpp)[ 412] startDryRunning: Could 
not put SP 0x9995ac8 into the dry-running state
01665125472: Error (IsoHandler.cpp)[ 646] prepare: Incorrect state, expected 
E_Initialized, got 4
01665125477: Fatal (IsoHandler.cpp)[ 692] enable: Could not prepare handler
01665125482: Error (StreamProcessor.cpp)[1167] scheduleStartDryRunning: Could 
not start handler for SP 0x9995ac8
01665125488: Error (StreamProcessorManager.cpp)[ 412] startDryRunning: Could 
not put SP 0x9995ac8 into the dry-running state
01665125497: Error (IsoHandler.cpp)[ 646] prepare: Incorrect state, expected 
E_Initialized, got 4
01665125502: Fatal (IsoHandler.cpp)[ 692] enable: Could not prepare handler
01665125507: Error (StreamProcessor.cpp)[1167] scheduleStartDryRunning: Could 
not start handler for SP 0x9995ac8
01665125513: Error (StreamProcessorManager.cpp)[ 412] startDryRunning: Could 
not put SP 0x9995ac8 into the dry-running state
01665125522: Error (IsoHandler.cpp)[ 646] prepare: Incorrect state, expected 
E_Initialized, got 4
01665125527: Fatal (IsoHandler.cpp)[ 692] enable: Could not prepare handler
01665125532: Error (StreamProcessor.cpp)[1167] scheduleStartDryRunning: Could 
not start handler for SP 0x9995ac8
01665125538: Error (StreamProcessorManager.cpp)[ 412] startDryRunning: Could 
not put SP 0x9995ac8 into the dry-running state
01665125547: Error (IsoHandler.cpp)[ 646] prepare: Incorrect state, expected 
E_Initialized, got 4
01665125553: Fatal (IsoHandler.cpp)[ 692] enable: Could not prepare handler
01665125558: Error (StreamProcessor.cpp)[1167] scheduleStartDryRunning: Could 
not start handler for SP 0x9995ac8
01665125563: Error (StreamProcessorManager.cpp)[ 412] startDryRunning: Could 
not put SP 0x9995ac8 into the dry-running state
01665125569: Fatal (StreamProcessorManager.cpp)[ 954] handleXrun: Could not 
syncStartAll...
01665125575: Error (devicemanager.cpp)[ 891] waitForPeriod: Could not handle 
XRUN
01665125581: Error (ffado.cpp)[ 264] ffado_streaming_wait: Error condition 
while waiting (Unhandled XRUN)
jack main caught signal 12
no message buffer overruns
a...@teaquetzl:~$ 
a...@teaquetzl:~$ jackd -R -d firewire -v2
no message buffer overruns
jackd 0.116.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.
loading driver ..
04785563913:  (ffado.cpp)[  92] ffado_streaming_init: libffado 1.999.41- built 
Apr  4 2009 09:09:01
04785857941: Warning (fireworks_session_block.cpp)[ 257] loadFromMemory: size 
not correct: got 13392, should be 0 according to data
libiec61883 warning: Established connection on channel 0.
You may need to manually set the channel on the receiving node.
libiec61883 warning: Established connection on channel 1.
You may need to manually set the channel on the transmitting node.
04863033491: Fatal (IsoHandlerManager.cpp)[ 339] Execute: (0x90ff728, Transmit) 
Handler died: now: 23B9E588, last: 1F8C57AD, diff: 51390939 (max: 49152000)
firewire ERR: wait status < 0! (= -1)
DRIVER NT: could not run driver cycle
04863374573: Error (IsoHandler.cpp)[ 725] requestEnable: Enable requested on 
stream with state: 2
04863374598: Error (StreamProcessor.cpp)[1204] scheduleStartDryRunning: Could 
not start handler for SP 0x9112c10
04863374607: Error (StreamProcessorManager.cpp)[ 404] startDryRunning: Could 
not put SP 0x9112c10 into the dry-running state
04863374618: Error (IsoHandler.cpp)[ 725] requestEnable: Enable requested on 
stream with state: 2
04863374625: Error (StreamProcessor.cpp)[1204] scheduleStartDryRunning: Could 
not start handler for SP 0x9112c10
04863374631: Error (StreamProcessorManager.cpp)[ 404] startDryRunning: Could 
not put SP 0x9112c10 into the dry-running state
04863374641: Error (IsoHandler.cpp)[ 725] requestEnable: Enable requested on 
stream with state: 2
04863374647: Error (StreamProcessor.cpp)[1204] scheduleStartDryRunning: Could 
not start handler for SP 0x9112c10
04863374653: Error (StreamProcessorManager.cpp)[ 404] startDryRunning: Could 
not put SP 0x9112c10 into the dry-running state
04863374662: Error (IsoHandler.cpp)[ 725] requestEnable: Enable requested on 
stream with state: 2
04863374668: Error (StreamProcessor.cpp)[1204] scheduleStartDryRunning: Could 
not start handler for SP 0x9112c10
04863374674: Error (StreamProcessorManager.cpp)[ 404] startDryRunning: Could 
not put SP 0x9112c10 into the dry-running state
04863374684: Error (IsoHandler.cpp)[ 725] requestEnable: Enable requested on 
stream with state: 2
04863374690: Error (StreamProcessor.cpp)[1204] scheduleStartDryRunning: Could 
not start handler for SP 0x9112c10
04863374703: Error (StreamProcessorManager.cpp)[ 404] startDryRunning: Could 
not put SP 0x9112c10 into the dry-running state
04863374714: Error (IsoHandler.cpp)[ 725] requestEnable: Enable requested on 
stream with state: 2
04863374719: Error (StreamProcessor.cpp)[1204] scheduleStartDryRunning: Could 
not start handler for SP 0x9112c10
04863374725: Error (StreamProcessorManager.cpp)[ 404] startDryRunning: Could 
not put SP 0x9112c10 into the dry-running state
04863374736: Error (IsoHandler.cpp)[ 725] requestEnable: Enable requested on 
stream with state: 2
04863374741: Error (StreamProcessor.cpp)[1204] scheduleStartDryRunning: Could 
not start handler for SP 0x9112c10
04863374747: Error (StreamProcessorManager.cpp)[ 404] startDryRunning: Could 
not put SP 0x9112c10 into the dry-running state
04863374757: Error (IsoHandler.cpp)[ 725] requestEnable: Enable requested on 
stream with state: 2
04863374763: Error (StreamProcessor.cpp)[1204] scheduleStartDryRunning: Could 
not start handler for SP 0x9112c10
04863374768: Error (StreamProcessorManager.cpp)[ 404] startDryRunning: Could 
not put SP 0x9112c10 into the dry-running state
04863374778: Error (IsoHandler.cpp)[ 725] requestEnable: Enable requested on 
stream with state: 2
04863374784: Error (StreamProcessor.cpp)[1204] scheduleStartDryRunning: Could 
not start handler for SP 0x9112c10
04863374790: Error (StreamProcessorManager.cpp)[ 404] startDryRunning: Could 
not put SP 0x9112c10 into the dry-running state
04863374799: Error (IsoHandler.cpp)[ 725] requestEnable: Enable requested on 
stream with state: 2
04863374806: Error (StreamProcessor.cpp)[1204] scheduleStartDryRunning: Could 
not start handler for SP 0x9112c10
04863374811: Error (StreamProcessorManager.cpp)[ 404] startDryRunning: Could 
not put SP 0x9112c10 into the dry-running state
04863374817: Fatal (StreamProcessorManager.cpp)[1020] handleXrun: Could not 
syncStartAll...
04863374824: Error (devicemanager.cpp)[ 891] waitForPeriod: Could not handle 
XRUN
04863374830: Error (ffado.cpp)[ 264] ffado_streaming_wait: Error condition 
while waiting (Unhandled XRUN)
jack main caught signal 12
no message buffer overruns
a...@teaquetzl:~$ 
-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users

Reply via email to