On Wed, Jun 06, 2012 at 04:04:22PM +0200, Andre Keller wrote:
> is any body running OpenBSD as a XEN HVM guest? I have a difficult time
> accomplish that...
Hi,
I'm insane and I do that for a long time, because I don't really have a
lot of options there.
> The XEN guest does boot up and is usable. When f.e. do a cvs checkout of
> ports the machine panics about every other time.
I'm on Centos 5 without problems here, both with 5.1-release and -current
snapshot. The performance is horrible as always, though.
> ddb> trace
> cpu_switchto() at cpu_switchto+0x4b
Hint: when you are seeing crashes inside a context switch, someone may
be interested in what processes took part in the switch, like "show proc
$rdi" and "show proc $rsi". Then, "sh reg" and "x /x,30 $rsp" for
starters. (pity it won't fit all on one screen)
Also, you can say if you ran other versions of OpenBSD on the same
configuration, or messed with the hypervisor's kernel lately, or if it
is a new install on an out of the box dom0 that just happens to fail.
--
Martin Pelikan
OpenBSD 5.1-current (GENERIC) #258: Mon Jun 11 11:52:20 MDT 2012
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 535797760 (510MB)
avail mem = 499265536 (476MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe901f (10 entries)
bios0: vendor Xen version "3.1.2-194.3.1.el5" date 03/07/2012
bios0: Red Hat HVM domU
acpi0 at bios0: rev 2, ACPI control unavailable
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2388.47 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,MMX,FXSR,SSE,SSE2,SS,SBF,SSE3,DS-CPL,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 99MHz
mpbios0: bus 0 is type ISA
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 48 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <QEMU HARDDISK>
wd0: 16-sector PIO, LBA48, 10240MB, 20971520 sectors
wd0(pciide0:0:0): using PIO mode 0, DMA mode 2
pciide0: channel 1 disabled (no drives)
piixpm0 at pci0 dev 1 function 2 "Intel 82371AB Power" rev 0x03: SMBus disabled
vga1 at pci0 dev 2 function 0 "Cirrus Logic CL-GD5446" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"XenSource Platform Device" rev 0x01 at pci0 dev 3 function 0 not configured
em0 at pci0 dev 4 function 0 "Intel PRO/1000MT (82540EM)" rev 0x03: apic 1 int
5, address 00:16:3e:90:cc:2d
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16450, no 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
spkr0 at pcppi0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: density unknown
fd1 at fdc0 drive 1: density unknown
nvram: invalid checksum
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (4792285ca7b2d7f5.a) swap on wd0b dump on wd0b
clock: unknown CMOS layout