Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* shallow end of the entropy pool
@ 2001-11-06  5:48 Robert M. Riches Jr.
  2001-11-06  9:25 ` Dr. David Gilbert
  2001-11-08 17:19 ` Ken Siersma
  0 siblings, 2 replies; 5+ messages in thread
From: Robert M. Riches Jr. @ 2001-11-06  5:48 UTC (permalink / raw)
  To: axp-list

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-11-08 23:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-06  5:48 shallow end of the entropy pool Robert M. Riches Jr.
2001-11-06  9:25 ` Dr. David Gilbert
2001-11-08 17:19 ` Ken Siersma
2001-11-08 22:39   ` OT: Hammer Peter Watkinson
2001-11-08 23:44     ` jsturm1

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox