Re: FreeBSD 7.0 + Xen 3.1 + HVM: Success!

2008-06-30 Thread Joe Auty

Kip,

Does the problem with Xen 3.1 in HVM/Intel manifest as those BTX halted 
errors (e.g. 
http://lists.xensource.com/archives/html/xen-users/2006-10/msg00014.html) ?


If so, do you happen to know whether this problem has been solved in Xen 
3.2 or 3.2.1? This message of yours was written this March, so I'm 
assuming that 3.2.1 will contain this fix?


Can anybody confirm this? I'm having a hard time finding an RPM for 
CentOS 5.2/Xen 3.2.1 right now... I know this isn't a CentOS list, but 
I'm just wondering if anybody has been able to boot FBSD 7.0/HVM/Intel 
64 bit?






I'd just like to observe that due to bugs in their real-mode emulation
(only required on intel) FreeBSD won't run on Xen 3.1 in HVM on Intel
processors. This longstanding issue was finally fixed very recently
in the 3.2 branch.

-Kip

On Fri, Feb 29, 2008 at 3:34 PM, Freddie Cash [EMAIL PROTECTED] wrote:

Just thought I'd pass along that I have successfully installed FreeBSD 7.0
into a Xen 3.1 HVM. This one went as smooth as I expected, considering my
experience with 6.3. Haven't done any benchmarking or stress testing or
port installs or anything. But so far it's working nicely.

Here's all the info. If you'd like to see anything else, let me know.


Host hardware:
Tyan h2000M motherboard
2x AMD Opteron 2200-series CPUs (dual-core)
8 GB ECC DDR2-800 SDRAM
3Ware Escalade 9650SX-12ML PCIe RAID controller
12x 400 GB SATA harddrives in RAID6 with 1 hot spare (4 TB)


Host software:
Ubuntu Server 7.10 64-bit version
Linux kernel 2.6.22
Xen 3.1
LVM partitions for all the virtual machines


Xen config file:
# Enable hardware virtualisation using HVM
kernel = '/usr/lib/xen-ioemu-3.1/boot/hvmloader'
device_model = '/usr/lib/xen-ioemu-3.1/bin/qemu-dm'
builder = 'hvm'

# VM/domain name
name = 'freebsd70'

# Memory and CPU settings
vcpus = '1'
memory = '1024'

# Disk settings
disk =
[ 'phy:/dev/xenvol0/freebsd70,ioemu:hda,w', 
'file:/home/fcash/freebsd-7.0-i386-cd1.iso,hdc:cdrom,r' ]
boot = 'c'

# Network settings
hostname = 'fbsdvm2.sd73.bc.ca'
vif = [ 'type=ioemu, bridge=xenbr3, mac=00:16:3e:00:00:03' ]
dhcp = '1'

# Graphics settings
sdl = '0'
vnc = '1'
vncviewer = '1'

# Other settings
pae = '0' # Whether to enable PAE for 32-bit VMs
acpi = '0' # Whether to enable ACPI for guests
localtime = '1' # Whether system clock is set to local
time or UTC

# Start/stop settings
on_poweroff = 'destroy'
on_reboot = 'destroy'
on_crash = 'destroy'


FreeBSD 7.0 dmesg:
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Dual-Core AMD Opteron(tm) Processor 2220 (2793.13-MHz 686-class CPU)
Origin = AuthenticAMD Id = 0x40f13 Stepping = 3


Features=0x789fbbfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,MMX,FXSR,SSE,SSE2
Features2=0x2001SSE3,CX16
AMD Features=0x28400800SYSCALL,MMX+,RDTSCP,LM
AMD Features2=0x19LAHF,ExtAPIC,CR8
real memory = 1073717248 (1023 MB)
avail memory = 1037139968 (989 MB)
MPTable: _HVMCPU_ XEN 
ioapic0: Changing APIC ID to 1
ioapic0: Assuming intbase of 0
ioapic0 Version 1.1 irqs 0-47 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27)
cpu0 on motherboard
pcib0: Host to PCI bridge pcibus 0 on motherboard
pir0: PCI Interrupt Routing Table: 6 Entries on motherboard
pci0: PCI bus on pcib0
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX3 WDMA2 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc000-0xc00f at device 1.1 on pci0
ata0: ATA channel 0 on atapci0
ata0: [ITHREAD]
ata1: ATA channel 1 on atapci0
ata1: [ITHREAD]
vgapci0: VGA-compatible display mem
0xf000-0xf1ff,0xf200-0xf2000fff at device 2.0 on pci0
pci0: unknown at device 3.0 (no driver attached)
re0: RealTek 8139C+ 10/100BaseTX port 0xc200-0xc2ff mem
0xf400-0xf4ff irq 5 at device 4.0 on pci0
miibus0: MII bus on re0
rlphy0: RealTek internal media interface PHY 0 on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
re0: Ethernet address: 00:16:3e:00:00:03
re0: [FILTER]
pmtimer0 on isa0
orm0: ISA Option ROM at iomem 0xc-0xc7fff pnpid ORM on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard irq 1 

Re: FreeBSD 7.0 + Xen 3.1 + HVM: Success!

2008-03-06 Thread Kip Macy
I'd just like to observe that due to bugs in their real-mode emulation
(only required on intel) FreeBSD won't run on Xen 3.1 in HVM on Intel
processors. This longstanding  issue was finally fixed very recently
in the 3.2 branch.

 -Kip

On Fri, Feb 29, 2008 at 3:34 PM, Freddie Cash [EMAIL PROTECTED] wrote:
 Just thought I'd pass along that I have successfully installed FreeBSD 7.0
  into a Xen 3.1 HVM.  This one went as smooth as I expected, considering my
  experience with 6.3.  Haven't done any benchmarking or stress testing or
  port installs or anything.  But so far it's working nicely.

  Here's all the info.  If you'd like to see anything else, let me know.


  Host hardware:
Tyan h2000M motherboard
2x AMD Opteron 2200-series CPUs (dual-core)
8 GB ECC DDR2-800 SDRAM
3Ware Escalade 9650SX-12ML PCIe RAID controller
12x 400 GB SATA harddrives in RAID6 with 1 hot spare (4 TB)


  Host software:
Ubuntu Server 7.10 64-bit version
Linux kernel 2.6.22
Xen 3.1
LVM partitions for all the virtual machines


  Xen config file:
  # Enable hardware virtualisation using HVM
  kernel  = '/usr/lib/xen-ioemu-3.1/boot/hvmloader'
  device_model= '/usr/lib/xen-ioemu-3.1/bin/qemu-dm'
  builder = 'hvm'

  # VM/domain name
  name= 'freebsd70'

  # Memory and CPU settings
  vcpus   = '1'
  memory  = '1024'

  # Disk settings
  disk=
  [ 'phy:/dev/xenvol0/freebsd70,ioemu:hda,w', 
 'file:/home/fcash/freebsd-7.0-i386-cd1.iso,hdc:cdrom,r' ]
  boot= 'c'

  # Network settings
  hostname= 'fbsdvm2.sd73.bc.ca'
  vif = [ 'type=ioemu, bridge=xenbr3, mac=00:16:3e:00:00:03' ]
  dhcp= '1'

  # Graphics settings
  sdl = '0'
  vnc = '1'
  vncviewer   = '1'

  # Other settings
  pae = '0'   # Whether to enable PAE for 32-bit VMs
  acpi= '0'   # Whether to enable ACPI for guests
  localtime   = '1'   # Whether system clock is set to local
  time or UTC

  # Start/stop settings
  on_poweroff = 'destroy'
  on_reboot   = 'destroy'
  on_crash= 'destroy'


  FreeBSD 7.0 dmesg:
  Copyright (c) 1992-2008 The FreeBSD Project.
  Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
  FreeBSD is a registered trademark of The FreeBSD Foundation.
  FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
  Timecounter i8254 frequency 1193182 Hz quality 0
  CPU: Dual-Core AMD Opteron(tm) Processor 2220 (2793.13-MHz 686-class CPU)
   Origin = AuthenticAMD  Id = 0x40f13  Stepping = 3

  
 Features=0x789fbbfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,MMX,FXSR,SSE,SSE2
   Features2=0x2001SSE3,CX16
   AMD Features=0x28400800SYSCALL,MMX+,RDTSCP,LM
   AMD Features2=0x19LAHF,ExtAPIC,CR8
  real memory  = 1073717248 (1023 MB)
  avail memory = 1037139968 (989 MB)
  MPTable: _HVMCPU_ XEN 
  ioapic0: Changing APIC ID to 1
  ioapic0: Assuming intbase of 0
  ioapic0 Version 1.1 irqs 0-47 on motherboard
  kbd1 at kbdmux0
  ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
  hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27)
  cpu0 on motherboard
  pcib0: Host to PCI bridge pcibus 0 on motherboard
  pir0: PCI Interrupt Routing Table: 6 Entries on motherboard
  pci0: PCI bus on pcib0
  isab0: PCI-ISA bridge at device 1.0 on pci0
  isa0: ISA bus on isab0
  atapci0: Intel PIIX3 WDMA2 controller port
  0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc000-0xc00f at device 1.1 on pci0
  ata0: ATA channel 0 on atapci0
  ata0: [ITHREAD]
  ata1: ATA channel 1 on atapci0
  ata1: [ITHREAD]
  vgapci0: VGA-compatible display mem
  0xf000-0xf1ff,0xf200-0xf2000fff at device 2.0 on pci0
  pci0: unknown at device 3.0 (no driver attached)
  re0: RealTek 8139C+ 10/100BaseTX port 0xc200-0xc2ff mem
  0xf400-0xf4ff irq 5 at device 4.0 on pci0
  miibus0: MII bus on re0
  rlphy0: RealTek internal media interface PHY 0 on miibus0
  rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
  re0: Ethernet address: 00:16:3e:00:00:03
  re0: [FILTER]
  pmtimer0 on isa0
  orm0: ISA Option ROM at iomem 0xc-0xc7fff pnpid ORM on isa0
  atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
  atkbd0: AT Keyboard irq 1 on atkbdc0
  kbd0 at atkbd0
  atkbd0: [GIANT-LOCKED]
  atkbd0: [ITHREAD]
  psm0: PS/2 Mouse irq 12 on atkbdc0
  psm0: [GIANT-LOCKED]
  psm0: [ITHREAD]
  psm0: model IntelliMouse Explorer, device ID 4
  ppc0: parallel port not found.
  sc0: System console at flags 0x100 on isa0
  sc0: VGA 16 virtual consoles, flags=0x300
  sio0: configured irq 4 not in bitmap of probed irqs 0
  sio0: port may not be enabled
  sio0: configured irq 4 not in bitmap of probed irqs 0
  sio0: port may not be enabled
  sio0 at port