rndcontrol doesn't work on -STABLE?

Marc G. Fournier scrappy at hub.org
Sat Feb 21 21:53:53 PST 2004


On Sat, 21 Feb 2004, Gregory Neil Shapiro wrote:

> > Following instructions I found on the web to deal with rndc issues, I
> > tried to sent entropy by doing the following:
> > da4 at ahd1 bus 0 target 4 lun 0
> > neptune# rndcontrol -s 17
> > rndcontrol: setting irq 17
> > rndcontrol: rndcontrol: Invalid argument
>
> I found this comment in src/sys/i386/i386/mem.c:
>
>         /*
>          * 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.
>
> This is right before the code that checks the irq:
>
>                 if (intr < 0 || intr >= 16)
>                         return (EINVAL);
>
> I doubt this will be changed as it is gone in 5.X (thanks to the new
> entropy gathering in -CURRENT).

Great ... another reason to move up ... but, short term, is there any
other way of doing this?  user land daemon or something?  I know when I
used to deal with Solaris, there were a few that could be used for use
with sshd, since Solaris wasn't shipping with a /dev/random ...



----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664


More information about the freebsd-stable mailing list