From owner-cvs-all Tue Oct 17 19:39:44 2000 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id BD32B37B479; Tue, 17 Oct 2000 19:39:38 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id e9I2dbn52832; Tue, 17 Oct 2000 20:39:37 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id UAA14108; Tue, 17 Oct 2000 20:39:36 -0600 (MDT) Message-Id: <200010180239.UAA14108@harmony.village.org> To: "John W . De Boskey" Subject: Re: cvs commit: src/etc rc rc.shutdown src/etc/defaults rc.conf Cc: Mark Murray , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Tue, 17 Oct 2000 22:36:50 EDT." <20001017223649.A2119@bsdwins.com> References: <20001017223649.A2119@bsdwins.com> <20001017211321.A1847@bsdwins.com> <200010171731.e9HHVY509578@grimreaper.grondar.za> <200010160445.VAA57829@freefall.freebsd.org> <200010171731.e9HHVY509578@grimreaper.grondar.za> <200010172326.RAA12795@harmony.village.org> <20001017211321.A1847@bsdwins.com> <200010180225.UAA13973@harmony.village.org> Date: Tue, 17 Oct 2000 20:39:36 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20001017223649.A2119@bsdwins.com> "John W . De Boskey" writes: : ----- Warner Losh's Original Message ----- : > In message <20001017211321.A1847@bsdwins.com> "John W. De Boskey" writes: : > : I don't believe your system is hung, as much as it is simply : > : trying to process all the data being redirected to /dev/random. : > : > Correct. But it is taking an annoyingly long time to do that. Like : > an hour or more. : : I think my patch should help here. OK. : > : I have some patches to help speed this up (and possibly remove : > : some of the directory cat'ing and replacing it with more : > : variable input). : > : > I've hacked my rc scripts to input less entropy (which is still : > excruciatingly slow). : : What speed is your machine. With my patches a 200Mhz PPro : runs the data in 63 seconds. P300. BTW, that's 60 seconds too long to be in the boot sequence. 63 seconds is too long for anything except a fsck on a dirty file system, imho. : > : > : fyi: try rebooting your system via 'init 6' or 'shutdown -r now' : > : which will write the /entropy file, thus avoiding the : > : code which is currently giving you problems. : > : > Except when it doesn't, which it usually doesn't. This is for halt, : > reboot and C-A-Delete. : : See pr 14829. We don't have a consistant way to bring the system : down (and save state for any processes that need it like random : and nfs). Hmmmm. Bummer. Guess we'll have to add it then. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message