Re: [LAU] jack crash at rosegarden start up with NI Audio Kontrol 1 (snd_usb_caiaq bug?)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Marco Santamaria <marco.santamaria@...>
Cc: <linux-audio-user@...>
Date: Monday, January 5, 2009 - 4:10 pm

------=_Part_202206_14363486.1231171817349
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

I made a few more tests, with a other usb sound card (behringer UCA202), an=
d
I did not have any problem with rosegarden. But I still have some issues
with Pure data :(

I also tried the last patch from Adam Sampson, on my 2.6.26.3-rt3 kernel bu=
t
without any success.

I think, but I am not sure that this is an alsa-driver issue (usb-caiaq
module)

Perhaps we could directly contact the main developper of this module :

Daniel Mack daniel at caiaq.org

Cheers,

Mysth-R

2009/1/5 Marco Santamaria

> I would like to understand if it is a JACK or a driver issue. It is

?)
ut
h,
ly
s
his
l,
1
en
t
and
t
tables
cm_oss
dhci
class
art
i
0
=3D=3D=3D=3D=3D
8
9 0c
e
l
te
, I
****************
****************
***************
***************

--=20
*
***************************************************************************=
************
* {^_^} Mysth-R {^_^}
* <=3D Aide Auditive =3D>
*
* http://myspace.com/mysthr
* http://myspace.com/aideauditive
* http://mysthr.free.fr/Joomla =3D> Site d=E9di=E9 =E0 l'audio sous
Fedora/PlanetCCRMA.
*
***************************************************************************=
************

