gnupg 1.2.2 on aix 5.1 on P660s and P690s

Ryan Wyler rjwyler at us.ibm.com
Mon Oct 13 11:43:36 CEST 2003


AIX 5.1 on P660 and P690 systems are still hanging.  Anyone else reporting 
this issue or is there any sort of work around?  We want to be able to use 
gnupg but this issue has become a huge road block.

Ryan Wyler
IBM Global Services





Ryan Wyler/Phoenix/IBM at IBMUS
Sent by: gnupg-devel-admin at gnupg.org
08/11/2003 09:42 AM

 
        To:     gnupg-devel at gnupg.org
        cc: 
        Subject:        Re: gnupg 1.2.2 on aix 5.1 on  P660s and P690s







Here are the requested greps out of config.h:
/* #undef HAVE_GETHRTIME */
/* #undef HAVE_BROKEN_GETHRTIME */
#define HAVE_GETTIMEOFDAY 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_TIMES 1

Here is the outputed /tmp/foo:
START RNDUNIX DEBUG pid=55616
Skipping /usr/bin/vmstat
Skipping /usr/bin/vmstat
/usr/bin/pfstat not present
Skipping /usr/bin/vmstat
/usr/ucb/netstat not present, has alternatives
Skipping /usr/sbin/netstat
Skipping /usr/etc/netstat
/usr/bin/nfsstat not present
/usr/ucb/netstat not present, has alternatives
Skipping /usr/sbin/netstat
Skipping /usr/etc/netstat
Skipping /usr/ucb/netstat
Skipping /usr/bin/netstat
Skipping /usr/sbin/netstat
Skipping /usr/etc/netstat
/usr/sbin/snmp_request not present
/usr/sbin/snmp_request not present
/usr/sbin/snmp_request not present
/usr/sbin/snmp_request not present
/usr/sbin/snmp_request not present
/usr/sbin/snmp_request not present
/usr/bin/mpstat not present
Skipping /usr/bsd/w
Skipping /bin/df
/usr/sbin/portstat not present
Skipping /usr/bsd/uptime
Skipping /usr/bin/vmstat
Skipping /usr/bin/vmstat
/usr/ucb/netstat not present, has alternatives
Skipping /usr/sbin/netstat
Skipping /usr/etc/netstat
/usr/ucb/ps not present, has alternatives
Skipping /bin/ps
Skipping /bin/ipcs
/etc/pstat not present, has alternatives
/bin/pstat not present
/etc/pstat not present, has alternatives
/bin/pstat not present
/etc/pstat not present, has alternatives
/bin/pstat not present
/etc/pstat not present, has alternatives
/bin/pstat not present
/etc/pstat not present, has alternatives
/bin/pstat not present
Skipping /usr/bsd/last
/usr/sbin/snmp_request not present
/usr/sbin/snmp_request not present
/etc/arp not present, has alternatives
/usr/etc/arp not present, has alternatives
/usr/bin/arp not present, has alternatives
Skipping /usr/bin/lpstat
Skipping /usr/ucb/lpstat
/usr/bin/tcpdump not present
/usr/sbin/advfsstat not present
/usr/sbin/advfsstat not present
/usr/sbin/advfsstat not present
/bin/vmstat -c contributed 0 bytes, usefulness = 2
/bin/vmstat -s contributed 534 bytes, usefulness = 4
/bin/vmstat -i contributed 601 bytes, usefulness = 3
/usr/bin/netstat -s contributed 6405 bytes, usefulness = 12
/usr/bin/netstat -m contributed 1477 bytes, usefulness = 2
/bin/netstat -in contributed 259 bytes, usefulness = 1
/usr/bin/w  contributed 192 bytes, usefulness = 0
/usr/bin/df  contributed 5211 bytes, usefulness = 5
/usr/bin/iostat  contributed 123 bytes, usefulness = 0
/usr/bin/uptime  contributed 67 bytes, usefulness = 0
/bin/vmstat -f contributed 13 bytes, usefulness = 0
/bin/vmstat  contributed 145 bytes, usefulness = 0
/usr/bin/netstat -n contributed 18393 bytes, usefulness = 8
/usr/bin/ps aux contributed 10275 bytes, usefulness = 3
/bin/ps -A contributed 3877 bytes, usefulness = 1
/usr/bin/ipcs -a contributed 1073 bytes, usefulness = 0
/usr/bin/last -n 50 contributed 27 bytes, usefulness = 0
/usr/sbin/arp -a contributed 381 bytes, usefulness = 0
/usr/sbin/ripquery -nw 1 127.0.0.1 contributed 99 bytes, usefulness = 0
/bin/lpstat -t contributed 0 bytes, usefulness = 0
Got 49152 bytes, usefulness = 39




  
                      Werner Koch   
                      <wk at gnupg.org>           To: gnupg-devel at gnupg.org   
 
                      Sent by:                 cc:    
                      gnupg-devel-admin        Subject:  Re: gnupg 1.2.2 
on aix 5.1 on  P660s and P690s 
                      @gnupg.org   
  
  
                      08/09/2003 01:56   
                      AM   
  
  




On Fri, 8 Aug 2003 14:14:03 -0700, Ryan Wyler said:

>    51232: access("/dev/random", 04)                       Err#2  ENOENT

Tries /dev/random -> does not exist

>    51232: socket(0x00000001, 0x00000001, 0x00000000, 0x00000000,
>    0x6F707900, 0x6F707900, 0x79000000, 0x00808080) = 0x00000009

Fallback to EGD

>    51232: connext(0x00000009, 0x2FF210FC, 0x00000019, 0x2FF21094,
>    0x2FF21090, 0x60180018, 0x60052965, 0x00000000) Err#2  ENOENT

No EGD running.

>    51232: close(9)                                        = 0
>    51232: appgetrusage(0x00000000, 0x2FF21508, 0x30000008, 0x0000013B,
>    0x00000008, 0x1A2811AF, 0x158928D3, 0x049EE8DA) = 0x00000000
>    51232: times(0x2FF214A0)                               = 15428393
>    51232: appgetrusage(0x00000000, 0x2FF214B8, 0x30000008, 0x00000193,
>    0x000000AD, 0x1A29B1EE, 0x158AC913, 0x049EE8DA) = 0x00000000
>    51232: times(0x2FF21450)                               = 15428394

That is are several fast random polls. However I expected to see a few
other system calls.  Can you please grep through config.h and tell us
how

 HAVE_GETHRTIME
 HAVE_BROKEN_GETHRTIME
 HAVE_GETTIMEOFDAY
 HAVE_CLOCK_GETTIME
 HAVE_TIMES

are defined.  This is definitely not the hanging problem, though.

You can also try to run this:

GNUPG_RNDUNIX_DBG=/tmp/foo GNUPG_RNDUNIX_DBGALL=1 \
  ./gpg -a --gen-random 2 10

/tmp/foo will be filled with info regarding the tools execed by the
rndunix entropy gatherer.



Salam-Shalom,

   Werner


--
Werner Koch                                      <wk at gnupg.org>
The GnuPG Experts                                http://g10code.com
Free Software Foundation Europe
http://fsfeurope.org


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel




_______________________________________________
Gnupg-devel mailing list
Gnupg-devel at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20031013/c4c19c6a/attachment-0001.htm


More information about the Gnupg-devel mailing list