From owner-freebsd-isdn Sat Jun 17 3: 0:14 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id 8C05637B7F1 for ; Sat, 17 Jun 2000 03:00:06 -0700 (PDT) (envelope-from pherman@frenchfries.net) Received: from bagabeedaboo.security.at12.de (dial-195-14-251-182.netcologne.de [195.14.251.182]) by mail2.netcologne.de (8.9.3/8.9.3) with ESMTP id LAA02629 for ; Sat, 17 Jun 2000 11:59:58 +0200 (MET DST) Received: from localhost (localhost.security.at12.de [127.0.0.1]) by bagabeedaboo.security.at12.de (8.10.1/8.10.1) with ESMTP id e5H9xoo00496 for ; Sat, 17 Jun 2000 11:59:50 +0200 (CEST) Date: Sat, 17 Jun 2000 11:59:49 +0200 (CEST) From: Paul Herman To: freebsd-isdn@FreeBSD.ORG Subject: Re: i4b hangs during boot with ELSA Microlink In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 15 Jun 2000, Paul Herman wrote: > I have an ELSA Microlink PCI ISDN card, and i4b hangs when I boot. > The card gets detected and shows: It's me again. I wrote this a few days ago, but I got no answer. Is this even the right list? Is there another i4b specific list for hackers? Anyway, I've got some news. Maybe this will help track down the problem. After playing around with the code (printf() in the kernel is a great thing!) I noticed the following: when i4b locks up on me, it gets stuck in the for(;;) loop in isic_pci_intr_sc() in layer1/i4b_isic_pci.c here: else /* IPAC interrupt routine */ { register u_char ipac_irq_stat; for(;;) { [...snip!...] ...blah, blah, blah, picks up HSCX A/B and ISAC interrupts as long as there are any... [...snip!...] if(ipac_irq_stat & (IPAC_ISTA_ICD | IPAC_ISTA_EXD)) { /* ISAC interrupt */ isic_isac_irq(sc, ISAC_READ(I_ISTA)); } } } it loops forever in this for(;;) loop and calls isic_isac_irq() over and over and over with an ista value of 0x00 !!! Occasionally a ISAC_ISTA_RME (0x80) comes off the card, but that is normal, I guess. Is this perhaps a bug in ISAC_READ? I have no specs for this card (Elsa Microlink PCI), and I must say, am not at all an expert in these things. (All I know is that it doesn't hang if the ISDN cable is disconnected first :) Thanks, -Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message