Subject: Re: ypbind hangs as of current from midday yesterday (kern+user)
To: Christos Zoulas <christos@astron.com>
From: Sarton O'Brien <bsd-xen@roguewrt.org>
List: current-users
Date: 06/28/2007 13:49:22
On Thu, 28 Jun 2007 12:29:34 pm Christos Zoulas wrote:
> Did you post a ktrace of it?

Here goes ... first time for everything. If I've done something wrong or could 
do it better or properly, let me know :)

Below is the output. This repeats indefinitely:


  1447      1 ypbind   RET   read 500/0x1f4
  1447      1 ypbind   CALL  read(9,0x8068000,0x4000)
  1447      1 ypbind   GIO   fd 9 read 0 bytes
       ""
  1447      1 ypbind   RET   read 0
  1447      1 ypbind   CALL  close(9)
  1447      1 ypbind   RET   close 0
  1447      1 ypbind   CALL  sendto(6,0xbfbfd4b0,0x88,0,0xbfbfde88,0x10)
  1447      1 ypbind   GIO   fd 6 wrote 136 bytes
       "\0\0\0\0\0\0\0\0\0\0\0\^B\0\^A\M^F\240\0\0\0\^B\0\0\0\^E\0\0\0\^A\0\0\0DF\M^C\^Y\
        
\M-\\0\0\0\^Nspike.internal\0\0\0\0\0\0\0\0\0\0\0\0\0\b\0\0\0\0\0\0\0\^B\0\0\0\^C\0\
        
\0\0\^D\0\0\0\^E\0\0\0\^T\0\0\0\^_\0\0\^B\0\0\0\0\0\0\0\0\0\0\^A\M^F\M-$\0\0\0\^B\0\
        \0\0\^B\0\0\0\f\0\0\0\binternal"
  1447      1 ypbind   RET   sendto 136/0x88
  1447      1 ypbind   CALL  read(8,0x8064000,0x4000)
  1447      1 ypbind   GIO   fd 8 read 0 bytes
       ""
  1447      1 ypbind   RET   read 0
  1447      1 ypbind   CALL  gettimeofday(0xbfbfcbb8,0)
  1447      1 ypbind   RET   gettimeofday 0
  1447      1 ypbind   CALL  select(8,0xbfbfdfb0,0,0,0xbfbfdfe8)
  1447      1 ypbind   RET   select 0
  1447      1 ypbind   CALL  gettimeofday(0xbfbfcbb8,0)
  1447      1 ypbind   RET   gettimeofday 0
  1447      1 ypbind   CALL  select(8,0xbfbfdfb0,0,0,0xbfbfdfe8)
  1447      1 ypbind   RET   select 0
  1447      1 ypbind   CALL  gettimeofday(0xbfbfcbb8,0)
  1447      1 ypbind   RET   gettimeofday 0
  1447      1 ypbind   CALL  select(8,0xbfbfdfb0,0,0,0xbfbfdfe8)
  1447      1 ypbind   RET   select 0
  1447      1 ypbind   CALL  gettimeofday(0xbfbfcbb8,0)
  1447      1 ypbind   RET   gettimeofday 0
  1447      1 ypbind   CALL  select(8,0xbfbfdfb0,0,0,0xbfbfdfe8)
  1447      1 ypbind   RET   select 0
  1447      1 ypbind   CALL  gettimeofday(0xbfbfcbb8,0)
  1447      1 ypbind   RET   gettimeofday 0
  1447      1 ypbind   CALL  select(8,0xbfbfdfb0,0,0,0xbfbfdfe8)
  1447      1 ypbind   RET   select 0
  1447      1 ypbind   CALL  gettimeofday(0xbfbfcbb8,0)
  1447      1 ypbind   RET   gettimeofday 0
  1447      1 ypbind   CALL  select(8,0xbfbfdfb0,0,0,0xbfbfdfe8)
  1447      1 ypbind   RET   select 0
  1447      1 ypbind   CALL  gettimeofday(0xbfbfcbb8,0)
  1447      1 ypbind   RET   gettimeofday 0
  1447      1 ypbind   CALL  __sysctl(0xbfbfca48,2,0xbfbfcac7,0xbfbfca50,0,0)
  1447      1 ypbind   RET   __sysctl 0
  1447      1 ypbind   CALL  geteuid
  1447      1 ypbind   RET   geteuid 0
  1447      1 ypbind   CALL  getegid
  1447      1 ypbind   RET   getegid 0
  1447      1 ypbind   CALL  getgroups(0x10,0xbfbfca84)
  1447      1 ypbind   RET   getgroups 8
  1447      1 ypbind   CALL  gettimeofday(0xbfbfc8a0,0)
  1447      1 ypbind   RET   gettimeofday 0
  1447      1 ypbind   CALL  lseek(8,0,0,0,0)
  1447      1 ypbind   RET   lseek 0
  1447      1 ypbind   CALL  read(8,0x8064000,0x4000)
  1447      1 ypbind   GIO   fd 8 read 15 bytes
       "spike.internal
       "
  1447      1 ypbind   RET   read 15/0xf
  1447      1 ypbind   CALL  __stat30(0xbbb9d6a0,0xbfbfca68)
  1447      1 ypbind   NAMI  "/etc/nsswitch.conf"
  1447      1 ypbind   RET   __stat30 0
  1447      1 ypbind   CALL  open(0xbbb9b9e3,0,0x1b6)
  1447      1 ypbind   NAMI  "/etc/hosts"
  1447      1 ypbind   RET   open 9
  1447      1 ypbind   CALL  __fstat30(9,0xbfbfc908)
  1447      1 ypbind   RET   __fstat30 0
  1447      1 ypbind   CALL  read(9,0x8068000,0x4000)
  1447      1 ypbind   GIO   fd 9 read 500 bytes
       "::1                     localhost       localhost.internal
        127.0.0.1               localhost       localhost.internal

        # Entries to allow offline-DNS NFS mounts
        192.168.8.10          gogeta          gogeta.internal
        192.168.8.9           symbiote        symbiote.internal
        192.168.8.8           spike           spike.internal
        192.168.8.7           sammy           sammy.internal
        192.168.8.20          cre             cre.internal
        192.168.8.6           babylon         babylon.internal
        192.168.8.102         portal-wired    portal-wired.internal

        192.168.8.123         portal          portal.internal

        # NIS update hack (strips the last char)
        # 192.168.8.8         spike           spike.interna
       "

I hope this helps ...

Sarton