Subject: port-i386/13867: pchb RNG lacks support for the 82443BX chipset
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dive@endersgame.net>
List: netbsd-bugs
Date: 09/05/2001 02:13:02
>Number: 13867
>Category: port-i386
>Synopsis: pchb_rnd.c doesn't have a hook to use the RNG on the 82443BX chipset
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-i386-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 04 19:08:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Sean Davis
>Release: 20010904
>Organization:
>Environment:
System: NetBSD eros.endersgame.net 1.5X NetBSD 1.5X (EROS) #0: Tue Sep 4 21:23:43 EDT 2001 dive@eros.endersgame.net:/current/src/sys/arch/i386/compile/EROS i386
Architecture: i386
Machine: i386
>Description:
the random number generator on the 82443BX host bridge is not supported in
pchb_rnd.c, but once a hook is added, it is enabled and initialized on
bootup, and works perfectly as a source of entropy.
>How-To-Repeat:
boot a box with that chipset and notice that you dont see it enable the
random number generator? I dunno
>Fix:
cd to /sys/arch/i386/pci, and apply the following patch:
*** CUT HERE; rnd_82443BX.diff ***
--- pchb_rnd.c.orig Tue Sep 4 21:58:42 2001
+++ pchb_rnd.c Tue Sep 4 21:59:13 2001
@@ -67,6 +67,7 @@
case PCI_PRODUCT_INTEL_82815_FULL_HUB:
case PCI_PRODUCT_INTEL_82820_MCH:
case PCI_PRODUCT_INTEL_82840_HB:
+ case PCI_PRODUCT_INTEL_82443BX:
sc->sc_st = pa->pa_memt;
if (bus_space_map(sc->sc_st, I82802_IOBASE,
I82802_IOSIZE, 0, &sc->sc_sh) != 0) {
*** END rnd_82443BX.diff ***
>Release-Note:
>Audit-Trail:
>Unformatted: