<div dir="ltr"><div>Thanks for quick response. This is clearly beyond my understanding so I am very grateful for your support.<br><br></div><div>I have tried again a few times with the rt kernel with threadirqs and a few times with the non-rt kernel with and without threadirqs.<br>
</div><div>I start qjackctl and jack. No problem. I start qsynth. Big problem if threadirqs on. Same place with both kernels. Same problem.<br>(standard kernel without threadirqs; no problem except xruns..)<br><br><div>Well, this was not easy to capture. There are no BUG or OOPS from dmesg or in /var/log/messages.<br>
</div><div>But
 I managed to catch it another way; I used &quot;tail -f /var/log/messages&quot; 
in a terminal window and started qjackctl and jack. Nothing. Started 
qsynth. Everything frozen for a few seconds (10?) and then I see a 
print in the terminal window (not saved in the file):<br>
</div><div>&quot;<br>ata1.00: exception Emask 0x0 SAct 0x3 SErr 0x0 action 0x6 frozen<br></div><div>ata1.00: failed command: READ FPDMA QUEUED<br>ata1.00: cmd 60/00:00:20:6a:3e/01:00:00:00:00/40 tag 0 ncq 131072 in<br></div>

<div>             res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)<br></div><div>ata1.00: status: { DRDY }<br>ata1.00: cmd 60/00:08:20:6b:3e/01:00:00:00:00/40 tag 1 ncq 131072 in<br><div>             res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)<br>

</div>ata1.00: status: { DRDY }<br>ata1: hard resetting link<br>ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300<br>&quot;<br></div><div>That&#39;s all. One time I saw a little more that looked related to file system. I could see the word journal but when I tried to scroll the window disappeared.<br>
</div><div>Maybe more is coming but fails to print, and nothing ends up in the log 
file  (second time my phone camera been useful). To me it looks as the 
kernel have some panic and write-lock the disk quickly. (If someone 
guide me I could maybe setup another linux box to catch syslog via 
network. If it&#39;s worth the effort..)</div>







<br><br></div><div><div>See inline below for some other details.<br><br></div><div>So. Should I take my HW to the junk yard or do you have better advice?<br><br><br></div><div>/Bengt<br><br></div><div><div><br><div class="gmail_extra">
<br><div class="gmail_quote">2013/4/6 Fernando Lopez-Lezcano <span dir="ltr">&lt;<a href="mailto:nando@ccrma.stanford.edu" target="_blank">nando@ccrma.stanford.edu</a>&gt;</span><br>






<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>On 04/06/2013 12:01 PM, Bengt Månsson wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi folks,<br>
Again I have to call out for some advice.<br>
<br>
Here is what I&#39;ve done:<br>
- Installed fresh from f18 xfce live dvd (simple partitioning with ext4)<br>
- Installed repos for ccrma and rpmfusion<br>
- updated everything except kernel (which is now 3.6.10)<br>
(when I tried that in one go it didn&#39;t work at all. I started fresh<br>
again and updated in pieces; first everything except kernel and xorg,<br>
then xorg).<br>
- removed pulsaudio<br>
</blockquote>
<br></div>
(I have not found a need to do that...)</blockquote><div><br></div><div>Before I saw emails from people with problems, but it&#39;s good news if they are now solved by default. Been away too long so I&#39;m not updated.</div>

<div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
- added a /etc/modprobe.d/local.conf to fix the ordering of sound devices<br>
</blockquote>
<br></div>
(It is usually best to refer to the card by name instead of number and then the ordering does not matter - ie: use hw:NAME instead of hw:0, you can find the name between [] in the output of &quot;cat /proc/asound/cards&quot;).</blockquote>







<div><br></div><div>I know about that but jackctl doesn&#39;t seem to know. It seems to remember the number so everytime I have to check and sometimes change. So I followed your advice about Multiple sound cards workaround ;)<br>
<br></div>



<div>Is there any better way than using qjackctl? I find that I almost always have to use it to get the connections right.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">






<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
- used realTimeConfigQuickScan and follow advice<br>
- run alsamixer to set the volumes<br>
- otherwise I think I kept everything default<br>
<br>
With this system, I can start (in order) qjackctl, jackd, qsynth and<br>
rosegarden.<br>
I can play some simple stored music. With a processor load of 5%<br>
(according to qjackctl) I can get a latency around 10 ms without<br>
problems with xrun (just).<br>
</blockquote>
<br></div>
Did you try starting the kernel with the &quot;threadirqs&quot; boot option? And running rtirq with that? It is supposed to give you better latency performance (that option was part of the rt patch and has since migrated to the mainline kernel).<br>

</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">






<br>
What soundcard do you have?</blockquote><div><br></div><div>The main one is an M-Audio Audiophile 2496 on PCI.<br></div><div>(Then there is one on the motherboard, which I have disabled in BIOS, and another on the EVGA GeForce 210 PCIe graphics card for hdmi output. Later on, when I connect the piano I will get MIDI and yet another soundcard on USB. Otherwise I have keyboard and mouse on USB.)</div>




<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Not impressed. I would like to run more stuff with less latency, so I<br>
try to install the rt kernel (3.8.4) and rtirq.<br>
<br>
This configuration starts, but it&#39;s completely useless. I start qjackctl<br>
and jackd and it looks ok. I start qsynth and try to start rosegarden.<br>
The latter never starts and the machine start to behave very strange in<br>
many ways. Windows can be moved but the app inside is not responding.<br>
Windows turning white. When i try commands in the terminal some can work<br>
but other say &quot;Input/output error&quot; or &quot;read-only file system&quot;. Only way<br>
to restart is power-off the hard way.<br>
</blockquote>
<br></div>
Ah, that all points to a really really bad problem, most likely you are managing to trigger some internal kernel bug. Do you see anything at that point in the output of &quot;dmesg&quot; or in /var/log/messages? Something like a BUG or OOPS followed by a dump of the internal state? If that is the case we should report that to the rt kernel developers...</blockquote>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

I have started again with the stock 3.6.10 kernel and the machine is<br>
working again, but without the performance I would like to see.<br>
</blockquote>
<br></div>
You could also try to update the non-rt kernel from Fedora, I think the current one is up to 3.8.x as well. I don&#39;t use it so I don&#39;t know if that will improve performance...<span><font color="#888888"><br></font></span></blockquote>



<div><br>Changed to that one. No significant difference I can notice. <br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><font color="#888888">

<br>
-- Fernando<br>
</font></span></blockquote></div><br></div></div></div></div></div>