[LAU] ffado and jack keep freezing - I need your help

오재환 foldedwings at gmx.com
Tue Jun 28 01:12:54 UTC 2011

Hi, everyone.I'm here to get some troubleshooting from you.

I installed ffado and jack on Archlinux, but I can't get it working 

About my system:

- Thinkpad x201i(Intel i3-380m and 8G memory)

- Echo Audiofire2 (connected via expresscard)

- Archlinux 64bit

- 2.6.39 kernel (BFS patched)

- installed libffado 2.0.1-3 (svn version from aur) and jack 1.9.5-1

- configured to the advice from the script 
realtimeconfigquickscan(except the realtime kernel and 1000hz clock part)

- running rtirq daemon. configured as below....

RTIRQ_NAME_LIST="rtc firewire_ohci ehci_hcd:usb1 ehci_hcd:usb2 i8042"



- ffado and jack work for some time(about 30 seconds?) then freeze.

detailed process...

Arch starts
turn qjackctl on
start other audio apps (tested with hydrogen and qsynth)
Seems working well
After some time, all sounds stop and transport doesn't roll
When I close other apps and press stop button on qjackctl, it displays 
'stopping...' and nothing more. here's jacks messages after the stop 
button pressed.

00:45:53.378 JACK is stopping...

Jack: JackClient::Deactivate

Jack: fPollTable i = 1 fd = 51

Jack: fPollTable i = 2 fd = 52

Jack: JackRequest::DeactivateClient

Jack: JackEngine::ClientDeactivate ref = 2 name = qjackctl

Jack: JackServer::Deactivate client = 2 was not activated

Jack: JackServer::Deactivate client = 2 was not activated

Jack: JackProcessSync::TimedWait time out = 53320

JackProcessSync::LockedTimedWait error usec = 53320 err = Connection 
timed out

Jack: JackProcessSync::TimedWait finished delta = 53442.0

JackEngine::ClientDeactivate wait error ref = 2 name = qjackctl

Jack: JackClient::Deactivate res = 4294967295

Jack: jack_client_close

Jack: JackClient::Close ref = 2

Jack: JackClient::Deactivate

Jack: JackSocketClientChannel::Stop

Jack: JackPosixThread::Kill

Jack: fPollTable i = 1 fd = 51

Jack: fPollTable i = 2 fd = 52

Jack: JackRequest::ClientClose

Jack: JackEngine::ClientCloseAux ref = 2

Jack: JackGraphManager::RemoveAllPorts ref = 2

Jack: JackProcessSync::TimedWait time out = 10664

JackProcessSync::LockedTimedWait error usec = 10664 err = Connection 
timed out

Jack: JackProcessSync::TimedWait finished delta = 10825.0

JackEngine::ClientCloseAux wait error ref = 2

Jack: JackPosixSemaphore::Destroy

Jack: JackSocketNotifyChannel::Close

Jack: JackClientSocket::Close

Jack: JackShmMem::delete size = 0 index = 2

Jack: JackSocketServerChannel::ClientRemove ref = 2

Jack: JackClientSocket::Close

Jack: JackSocketServerChannel::BuildPoolTable size = 2

Jack: fSocketTable i = 1 fd = 51

Jack: JackClientSocket::Close

Jack: JackClientSocket::Close

Jack: JackPosixSemaphore::Disconnect jack_sem.1000_default_qjackctl

Jack: JackLibClient::~JackLibClient

Jack: JackShmReadWritePtr1::~JackShmReadWritePtr1 2

Jack: Succeeded in unlocking 384 byte memory area

Jack: JackLibGlobals Destroy 1982be0

Jack: ~JackLibGlobals

Jack: JackPosixSemaphore::Disconnect jack_sem.1000_default_system

Jack: JackPosixSemaphore::Disconnect jack_sem.1000_default_freewheel

Jack: no message buffer overruns

Jack: JackPosixThread::Stop

Jack: ThreadHandler: exit

Jack: JackShmReadWritePtr::~JackShmReadWritePtr 1

Jack: Succeeded in unlocking 1040 byte memory area

Jack: JackShmReadWritePtr::~JackShmReadWritePtr 0

Jack: Succeeded in unlocking 47647264 byte memory area

Jack: jack_client_close res = 0

jack main caught signal 15

Jack: JackServer::Stop

Jack: JackThreadedDriver::Stop

Jack: JackPosixThread::Stop

Jack: JackServer::Close

Jack: JackPosixThread::Stop

Jack: fPollTable i = 1 fd = 51

Jack: JackRequest::Notification

Jack: JackRequest::Notification kQUIT

Jack: JackMachServerChannel::Execute JackQuitException

Jack: ThreadHandler: exit

Jack: JackServerSocket::Close /dev/shm/jack_default_1000_0

Jack: JackClientSocket::Close

Jack: JackFFADODriver::Detach

... and no more. it just holds here.

- But ffado and jack work just nicely not freezing in extremely rare 
cases (with no xruns)

I wanted to check messages from ffado too, but I don't know how.

Can anyone give me a likely solution to this problem? Or any more 
information needed?

Thanks in advance!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20110628/c26b0898/attachment.htm>

More information about the Linux-audio-user mailing list