Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: No address anymore for 5.99.6 dhclient with 5.99.7 kernel ?



In article <20090112140814.GA26330%medusa.sis.pasteur.fr@localhost>,
Nicolas Joly  <njoly%pasteur.fr@localhost> wrote:
>
>Hi,
>
>I just installed a 5.99.7 kernel (+modules) on 2 of my -current
>NetBSD/amd64 workstations, but not updated userlands yet.
>
>I then noticed that both of them do not get an IP address from
>dhclient anymore ... either at boot, or when started
>manually. Reverting to a previous 5.99.6 kernel make it work.
>
>This is mostly a GENERIC kernel, with DEBUG/DIAGNOSTIC/LOCKDEBUG
>enabled (and a few other devices) :
>
>include "arch/amd64/conf/GENERIC"
>options         DEBUG
>options         DIAGNOSTIC
>options         LOCKDEBUG
>makeoptions     DEBUG="-g"
>
>[...]
>Starting dhclient.
>Internet Systems Consortium DHCP Client V3.0.3
>Copyright 2004-2005 Internet Systems Consortium.
>All rights reserved.
>For info, please visit http://www.isc.org/products/DHCP
>
>Listening on BPF/bge0/00:e0:81:31:59:61
>Sending on   BPF/bge0/00:e0:81:31:59:61
>Sending on   Socket/fallback
>DHCPREQUEST on bge0 to 255.255.255.255 port 67
>DHCPREQUEST on bge0 to 255.255.255.255 port 67
>DHCPDISCOVER on bge0 to 255.255.255.255 port 67 interval 3
>DHCPDISCOVER on bge0 to 255.255.255.255 port 67 interval 4
>DHCPDISCOVER on bge0 to 255.255.255.255 port 67 interval 10
>DHCPDISCOVER on bge0 to 255.255.255.255 port 67 interval 14
>DHCPDISCOVER on bge0 to 255.255.255.255 port 67 interval 17
>DHCPDISCOVER on bge0 to 255.255.255.255 port 67 interval 13
>No DHCPOFFERS received.
>Trying recorded lease 157.99.xx.xx
>PING 157.99.xx.xx (157.99.xx.xx): 56 data bytes
>
>----157.99.xx.xx PING Statistics----
>1 packets transmitted, 1 packets received, 0.0% packet loss
>round-trip min/avg/max/stddev = 0.906/0.906/0.906/0.000 ms
>bound: renewal in 2313 seconds.
>[...]
>

Make sure you have COMPAT_50 in your kernel config, otherwise
getifaddrs does not work. I.e. ifconfig -a will fail with EINVAL.
(it is mentioned in UPDATING)

christos



Home | Main Index | Thread Index | Old Index