[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-stable
Subject:    Re: FreeBSD 7.0 + Xen 3.1 + HVM: Success!
From:       Joe Auty <joe () netmusician ! org>
Date:       2008-06-30 6:02:20
Message-ID: 486876EC.1020002 () netmusician ! org
[Download RAW message or body]

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 <fjwcash@xxxxxxxxx> 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
> root@xxxxxxxxxxxxxxxxxxxxx:/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=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 = 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
> 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
> 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=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 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
> 
> 
> FreeBSD 7.0 pciconf -vl:
> hostb0@pci0:0: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:0: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:0: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
> vgapci0@pci0:0: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
> none0@pci0:0:3:0: class=0xff8000 card=0x00015853 chip=0x00015853
> rev=0x01 hdr=0x00
> re0@pci0:0: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@xxxxxxxxx
> _______________________________________________
> freebsd-stable@xxxxxxxxxxx mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



-- 
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
joe@netmusician.org
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic