Hi All,
I don't know if many of you already tried to run OpenBSD on Xen as a HVM
guest, but here is a small report of my attempts this evening.
The virtual server runs on a debian sarge with xen packages from the
backports debian repository. Hardware is a dell 2950 with cpu
virtualisation enabled in BIOS.
I had to use Paul's boot iso image
(http://www.weirdnet.nl/openbsd/serial/ ) to boot and use the serial
console. I could have used the VNC option but all text was too scrambled
to be really usefull.
At first I attempted to use a physical LVM volume as disk but the
installer failed, I think it was wrong about the disk geometry. I will
take a look at this later.
Second problem: I had to tell xen to emulate a ne2k-pci NIC instead of a
rtl8139 (re(4)) NIC. The re(4) card only gave me lots of watchdog
timeouts and no packets. Even though lots of those were fixed on
current, I still have those errors that's why I am still on ne(4). Due
to a strange bug in xen I have to shutdown the virtual machine and start
it again to have networking work. When I do a reboot I get re(4) again.
If re(4) would work ok this host might actually get very usefull ;-)
As you can see in the dmesg the kernel tells me the clock has a unknown
CMOS layout but don't worry, the clock works ok ;-)
I hope this information is usefull to some of you.
here is my dmesg:
OpenBSD 4.1-beta (GENERIC) #1400: Thu Feb 22 03:18:10 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(R) CPU 5130 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,MMX,FXSR,SSE,SSE2,SS,SBF,SSE3,DS-CPL,CX16,xTPR
real mem = 133722112 (130588K)
avail mem = 114614272 (111928K)
using 1663 buffers containing 6811648 bytes (6652K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 06/23/99, BIOS32 rev. 0 @ 0xf9e80,
SMBIOS rev. 2.4 @ 0x9f01f (10 entries)
bios0: Xen HVM domU
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfa120/128 (6 entries)
pcibios0: PCI Interrupt Router at 000:01:0 ("Intel 82371SB ISA" rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
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, 4027MB, 8248792 sectors
wd0(pciide0:0:0): using PIO mode 0, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <QEMU, QEMU CD-ROM, 0.8.> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 0, DMA mode 1
"Cirrus Logic CL-GD5446" rev 0x00 at pci0 dev 2 function 0 not configured
unknown vendor 0x5853 product 0x0001 (class undefined unknown subclass
0x80, rev 0x01) at pci0 dev 3 function 0 not configured
re0 at pci0 dev 4 function 0 "Realtek 8139" rev 0x20, RTL8139C+
(0x7480): irq 11, address 00:16:3e:23:af:69
rlphy0 at re0 phy 0: RTL internal PHY
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcdisplay0 at isa0 port 0x3d0/16 iomem 0xb8000/32768
wsdisplay0 at pcdisplay0 mux 1: console (80x25, vt100 emulation), using
wskbd0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16450, no fifo
pccom0: console
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: density unknown
fd1 at fdc0 drive 1: density unknown
biomask e76d netmask ef6d ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
nvram: invalid checksum
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
clock: unknown CMOS layout
re0: watchdog timeout
re0: watchdog timeout
re0: watchdog timeout
re0: watchdog timeout
Regards,
Wijnand