Subject: Re: ypbind hangs as of current from midday yesterday (kern+user)
To: Sarton O'Brien <>
From: Manuel Bouyer <>
List: current-users
Date: 06/27/2007 11:08:06
On Wed, Jun 27, 2007 at 09:54:22AM +1000, Sarton O'Brien wrote:
> It is the server I am trying to start ypbind on. When initiating ypbind via an 
> ssh session, I can ping the server and the ssh session I am in is fine but I 
> can't ssh in from another console. As soon as I ^C the ssh client in the 
> other console logs in.

It's probably because it's waiting on ypbind. Once ypbind is killed
nsswitch only uses local files again.

> Loopback is seeing:
> 09:44:50.049092 IP (tos 0x0, ttl  64, id 21366, offset 0, flags [none], 
> length: 164, bad cksum 0 (->28d1)!) localhost.65458 > localhost.sunrpc: UDP, 
> [...]

it's normal on loopback I think, checksums are not computed on loopback.
You can try:
sysctl -w net.inet.ip.do_loopback_cksum=1
sysctl -w net.inet.tcp.do_loopback_cksum=1
sysctl -w net.inet.udp.do_loopback_cksum=1

> And with daily output telling me this in dom0 (daily from domu is fine):
> network:
> netstat: kvm_read: Bad address
> Name            Ipkts  Ierrs        Opkts  Oerrs  Colls
> I'm getting the impression it's network card related.

Maybe kernel/userland mismatch ?

Manuel Bouyer, LIP6, Universite Paris VI. 
     NetBSD: 26 ans d'experience feront toujours la difference