Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Feb 2008 14:42:49 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        stable@freebsd.org
Subject:   FreeBSD 6.3 + Xen 3.1 HVM:  Success!
Message-ID:  <200802291442.49915.fjwcash@gmail.com>

next in thread | raw e-mail | index | archive | help
Just thought I'd pass along that I have successfully installed FreeBSD 6.3 
into a Xen 3.1 HVM.  Went a lot smoother than I expected.  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            = 'freebsd'

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

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

# Network settings
hostname        = 'fbsdvm1.sd73.bc.ca'
vif             = [ 'type=ioemu, bridge=xenbr3, mac=00:16:3e:00:00:02' ]
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 6.3 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 6.3-RELEASE #0: Wed Jan 16 04:18:52 UTC 2008
    root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
MPTable: <_HVMCPU_ XEN         >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Dual-Core AMD Opteron(tm) Processor 2220 (2793.12-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x40f13  Stepping = 3
  
Features=0x789fbbf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,MMX,FXSR,SSE,SSE2>
  Features2=0x2001<SSE3,CX16>
  AMD Features=0x28400800<SYSCALL,MMX+,RDTSCP,LM>
  AMD Features2=0x19<LAHF,ExtAPIC,CR8>
real memory  = 1073717248 (1023 MB)
avail memory = 1041719296 (993 MB)
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 (Jan 16 2008 04:16:19)
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
Correcting Natoma config for non-SMP
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
ata1: <ATA channel 1> on atapci0
pci0: <display, VGA> at device 2.0 (no driver attached)
pci0: <unknown> at device 3.0 (no driver attached)
re0: <RealTek 8139C+ 10/100BaseTX> port 0xc200-0xc2ff mem 
0xf4000000-0xf40000ff irq 5 at device 4.0 on pci0
miibus0: <MII bus> on re0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
re0: Ethernet address: 00:16:3e:00:00:02
re0: [FAST]
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff 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]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
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 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2793124857 Hz quality 800
Timecounters tick every 1.000 msec
hptrr: no controller detected.
ad0: 102400MB <QEMU HARDDISK 0.8.2> at ata0-master WDMA2
acd0: CDROM <QEMU CD-ROM/0.8.2> at ata1-master PIO3
Trying to mount root from ufs:/dev/ad0s1a


pciconf -vl:
hostb0@pci0:0:0:        class=0x060000 card=0x00000000 chip=0x12378086 
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82440/1FX 440FX (Natoma) System Controller'
    class      = bridge
    subclass   = HOST-PCI
isab0@pci0:1:0: class=0x060100 card=0x00000000 chip=0x70008086 rev=0x00 
hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82371SB PIIX3 PCI-to-ISA Bridge (Triton II)'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:1:1:       class=0x010180 card=0x00015853 chip=0x70108086 
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82371SB PIIX3 IDE Interface (Triton II)'
    class      = mass storage
    subclass   = ATA
none0@pci0:2:0: class=0x030000 card=0x00015853 chip=0x00b81013 rev=0x00 
hdr=0x00
    vendor     = 'Cirrus Logic'
    device     = 'CL-GD5446 64-bit VisualMedia Accelerator'
    class      = display
    subclass   = VGA
none1@pci0:3:0: class=0xff8000 card=0x00015853 chip=0x00015853 rev=0x01 
hdr=0x00
re0@pci0:4:0:   class=0x020000 card=0x00015853 chip=0x813910ec rev=0x20 
hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
    class      = network
    subclass   = ethernet

-- 
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802291442.49915.fjwcash>