From owner-freebsd-sparc64@FreeBSD.ORG Sat Feb 21 23:59:28 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90EFE16A4CE; Sat, 21 Feb 2004 23:59:28 -0800 (PST) Received: from smtp1.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B82243D1D; Sat, 21 Feb 2004 23:59:28 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp1.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i1M7xRvB001856; Sun, 22 Feb 2004 02:59:27 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: References: <20040215060047.GA62840@dhcp01.pn.xcllnt.net> <20040215165913.M30161@grogged.dyndns.org> Date: Sun, 22 Feb 2004 02:59:26 -0500 To: sparc64@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Re: Problem with DHCLIENT vs 64-bit time_t X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 07:59:28 -0000 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