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

next in thread | raw e-mail | index | archive | help
Just thought I'd pass along that I have successfully installed FreeBSD 7.0=
=20
into a Xen 3.1 HVM. =C2=A0This one went as smooth as I expected, considerin=
g my=20
experience with 6.3. =C2=A0Haven't done any benchmarking or stress testing =
or=20
port installs or anything. =C2=A0But so far it's working nicely.

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


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


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


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

# VM/domain name
name            =3D 'freebsd70'

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

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

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

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

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

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


=46reeBSD 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.
=46reeBSD is a registered trademark of The FreeBSD Foundation.
=46reeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
    root@logan.cse.buffalo.edu:/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 =3D "AuthenticAMD"  Id =3D 0x40f13  Stepping =3D 3
 =20
=46eatures=3D0x789fbbf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA=
,CMOV,PAT,CLFLUSH,MMX,FXSR,SSE,SSE2>
  Features2=3D0x2001<SSE3,CX16>
  AMD Features=3D0x28400800<SYSCALL,MMX+,RDTSCP,LM>
  AMD Features2=3D0x19<LAHF,ExtAPIC,CR8>
real memory  =3D 1073717248 (1023 MB)
avail memory =3D 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=20
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=20
0xf0000000-0xf1ffffff,0xf2000000-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=20
0xf4000000-0xf40000ff 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 0xc0000-0xc7fff pnpid ORM0000 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=3D0x300>
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 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio0: [FILTER]
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 2793128576 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
GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_Install.
Trying to mount root from ufs:/dev/ad0s1a


=46reeBSD 7.0 pciconf -vl:
hostb0@pci0:0:0:0:      class=3D0x060000 card=3D0x00000000 chip=3D0x1237808=
6=20
rev=3D0x02 hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D '82440/1FX 440FX (Natoma) System Controller'
    class      =3D bridge
    subclass   =3D HOST-PCI
isab0@pci0:0:1:0:       class=3D0x060100 card=3D0x00000000 chip=3D0x7000808=
6=20
rev=3D0x00 hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D '82371SB PIIX3 PCI-to-ISA Bridge (Triton II)'
    class      =3D bridge
    subclass   =3D PCI-ISA
atapci0@pci0:0:1:1:     class=3D0x010180 card=3D0x00015853 chip=3D0x7010808=
6=20
rev=3D0x00 hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D '82371SB PIIX3 IDE Interface (Triton II)'
    class      =3D mass storage
    subclass   =3D ATA
vgapci0@pci0:0:2:0:     class=3D0x030000 card=3D0x00015853 chip=3D0x00b8101=
3=20
rev=3D0x00 hdr=3D0x00
    vendor     =3D 'Cirrus Logic'
    device     =3D 'CL-GD5446 64-bit VisualMedia Accelerator'
    class      =3D display
    subclass   =3D VGA
none0@pci0:0:3:0:       class=3D0xff8000 card=3D0x00015853 chip=3D0x0001585=
3=20
rev=3D0x01 hdr=3D0x00
re0@pci0:0:4:0: class=3D0x020000 card=3D0x00015853 chip=3D0x813910ec rev=3D=
0x20=20
hdr=3D0x00
    vendor     =3D 'Realtek Semiconductor'
    device     =3D 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
    class      =3D network
    subclass   =3D ethernet

=2D-=20
=46reddie Cash
fjwcash@gmail.com



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