Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Mar 2000 17:33:55 +1000
From:      Stephen McKay <syssgm@nymph.detir.qld.gov.au>
To:        freebsd-current@freebsd.org
Cc:        syssgm@nymph.detir.qld.gov.au
Subject:   /dev/random limited to irq < 16
Message-ID:  <200003020733.RAA31132@nymph.detir.qld.gov.au>

next in thread | raw e-mail | index | archive | help
I found out much to my surprise that our SMP box is not collecting ANY
entropy for /dev/random.  All the interesting IRQs are over 16, and
nobody uses the console.

From sys/i386/i386/mem.c 1.79:

        /*
         * XXX the data is 16-bit due to a historical botch, so we use
         * magic 16's instead of ICU_LEN and can't support 24 interrupts
         * under SMP.
         */

Why don't we just flip this from a 16 bit to a 32 bit parameter in time
for 4.0-RELEASE?  Should just require a quick fiddle in mem.c and in
rndcontrol.

Stephen.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003020733.RAA31132>