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

Bug#479473: debian-installer: DHCP client fails to assign address during install



Package: debian-installer
Version: Debian GNU/Linux testing "Lenny" - Official Snapshot i386 BC Binary-1 20080316-10:44
Severity: normal


Earlier, I tried setting up a new test system for some debugging of another package. As I run a apt-cache I (as always) downloaded the smallest install package I could find, the business card netinst image.

However, I was unable to obtain an IP address via DHCP. My network uses DHCP and works (and this install used it fine once it had completed), so I do not believe that to be at fault. However, even after switching to manually entering my netowrk details I was unable to download the releases fie. I had to restart and enter my settings manually first time before I could proceed with the installation, which was otherwise uneventful. Here's the log of another attempt (it's 100% reproducable):
> May  4 23:22:15 net/hw-detect.hotplug: Detected hotpluggable network interface lo
> May  4 23:22:15 kernel: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
> May  4 23:22:15 kernel: 8139cp 0000:00:0a.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
> May  4 23:22:15 kernel: 8139cp 0000:00:0a.0: Try the "8139too" driver instead.
> May  4 23:22:15 kernel: 8139too Fast Ethernet driver 0.9.28
> May  4 23:22:15 kernel: ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9
> May  4 23:22:15 kernel: PCI: setting IRQ 9 as level-triggered
> May  4 23:22:15 kernel: ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 9 (level, low) -> IRQ 9
> May  4 23:22:15 kernel: eth0: RealTek RTL8139 at 0xd000, xx:xx:xx:xx:xx:xx, IRQ 9
> May  4 23:22:15 kernel: eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
> May  4 23:22:15 net/hw-detect.hotplug: Detected hotpluggable network interface eth0
> May  4 23:22:16 kernel: Intel ISA PCIC probe: not found.
> May  4 23:22:16 hw-detect: Loading PCMCIA bridge driver module: i82365
> May  4 23:22:16 hw-detect: FATAL: Error inserting i82365 (/lib/modules/2.6.22-3-486/kernel/drivers/pcmcia/i82365.ko): No such device
> May  4 23:22:17 net/hw-detect.hotplug: Detected hotpluggable network interface eth0
> May  4 23:22:17 net/hw-detect.hotplug: Detected hotpluggable network interface lo
> May  4 23:22:18 main-menu[948]: INFO: Menu item 'netcfg' selected
> May  4 23:22:18 dhclient: Internet Systems Consortium DHCP Client V3.1.0
> May  4 23:22:18 dhclient: Copyright 2004-2007 Internet Systems Consortium.
> May  4 23:22:18 dhclient: All rights reserved.
> May  4 23:22:18 dhclient: For info, please visit http://www.isc.org/sw/dhcp/
> May  4 23:22:18 dhclient:
> May  4 23:22:18 kernel: eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
> May  4 23:22:19 dhclient: Listening on LPF/eth0/xx:xx:xx:xx:xx:xx
> May  4 23:22:19 dhclient: Sending on   LPF/eth0/xx:xx:xx:xx:xx:xx
> May  4 23:22:19 dhclient: Sending on   Socket/fallback
> May  4 23:22:20 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
> May  4 23:22:20 dhclient: DHCPOFFER from y.y.y.250
> May  4 23:22:20 dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
> May  4 23:22:21 dhclient: DHCPACK from y.y.y.250
> May  4 23:22:21 dhclient: dhclient.c(2129): null pointer
> May  4 23:22:21 dhclient: DHCPDECLINE on eth0 to 255.255.255.255 port 67
> May  4 23:22:21 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
> May  4 23:22:21 dhclient: DHCPOFFER from y.y.y.250
> May  4 23:22:21 dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
> May  4 23:22:22 dhclient: DHCPACK from y.y.y.250
> May  4 23:22:22 dhclient: dhclient.c(2129): null pointer
> May  4 23:22:22 dhclient: DHCPDECLINE on eth0 to 255.255.255.255 port 67
> May  4 23:22:22 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
> May  4 23:22:22 main-menu[948]: (process:6264): Internet Systems Consortium DHCP Client V3.1.0
> May  4 23:22:22 main-menu[948]: (process:6264): Copyright 2004-2007 Internet Systems Consortium.
> May  4 23:22:22 main-menu[948]: (process:6264): All rights reserved.
> May  4 23:22:22 main-menu[948]: (process:6264): For info, please visit http://www.isc.org/sw/dhcp/
> May  4 23:22:22 main-menu[948]: (process:6264):
> May  4 23:22:22 main-menu[948]: (process:6264): Listening on LPF/eth0/xx:xx:xx:xx:xx:xx
> May  4 23:22:22 main-menu[948]: (process:6264): Sending on   LPF/eth0/xx:xx:xx:xx:xx:xx
> May  4 23:22:22 main-menu[948]: (process:6264): Sending on   Socket/fallback
> May  4 23:22:22 main-menu[948]: (process:6264): DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
> May  4 23:22:22 main-menu[948]: (process:6264): DHCPOFFER from y.y.y.250
> May  4 23:22:22 main-menu[948]: (process:6264): DHCPREQUEST on eth0 to 255.255.255.255 port 67
> May  4 23:22:22 main-menu[948]: (process:6264): Sending on   Socket/fallback
> May  4 23:22:22 main-menu[948]: (process:6264): DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
> May  4 23:22:22 main-menu[948]: (process:6264): DHCPOFFER from y.y.y.250
> May  4 23:22:22 main-menu[948]: (process:6264): DHCPREQUEST on eth0 to 255.255.255.255 port 67
> May  4 23:22:22 main-menu[948]: (process:6264): DHCPACK from y.y.y.250
> May  4 23:22:22 main-menu[948]: (process:6264): ip:
> May  4 23:22:22 main-menu[948]: (process:6264): RTNETLINK answers
> May  4 23:22:22 main-menu[948]: (process:6264): : File exists
> May  4 23:22:22 main-menu[948]: (process:6264): dhclient.c(2129): null pointer
> May  4 23:22:22 main-menu[948]: (process:6264): DHCPDECLINE on eth0 to 255.255.255.255 port 67
> May  4 23:22:22 main-menu[948]: (process:6264): DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
> May  4 23:22:22 main-menu[948]: (process:6264): DHCPOFFER from y.y.y.250
> May  4 23:22:22 main-menu[948]: (process:6264): DHCPREQUEST on eth0 to 255.255.255.255 port 67
> May  4 23:22:22 main-menu[948]: (process:62
> May  4 23:22:22 dhclient: DHCPOFFER from y.y.y.250
> May  4 23:22:22 dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
> May  4 23:22:23 dhclient: DHCPACK from y.y.y.250
> May  4 23:22:23 dhclient: dhclient.c(2129): null pointer
> May  4 23:22:23 dhclient: DHCPDECLINE on eth0 to 255.255.255.255 port 67
> May  4 23:22:23 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
> May  4 23:22:23 dhclient: DHCPOFFER from y.y.y.250
> May  4 23:22:23 dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
> May  4 23:22:24 dhclient: DHCPACK from y.y.y.250
> May  4 23:22:24 dhclient: dhclient.c(2129): null pointer
> May  4 23:22:24 dhclient: DHCPDECLINE on eth0 to 255.255.255.255 port 67
> May  4 23:22:24 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
...and so on

I took a look at the syslog for the installer, and I kept seeing the above messages from dhclient along the lines of "dhclient.c(xxxx): null pointer" followed by a DHCPDECLINE. Logs on the server showed requests for each address in sequence followed by the decline:
> May  4 19:34:37 mrlinux2 dhcpd: DHCPDISCOVER from xx:xx:xx:xx:xx:xx via eth0
> May  4 19:34:38 mrlinux2 dhcpd: DHCPOFFER on y.y.y.88 to xx:xx:xx:xx:xx:xx via eth0
> May  4 19:34:38 mrlinux2 dhcpd: DHCPREQUEST for y.y.y.88 (y.y.y.250) from xx:xx:xx:xx:xx:xx via eth0
> May  4 19:34:38 mrlinux2 dhcpd: DHCPACK on y.y.y.88 to xx:xx:xx:xx:xx:xx via eth0
> May  4 19:34:38 mrlinux2 dhcpd: Abandoning IP address y.y.y.88: declined.
> May  4 19:34:38 mrlinux2 dhcpd: DHCPDECLINE of y.y.y.88 from xx:xx:xx:xx:xx:xx via eth0: not found
> May  4 19:34:38 mrlinux2 dhcpd: DHCPDISCOVER from xx:xx:xx:xx:xx:xx via eth0
> May  4 19:34:38 mrlinux2 dhcpd: ICMP Echo Reply for y.y.y.88 late or spurious.
> May  4 19:34:39 mrlinux2 dhcpd: DHCPOFFER on y.y.y.87 to xx:xx:xx:xx:xx:xx via eth0
> May  4 19:34:39 mrlinux2 dhcpd: DHCPREQUEST for y.y.y.87 (y.y.y.250) from xx:xx:xx:xx:xx:xx via eth0
> May  4 19:34:39 mrlinux2 dhcpd: DHCPACK on y.y.y.87 to xx:xx:xx:xx:xx:xx via eth0
> May  4 19:34:39 mrlinux2 dhcpd: Abandoning IP address y.y.y.87: declined.
> May  4 19:34:39 mrlinux2 dhcpd: DHCPDECLINE of y.y.y.87 from xx:xx:xx:xx:xx:xx via eth0: not found
> May  4 19:34:39 mrlinux2 dhcpd: DHCPDISCOVER from xx:xx:xx:xx:xx:xx via eth0
> May  4 19:34:39 mrlinux2 dhcpd: ICMP Echo Reply for y.y.y.87 late or spurious.
> May  4 19:34:40 mrlinux2 dhcpd: DHCPOFFER on y.y.y.86 to xx:xx:xx:xx:xx:xx via eth0
...and so on

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash



Reply to: