He is using OpenBSD as a guest in Xen, not as a host. // Johan Ryberg On May 6, 2012 3:14 PM, "Tomas Bodzar" <[email protected]> wrote:
> On Sat, May 5, 2012 at 7:44 PM, Martijn Rijkeboer <[email protected]> > wrote: > > Hi, > > > > When booting GENERIC.MP on Xen I get the following page fault trap: > > > > B root on wd0a (6412ffe6504713d5.a) swap on wd0b dump on wd0b > > B clock: unknown CMOS layout > > B kernel: page fault trap, code = 0 > > B Stopped at B B trap+0x6a: B B movq B B %r13,0x1f0(%r14) > > B ddb{1}> > > > > When booting GENERIC all works fine. Below are the specs, sysctl hw, > trace, > > ps and dmesg. Any suggestions? > > Like http://marc.info/?l=openbsd-misc&m=133612760603867&w=2 ? > > > > > > > # OS > > > > OpenBSD 5.1-RELEASE, AMD64 > > > > > > # Xen > > > > XenServer 5.6 Service Pack 2, Build 47101p > > > > > > # sysctl hw > > > > hw.machine=amd64 > > hw.model=Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz > > hw.ncpu=1 > > hw.byteorder=1234 > > hw.pagesize=4096 > > hw.disknames=wd0:6412ffe6504713d5,cd0:,fd0:,fd1: > > hw.diskcount=4 > > hw.cpuspeed=2133 > > hw.vendor=Xen > > hw.product=HVM domU > > hw.version=3.4.2 > > hw.serialno=6d00c118-f807-8694-d16c-cd186dcb9538 > > hw.uuid=6d00c118-f807-8694-d16c-cd186dcb9538 > > hw.physmem=1068498944 > > hw.usermem=1068486656 > > hw.ncpufound=2 > > hw.allowpowerdown=1 > > > > > > # trace > > > > ddb{1}> trace > > trap() at trap+0x6a > > --- trap (number 13) --- > > mpidle() at 0 > > cpu_spinup_trampoline_end() at cpu_spinup_trampoline_end+0x67 > > end trace frame: 0x0, count: -3 > > > > > > # ps > > > > ddb{1}> ps > > B PID B PPID B PGRP B B UID B S B B B FLAGS B WAIT B B B > B COMMAND > > B B 13 B B B 0 B B B 0 B B B 0 B 3 B B 0x100200 B aiodoned B > B aiodoned > > B B 12 B B B 0 B B B 0 B B B 0 B 3 B B 0x100200 B syncer B B > B update > > B B 11 B B B 0 B B B 0 B B B 0 B 3 B B 0x100200 B cleaner B B > cleaner > > B B 10 B B B 0 B B B 0 B B B 0 B 3 B B 0x100200 B reaper B B > B reaper > > B B 9 B B B 0 B B B 0 B B B 0 B 3 B B 0x100200 B pgdaemon B > B pagedaemon > > B B 8 B B B 0 B B B 0 B B B 0 B 3 B B 0x100200 B bored B B B > crypto > > B B 7 B B B 0 B B B 0 B B B 0 B 3 B B 0x100200 B pftm B B B > B pfpruge > > B B 6 B B B 0 B B B 0 B B B 0 B 3 B B 0x100200 B usbtsk B B > B usbtask > > B B 5 B B B 0 B B B 0 B B B 0 B 3 B B 0x100200 B usbatsk B B > usbatsk > > B B 4 B B B 0 B B B 0 B B B 0 B 3 B 0x40100200 B B B B B B > B idle1 > > B B 3 B B B 0 B B B 0 B B B 0 B 3 B B 0x100200 B bored B B B > syswq > > B B 2 B B B 0 B B B 0 B B B 0 B 7 B 0x40100200 B B B B B B > B idle0 > > B B 1 B B B 0 B B B 0 B B B 0 B 3 B B B B B 0 B biowait B B > swapper > > B B 0 B B -1 B B B 0 B B B 0 B 3 B B B 0x200 B scheduler B > swapper > > > > > > # dmesg (GENERIC) > > > > OpenBSD 5.1 (GENERIC) #181: Sun Feb 12 09:35:53 MST 2012 > > B B [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC > > real mem = 1068498944 (1019MB) > > avail mem = 1025982464 (978MB) > > mainbus0 at root > > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xeb01f (12 entries) > > bios0: vendor Xen version "3.4.2" date 03/25/2011 > > bios0: Xen 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 CPU 6420 @ 2.13GHz, 2133.68 MHz > > cpu0: > > > > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,MMX, > FXSR,SSE,SSE2,SSE3,SSSE3,CX16,LONG,LAHF > > cpu0: 4MB 64b/line 16-way L2 cache > > cpu0: apic clock running at 100MHz > > cpu at mainbus0: not configured > > 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, 40960MB, 83886080 sectors > > wd0(pciide0:0:0): using PIO mode 0, DMA mode 2 > > atapiscsi0 at pciide0 channel 1 drive 1 > > scsibus0 at atapiscsi0: 2 targets > > cd0 at scsibus0 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 0.10> ATAPI 5/cdrom > > removable > > cd0(pciide0:1:1): using PIO mode 0 > > uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 1 int 5 > > piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x01: 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:11:11:f8:51:c3 > > 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 > > lpt0 at isa0 port 0x378/4 irq 7 > > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > > fd0 at fdc0 drive 0: density unknown > > fd1 at fdc0 drive 1: density unknown > > usb0 at uhci0: USB revision 1.0 > > uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > nvram: invalid checksum > > mtrr: Pentium Pro MTRR support > > uhidev0 at uhub0 port 2 configuration 1 interface 0 "QEMU 0.10.2 QEMU USB > > Tablet" rev 1.00/0.00 addr 2 > > uhidev0: iclass 3/1 > > uhid0 at uhidev0: input=6, output=0, feature=0 > > vscsi0 at root > > scsibus1 at vscsi0: 256 targets > > softraid0 at root > > scsibus2 at softraid0: 256 targets > > root on wd0a (6412ffe6504713d5.a) swap on wd0b dump on wd0b > > clock: unknown CMOS layout > > > > > > Kind regards, > > > > > > Martijn Rijkeboer

