From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.44.254]) by listman.redhat.com (Postfix) with ESMTP id C31D03EBBA for ; Tue, 6 Nov 2001 00:48:52 -0500 (EST) Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id fA65mqp06423 for ; Tue, 6 Nov 2001 00:48:52 -0500 Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id fA65mqI14493 for axp-list@listman.redhat.com; Tue, 6 Nov 2001 00:48:52 -0500 Received: from gtedhcp-60.inetarena.com (GTEDHCP-60.inetarena.com [206.129.92.60]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id fA65mpw14489 for ; Tue, 6 Nov 2001 00:48:51 -0500 Received: (from rob@localhost) by gtedhcp-60.inetarena.com (8.11.6/8.11.6) id fA65mo328630 for axp-list@redhat.com; Mon, 5 Nov 2001 21:48:50 -0800 Date: Mon, 5 Nov 2001 21:48:50 -0800 From: "Robert M. Riches Jr." Message-Id: <200111060548.fA65mo328630@gtedhcp-60.inetarena.com> To: axp-list@redhat.com Subject: shallow end of the entropy pool X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Greetings, When I upgraded from RH7.0 to RH7.1, the X server started taking much longer to come up. This problem and solution showed up on an Alpha machine, but I don't know whether it's Alpha-specific. In case it will help (or amuse) anyone else, ... The startx script, used to start an X window system server, calls the mcookie command, and this creates a security cookie by reading from /dev/random, reading from the entropy pool. If the entropy pool is empty, the read from /dev/random waits until there are enough bits of randomness available for mcookie. This prevents the X server from starting as quickly as it should. The easiest solution, as crazy as it sounds, is to type gibberish at the keyboard or move the mouse around (or presumably tap the mouse buttons). This user input provides the kernel the opportunity to refill the entropy pool, which allows the read of /dev/random to complete, which allows mcookie to finish its work, which allows the X server to do its thing. Robert Riches richesr1@inetarena.com