From owner-freebsd-bugs Fri Oct 26 5:50:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1F1AE37B401 for ; Fri, 26 Oct 2001 05:50:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9QCo2q68063; Fri, 26 Oct 2001 05:50:02 -0700 (PDT) (envelope-from gnats) Date: Fri, 26 Oct 2001 05:50:02 -0700 (PDT) Message-Id: <200110261250.f9QCo2q68063@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Arjan Knepper Subject: Re: i386/30965: Cyclades Cyclom-Yep causes FreeBSD to hang during Reply-To: Arjan Knepper Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/30965; it has been noted by GNATS. From: Arjan Knepper To: Bruce Evans Cc: klemscot@klements.com, freebsd-gnats-submit@FreeBSD.org Subject: Re: i386/30965: Cyclades Cyclom-Yep causes FreeBSD to hang during Date: Fri, 26 Oct 2001 14:48:59 +0200 Bruce Evans wrote: >On Thu, 25 Oct 2001, Arjan Knepper wrote: > >>> >>>----------------------------------------------------------------------------- >>> >>> case PLX_9050: >>> outw(ioport + CY_PLX_9050_ICS, >>> inw(ioport + CY_PLX_9050_ICS) | >>>CY_PLX_9050_ICS_IENABLE | >>> CY_PLX_9050_ICS_LOCAL_IENABLE); >>>----------------------------------------------------------------------------- >>> > >Sorry I didn't reply to this before. > >I think it locks up here just because this enables the interrupt, an >interrupt occures immediately, and interrupt handling never completes. >You could try putting printfs in the interrupt handler (cyintr()). >Or using ddb, put breakpoints at interesting places in the interrupt >handler and see if they are hit. The initial interesting places are >the start of the interrupt handler (cyintr()) and when it returns (get >the return address using a trace command). > > >You could try the 0x41 -> 0x43 change easily. > Bruce, I have have just done this and it seems to solve the problems. I have to perform some test to make it sure. Scott Klement, Could you please try this? Change the the lines from line 135-138 in /usr/src/sys/pci/cy_pci.c to: ----------------------------------------------------------------------------- case PLX_9050: outw(ioport + CY_PLX_9050_ICS, inw(ioport + CY_PLX_9050_ICS) | CY_PLX_9050_ICS_IENABLE | CY_PLX_9050_ICS_LOCAL_IENABLE | 0x02 ); ----------------------------------------------------------------------------- Added '| 0x02' in line 138. Thanks, Arjan Knepper To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message