* 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
* Re: shallow end of the entropy pool
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
1 sibling, 0 replies; 5+ messages in thread
From: Dr. David Gilbert @ 2001-11-06 9:25 UTC (permalink / raw)
To: axp-list
On Mon, 5 Nov 2001, Robert M. Riches Jr. wrote:
> 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.
Wow! That could explain something I've seen on and off for a while; startx
hanging until I hit a key. Thansk for finding it!
Dave
--
/------------------------------------------------------------------\
| Dr. David Alan Gilbert | |
| -------- G7FHJ --------|---------------------------------------- |
| Home: dave @ treblig.org http://www.treblig.org |
\------------------------------------------------------------------/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: shallow end of the entropy pool
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
1 sibling, 1 reply; 5+ messages in thread
From: Ken Siersma @ 2001-11-08 17:19 UTC (permalink / raw)
To: axp-list
I had this problem also, only it occurred because in my /etc/hosts file,
I had the following:
127.0.0.1 localhost.localdomain localhost ekk1
192.9.200.50 ekk1
^ permalink raw reply [flat|nested] 5+ messages in thread
* OT: Hammer
2001-11-08 17:19 ` Ken Siersma
@ 2001-11-08 22:39 ` Peter Watkinson
2001-11-08 23:44 ` jsturm1
0 siblings, 1 reply; 5+ messages in thread
From: Peter Watkinson @ 2001-11-08 22:39 UTC (permalink / raw)
To: axp-list
(also posted to comp.arch)
I'm a bit confused, I've read the following article about Itanium
http://athena.tweakers.net/reviews/204/1
And i've read that Itanium will have it's own instruction set to run
compatible windows 64bit code not compatible with 32bit instructions for IA
32 Pentium processors. However IA 64 will be able to run 32bit code if a bit
slowly.
However i've heard that AMD Hammer will be able to run 32bit code at native
64bit speeds thus offering a temporary advantage over Itanium at least until
64bit IA-64 software becomes more widely available.
However will Hammer be able to run Itanium native 64 bit code? Itanium is an
EPIC processor and I don't know what Hammer is. Is Windows 64 code
compatible across both processors? Seems a bit pointless for Hammer to be
64bit if it's only going to be running 32bit software.
The same goes for linux I know that Suse is developing a 64bit linux for
Hammer will Itanium and Hammer 64bit linux code be compatible? Also will
32bit x86 linux code run on Hammer or even Itanium?
After all Compaq Alpha NT code was only compatible with Alphas and x86 code
had to be binary translated using FX32. Alpha NT native code wouldn't be
compatible with Hammer or Itanium.
kind regards,
X-Signature: default
Peter Watkinson
peterw@u.genie.co.uk
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: OT: Hammer
2001-11-08 22:39 ` OT: Hammer Peter Watkinson
@ 2001-11-08 23:44 ` jsturm1
0 siblings, 0 replies; 5+ messages in thread
From: jsturm1 @ 2001-11-08 23:44 UTC (permalink / raw)
To: axp-list
On Thu, 8 Nov 2001, Peter Watkinson wrote:
> And i've read that Itanium will have it's own instruction set to run
> compatible windows 64bit code not compatible with 32bit instructions for IA
> 32 Pentium processors. However IA 64 will be able to run 32bit code if a bit
> slowly.
That's right.
> However i've heard that AMD Hammer will be able to run 32bit code at native
> 64bit speeds thus offering a temporary advantage over Itanium at least until
> 64bit IA-64 software becomes more widely available.
I don't understand what you mean by "run 32bit code at native 64bit
speeds". Hammer does appear to be much more similar to its x86 heritage
than Itanium; it's 64-bit ISA is a straightforward extension of the IA-32
ISA, and from what I hear it won't be crippled when executing IA-32 code.
> However will Hammer be able to run Itanium native 64 bit code? Itanium is an
> EPIC processor and I don't know what Hammer is. Is Windows 64 code
> compatible across both processors? Seems a bit pointless for Hammer to be
> 64bit if it's only going to be running 32bit software.
No. Hammer and Itanium are completely different processors. They will
have nothing in common except for their IA-32 compatibility.
Hammer's 64-bit ISA is completely new, and in order to take advantage of
it we will need support from operating systems, compilers, and commercial
software. AMD is working on these, or the first two at least.
> The same goes for linux I know that Suse is developing a 64bit linux for
> Hammer will Itanium and Hammer 64bit linux code be compatible?
No, the Linux kernel for Itanium is completely different than that for
Hammer.
> Also will 32bit x86 linux code run on Hammer or even Itanium?
Yes, both should support x86 legacy code.
> After all Compaq Alpha NT code was only compatible with Alphas and x86 code
> had to be binary translated using FX32. Alpha NT native code wouldn't be
> compatible with Hammer or Itanium.
Yep. Everybody has their own 64-bit CPU now... Intel, AMD, Sun, IBM,
Compaq, HP, SGI. They are all different. Perhaps the industry really
will converge on IA-64 as they did for x86... then again, perhaps not.
Jeff
^ 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