Date: Wed, 3 Jan 2001 12:04:18 +1100 (EST) From: marka@nominum.com To: FreeBSD-gnats-submit@freebsd.org Subject: kern/24032: pccard & rndcontrol Message-ID: <200101030104.f0314IN77226@drugs.dv.isc.org> Resent-Message-ID: <200101030110.f031A1O40184@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 24032 >Category: kern >Synopsis: rndcontrol and pccardd use of interupt handler incompatable >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 02 17:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Mark Andrews >Release: FreeBSD 4.2-RELEASE i386 >Organization: Nominum >Environment: FreeBSD drugs.dv.isc.org 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Fri Nov 24 00:33:35 EST 2000 marka@drugs.dv.isc.org:/usr/obj/usr/src/sys/DRUGS i386 >Description: rndcontrol and pccard use of the interupt handler is incompatable with each other. It is possible to remove the interupt handler of a installed card via rndcontrol -c irq. Inserting a card clears the interupt handler installed via rndcontrol without clearing the associated bit in the mask. >How-To-Repeat: rndcontrol -s <irq> insert card that wil use <irq> rndcontrol -c <irg> >Fix: Minimum fix, rndcontrol -c should ensure that it is still the installed handler before trying to restore the handler saved via rndcontrol -s. A full fix would require two interupt handling tables one for rndcontrol to manipulate and for the devices to manipulate The handlers in the later called from the handlers in the former. There are other alternatives which require the code intalling the interupt handlers to know about add_interrupt_randomness and do the appopriate things. >Release-Note: >Audit-Trail: >Unformatted: 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?200101030104.f0314IN77226>