[ENBD] Re: Client timeout - renegotiation failed - connection dead

Peter T. Breuer ptb at inv.it.uc3m.es
Sat Mar 4 04:08:15 MST 2006


"Also sprach scunacc:"
> It's probably a real time skew - ntpd catching up with reality at some
> point close after boot.

Since a couple of people are having time problems, I took the opportunity
to replace the calls to gettimeofday in time.c with calls to the
"secret" uptime function in libproc, if available (you need libproc-dev,
or point a libproc.so link from /usr/lib at your libproc.so.x.y.z in
/lib).  That should use real time since boot instead of system time's
changing idea of UTC.

This affects the client only, and requires /proc be mounted (but falls
back to system time if it's not, and that probably will cause problems
too on its own, grr  ...).

I flushed the current 2.4.33pre to the ftp server. It compiles here.
Untested otherwise. I'll test later today.


> I'll try again with ntpd turned off and see.

Peter


More information about the ENBD mailing list