Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2004 02:59:26 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        sparc64@freebsd.org
Subject:   Re: Problem with DHCLIENT vs 64-bit time_t
Message-ID:  <p06020466bc5e09bf7182@[128.113.24.47]>
In-Reply-To: <p06020425bc571c20bcde@[128.113.24.47]>
References:  <p06020407bc533f0ae9d2@[128.113.24.47]> <20040215060047.GA62840@dhcp01.pn.xcllnt.net> <p0602040ebc54c885236b@[128.113.24.47]> <20040215165913.M30161@grogged.dyndns.org> <p06020425bc571c20bcde@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
At 8:33 PM -0500 2/16/04, Garance A Drosihn wrote:
>At 5:13 PM -0600 2/15/04, matt wrote:
>
>And in a later message, he wrote:
>>  Killing dhclient brought things back to normal - and yes, I
>>  did remove /var/db/dhcp.leases (had to, dhclient wouldn't
>>  work until I did).  My kernel was just a run of the mill
>>  GENERIC, no changes.
>
>Well, there does seem to be some kind of problem here, but I
>don't know what to do about it just yet.  In my earlier testing,
>I did do some testing with a dhcp-configured machine, but not a
>lot of it.

I did a little more testing on this.  On my 32-bTT sparc64 system,
I can run  'dhclient -v hme0'  by hand (after the system has
booted up), and it works fine.  On the same system upgraded to
64-bTT, the command hangs after printing out
      'Sending on   Socket/fallback'
I let it sit there for several minutes, and it just never got
past that point.  I had to attention out of it.

I did find that if I install the port for net/isc-dhcp3-client,
I can type:
    /usr/local/sbin/dhclient hme0

and it seems to work fine.  (the version in the ports-collection
does not support a -v option).  The only obviously incorrect
comment in the output from the program was:

bound to 128.113.24.149 -- renewal in 4627546198780150248 seconds.

I am pretty sure that our lease-renewal time is somewhat smaller
than that....

So, there definitely is something wrong with the dhclient from
the base system  But it might be that people having trouble with
dhcp on 64-bTT sparc systems could use the port, at least for
the short-term.

disclaimer: I just ran the port-built version by hand.  I did
not check to see how you would run this version instead of the
base-system version at system-startup.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06020466bc5e09bf7182>