From owner-freebsd-stable@FreeBSD.ORG Sat Feb 21 21:47:30 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 A192E16A4CE for ; Sat, 21 Feb 2004 21:47:30 -0800 (PST) Received: from horsey.gshapiro.net (horsey.gshapiro.net [64.105.95.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BFF043D1F for ; Sat, 21 Feb 2004 21:47:30 -0800 (PST) (envelope-from gshapiro@gshapiro.net) Received: from horsey.gshapiro.net (localhost [127.0.0.1]) id i1M5lUh3072431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 21 Feb 2004 21:47:30 -0800 (PST) Received: (from gshapiro@localhost)i1M5lU7P072430; Sat, 21 Feb 2004 21:47:30 -0800 (PST) Date: Sat, 21 Feb 2004 21:47:30 -0800 From: Gregory Neil Shapiro To: "Marc G. Fournier" Message-ID: <20040222054729.GR62095@horsey.gshapiro.net> References: <20040222010209.L48887@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040222010209.L48887@ganymede.hub.org> User-Agent: Mutt/1.5.6i 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:47:30 -0000 > 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).