Summary: dhclient unable to retrieve configuration after several hours' downtime, rl interface, OpenBSD 4.4-stable
A few days back the ADSL connection to a machine I'm sometimes called upon to nurture went down for some hours, and when it came back up, it looks to me like dhclient for whatever reason got stuck trying to ask for a new IP address. The machine runs OpenBSD 4.4-stable (dmesg at the end here) and possibly complicating the picture, it's also configured with no-ip. here's the time when the line went down, Feb 12 09:57:00 niflheim dhclient[25565]: send_packet: No route to host Feb 12 09:57:53 niflheim last message repeated 4 times Feb 12 09:59:21 niflheim last message repeated 4 times Feb 12 10:07:21 niflheim last message repeated 4 times Feb 12 10:10:47 niflheim dhclient[25565]: send_packet: No route to host Feb 12 10:27:19 niflheim last message repeated 2 times Feb 12 10:38:30 niflheim last message repeated 3 times Feb 12 10:47:42 niflheim last message repeated 8 times Feb 12 10:59:42 niflheim last message repeated 2 times Feb 12 11:02:07 niflheim dhclient[25565]: send_packet: No route to host Feb 12 11:28:03 niflheim dhclient[25565]: send_packet: No route to host Feb 12 11:51:05 niflheim dhclient[25565]: send_packet: No route to host Feb 12 11:55:21 niflheim last message repeated 26 times Feb 12 11:55:23 niflheim noip2[18129]: Can't gethostbyname for dynupdate.no-ip.com Feb 12 11:55:29 niflheim dhclient[25565]: send_packet: No route to host Feb 12 11:56:07 niflheim dhclient[25565]: send_packet: No route to host Feb 12 11:58:11 niflheim last message repeated 15 times Feb 12 11:59:26 niflheim last message repeated 6 times Feb 12 12:00:02 niflheim syslogd: restart Feb 12 12:00:10 niflheim dhclient[25565]: send_packet: No route to host and a few hours later, the line is live again, but apparently we're not quite there still: Feb 12 15:53:05 niflheim noip2[18129]: Can't gethostbyname for dynupdate.no-ip.com Feb 12 15:53:08 niflheim dhclient[25565]: send_packet: No route to host Feb 12 15:53:15 niflheim dhclient[25565]: send_packet: No route to host Feb 12 15:55:09 niflheim last message repeated 13 times Feb 12 15:59:52 niflheim last message repeated 26 times Feb 12 16:00:01 niflheim syslogd: restart Feb 12 16:00:02 niflheim dhclient[25565]: send_packet: No route to host Feb 12 16:00:49 niflheim dhclient[25565]: send_packet: No route to host Feb 12 16:02:53 niflheim last message repeated 11 times Feb 12 16:03:04 niflheim last message repeated 6 times Feb 12 16:03:26 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No route to host) Feb 12 16:13:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No route to host) Feb 12 16:23:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No route to host) Feb 12 16:33:26 niflheim dhclient[25565]: send_packet: No route to host Feb 12 16:33:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No route to host) Feb 12 16:33:27 niflheim dhclient[25565]: send_packet: No route to host Feb 12 16:33:56 niflheim last message repeated 5 times Feb 12 16:36:04 niflheim last message repeated 5 times Feb 12 16:43:07 niflheim last message repeated 5 times Feb 12 16:43:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No route to host) Feb 12 16:47:21 niflheim dhclient[25565]: send_packet: No route to host Feb 12 16:53:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No route to host) Feb 12 16:54:40 niflheim dhclient[25565]: send_packet: No route to host Feb 12 17:03:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No route to host) Feb 12 17:13:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No route to host) Feb 12 17:23:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No route to host) Feb 12 17:33:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No route to host) Feb 12 17:43:27 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No route to host) Feb 12 17:53:28 niflheim noip2[18129]: Can't connect to dynupdate.no-ip.com (No route to host) After a reboot, the problem of course went away. Has anybody here seen anything similar? Or even better, is it a known problem with a possible workaround? Cheers, Peter dmesg: OpenBSD 4.4-stable (GENERIC) #2: Thu Jan 1 20:51:33 CET 2009 r...@niflheim.alfanett.no:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 500 MHz cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX real mem = 246919168 (235MB) avail mem = 230285312 (219MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/02/07, BIOS32 rev. 0 @ 0xed720, SMBIOS rev. 2.3 @ 0xe3110 (19 entries) bios0: vendor General Software, Inc. version "Version 5.2" date 09/02/2007 bios0: CompuLab AMD "CM-iGLX" Geode LX/CS5536 apm0 at bios0: Power Management spec V1.2 (BIOS management disabled) (BIOS managing devices) apm0: battery life expectancy 97% apm0: AC off, battery charge high, estimated 6:49 hours acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xed790/0x1000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1af0/128 (6 entries) pcibios0: PCI Exclusive IRQs: 5 10 11 pcibios0: no compatible PCI ICU found: ICU vendor 0x1022 product 0x2090 pcibios0: Warning, unable to fix up PCI interrupt routing pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc0000/0x8000 cpu0 at mainbus0 amdmsr0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33 vga1 at pci0 dev 1 function 1 "AMD Geode LX Video" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) drm at vga1 unsupported glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES rl0 at pci0 dev 13 function 0 "Realtek 8139" rev 0x10: irq 10, address 00:01:c0:04:4e:cd rlphy0 at rl0 phy 0: RTL internal PHY rl1 at pci0 dev 14 function 0 "Realtek 8139" rev 0x10: irq 5, address 00:01:c0:04:55:74 rlphy1 at rl1 phy 0: RTL internal PHY glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 0, 32-bit 3579545Hz timer, watchdog, gpio gpio0 at glxpcib0: 32 pins pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <Hitachi HTS541660J9AT00> wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 pciide0: channel 1 ignored (disabled) auglx0 at pci0 dev 15 function 3 "AMD CS5536 Audio" rev 0x01: irq 10, CS5536 AC97 ac97: codec id 0x574d4c12 (Wolfson WM9711/12) ac97: codec features tone, headphone, bass boost, 18 bit DAC, 18 bit ADC, Wolfson Microelectronics 3D audio0 at auglx0 ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 11, version 1.0, legacy support ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 11 ehci0: pre-2.0 USB rev isa0 at glxpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb0 at ohci0: USB revision 1.0 uhub0 at usb0 "AMD OHCI root hub" rev 1.00/1.00 addr 1 biomask ebc5 netmask efe5 ttymask ffff mtrr: K6-family MTRR support (2 registers) softraid0 at root root on wd0a swap on wd0b dump on wd0b WARNING: / was not properly unmounted uhidev0 at uhub0 port 1 configuration 1 interface 0 "CHESEN PS2 to USB Converter" rev 1.10/0.10 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub0 port 1 configuration 1 interface 1 "CHESEN PS2 to USB Converter" rev 1.10/0.10 addr 2 uhidev1: iclass 3/1, 3 report ids ums0 at uhidev1 reportid 1: 5 buttons, Z dir wsmouse1 at ums0 mux 0 uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0 uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0 syncing disks... done rebooting... OpenBSD 4.4-stable (GENERIC) #2: Thu Jan 1 20:51:33 CET 2009 r...@niflheim.alfanett.no:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 500 MHz cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX real mem = 246919168 (235MB) avail mem = 230285312 (219MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/02/07, BIOS32 rev. 0 @ 0xed720, SMBIOS rev. 2.3 @ 0xe3110 (19 entries) bios0: vendor General Software, Inc. version "Version 5.2" date 09/02/2007 bios0: CompuLab AMD "CM-iGLX" Geode LX/CS5536 apm0 at bios0: Power Management spec V1.2 (BIOS management disabled) (BIOS managing devices) apm0: battery life expectancy 97% apm0: AC off, battery charge high, estimated 6:49 hours acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xed790/0x1000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1af0/128 (6 entries) pcibios0: PCI Exclusive IRQs: 5 10 11 pcibios0: no compatible PCI ICU found: ICU vendor 0x1022 product 0x2090 pcibios0: Warning, unable to fix up PCI interrupt routing pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc0000/0x8000 cpu0 at mainbus0 amdmsr0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33 vga1 at pci0 dev 1 function 1 "AMD Geode LX Video" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) drm at vga1 unsupported glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES rl0 at pci0 dev 13 function 0 "Realtek 8139" rev 0x10: irq 10, address 00:01:c0:04:4e:cd rlphy0 at rl0 phy 0: RTL internal PHY rl1 at pci0 dev 14 function 0 "Realtek 8139" rev 0x10: irq 5, address 00:01:c0:04:55:74 rlphy1 at rl1 phy 0: RTL internal PHY glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 0, 32-bit 3579545Hz timer, watchdog, gpio gpio0 at glxpcib0: 32 pins pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <Hitachi HTS541660J9AT00> wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 pciide0: channel 1 ignored (disabled) auglx0 at pci0 dev 15 function 3 "AMD CS5536 Audio" rev 0x01: irq 10, CS5536 AC97 ac97: codec id 0x574d4c12 (Wolfson WM9711/12) ac97: codec features tone, headphone, bass boost, 18 bit DAC, 18 bit ADC, Wolfson Microelectronics 3D audio0 at auglx0 ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 11, version 1.0, legacy support ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 11 ehci0: pre-2.0 USB rev isa0 at glxpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb0 at ohci0: USB revision 1.0 uhub0 at usb0 "AMD OHCI root hub" rev 1.00/1.00 addr 1 biomask ebc5 netmask efe5 ttymask ffff mtrr: K6-family MTRR support (2 registers) uhidev0 at uhub0 port 1 configuration 1 interface 0 "CHESEN PS2 to USB Converter" rev 1.10/0.10 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub0 port 1 configuration 1 interface 1 "CHESEN PS2 to USB Converter" rev 1.10/0.10 addr 2 uhidev1: iclass 3/1, 3 report ids ums0 at uhidev1 reportid 1: 5 buttons, Z dir wsmouse1 at ums0 mux 0 uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0 uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0 softraid0 at root root on wd0a swap on wd0b dump on wd0b wskbd1: disconnecting from wsdisplay0 wskbd1 detached ukbd0 detached uhidev0 detached wsmouse1 detached ums0 detached uhid0 detached uhid1 detached uhidev1 detached arpresolve: 192.168.100.1: route without link local address arpresolve: 192.168.100.1: route without link local address syncing disks... done rebooting... OpenBSD 4.4-stable (GENERIC) #2: Thu Jan 1 20:51:33 CET 2009 r...@niflheim.alfanett.no:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 500 MHz cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX real mem = 246919168 (235MB) avail mem = 230285312 (219MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/02/07, BIOS32 rev. 0 @ 0xed720, SMBIOS rev. 2.3 @ 0xe3110 (19 entries) bios0: vendor General Software, Inc. version "Version 5.2" date 09/02/2007 bios0: CompuLab AMD "CM-iGLX" Geode LX/CS5536 apm0 at bios0: Power Management spec V1.2 (BIOS management disabled) (BIOS managing devices) apm0: battery life expectancy 97% apm0: AC off, battery charge high, estimated 6:49 hours acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xed790/0x1000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf1af0/128 (6 entries) pcibios0: PCI Exclusive IRQs: 5 10 11 pcibios0: no compatible PCI ICU found: ICU vendor 0x1022 product 0x2090 pcibios0: Warning, unable to fix up PCI interrupt routing pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc0000/0x8000 cpu0 at mainbus0 amdmsr0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33 vga1 at pci0 dev 1 function 1 "AMD Geode LX Video" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) drm at vga1 unsupported glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES rl0 at pci0 dev 13 function 0 "Realtek 8139" rev 0x10: irq 10, address 00:01:c0:04:4e:cd rlphy0 at rl0 phy 0: RTL internal PHY rl1 at pci0 dev 14 function 0 "Realtek 8139" rev 0x10: irq 5, address 00:01:c0:04:55:74 rlphy1 at rl1 phy 0: RTL internal PHY glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 0, 32-bit 3579545Hz timer, watchdog, gpio gpio0 at glxpcib0: 32 pins pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <Hitachi HTS541660J9AT00> wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 pciide0: channel 1 ignored (disabled) auglx0 at pci0 dev 15 function 3 "AMD CS5536 Audio" rev 0x01: irq 10, CS5536 AC97 ac97: codec id 0x574d4c12 (Wolfson WM9711/12) ac97: codec features tone, headphone, bass boost, 18 bit DAC, 18 bit ADC, Wolfson Microelectronics 3D audio0 at auglx0 ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 11, version 1.0, legacy support ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 11 ehci0: pre-2.0 USB rev isa0 at glxpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb0 at ohci0: USB revision 1.0 uhub0 at usb0 "AMD OHCI root hub" rev 1.00/1.00 addr 1 biomask ebc5 netmask efe5 ttymask ffff mtrr: K6-family MTRR support (2 registers) softraid0 at root root on wd0a swap on wd0b dump on wd0b -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.