From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Hofman Subject: Re: PATCH - MIDI on ice1724 - real-time kernel problem SOLVED(?) Date: Fri, 27 Jun 2008 15:54:41 +0200 Message-ID: <4864F121.8050405@insite.cz> References: <20080520112539.81C9D2484D@alsa0.perex.cz> <483847ED.8050208@gmx.de> <483A6D6F.1050108@insite.cz> <483A96E8.8090507@gmx.de> <483AE54C.3090807@gmx.de> <483D48DE.1010105@gmx.de> <483E78E7.4020106@insite.cz> <20080529140349.115520@gmx.net> <483ED652.6020805@insite.cz> <484AFF77.3030901@insite.cz> <4860D57E.10509@gmx.de> <4864039B.7020405@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from server.insite.cz (cable.insite.cz [84.242.84.93]) by alsa0.perex.cz (Postfix) with ESMTP id 2ADBE24462 for ; Fri, 27 Jun 2008 15:54:50 +0200 (CEST) In-Reply-To: <4864039B.7020405@gmx.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: =?ISO-8859-1?Q?Martin_Kr=FCger?= Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Martin Kr=FCger wrote: > Martin Kr=FCger schrieb: >> Hi Pavel, >> >> sorry for the long break, i was really busy at studying. >> >> ---snip--- >> >> Thanks a lot, >> Martin >> _______________________________________________ >> Alsa-devel mailing list >> Alsa-devel@alsa-project.org >> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >> = > = > Hi again, > = > i did some other playing around this evening. (Debugging would be a word = > much too big...) > = > I commented out the logic stuff in the following subroutines of the = > ice1724.c: > = > - static int vt1724_midi_output_open(struct snd_rawmidi_substream *s) > - static int vt1724_midi_output_close(struct snd_rawmidi_substream *s) > - static void vt1724_midi_output_trigger(struct snd_rawmidi_substream = > *s, int up) > - static void vt1724_midi_output_drain(struct snd_rawmidi_substream *s) > = > The vt1724_enable_midi_irq(s, VT1724_IRQ_MPU_TX, 1) is killing my = > kernel, i don't know why. So enabling the MPU TX interrupt causes lockup. Very similar to my = experience with the previous version of the MIDI driver. Please put a = debug line to snd_vt1724_interrupt, listing status bits for each = interrupt. That was the place I experienced loops etc. In my case the = flood eventually fooled the logging facility, but I could still read the = first few logs. > On the input side everything works, so i am a bit confused. Again. ;-) I was also getting only TX interrupt floods, RX was OK. Good luck, Pavel.