Date: Fri, 26 Oct 2001 05:50:02 -0700 (PDT) From: Arjan Knepper <arjan@jak.nl> To: freebsd-bugs@FreeBSD.org Subject: Re: i386/30965: Cyclades Cyclom-Yep causes FreeBSD to hang during Message-ID: <200110261250.f9QCo2q68063@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/30965; it has been noted by GNATS. From: Arjan Knepper <arjan@jak.nl> To: Bruce Evans <bde@zeta.org.au> 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: > >>> >>>--------<snipped>--------------------------------------------------------------------- >>> >>> 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); >>>--------<snipped>--------------------------------------------------------------------- >>> > >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: --------<snipped>--------------------------------------------------------------------- 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 ); --------<snipped>--------------------------------------------------------------------- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110261250.f9QCo2q68063>