[lkml]   [2002]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectProblem with random.c and PPC
Hello !!!

I am trying to use a program (ipsec newhostkey) that uses the random device
provided by the linux-kernel. In a x86 machine the program works fine but
when I tried to run the program in a PPC machine it doesn't work.

Looking carefully I have discovered that the problem is in the driver
random.c. When the program tries to read any amount of data it locks and
never returns. It happens because the variable "random_state->entropy_count"
is always zero, that is, any random number is generated at all !!!??.

Does anyone know anything about this problem ? Any sort of help is very

Henrique Gobbi

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.075 / U:1.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site