On Mon, Apr 14, 2014 at 8:21 AM, sven falempin <sven.falem...@gmail.com> wrote: > hello > > As far as i know, nothing change... > but the machine is remote. > > v12-GW 14# /sbin/dhclient -l /run/dhclient.leases.trunk0 trunk0 > DHCPDISCOVER on trunk0 to 255.255.255.255 port 67 interval 3 > DHCPOFFER from 10.0.0.254 (96:4f:87:9c:ad:67) > DHCPREQUEST on trunk0 to 255.255.255.255 port 67 > DHCPACK from 10.0.0.254 (96:4f:87:9c:ad:67) > Segmentation fault >
I am trying to get the core file of this priviledge separated daemon. # ulimit -c unlinited write to everyone on / and / sbin just during the test. i also change sysctl core nosuidcoredump to 0 (despair ..) I dont have gdb on the machine.... how to get the core of dhclient. I guess i will (try to) reproduce on a recent snashots, the dhcp server is dnsmasq. (i am using it to resolve local hostanmes) > > Apr 14 13:46:48 v12-GW dhclient[1810]: DHCPOFFER from 10.0.0.254 > (96:4f:87:9c:ad:67) > Apr 14 13:46:48 v12-GW dhclient[1810]: DHCPREQUEST on trunk0 to > 255.255.255.255 port 67 > Apr 14 13:46:48 v12-GW dhclient[1810]: DHCPACK from 10.0.0.254 > (96:4f:87:9c:ad:67) > Apr 14 13:46:48 v12-GW /bsd: arpresolve: 10.0.0.254: can't allocate llinfo > > > ( i am using syslogc to read logs and the begining date is not in the buffer ) > > I work around setting ip statically on my trunk0 and unmonitor the > trunk0 leases. everything s fine like this. > Someone reboot the machine since, it didnt fix the problem. > > Of course because setting the ip manually works the 10.0.0.254 is in > arp table. (i am setting trunk0 to the ip the dhcp server is giving > 10.0.0.126) > > v12-GW 49# arp -a > ? (10.0.0.1) at 16:00:40:da:39:d0 on trunk0 > ? (10.0.0.254) at 96:4f:87:9c:ad:67 on trunk0 > > and the dhclient is getting leases on two other interfaces, no problem. > > > As far as i understand dhclient does not like something about the mac > address, i cannot do anymore test for a few hours (like ulimit -c > unlimited and restart dhclient, wheres does it dump already ?) > > > > - - - - - > > > OpenBSD 5.4 (GENERIC) #37: Tue Jul 30 12:05:01 MDT 2013 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC > cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" > 586-class) 499 MHz > cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW > real mem = 536408064 (511MB) > avail mem = 516194304 (492MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 20/70/03, BIOS32 rev. 0 @ 0xfac40 > pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000 > pcibios0: pcibios_get_intr_routing - function not supported > pcibios0: PCI IRQ Routing information unavailable. > pcibios0: PCI bus #1 is the last bus > bios0: ROM list: 0xc8000/0xa800 > cpu0 at mainbus0: (uniprocessor) > amdmsr0 at mainbus0 > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > 0:20:0: io address conflict 0x6100/0x100 > 0:20:0: io address conflict 0x6200/0x200 > pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33 > glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES > vr0 at pci0 dev 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, > address 00:00:24:d0:8e:d0 > ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI > 0x004063, model 0x0034 > vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5, > address 00:00:24:d0:8e:d1 > ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI > 0x004063, model 0x0034 > vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9, > address 00:00:24:d0:8e:d2 > ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI > 0x004063, model 0x0034 > vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12, > address 00:00:24:d0:8e:d3 > ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI > 0x004063, model 0x0034 > ppb0 at pci0 dev 14 function 0 "TI PCI2250" rev 0x02 > pci1 at ppb0 bus 1 > vr4 at pci1 dev 0 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10, > address 00:00:24:cf:f5:a8 > ukphy4 at vr4 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI > 0x004063, model 0x0034 > vr5 at pci1 dev 1 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 7, > address 00:00:24:cf:f5:a9 > ukphy5 at vr5 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI > 0x004063, model 0x0034 > vr6 at pci1 dev 2 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10, > address 00:00:24:cf:f5:aa > ukphy6 at vr6 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI > 0x004063, model 0x0034 > vr7 at pci1 dev 3 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 7, > address 00:00:24:cf:f5:ab > ukphy7 at vr7 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI > 0x004063, model 0x0034 > glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, > 32-bit 3579545Hz timer, watchdog, gpio, i2c > gpio0 at glxpcib0: 32 pins > iic0 at glxpcib0 > pciide0 at pci0 dev 20 function 2 "AMD CS5536 IDE" rev 0x01: DMA, > channel 0 wired to compatibility, channel 1 wired to compatibility > wd0 at pciide0 channel 0 drive 1: <SanDisk SDCFH-4096> > wd0: 1-sector PIO, LBA, 3825MB, 7835184 sectors > wd0(pciide0:0:1): using PIO mode 4, DMA mode 2 > pciide0: channel 1 ignored (disabled) > ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 15, > version 1.0, legacy support > ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 15 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 > isa0 at glxpcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com0: console > 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 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS > gpio1 at nsclpcsio0: 29 pins > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > usb1 at ohci0: USB revision 1.0 > uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1 > mtrr: K6-family MTRR support (2 registers) > vscsi0 at root > scsibus0 at vscsi0: 256 targets > softraid0 at root > scsibus1 at softraid0: 256 targets > root on wd0a (abac4e8dfa9e4e63.a) swap on wd0b dump on wd0b > arpresolve: 10.0.0.254: can't allocate llinfo > > pcidump > Domain /dev/pci0: > 0:1:0: AMD Geode LX > 0:1:2: AMD Geode LX Crypto > 0:6:0: VIA VT6105M RhineIII > 0:7:0: VIA VT6105M RhineIII > 0:8:0: VIA VT6105M RhineIII > 0:9:0: VIA VT6105M RhineIII > 0:14:0: TI PCI2250 > 0:20:0: AMD CS5536 ISA > 0:20:2: AMD CS5536 IDE > 0:21:0: AMD CS5536 USB > 0:21:1: AMD CS5536 USB > 1:0:0: VIA VT6105M RhineIII > 1:1:0: VIA VT6105M RhineIII > 1:2:0: VIA VT6105M RhineIII > 1:3:0: VIA VT6105M RhineIII > > > -- > --------------------------------------------------------------------------------------------------------------------- > () ascii ribbon campaign - against html e-mail > /\ -- --------------------------------------------------------------------------------------------------------------------- () ascii ribbon campaign - against html e-mail /\