Hi, 
On Thursday, January 29, 2015 13:05 CET, Clément Hertling (Wxcafé) 
<[email protected]> wrote: 
 
> Hi
> 
> I'm trying to run an OpenBSD virtual machine in Xen 4.4.
> The install procedure worked fine, but when I boot the VM I get a kernel 
> crash.
> Linux VMs on this host work perfectly fine, and as I said the installer runs 
> ok
> too, so I'm not sure what's causing this.
> 

I also get crashes when running OpenBSD on MP kernel in XEN,
however, SP kernels work fine. On the boot> prompt, try boot /bsd.sp.

Don't know, if just reconfiguring the VM, and booting a MP kernel
with a single CPU helps/works too.

I haven't had time or necessity yet, to look into it a bit closer, maybe
playing with XEN config option i.e. noapic, or noacpi etc. in the
xen config file might or might not help. 
I currently only need "small" machines, where one CPU core is 
enough.


cheers,
Sebastian


> Following is the dmesg output :
> 
> OpenBSD 5.6 (GENERIC.MP) #333: Fri Aug  8 00:20:21 MDT 2014
>     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 109047808 (103MB)
> avail mem = 97517568 (93 MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xfc001000 (12 entries)
> bios0: vendor Xen version "4.4.1" date 12/11/2014
> bios0: Xen HVM domU
> acpi at bios0 not configured
> mpbios0 at bios0: Intel MP Specification 1.4
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Celeron(R) CPU G1610 @ 2.60GHz, 2594.52 MHz
> cpu0: 
> FPU,VMC,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,MMX,
> FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,SSSE3,CX16,PCID,SSE4.1,SSE3.2,x2APIC,POPCNT,DEADL
> INE,XSAVE,FSGSBASE,SMEP,ERMS
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 100MHz
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Celeron(R) CPU G1610 @ 2.60GHz, 2594.36 MHz
> cpu1: 
> FPU,VMC,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,MMX,
> FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,SSSE3,CX16,PCID,SSE4.1,SSE3.2,x2APIC,POPCNT,DEADL
> INE,XSAVE,FSGSBASE,SMEP,ERMS
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> mpbios0: bus 0 is type ISA
> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 11, 48 pins
> ioapic0: misconfigured as apic0, remapped to apid 1
> pci0 at mainbus 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 
> w
> ired to compatibility, channel 1 wired to compatibility
> wd0 at pciide0 channel 0 drive 0: <QEMU HARDDISK>
> wd0: 16-sector PIO, LBA48, 51200MB, 104857600 sectors
> wdi1 at pciide0 channel 0 drive 1: <QEMU HARDDISK>
> wd1: 16-sector PIO, LBA48, 128MB, 262144 sectors
> wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
> wd1(pciide0:0:1): using PIO mode 4, DMA mode 2
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus1 at atapiscsi0: 2 targets
> cd0 at scsibus1 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 2.1.> ATAPI 5/cdrom 
> removabl
> e
> cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
> "XenSource Platform Device" rev 0x01 at pci0 dev 2 function 0 not configured
> vga1 at pci0 dev 3 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)
> re0 at pci0 dev 4 function 0 "Realtek 8139" rev 0x20: RTL8139C+ (0x7480), 
> apic 1
>  int 5, address 00:16:3e:b4:5a:29
> rlphy0 at re0 phy 0: RTL internal PHY
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com0: probed fifo depth: 0 bytes
> 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 1: density unknown
> nvram: invalid checksum
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on wd0a (dbd5aff2bf9a7bb0.a), swap on wd0b dump on wd0b
> clock: unknown CMOS layout
> kernel: double fault trap, code=0
> Stopped at      0:      kernel: page fault trap, code=0
> Stopped at      db_read_bytes+0x22:     movzbl  0(%rdi,%rcx,1),%eax
> 
> Following is the trace:
> 
> ddb{1}> trace
> db_read_bytes() at db_read_bytes+0x22
> db_get_value() at db_get_value+0x34
> db_disasm() at db_disasm+0x42
> db_trap() at db_trap+0x90
> kdb_trap() at kdb_trap+0xf0
> trap() at trap+0x15d
> --- trap (number 13) ---
> mpidle() at 0
> cpu_spinup_trampoline_end() at cpu_spinup_trampoline_end+0x67
> end trace frame: 0x0, count = -8
> 
> I don't know if I should provide anything else, if you need something please
> tell me.
> 
> Thank you for any help

Reply via email to