<p>Hi,</p><p>I made a few more tests, with a other usb sound card (behringer UCA202), and I did not have any problem with rosegarden. But I still have some issues with Pure data :(<br></p><p>I also tried the last patch from Adam Sampson, on my 2.6.26.3-rt3 kernel but without any success.</p>
<p>I think, but I am not sure that this is an alsa-driver issue (usb-caiaq module)</p><p>Perhaps we could directly contact the main developper of this module :&nbsp;</p><p>Daniel Mack daniel at <a href="http://caiaq.org">caiaq.org</a></p>
<p>Cheers,</p><p>Mysth-R</p><br><div class="gmail_quote">2009/1/5 Marco Santamaria <span dir="ltr">&lt;<a href="mailto:marco.santamaria@gmail.com">marco.santamaria@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I would like to understand if it is a JACK or a driver issue. It is obviously not a Rosegarden problem.<br>I have the same problem if I run jackd with -Xseq option (&quot;MIDI driver: seq&quot; in qjackctl). It starts normally, but if I try to shut it down the process jackd enters in an &quot; Uninterruptible sleep&quot; state (waiting for IO?) and I cannot kill it:<br>


<br><div style="margin-left:40px;font-family:courier new,monospace">$ ps -eo pid,cmd,state | grep jackd<br>&nbsp;7997 [jackd]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D<br>&nbsp;8836 grep jackd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R<br></div><br>I posted this issue to the alsa-devel and jack-devel mailing lists too, but no one answered me.<br>


<br>I will let you know any progress.<br>Cheers,<br><font color="#888888">Marco</font><div><div class="Wj3C7c"><br><br><div class="gmail_quote">2009/1/5 Mysth-R <span dir="ltr">&lt;<a href="mailto:mysthr21@gmail.com" target="_blank">mysthr21@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">

<p>Well, I just tried rosegarden, and I have the same issue : qjackctl crash, and dmesg command output the same as you.&nbsp;</p><p>After that, If I try to run qjackctl again, it fails, or some times it runs, but if I play some notes on Zynadd for exemple, the sound is totally crappy. I have to reboot the system to solve this problem.<br>



grrrrr<br></p><p>cheers,</p><p>Mysth-R</p><br><div class="gmail_quote">2009/1/5 Mysth-R <span dir="ltr">&lt;<a href="mailto:mysthr21@gmail.com" target="_blank">mysthr21@gmail.com</a>&gt;</span><div><div>
<br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
<p>Hi,</p><p>I do not have your answer. But I just bought an Audio Kontrol1 few weeks ago, and I got similar issues, when I run puredata. and well I thinks this is a midi related problem. But I actually don&#39;t know if this is a kernel, Jack, alsa or others softwares issue.<br>




I will make more tests in the next days and will tell you.<br></p><p>But, if any other people have any experience about this sound Card, I would be happy to read about It.</p><p>Cheers,</p><p>Mysth-R</p><br><div class="gmail_quote">




2009/1/4 Marco Santamaria <span dir="ltr">&lt;<a href="mailto:marco.santamaria@gmail.com" target="_blank">marco.santamaria@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">



<div><div>
Hi,<br><br>it&#39;s about one year that I&#39;m using my Native Instruments
Audio Kontrol 1 (USB2 audio/MIDI interface) only with audio
applications and it has been working well so far.<br>Now I&#39;m trying to
use it with Rosegarden (MIDI) and, as soon as I start Rosegarden, JACK
crashes, the process jackd becomes &quot;uninterruptible&quot; and with the
command dmesg I find the following new lines<br>
<br><div style="margin-left:40px">[ 1935.173876] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000044<br>[ 1935.173885] printing eip: f8a5f6fd *pde = 00000000 <br>[ 1935.173891] Oops: 0000 [#1] PREEMPT SMP <br>







[ 1935.173896] Modules linked in: isofs udf ipv6 af_packet i915 drm
rfcomm l2cap bluetooth ppdev acpi_cpufreq cpufreq_ondemand
cpufreq_conservative cpufreq_stats freq_table cpufreq_userspace
cpufreq_powersave dock container sbs sbshc iptable_filter ip_tables
x_tables sbp2 parport_pc lp parport snd_hda_intel snd_usb_caiaq
snd_hwdep snd_pcm_oss snd_mixer_oss arc4 snd_seq_oss snd_pcm ecb
blkcipher snd_seq_midi snd_page_alloc joydev snd_rawmidi
snd_seq_midi_event snd_seq iwl3945 sdhci serio_raw mmc_core
iwlwifi_mac80211 video output cfg80211 battery led_class ac snd_timer
snd_seq_device wmi_acer button snd evdev dcdbas iTCO_wdt
iTCO_vendor_support intel_agp shpchp pci_hotplug pcspkr soundcore
agpgart psmouse ext3 jbd mbcache sg sr_mod cdrom sd_mod b44 ata_generic
ssb mii ohci1394 ieee1394 ata_piix pata_acpi libata scsi_mod ehci_hcd
uhci_hcd usbcore thermal processor fan fuse<br>
[ 1935.173964] <br>[ 1935.173967] Pid: 1421, comm: IRQ-18 Not tainted (2.6.24-19-rt #1)<br>[ 1935.173970] EIP: 0060:[&lt;f8a5f6fd&gt;] EFLAGS: 00010292 CPU: 1<br>[ 1935.173979] EIP is at snd_rawmidi_transmit_peek+0x1d/0x100 [snd_rawmidi]<br>







[ 1935.173982] EAX: 00000000 EBX: f7106264 ECX: 0000003d EDX: f7106407<br>[ 1935.173985] ESI: ffffffea EDI: 00000000 EBP: f7106407 ESP: df85be38<br>[ 1935.173988]&nbsp; DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 preempt:00000001<br>







[ 1935.173991] Process IRQ-18 (pid: 1421, ti=df85a000 task=f7d45320 task.ti=df85a000)<br>[ 1935.173993] Stack: 0000003d 00000000 f7106264 00000000 00000000 df83fc00 f8b8cc09 00000000 <br>[ 1935.174000]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; f7106264 f710630c 00000000 df83fc00 df83fc00 f710630c f888c888 00000008 <br>







[ 1935.174007]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; df83fd08 00000000 f710630c f8870770 f728a0c0 f728a0c0 ffffff8d f721e180 <br>[ 1935.174014] Call Trace:<br>[ 1935.174021]&nbsp; [&lt;f8b8cc09&gt;] snd_usb_caiaq_midi_send+0x29/0x80 [snd_usb_caiaq]<br>[ 1935.174034]&nbsp; [&lt;f888c888&gt;] usb_hcd_giveback_urb+0x48/0xc0 [usbcore]<br>







[ 1935.174064]&nbsp; [&lt;f8870770&gt;] ehci_urb_done+0x70/0xb0 [ehci_hcd]<br>[ 1935.174075]&nbsp; [&lt;f887153f&gt;] qh_completions+0x24f/0x430 [ehci_hcd]<br>[ 1935.174087]&nbsp; [&lt;f8870770&gt;] ehci_urb_done+0x70/0xb0 [ehci_hcd]<br>







[ 1935.174096]&nbsp; [&lt;f887293e&gt;] ehci_work+0x51e/0x810 [ehci_hcd]<br>[ 1935.174103]&nbsp; [&lt;c010b1e3&gt;] sched_clock+0x13/0x40<br>[ 1935.174116]&nbsp; [&lt;c0129199&gt;] dequeue_task_rt+0xb9/0x1c0<br>[ 1935.174129]&nbsp; [&lt;f8875498&gt;] ehci_irq+0x158/0x1c0 [ehci_hcd]<br>







[ 1935.174142]&nbsp; [&lt;f888cb7b&gt;] usb_hcd_irq+0x2b/0x60 [usbcore]<br>[ 1935.174166]&nbsp; [&lt;c016a9cc&gt;] handle_IRQ_event+0x5c/0x100<br>[ 1935.174178]&nbsp; [&lt;c016b00a&gt;] thread_simple_irq+0x4a/0x90<br>[ 1935.174185]&nbsp; [&lt;c016b959&gt;] do_irqd+0x229/0x290<br>







[ 1935.174194]&nbsp; [&lt;c016b730&gt;] do_irqd+0x0/0x290<br>[ 1935.174199]&nbsp; [&lt;c0141fc2&gt;] kthread+0x42/0x70<br>[ 1935.174203]&nbsp; [&lt;c0141f80&gt;] kthread+0x0/0x70<br>[ 1935.174209]&nbsp; [&lt;c0105857&gt;] kernel_thread_helper+0x7/0x10<br>







[ 1935.174217]&nbsp; =======================<br>[
1935.174219] Code: 24 10 83 c4 14 c3 bf ea ff ff ff eb e3 90 83 ec 18
89 74 24 0c be ea ff ff ff 89 6c 24 14 89 d5 89 5c 24 08 89 7c 24 10 89
0c 24 &lt;8b&gt; 58 44 8b 7b 04 85 ff 0f 84 8e 00 00 00 8d 43 20 31 f6
89 44 <br>
[ 1935.174256] EIP: [&lt;f8a5f6fd&gt;] snd_rawmidi_transmit_peek+0x1d/0x100 [snd_rawmidi] SS:ESP 0068:df85be38<br>[ 1935.174265] ---[ end trace 9090d02b798b5496 ]---<br></div><br>I
already asked to the Rosegarden and JACK people, but they couldn&#39;t help
me: it seems to be a driver related problem,&nbsp; as I can happily use
Rosegarden if I run JACK with the internal Intel sound card.<br>
<br>The program versions I&#39;m using are: jackd 0.116.1, rosegarden 1.7.2.<br><br>Here&#39;s some other outputs:<br><br><div style="margin-left:40px">$ uname -a<br>Linux din6400 2.6.24-19-rt #1 SMP PREEMPT RT Thu Aug 21 02:08:03 UTC 2008 i686 GNU/Linux<br>







<br>$ cat /proc/asound/version<br>Advanced Linux Sound Architecture Driver Version 1.0.17.<br>Compiled on Jan&nbsp; 3 2009 for kernel 2.6.24-19-rt (SMP).<br><br>$ grep VERSION_STR /usr/include/alsa/version.h<br>#define SND_LIB_VERSION_STR&nbsp;&nbsp;&nbsp; &quot;1.0.17a&quot;<br>







<br>$ aplay -l<br>**** Lista di PLAYBACK dispositivi hardware ****<br>scheda 0: Intel [HDA Intel], dispositivo 0: STAC92xx Analog [STAC92xx Analog]<br>&nbsp; Sottoperiferiche: 1/1<br>&nbsp; Sottoperiferica #0: subdevice #0<br>scheda 0: Intel [HDA Intel], dispositivo 1: STAC92xx Digital [STAC92xx Digital]<br>







&nbsp; Sottoperiferiche: 1/1<br>&nbsp; Sottoperiferica #0: subdevice #0<br>scheda 1: A1 [Audio Kontrol 1], dispositivo 0: Audio Kontrol 1 [Audio Kontrol 1]<br>&nbsp; Sottoperiferiche: 1/2<br>&nbsp; Sottoperiferica #0: subdevice #0<br>&nbsp; Sottoperiferica #1: subdevice #1<br>







<br>$ cat /proc/interrupts <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CPU0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CPU1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp; 0:&nbsp;&nbsp;&nbsp; 5438968&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-edge&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; timer<br>&nbsp; 1:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5123&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-edge&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i8042<br>&nbsp; 8:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-edge&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rtc<br>







&nbsp; 9:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-fasteoi&nbsp;&nbsp; acpi<br>&nbsp;12:&nbsp;&nbsp;&nbsp;&nbsp; 570309&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-edge&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i8042<br>&nbsp;14:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16584&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-edge&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libata<br>&nbsp;15:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7712&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-edge&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libata<br>







&nbsp;16:&nbsp;&nbsp;&nbsp;&nbsp; 312032&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-fasteoi&nbsp;&nbsp; i915@pci:0000:00:02.0<br>&nbsp;17:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-fasteoi&nbsp;&nbsp; ohci1394<br>&nbsp;18:&nbsp;&nbsp;&nbsp;&nbsp; 269358&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-fasteoi&nbsp;&nbsp; uhci_hcd:usb1, ehci_hcd:usb5<br>&nbsp;19:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3999&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-fasteoi&nbsp;&nbsp; uhci_hcd:usb2, HDA Intel<br>







&nbsp;20:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-fasteoi&nbsp;&nbsp; uhci_hcd:usb3<br>&nbsp;21:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-fasteoi&nbsp;&nbsp; uhci_hcd:usb4<br>&nbsp;22:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7638&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-fasteoi&nbsp;&nbsp; eth0<br>&nbsp;23:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; IO-APIC-fasteoi&nbsp;&nbsp; sdhci:slot0<br>







221:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 31667&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; PCI-MSI-edge&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iwl3945<br>NMI:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; Non-maskable interrupts<br>LOC:&nbsp;&nbsp;&nbsp;&nbsp; 266694&nbsp;&nbsp;&nbsp; 2894868&nbsp;&nbsp; Local timer interrupts<br>RES:&nbsp;&nbsp;&nbsp; 1091345&nbsp;&nbsp;&nbsp; 1871342&nbsp;&nbsp; Rescheduling interrupts<br>







CAL:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12287&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11042&nbsp;&nbsp; function call interrupts<br>TLB:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1395&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1581&nbsp;&nbsp; TLB shootdowns<br>TRM:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; Thermal event interrupts<br>SPU:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; Spurious interrupts<br>ERR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br>







MIS:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br></div><br>I
do not include the jackd and rosegarden outputs becouse they are quite
long, but, if you think they are useful to understand what is going on,
I can send them too.<br><br>Any ideas?<br><br>Thank you<br><font color="#888888"><font color="#888888">
<br>Marco</font>
</font><br></div></div>_______________________________________________<br>
Linux-audio-user mailing list<br>
<a href="mailto:Linux-audio-user@lists.linuxaudio.org" target="_blank">Linux-audio-user@lists.linuxaudio.org</a><br>
<a href="http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user" target="_blank">http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>* ***************************************************************************************<br><font color="#888888">* &nbsp;{^_^} Mysth-R {^_^}<br>* &nbsp;&lt;= Aide Auditive =&gt;<br>



*<br>* <a href="http://myspace.com/mysthr" target="_blank">http://myspace.com/mysthr</a><br>
* <a href="http://myspace.com/aideauditive" target="_blank">http://myspace.com/aideauditive</a><br>* <a href="http://mysthr.free.fr/Joomla" target="_blank">http://mysthr.free.fr/Joomla</a> &nbsp;=&gt; Site dédié à l&#39;audio sous Fedora/PlanetCCRMA.<br>



* ***************************************************************************************<br>

</font></blockquote></div></div></div><div><div><br><br clear="all"><br>-- <br>* ***************************************************************************************<br>* &nbsp;{^_^} Mysth-R {^_^}<br>
* &nbsp;&lt;= Aide Auditive =&gt;<br>*<br>* <a href="http://myspace.com/mysthr" target="_blank">http://myspace.com/mysthr</a><br>
* <a href="http://myspace.com/aideauditive" target="_blank">http://myspace.com/aideauditive</a><br>* <a href="http://mysthr.free.fr/Joomla" target="_blank">http://mysthr.free.fr/Joomla</a> &nbsp;=&gt; Site dédié à l&#39;audio sous Fedora/PlanetCCRMA.<br>


* ***************************************************************************************<br>

</div></div></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>* ***************************************************************************************<br>* &nbsp;{^_^} Mysth-R {^_^}<br>* &nbsp;&lt;= Aide Auditive =&gt;<br>*<br>* <a href="http://myspace.com/mysthr">http://myspace.com/mysthr</a><br>
* <a href="http://myspace.com/aideauditive">http://myspace.com/aideauditive</a><br>* <a href="http://mysthr.free.fr/Joomla">http://mysthr.free.fr/Joomla</a> &nbsp;=&gt; Site dédié à l&#39;audio sous Fedora/PlanetCCRMA.<br>* ***************************************************************************************<br>