WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 622] New: FreeBSD bootloader stops with BTX halted in hv

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 622] New: FreeBSD bootloader stops with BTX halted in hvm domU
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Tue, 18 Apr 2006 19:33:31 -0700
Delivery-date: Tue, 18 Apr 2006 19:34:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=622

           Summary: FreeBSD bootloader stops with BTX halted in hvm domU
           Product: Xen
           Version: 3.0.1
          Platform: x86
        OS/Version: FreeBSD
            Status: NEW
          Severity: major
          Priority: P2
         Component: Guest-OS
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: xen.nospam@xxxxxxxxxx


I am running Xen 3.0.2-2 with Ubuntu 5.10.  VT hardware is a Pentium D 920
running on an Asus P5WDG2-WS (975X chipset).

I have tried several different versions of FreeBSD as hvm guests, all with a
similar result of BTX halted during the intitial bootloader process.  One of
the versions tested was the FreeBSD 4.11 based m0n0wall, which would serve as a
nice lightweight test case.  GRUB can be used to successfully boot the kernel,
although then drives are not detected instead giving an interrupt error.  If
GRUB loads /boot/loader, a similar BTX halted error as described below occurs.

The error happens every time, in three different situations, so hopefully it is
easily reproducible.  As noted before m0n0wall is an easy ~5 meg download and
should make for a nice test case <http://m0n0.ch/wall/>.

Thanks,
Andy


----

Relevant info is as follows:


- FreeBSD 5.3

An already working FreeBSD 5.3 install (tested standalone without xen) was
attempted as an hvm guest.

-- `freebsdhd` xen config

<standard arch/lib dir stuff>

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 128
name = "FreeBSD-HD"
acpi=0  # Tried all combinations of acpi off, apic off; apic on, acpi off; ...
apic=0
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'phy:/dev/hda,ioemu:hda,w' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
sdl=0
vnc=1
vncviewer=0

-- Boot Output (copied by hand--as seen through vnc--so hopefully no typos)

Plex86/Bochs VGABios current-cvs 13 Apr 2006
This VGA/VBE Bios is released under the GNU LGPL

Please visit :
 . ...

cirrus-compatible VGA is detected

HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $

ata0 master: QEMU HARDDISK ATA-2 Hard-Disk (-13826 MBytes)
ata0  slave: Unknown Device

Booting from Hard Disk...

F1    FreeBSD

Default: F1


int=0000000d  err=00000000  efl=00010046  eip=000090db
eax=00050033  ebx=00002820  ecx=00000000  edx=0000a000
esi=00009701  edi=000d1f98  ebp=000d7bea  esp=00001800
cs=0008  ds=0000  es=0000    fs=0000  gs=0000  ss=0010
cs:eip=0f 01 15 d0 96 00 00 66-ea e8 90 18 00 b1 20 8e
       d1 8e d9 8e c1 8e e1 8e-e9 48 0f 22 c0 ea fd 90
ss:esp=0a 69 6e 74 3d 30 30 30-30 30 30 30 64 20 20 65
       72 72 3d 30 30 30 30 30-30 30 30 20 20 65 66 6c
BTX halted

<This message, from int= to BTX halted, then repeats indefinitely>

-- Relevant qemu-dm file will be attached



########################


- FreeBSD 4.11 (m0n0wall) -- LVM Backed FS

Standard PC harddrive install of m0n0wall was performed as per
http://m0n0.ch/wall/installation_generic.php on a LVM logical volume.

-- `m0n0wall` xen config

<standard arch/lib dir stuff>

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 64
name = "m0n0wall"
acpi=0  # Tried all combinations of acpi off, apic off; apic on, acpi off; ...
apic=0
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'phy:/dev/xendisks/m0n0wall,ioemu:hda,w' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm.debug'
sdl=0
vnc=1
vncviewer=0

-- Boot Output (copied by hand--as seen through vnc--so hopefully no typos)

Plex86/Bochs VGABios current-cvs 13 Apr 2006
This VGA/VBE Bios is released under the GNU LGPL

Please visit :
 . ...

cirrus-compatible VGA is detected

HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $

ata0 master: QEMU HARDDISK ATA-2 Hard-Disk (512 MBytes)
ata0  slave: Unknown Device

Booting from Hard Disk...

int=0000000d  err=00000000  efl=00010006  eip=000090ac
eax=00094c00  ebx=00002820  ecx=00000033  edx=0000a000
esi=000096c1  edi=000d1f98  ebp=000d7bea  esp=000017f0
cs=0008  ds=0000  es=0000    fs=0000  gs=0000  ss=0010
cs:eip=ff 35 0c 90 00 00 51 51-51 51 52 b1 07 6a 00 e2
ss:esp=2b 00 00 00 02 02 00 00-00 4c 09 00 33 00 00 00
BTX halted

<Stops and does not repeat>

-- Relevant qemu-dm file will be attached




########################


- FreeBSD 4.11 (m0n0wall) -- CD-ROM iso Image

-- `m0n0walliso` xen config

<standard arch/lib dir stuff>

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 64
name = "m0n0wall"
acpi=0  # Tried all combinations of acpi off, apic off; apic on, acpi off; ...
apic=0
vif = [ 'type=ioemu, bridge=xenbr0' ]
cdrom='/home/q3aiml/cdrom-1.22.iso'
boot='d'
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm.debug'
sdl=0
vnc=1
vncviewer=0

-- Boot Output (copied by hand--as seen through vnc--so hopefully no typos)

Plex86/Bochs VGABios current-cvs 13 Apr 2006
This VGA/VBE Bios is released under the GNU LGPL

Please visit :
 . ...

cirrus-compatible VGA is detected

HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $

ata0 master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom
ata0  slave: Unknown Device

Booting from CD-Rom...
CD Loader 1.2

Building the boot loader arguments
Looking up /BOOT/LOADER... Found
Relocating the loader and the BTX
Starting the BTX loader

int=0000000d  err=00000000  efl=00010006  eip=000090ac
eax=00094c00  ebx=00032820  ecx=00000033  edx=0000a000
esi=002096c1  edi=000d1f98  ebp=000d0000  esp=000017f0
cs=0008  ds=0000  es=0000    fs=0000  gs=0000  ss=0010
cs:eip=ff 35 0c 90 00 00 51 51-51 51 52 b1 07 6a 00 e2
ss:esp=2b 00 00 00 02 02 00 00-00 4c 09 00 33 00 00 00
BTX halted

<Stops and does not repeat>

-- Relevant qemu-dm file will be attached


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs