hobbit on openbsd

Rick Aliwalas rick at cuc.com
Tue Aug 30 00:04:33 CEST 2005


Hello all,

I've run hobbit successfully on linux (RedHat/2.4) but I'd like
to replace that server w/ an OpenBSD machine.  I've tried OpenBSD
3.7-RELEASE and a couple of -current machines and cannot run hobbit
reliably.  Several times when running "hobbit.sh start" I've completely
crash the OpenBSD machine.  I've included the console output following
a crash.  I tried running hobbit 4.1.1 as well as few recent snapshots
but had similar results.  I suspected bad hardware so I tried on a different
machine running an OpenBSD 3.7 snapshot and also crashed that machine.

Thanks much in advance,
-rick


ddb{0}> ps
    PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
* 6112  23893  23893   1984  7   0x2004004             hobbitd
  23893      1  23893   1984  3   0x2000084  nanosleep  hobbitlaunch
  15632   1509  15632   1984  3   0x2004086  ttyin      sh
  32198  16166     86   1984  3   0x2044184  nanosleep  vmstat
  16166      1     86   1984  3   0x2004084  pause      sh
  13702  21535  13702   1000  3   0x2004086  ttyin      zsh
  21535   4725   4725   1000  3   0x2000184  select     sshd
   4725  31567   4725      0  3   0x2004184  netio      sshd
   1509    449   1509      0  3   0x2004086  pause      zsh
    449   2664    449   1000  3   0x2004086  pause      zsh
   2664  11791  11791   1000  3   0x2000184  select     sshd
  11791  31567  11791      0  3   0x2004184  netio      sshd
  32756      1  32756      0  3   0x2040184  select     sendmail
  31373      1  31373      0  3   0x2004086  ttyin      getty
  12988      1  12988      0  3   0x2004086  ttyin      getty
   2016      1   2016      0  3   0x2004086  ttyin      getty
  24967      1  24967      0  3   0x2004086  ttyin      getty
  15404      1  15404      0  3   0x2004086  ttyin      getty
  11352      1  11352      0  3   0x2004086  ttyin      getty
   4094      1   4094      0  3   0x2000084  select     cron
  31567      1  31567      0  3   0x2000084  select     sshd
   6567      1   6567      0  3   0x2000184  select     inetd
   5611  14548  14548     73  2   0x2000184             syslogd
  14548      1  14548      0  3   0x2000084  netio      syslogd
     13      0      0      0  3   0x2100204  crypto_wa  crypto
     12      0      0      0  3   0x2100204  aiodoned   aiodoned
     11      0      0      0  3   0x2100204  syncer     update
     10      0      0      0  3   0x2100204  cleaner    cleaner
      9      0      0      0  3    0x100204  reaper     reaper
      8      0      0      0  3   0x2100204  pgdaemon   pagedaemon
      7      0      0      0  3   0x2100204  pftm       pfpurge
      6      0      0      0  3   0x2100204  timeout    safte1
      5      0      0      0  3   0x2100204  timeout    safte0
      4      0      0      0  3   0x2100204  usbtsk     usbtask
      3      0      0      0  3   0x2100204  usbevt     usb0
      2      0      0      0  3   0x2100204  kmalloc    kmthread
      1      0      1      0  3   0x2004084  wait       init
      0     -1      0      0  3   0x2080204  scheduler  swapper

ddb{0}> trace
sys_semget(da1d3908,ec638f68,ec638f58,eb2683de,190) at sys_semget+0x138
syscall() at syscall+0x34a
--- syscall (number 221) ---
0x208ebb9:

ddb{0}> show panic
the kernel did not panic


ddb{0}> dmesg
OpenBSD 3.8 (GENERIC.MP) #289: Sun Aug 28 21:49:31 MDT 2005
     deraadt at i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(TM) CPU 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C
FLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
real mem  = 2146938880 (2096620K)
avail mem = 1952980992 (1907208K)
using 4278 buffers containing 107450368 bytes (104932K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 10/21/04, BIOS32 rev. 0 @ 0xffe90
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfc410/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:15:0 ("ServerWorks CSB5 SouthBridge" rev 0
x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x6000 0xce000/0x600 0xec000/0x4000!
mainbus0: Intel MP Specification (Version 1.4) (DELL     PE 0121     )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99 MHz
cpu1 at mainbus0: apid 6 (application processor)
cpu1: Intel(R) Xeon(TM) CPU 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C
FLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
mainbus0: bus 0 is type PCI
mainbus0: bus 1 is type PCI
mainbus0: bus 2 is type PCI
mainbus0: bus 3 is type PCI
mainbus0: bus 4 is type PCI
mainbus0: bus 5 is type PCI
mainbus0: bus 6 is type PCI
mainbus0: bus 7 is type ISA
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 11, 16 pins
ioapic0: misconfigured as apic 0, remapped to apic 8
ioapic1 at mainbus0: apid 9 pa 0xfec01000, version 11, 16 pins
ioapic1: misconfigured as apic 0, remapped to apic 9
ioapic2 at mainbus0: apid 10 pa 0xfec02000, version 11, 16 pins
ioapic2: misconfigured as apic 0, remapped to apic 10
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CMIC_LE Host" rev 0x13
pchb1 at pci0 dev 0 function 1 "ServerWorks CMIC_LE Host" rev 0x00
pci1 at pchb1 bus 4
bge0 at pci1 dev 6 function 0 "Broadcom BCM5701" rev 0x15, BCM5701 B5 (0x0105):
  apic 9 int 12 (irq 7) address 00:0b:db:ac:4e:be
brgphy0 at bge0 phy 1: BCM5701 10/100/1000baseT PHY, rev. 0
bge1 at pci1 dev 8 function 0 "Broadcom BCM5701" rev 0x15, BCM5701 B5 (0x0105):
  apic 9 int 13 (irq 11) address 00:0b:db:ac:4e:bf
brgphy1 at bge1 phy 1: BCM5701 10/100/1000baseT PHY, rev. 0
pchb2 at pci0 dev 0 function 2 vendor "ServerWorks", unknown product 0x0000 rev
  0x00 
pci2 at pchb2 bus 1
ppb0 at pci2 dev 8 function 0 "Intel S21152BB PCI-PCI" rev 0x00
pci3 at ppb0 bus 2
fxp0 at pci3 dev 4 function 0 "Intel 82557" rev 0x05, i82558: apic 9 int 4 (irq
  11), address 00:02:b3:c1:21:cd
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0
fxp1 at pci3 dev 5 function 0 "Intel 82557" rev 0x05, i82558: apic 9 int 5 (irq
  10), address 00:02:b3:c1:21:ce
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 0
vendor "Dell", unknown product 0x000c (class undefined unknown subclass 0x00, r
ev 0x00) at pci0 dev 4 function 0 not configured
"Dell PERC 3/Di" rev 0x00 at pci0 dev 4 function 1 not configured
vendor "Dell", unknown product 0x000d (class undefined unknown subclass 0x00, r
ev 0x00) at pci0 dev 4 function 2 not configured
vga1 at pci0 dev 14 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pchb3 at pci0 dev 15 function 0 "ServerWorks CSB5 SouthBridge" rev 0x93
pci4 at pchb3 bus 3
pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, N102> SCSI0 5/cdrom remo
vable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05: apic 8 in
t 5 (irq 5), version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib0 at pci0 dev 15 function 3 "ServerWorks CSB5 PCI" rev 0x00
pchb4 at pci0 dev 16 function 0 "ServerWorks CIOBX2" rev 0x03
pchb5 at pci0 dev 16 function 2 "ServerWorks CIOBX2" rev 0x03
pci5 at pchb5 bus 5
ppb1 at pci5 dev 8 function 0 "Intel 80303 IOP" rev 0x01
pci6 at ppb1 bus 6
ahc1 at pci6 dev 6 function 0 "Adaptec AIC-7899 U160" rev 0x01: apic 9 int 14 (
irq 10)
scsibus1 at ahc1: 16 targets
sd0 at scsibus1 targ 0 lun 0: <SEAGATE, ST318453LC, DX03> SCSI3 0/direct fixed
sd0: 17366MB, 31310 cyl, 2 head, 567 sec, 512 bytes/sec, 35566478 sec total
sd1 at scsibus1 targ 1 lun 0: <SEAGATE, ST318453LC, DX03> SCSI3 0/direct fixed
sd1: 17366MB, 31310 cyl, 2 head, 567 sec, 512 bytes/sec, 35566478 sec total
safte0 at scsibus1 targ 6 lun 0: <PE/PV, 2x2 SCSI BP, 1.1> SCSI2 3/processor fi
xed
ahc2 at pci6 dev 6 function 1 "Adaptec AIC-7899 U160" rev 0x01: apic 9 int 15 (
irq 7)
scsibus2 at ahc2: 16 targets
sd2 at scsibus2 targ 2 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFM0> SCSI3 0/direct fi
xed
sd2: 70007MB, 49070 cyl, 4 head, 730 sec, 512 bytes/sec, 143374650 sec total
sd3 at scsibus2 targ 3 lun 0: <MAXTOR, ATLAS10K4_73SCA, DFM0> SCSI3 0/direct fi
xed 
sd3: 70007MB, 49070 cyl, 4 head, 730 sec, 512 bytes/sec, 143374650 sec total
safte1 at scsibus2 targ 6 lun 0: <PE/PV, 2x3 SCSI BP, 1.1> SCSI2 3/processor fi
xed
pchb6 at pci0 dev 17 function 0 "ServerWorks CIOBX2" rev 0x03
pchb7 at pci0 dev 17 function 2 "ServerWorks CIOBX2" rev 0x03
isa0 at pcib0
isadma0 at isa0
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
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 0 netmask 0 ttymask 0
pctr: user-level cycle counter enabled
ahc1: target 0 using 16bit transfers
ahc1: target 0 synchronous at 80.0MHz DT, offset = 0x3f
dkcsum: sd0 matches BIOS drive 0x80
ahc1: target 1 using 16bit transfers
ahc1: target 1 synchronous at 80.0MHz DT, offset = 0x3f
dkcsum: sd1 matches BIOS drive 0x82
ahc2: target 2 using 16bit transfers
ahc2: target 2 synchronous at 80.0MHz DT, offset = 0x7f
dkcsum: sd2 matches BIOS drive 0x81
ahc2: target 3 using 16bit transfers
ahc2: target 3 synchronous at 80.0MHz DT, offset = 0x7f
dkcsum: sd3 matches BIOS drive 0x83
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
uvm_fault(0xda2146e4, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      sys_semget+0x138:       movzwl  0x14(%eax),%edx
ddb{0}> ddb{0}>    PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
* 6112  23893  23893   1984  7   0x2004004             hobbitd
  23893      1  23893   1984  3   0x2000084  nanosleep  hobbitlaunch
  15632   1509  15632   1984  3   0x2004086  ttyin      sh
  32198  16166     86   1984  3   0x2044184  nanosleep  vmstat
  16166      1     86   1984  3   0x2004084  pause      sh
  13702  21535  13702   1000  3   0x2004086  ttyin      zsh
  21535   4725   4725   1000  3   0x2000184  select     sshd
   4725  31567   4725      0  3   0x2004184  netio      sshd
   1509    449   1509      0  3   0x2004086  pause      zsh
    449   2664    449   1000  3   0x2004086  pause      zsh
   2664  11791  11791   1000  3   0x2000184  select     sshd
  11791  31567  11791      0  3   0x2004184  netio      sshd
  32756      1  32756      0  3   0x2040184  select     sendmail
  31373      1  31373      0  3   0x2004086  ttyin      getty
  12988      1  12988      0  3   0x2004086  ttyin      getty
   2016      1   2016      0  3   0x2004086  ttyin      getty
  24967      1  24967      0  3   0x2004086  ttyin      getty
  15404      1  15404      0  3   0x2004086  ttyin      getty
  11352      1  11352      0  3   0x2004086  ttyin      getty
   4094      1   4094      0  3   0x2000084  select     cron
  31567      1  31567      0  3   0x2000084  select     sshd
   6567      1   6567      0  3   0x2000184  select     inetd
   5611  14548  14548     73  2   0x2000184             syslogd
  14548      1  14548      0  3   0x2000084  netio      syslogd
     13      0      0      0  3   0x2100204  crypto_wa  crypto
     12      0      0      0  3   0x2100204  aiodoned   aiodoned
     11      0      0      0  3   0x2100204  syncer     update
     10      0      0      0  3   0x2100204  cleaner    cleaner
      9      0      0      0  3    0x100204  reaper     reaper
      8      0      0      0  3   0x2100204  pgdaemon   pagedaemon
      7      0      0      0  3   0x2100204  pftm       pfpurge
      6      0      0      0  3   0x2100204  timeout    safte1
      5      0      0      0  3   0x2100204  timeout    safte0
      4      0      0      0  3   0x2100204  usbtsk     usbtask
      3      0      0      0  3   0x2100204  usbevt     usb0
      2      0      0      0  3   0x2100204  kmalloc    kmthread
      1      0      1      0  3   0x2004084  wait       init
      0     -1      0      0  3   0x2080204  scheduler  swapper
ddb{0}> sys_semget(da1d3908,ec638f68,ec638f58,eb2683de,190) at sys_semget+0x138

syscall() at syscall+0x34a
--- syscall (number 221) ---
0x208ebb9:
ddb{0}> sys_semget(da1d3908,ec638f68,ec638f58,eb2683de,190) at sys_semget+0x138

ddb{0}> sys_semget(da1d3908,ec638f68,ec638f58,eb2683de,190) at sys_semget+0x138

ddb{0}> the kernel did not panic
ddb{0}> the kernel did not panic
ddb{0}> the kernel did not panic
ddb{0}> the kernel did not panic
ddb{0}> sys_semget(da1d3908,ec638f68,ec638f58,eb2683de,190) at sys_semget+0x138

syscall() at syscall+0x34a
--- syscall (number 221) ---
0x208ebb9:




More information about the Xymon mailing list