From owner-freebsd-stable@FreeBSD.ORG Sat Feb 21 21:53:53 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C976216A4CE; Sat, 21 Feb 2004 21:53:53 -0800 (PST) Received: from ganymede.hub.org (u46n208.hfx.eastlink.ca [24.222.46.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id A220443D1D; Sat, 21 Feb 2004 21:53:53 -0800 (PST) (envelope-from scrappy@hub.org) Received: by ganymede.hub.org (Postfix, from userid 1000) id 3681334F44; Sun, 22 Feb 2004 01:49:01 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 0B4E43475D; Sun, 22 Feb 2004 01:49:00 -0400 (AST) Date: Sun, 22 Feb 2004 01:49:00 -0400 (AST) From: "Marc G. Fournier" To: Gregory Neil Shapiro In-Reply-To: <20040222054729.GR62095@horsey.gshapiro.net> Message-ID: <20040222014736.I48887@ganymede.hub.org> References: <20040222010209.L48887@ganymede.hub.org> <20040222054729.GR62095@horsey.gshapiro.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: rndcontrol doesn't work on -STABLE? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 05:53:53 -0000 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