* Re: [Re: [RNDGETENTCNT ioctl]]
@ 2002-02-08 10:44 Eric
2002-02-11 9:56 ` Marco Colombo
0 siblings, 1 reply; 2+ messages in thread
From: Eric @ 2002-02-08 10:44 UTC (permalink / raw)
To: ultralinux
Marco Colombo <marco@esi.it> wrote:
> I'm pretty willing to grab another tree and compile it,
> but I'd like to know which one in advance instead of going
> on by trial & error. The system is Red Hat 6.2 so I need a
> 2.2.x kernel.
As DaveM mentioned, that was a patch against the 2.4.x series
but the patch is remarkably similar for the 2.2.x kernels.
This is against the linux_2_2 branch of CVS at vger.samba.org.
If this does not patch cleanly into your RedHat sources, I am
certain a little initiative will get you the rest of the way:
--- ioctl32.c Thu Jun 7 18:34:11 2001
+++ ioctl32.c.new Fri Feb 8 10:30:24 2002
@@ -44,6 +44,7 @@
#include <linux/in6.h>
#include <linux/ipv6_route.h>
#include <linux/pci.h>
+#include <linux/random.h>
#include <net/sock.h>
#include <scsi/scsi.h>
@@ -3147,6 +3148,9 @@
case DRM_IOCTL_UNLOCK:
case DRM_IOCTL_FINISH:
#endif /* DRM */
+
+ /* Big R */
+ case RNDGETENTCNT:
/* Misc. */
case 0x41545900: /* ATYIO_CLKR */
Happy patching,
E
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Re: [RNDGETENTCNT ioctl]]
2002-02-08 10:44 [Re: [RNDGETENTCNT ioctl]] Eric
@ 2002-02-11 9:56 ` Marco Colombo
0 siblings, 0 replies; 2+ messages in thread
From: Marco Colombo @ 2002-02-11 9:56 UTC (permalink / raw)
To: ultralinux
On 8 Feb 2002, Eric wrote:
> Marco Colombo <marco@esi.it> wrote:
>
> > I'm pretty willing to grab another tree and compile it,
> > but I'd like to know which one in advance instead of going
> > on by trial & error. The system is Red Hat 6.2 so I need a
> > 2.2.x kernel.
>
> As DaveM mentioned, that was a patch against the 2.4.x series
> but the patch is remarkably similar for the 2.2.x kernels.
> This is against the linux_2_2 branch of CVS at vger.samba.org.
> If this does not patch cleanly into your RedHat sources, I am
> certain a little initiative will get you the rest of the way:
Eric, patching is no problem B-)
that's what I was meaning with my first message.
Now, I've discovered that my Ultra 1 has a very low entropy bits count,
as I was suspecting (it's an "headless" server, only network and disk
I/O). I guess I need an entropy source of some kind, but this is
a story for another list. B-)
I'll look closer at the code to try and understand the issues of 32->64bit
conversion. Before running an entropy collector daemon, I need the
others 'R' ioctls (RNDADDENTROPY as a minumum). Some of them do take
int * as the third argument, so I guess I need some hacking. If I manage
to produce an useful patch, I'll post it.
Thanks for your support.
.TM.
--
____/ ____/ /
/ / / Marco Colombo
___/ ___ / / Technical Manager
/ / / ESI s.r.l.
_____/ _____/ _/ Colombo@ESI.it
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-11 9:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-08 10:44 [Re: [RNDGETENTCNT ioctl]] Eric
2002-02-11 9:56 ` Marco Colombo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox