From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id BD4A92EFDC for ; Thu, 9 Nov 2000 04:33:49 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eA99XnW25516 for axp-list@listman.redhat.com; Thu, 9 Nov 2000 04:33:49 -0500 Received: from blauedonau.com (root@sycamore-shop-221.tbcnet.com [207.112.226.221]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eA99XmD25507 for ; Thu, 9 Nov 2000 04:33:48 -0500 Received: from localhost (terrylr@localhost) by blauedonau.com (8.9.3/8.9.3) with ESMTP id DAA28613 for ; Thu, 9 Nov 2000 03:35:30 -0600 Date: Thu, 9 Nov 2000 03:35:30 -0600 (CST) From: "Terry L. Ridder" To: axp-list@redhat.com Subject: Re[2]: milo, srm, pal code questions In-Reply-To: <20001109001956.D3199@linux04.mro.cpqcorp.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors hello; have made so good headway into getting rtlinux working. now it at least loads the rtl.o module without locking the alpha up. the system is really slow so i assume it is spending too much time in a handler loop somewhere. i will debug that later today. i am thinking i may end up implementing a psuedo-mask inside rtlinux to prevent recursion. i am running linux-2.4.0-test9 so i will have to look a little for this location to put the printk jay suggested. thank you to both jay & richard for their help. On Thu, 9 Nov 2000, Jay Estabrook wrote: >On Wed, Nov 08, 2000 at 03:25:23PM -0600, Terry L. Ridder wrote: >> >> i would normally agree about the working >> interrupt hardware, but it would seem to >> me that if linux is able to run on the pc164 >> with it's broken irq mask that rtlinux should >> be able to run also. > > Not necessarily; if the rtlinux kernel expects to be able to mask > the interrupt (which doesn't work on pc164), and doesn't actually > get to calling the linux interrupt handler for that device, the > interrupt will stay active until that handler does get called to > process and turn off the interrupt cause. > > Example (not rtlinux but milo/linux): > > 1. linux kernel exits with ethernet interrupt still posted, > 2. milo gets entered, and eventually enables interrupts, > 3. interrupt for ethernet card comes through, > 4. milo finds no handler for the interrupt, masks it off, and returns, > 5. interrupt comes through again, as masking doesn't work, > 6. goto 3. > > System looks hung, but is actually in *really* tight interrupt loop. > > One can verify whether this is the current case by putting a printk at > the generic device interrupt handler entry; in 2.2.17, it would be in > arch/alpha/kernel/irq.c:do_entInt(), case 3. > > Good luck. > > --Jay++ -- Terry L. Ridder Blue Danube Software (Blaue Donau Software) "We do not write software, we compose it." digging deep, i feel my conscience burn i need to know who and what i am this hunger jolts me from complacency rocks me, makes me meet myself ----kendall payne---closer to myself---