------=_Part_202206_14363486.1231171817349
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,I made a few more tests, with a other usb sound card (behringe=
r UCA202), and I did not have any problem with rosegarden. But I still have=
some issues with Pure data :(I also tried the last patch from A=
dam Sampson, on my 2.6.26.3-rt3 kernel but without any success.
I think, but I am not sure that this is an alsa-driver issue (usb-caiaq =
module)Perhaps we could directly contact the main developper of this=
module : Daniel Mack daniel at ca=
iaq.org

Cheers,Mysth-R2009/1/5 Marco S=
antamaria <marco.santamaria@gmail.com>
I would like to understand if it is a JACK or a driver issue. It is obvious=
ly not a Rosegarden problem.I have the same problem if I run jackd with=
-Xseq option ("MIDI driver: seq" in qjackctl). It starts normall=
y, but if I try to shut it down the process jackd enters in an " Unint=
erruptible sleep" state (waiting for IO?) and I cannot kill it:

$ ps =
-eo pid,cmd,state | grep jackd 7997 [jackd]   &nbsp=
;            &n=
bsp;    D 8836 grep jackd    &n=
bsp;           &nbsp=
; RI posted this issue to the alsa-devel and jack-devel maili=
ng lists too, but no one answered me.

I will let you know any progress.Cheers,Marco=
2009/1/5 Mysth-R <mysthr21@gmail.com>

Well, I just tried rosegarden, and I have the same issue : qjackctl cras=
h, and dmesg command output the same as you. After that, If I t=
ry to run qjackctl again, it fails, or some times it runs, but if I play so=
me notes on Zynadd for exemple, the sound is totally crappy. I have to rebo=
ot the system to solve this problem.

grrrrrcheers,Mysth-R20=
09/1/5 Mysth-R <mysthr21@gmail.com>

Hi,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 t=
hinks this is a midi related problem. But I actually don't know if this=
is a kernel, Jack, alsa or others softwares issue.

I will make more tests in the next days and will tell you.But, i=
f any other people have any experience about this sound Card, I would be ha=
ppy to read about It.Cheers,Mysth-R

2009/1/4 Marco Santamaria <marco.santamaria@gmail.com>

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

[ 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
[ 1935.173964] [ 1935.173967] Pid: 1421, comm: IRQ-18 Not tainted (2.6.=
24-19-rt #1)[ 1935.173970] EIP: 0060:[<f8a5f6fd>] EFLAGS: 0001029=
2 CPU: 1[ 1935.173979] EIP is at snd_rawmidi_transmit_peek+0x1d/0x100 [=
snd_rawmidi]

[ 1935.173982] EAX: 00000000 EBX: f7106264 ECX: 0000003d EDX: f7106407[=
1935.173985] ESI: ffffffea EDI: 00000000 EBP: f7106407 ESP: df85be38[ =
1935.173988]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 preempt:000=
00001

[ 1935.173991] Process IRQ-18 (pid: 1421, ti=3Ddf85a000 task=3Df7d45320 tas=
k.ti=3Ddf85a000)[ 1935.173993] Stack: 0000003d 00000000 f7106264 000000=
00 00000000 df83fc00 f8b8cc09 00000000 [ 1935.174000]   =
     f7106264 f710630c 00000000 df83fc00 df83fc00 f7106=
30c f888c888 00000008

[ 1935.174007]        df83fd08 00000000 =
f710630c f8870770 f728a0c0 f728a0c0 ffffff8d f721e180 [ 1935.174014] Ca=
ll Trace:[ 1935.174021]  [<f8b8cc09>] snd_usb_caiaq_midi_sen=
d+0x29/0x80 [snd_usb_caiaq][ 1935.174034]  [<f888c888>] usb_=
hcd_giveback_urb+0x48/0xc0 [usbcore]

[ 1935.174064]  [<f8870770>] ehci_urb_done+0x70/0xb0 [ehci_hcd]<=
br>[ 1935.174075]  [<f887153f>] qh_completions+0x24f/0x430 [ehci=
_hcd][ 1935.174087]  [<f8870770>] ehci_urb_done+0x70/0xb0 [e=
hci_hcd]

[ 1935.174096]  [<f887293e>] ehci_work+0x51e/0x810 [ehci_hcd][ 1935.174103]  [<c010b1e3>] sched_clock+0x13/0x40[ 1935.17=
4116]  [<c0129199>] dequeue_task_rt+0xb9/0x1c0[ 1935.174129]=
  [<f8875498>] ehci_irq+0x158/0x1c0 [ehci_hcd]

[ 1935.174142]  [<f888cb7b>] usb_hcd_irq+0x2b/0x60 [usbcore]=
[ 1935.174166]  [<c016a9cc>] handle_IRQ_event+0x5c/0x100[ 19=
35.174178]  [<c016b00a>] thread_simple_irq+0x4a/0x90[ 1935.1=
74185]  [<c016b959>] do_irqd+0x229/0x290

[ 1935.174194]  [<c016b730>] do_irqd+0x0/0x290[ 1935.174199]=
  [<c0141fc2>] kthread+0x42/0x70[ 1935.174203]  [<c0=
141f80>] kthread+0x0/0x70[ 1935.174209]  [<c0105857>] ker=
nel_thread_helper+0x7/0x10

[ 1935.174217]  =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D[
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 <8b> 58 44 8b 7b 04 85 ff 0f 84 8e 00 00 00 8d 43 20 31 f6
89 44
[ 1935.174256] EIP: [<f8a5f6fd>] snd_rawmidi_transmit_peek+0x1d/0x100=
[snd_rawmidi] SS:ESP 0068:df85be38[ 1935.174265] ---[ end trace 9090d0=
2b798b5496 ]---I
already asked to the Rosegarden and JACK people, but they couldn't help
me: it seems to be a driver related problem,  as I can happily use
Rosegarden if I run JACK with the internal Intel sound card.
The program versions I'm using are: jackd 0.116.1, rosegarden 1.7.2=
.Here's some other outputs:$ uname -aLinux din6400 2.6.24-19-rt #1 SMP PREEMPT RT Thu Aug 21 0=
2:08:03 UTC 2008 i686 GNU/Linux

$ cat /proc/asound/versionAdvanced Linux Sound Architecture Driver =
Version 1.0.17.Compiled on Jan  3 2009 for kernel 2.6.24-19-rt (SM=
P).$ grep VERSION_STR /usr/include/alsa/version.h#define SND_LI=
B_VERSION_STR    "1.0.17a"

$ aplay -l**** Lista di PLAYBACK dispositivi hardware ****sched=
a 0: Intel [HDA Intel], dispositivo 0: STAC92xx Analog [STAC92xx Analog]  Sottoperiferiche: 1/1  Sottoperiferica #0: subdevice #0scheda 0: Intel [HDA Intel], dispositivo 1: STAC92xx Digital [STAC92xx Dig=
ital]

  Sottoperiferiche: 1/1  Sottoperiferica #0: subdevice #0=
scheda 1: A1 [Audio Kontrol 1], dispositivo 0: Audio Kontrol 1 [Audio Kontr=
ol 1]  Sottoperiferiche: 1/2  Sottoperiferica #0: subdevi=
ce #0  Sottoperiferica #1: subdevice #1

$ cat /proc/interrupts        &n=
bsp;   CPU0       CPU1  &=
nbsp;      0:    5438968  =
        0   IO-APIC-edge =
     timer  1:     &n=
bsp; 5123          0 &nbs=
p; IO-APIC-edge      i8042  8: &nbsp=
;        7     =
     0   IO-APIC-edge    =
  rtc

  9:          2 &nbs=
p;        0   IO-APIC-fasteoi&=
nbsp;  acpi 12:     570309  &nb=
sp;       0   IO-APIC-edge &nb=
sp;    i8042 14:      1658=
4          0   IO-AP=
IC-edge      libata 15:   =
    7712        &nbs=
p; 0   IO-APIC-edge      libata

 16:     312032     &nbsp=
;    0   IO-APIC-fasteoi   i915@pci:0000=
:00:02.0 17:         =
2          0   IO-A=
PIC-fasteoi   ohci1394 18:     26935=
8          0   IO-AP=
IC-fasteoi   uhci_hcd:usb1, ehci_hcd:usb5 19: &nbsp=
;     3999       &nb=
sp;  0   IO-APIC-fasteoi   uhci_hcd:usb2, HDA Inte=
l

 20:          0 &nbs=
p;        0   IO-APIC-fasteoi&=
nbsp;  uhci_hcd:usb3 21:      &=
nbsp;   0          0=
   IO-APIC-fasteoi   uhci_hcd:usb4 22: &n=
bsp;     7638       =
   0   IO-APIC-fasteoi   eth0 23:&nb=
sp;         0   &nbs=
p;      0   IO-APIC-fasteoi   =
sdhci:slot0

221:      31667     &nbsp=
;    0   PCI-MSI-edge    &nbsp=
; iwl3945NMI:          0&n=
bsp;         0   Non-mask=
able interruptsLOC:     266694    28=
94868   Local timer interruptsRES:    1091345&=
nbsp;   1871342   Rescheduling interrupts

CAL:      12287      1104=
2   function call interruptsTLB:    &nbsp=
;  1395       1581   TLB shoot=
downsTRM:          0 =
         0   Thermal even=
t interruptsSPU:          =
0          0   Spuri=
ous interruptsERR:        &nbsp=
; 0

MIS:          0I
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.Any ideas?Thank you
Marco
_______________________________________________
Linux-audio-user mailing list
=
Linux-audio-user@lists.linuxaudio.org

http://lists.linuxaudio.org/mailman/listinfo/linux-audio-u=
ser

-- * *****************=
**********************************************************************<=
font color=3D"#888888">*  {^_^} Mysth-R {^_^}*  <=3D Aide =
Auditive =3D>

** http://myspa=
ce.com/mysthr

* http://mysp=
ace.com/aideauditive
* http://mysthr.free.fr/Joomla  =3D> Site d=E9di=E9=
=E0 l'audio sous Fedora/PlanetCCRMA.

* *************************************************************************=
**************

-=
- * *******************************************************************=
*********************  {^_^} Mysth-R {^_^}
*  <=3D Aide Auditive =3D>** http://myspace.com/mysthr
* http://mysp=
ace.com/aideauditive
* http://mysthr.free.fr/Joomla  =3D> Site d=E9di=E9=
=E0 l'audio sous Fedora/PlanetCCRMA.

* *************************************************************************=
**************

-- * *********=
***************************************************************************=
****  {^_^} Mysth-R {^_^}*  <=3D Aide Auditive =3D>=
** http://myspace.com/mysthr<=
/a>
*
http://myspace.com/aideauditi=
ve
* http://mysthr.free.fr/=
Joomla
 =3D> Site d=E9di=E9 =E0 l'audio sous Fedora/PlanetC=
CRMA.* ****************************************************************=
***********************

------=_Part_202206_14363486.1231171817349--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAU] jack crash at rosegarden start up with NI Audio Ko..., Mysth-R, (Mon Jan 5, 4:10 pm)