Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2004 01:49:00 -0400 (AST)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Gregory Neil Shapiro <gshapiro@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: rndcontrol doesn't work on -STABLE?
Message-ID:  <20040222014736.I48887@ganymede.hub.org>
In-Reply-To: <20040222054729.GR62095@horsey.gshapiro.net>
References:  <20040222010209.L48887@ganymede.hub.org> <20040222054729.GR62095@horsey.gshapiro.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@hub.org           Yahoo!: yscrappy              ICQ: 7615664


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