On Wed, Feb 27, 2008 at 7:38 PM, xSAPPYx <[EMAIL PROTECTED]> wrote:
> Heya misc:
>
>  Base dhcpd and named are failing to start after an update. I'm really
>  confused at this point. Other daemons are working fine and I can't see
>  anything else 'wrong' with the system. Any thoughts at all would be
>  greatly appreciated.
>
>  This was a 4.2-release system. I followed the standard process (build
>  kernel, reboot, build userland). I've done it twice now figuring I
>  screwed something up (which i still believe)
>
>  I updated my source tree with:
>  cvs -d$CVSROOT update -rOPENBSD_4_2 -Pd src
>  cvs -d$CVSROOT update -rOPENBSD_4_2 -Pd ports
>
>
>  Here is a snippit of /var/log/messages during bootup:
>  Feb 27 15:54:49 vash named[21321]: starting BIND 9.3.4
>  Feb 27 15:54:50 vash named[21321]:
>  /usr/src/usr.sbin/bind/lib/isc/unix/ifiter_getifaddrs.c:107:
>  INSIST(ifa != 0L) failed
>  Feb 27 15:54:50 vash named[21321]: exiting (due to assertion failure)
>  Feb 27 15:54:51 vash savecore: no core dump
>  Feb 27 15:54:52 vash dhcpd: Can't listen on bge0 - it has no IP address.
>  Feb 27 15:54:52 vash dhcpd: No interfaces to listen on.
>  Feb 27 15:54:52 vash dhcpd: exiting.
>  Feb 27 15:54:54 vash squid[3353]: Squid Parent: child process 19826 started
>
>
>  Trying to start named and dhcpd manually we get:
>
>  root:/root/scripts:8# named -f -g -d7
>  Starting privilege seperation
>  27-Feb-2008 16:32:47.378 starting BIND 9.3.4 -f -g -d7
>  27-Feb-2008 16:32:47.381 loading configuration from '/etc/named.conf'
>  27-Feb-2008 16:32:47.397 set maximum stack size to 33554432: success
>  27-Feb-2008 16:32:47.397 set maximum data size to 1073741824: success
>  27-Feb-2008 16:32:47.397 set maximum core size to 9223372036854775807: 
> success
>  27-Feb-2008 16:32:47.397 set maximum open files to 1024: success
>  27-Feb-2008 16:32:47.397
>  /usr/src/usr.sbin/bind/lib/isc/unix/ifiter_getifaddrs.c:107:
>  INSIST(ifa != 0L) failed
>  27-Feb-2008 16:32:47.397 exiting (due to assertion failure)
>
>  root:/root/scripts:9# dhcpd -d -f
>  No interfaces to listen on.
>  exiting.
>  root:/root/scripts:10#
>
>
>  Random pieces of possibly useful output follow
>
>  root:/root/scripts:7# ifconfig -a
>  lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33168
>         groups: lo
>         inet 127.0.0.1 netmask 0xff000000
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
>  bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 00:0a:e4:26:dd:30
>         description: Internal to my cube
>         media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
>         status: active
>         inet 192.168.24.5 netmask 0xffffff00 broadcast 192.168.24.255
>         inet6 fe80::20a:e4ff:fe26:dd30%bge0 prefixlen 64 scopeid 0x1
>  em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 00:11:0a:60:0d:82
>         description: Lans Scare Me
>         groups: egress
>         media: Ethernet autoselect (100baseTX full-duplex)
>         status: active
>         inet 10.100.7.38 netmask 0xffffff00 broadcast 10.100.7.255
>         inet6 fe80::211:aff:fe60:d82%em0 prefixlen 64 scopeid 0x2
>  em1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
>         lladdr 00:11:0a:60:0d:83
>         media: Ethernet autoselect (none)
>         status: no carrier
>  enc0: flags=0<> mtu 1536
>  pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33168
>         groups: pflog
>
>
>  root:/root/scripts:3# uname -a
>  OpenBSD vash.copart.com 4.2 GENERIC#2 amd64
>
>
>  root:/root/scripts:5# cat /var/run/dmesg.boot
>  OpenBSD 4.2-stable (GENERIC) #2: Wed Feb 27 14:31:04 PST 2008
>     [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
>  real mem = 1609551872 (1534MB)
>  avail mem = 1549684736 (1477MB)
>  mainbus0 at root
>  bios0 at mainbus0: SMBIOS rev. 2.33 @ 0xefeb0 (37 entries)
>  bios0: vendor Sun Microsystems version "R01-B5 S1" date 09/29/2006
>  bios0: Sun Microsystems W1100z/2100z
>  acpi at mainbus0 not configured
>  cpu0 at mainbus0: (uniprocessor)
>  cpu0: AMD Opteron(tm) Processor 144, 1795.14 MHz
>  cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3
>  DNOW
>  cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB
>  64b/line 16-way L2 cache
>  cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
>  cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
>  cpu0: AMD errata 86, 89, 97, 104 present, BIOS upgrade may be required
>  pci0 at mainbus0 bus 0: configuration mode 1
>  ppb0 at pci0 dev 6 function 0 "AMD 8111 PCI-PCI" rev 0x07
>  pci1 at ppb0 bus 1
>  ohci0 at pci1 dev 0 function 0 "AMD 8111 USB" rev 0x0b: irq 11,
>  version 1.0, legacy support
>  ohci1 at pci1 dev 0 function 1 "AMD 8111 USB" rev 0x0b: irq 11,
>  version 1.0, legacy support
>  ohci2 at pci1 dev 3 function 0 "NEC USB" rev 0x43: irq 10, version
>  1.0, legacy support
>  ohci3 at pci1 dev 3 function 1 "NEC USB" rev 0x43: irq 11, version
>  1.0, legacy support
>  ehci0 at pci1 dev 3 function 2 "NEC USB" rev 0x04: irq 5
>  usb0 at ehci0: USB revision 2.0
>  uhub0 at usb0: NEC EHCI root hub, rev 2.00/1.00, addr 1
>  "TI TSB43AB22 FireWire" rev 0x00 at pci1 dev 4 function 0 not configured
>  usb1 at ohci0: USB revision 1.0
>  uhub1 at usb1: AMD OHCI root hub, rev 1.00/1.00, addr 1
>  usb2 at ohci1: USB revision 1.0
>  uhub2 at usb2: AMD OHCI root hub, rev 1.00/1.00, addr 1
>  usb3 at ohci2: USB revision 1.0
>  uhub3 at usb3: NEC OHCI root hub, rev 1.00/1.00, addr 1
>  usb4 at ohci3: USB revision 1.0
>  uhub4 at usb4: NEC OHCI root hub, rev 1.00/1.00, addr 1
>  pcib0 at pci0 dev 7 function 0 "AMD 8111 LPC" rev 0x05
>  pciide0 at pci0 dev 7 function 1 "AMD 8111 IDE" rev 0x03: DMA, channel
>  0 configured to compatibility, channel 1 configured to
>   compatibility
>  wd0 at pciide0 channel 0 drive 0: <HDS722580VLAT20>
>  wd0: 16-sector PIO, LBA48, 78533MB, 160836480 sectors
>  wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
>  atapiscsi0 at pciide0 channel 1 drive 0
>  scsibus0 at atapiscsi0: 2 targets
>  cd0 at scsibus0 targ 0 lun 0: <AOPEN, COM5232/AAH, 1.06> SCSI0 5/cdrom 
> removable
>  cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
>  amdiic0 at pci0 dev 7 function 2 "AMD 8111 SMBus" rev 0x02: SCI
>  iic0 at amdiic0
>  adt0 at iic0 addr 0x2e: adt7467 rev 0x71
>  amdpm0 at pci0 dev 7 function 3 "AMD 8111 Power" rev 0x05: rng active
>  iic1 at amdpm0
>  auich0 at pci0 dev 7 function 5 "AMD 8111 AC97" rev 0x03: irq 11, AMD8111 
> AC97
>  ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
>  audio0 at auich0
>  ppb1 at pci0 dev 10 function 0 "AMD 8131 PCIX" rev 0x12
>  pci2 at ppb1 bus 2
>  "AMD 8131 PCIX IOAPIC" rev 0x01 at pci0 dev 10 function 1 not configured
>  ppb2 at pci0 dev 11 function 0 "AMD 8131 PCIX" rev 0x12
>  pci3 at ppb2 bus 3
>  bge0 at pci3 dev 2 function 0 "Broadcom BCM5703X" rev 0x02, BCM5703 A2
>  (0x1002): irq 5, address 00:0a:e4:26:dd:30
>  brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
>  "AMD 8131 PCIX IOAPIC" rev 0x01 at pci0 dev 11 function 1 not configured
>  pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev
>  0x00pci4 at pchb0 bus 8
>  pchb1 at pci4 dev 0 function 0 "AMD 8151 Sys Control" rev 0x14
>  ppb3 at pci4 dev 1 function 0 "AMD 8151 AGP" rev 0x14
>  pci5 at ppb3 bus 9
>  vga1 at pci5 dev 0 function 0 "NVIDIA Quadro FX 500/600" rev 0xa1
>  wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
>  wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
>  ppb4 at pci4 dev 3 function 0 "AMD 8131 PCIX" rev 0x12
>  pci6 at ppb4 bus 14
>  "Marvell Libertas 88W8300" rev 0x07 at pci6 dev 1 function 0 not configured
>  "AMD 8131 PCIX IOAPIC" rev 0x01 at pci4 dev 3 function 1 not configured
>  ppb5 at pci4 dev 4 function 0 "AMD 8131 PCIX" rev 0x12
>  pci7 at ppb5 bus 19
>  em0 at pci7 dev 3 function 0 "Intel PRO/1000MT (82546EB)" rev 0x01:
>  irq 5, address 00:11:0a:60:0d:82
>  em1 at pci7 dev 3 function 1 "Intel PRO/1000MT (82546EB)" rev 0x01:
>  irq 11, address 00:11:0a:60:0d:83
>  "AMD 8131 PCIX IOAPIC" rev 0x01 at pci4 dev 4 function 1 not configured
>
>  pchb2 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
>  pchb3 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
>  pchb4 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
>  isa0 at pcib0
>  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
>  pcppi0 at isa0 port 0x61
>  midi0 at pcppi0: <PC speaker>
>  spkr0 at pcppi0
>  lpt0 at isa0 port 0x378/4 irq 7
>  uhidev0 at uhub3 port 1 configuration 1 interface 0
>  uhidev0: Microsoft Comfort Curve Keyboard 2000, rev 2.00/1.73, addr 2,
>  iclass 3/1
>  ukbd0 at uhidev0: 8 modifier keys, 6 key codes
>  wskbd1 at ukbd0 mux 1
>  wskbd1: connecting to wsdisplay0
>  uhidev1 at uhub3 port 1 configuration 1 interface 1
>  uhidev1: Microsoft Comfort Curve Keyboard 2000, rev 2.00/1.73, addr 2,
>  iclass 3/0
>  uhidev1: 1 report ids
>  uhid0 at uhidev1 reportid 1: input=7, output=0, feature=0
>  dkcsum: wd0 matches BIOS drive 0x80
>  root on wd0a swap on wd0b dump on wd0b
>
>

For the dhcpd, /etc/dhcpd.interfaces is ok? or try 'dhcpd bge0' ?

For named, you're using /etc/named.conf instead of /var/named/etc/named.conf?

As for bge0, I don't have Gb NICs so I don't know if the
rxpause/txpause is normal? I'm curious to know though.
1000baseT full-duplex,rxpause,txpause

Reply via email to