----- Original Message ----
From: "Patro, Sumant" <Sumant.Patro@xxxxxxx>
To: Igor Chubin <igor@xxxxxxx>; Keir.Fraser@xxxxxxxxxxxx; kip.macy@xxxxxxxxx
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Sent: Wednesday, May 14, 2008 10:07:59 PM
Subject: RE: [Xen-users] Loading FreeBSD in an HVM-domain on Intel-basedhost with GRUB
Hello All,
    I am trying to install FreeBSD 7.0 (8.0-current) as a guest OS
with RHEL 5.1/5.2. I compiled xen 3.2 with vmxassist=n as suggested in
bug 622. After I installed and booted this xen kernel I have difficulty
in starting the VMManager to create guest OS. 
    Could anyone please provide details on which Linux OS & the
tools I may use to install FreeBSD as guest.
    I also tried with the instructions @
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization-guest.html with kernel7.0-Release and kernel8.0-current. With both of
them I get a crash on doing xm create xmexample1.bsd -c. The trace is
below :
(XEN) Unhandled page fault in domain 1 on VCPU 0 (ec=0002)
        (XEN) Pagetable walk
 from 00000472:
        (XEN)  L2[0x000] = 00000000 ffffffff
        (XEN) domain_crash_sync called from entry.S (ff157619)
        (XEN) Domain 1 (vcpu#0) crashed on cpu#1:
        (XEN) ----[ Xen-3.0.4-1  x86_32  debug=n  Not tainted
]----
        (XEN) CPU:    1
        (XEN) EIP:    e019:[<c0458a30>]
        (XEN) EFLAGS: 00000202   CONTEXT: guest
        b   cr4: 000026d0   cr3: 0d873000   cr2: 00000472
        (XEN) ds: e021   es: e021   fs: e021   gs: e021   ss:
e021   cs: e019
        (XEN) Guest stack trace from
 esp=c0c4fff0:
        (XEN)    00000002 c0458a30 0001e019 00010002
        (XEN) Unhandled page fault in domain 2 on VCPU 0
(ec=0002)
        (XEN) Pagetable walk from 00000472:
        (XEN)  L2[0x000] = 00000000 ffffffff
        (XEN) domain_crash_sync called from entry.S (ff157619)
        (XEN) Domain 2 (vcpu#0) crashed on cpu#1:
        (XEN) ----[ Xen-3.0.4-1  x86_32  debug=n  Not tainted
]----
        (XEN) CPU:    1
        (XEN) EIP:    e019:[<c0458a30>]
        (XEN) EFLAGS: 00000202   CONTEXT: guest
        (XEN) eax:
 00000000   ebx: 00000000   ecx: 00000000
edx: 00000000
        (XEN) esi: c0c47000   edi: 00000000   ebp: 00000000
esp: c0c4fff0
        (XEN) cr0: 8005003b   cr4: 000026d0002 c0458a30 0001e019
00010002
        Unhandled page fault in domain 2llllllINIT: Switching to
runlevel: 0
    Thanks in advance. Your help is highly appreciated.
Regards,
Sumant
-----Original Message-----
From: 
xen-users-bounces@xxxxxxxxxxxxxxxxxxx[mailto:
xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Igor Chubin
Sent: Thursday, February 07, 2008 10:37 AM
To: 
Keir.Fraser@xxxxxxxxxxxxCc: 
xen-users@xxxxxxxxxxxxxxxxxxxSubject: Re: [Xen-users] Loading FreeBSD in an HVM-domain on
Intel-basedhost with GRUB
The problem is solved.
Keir Fraser have said in Xen-devel mailing list
that the problem should not exist in the current xen-unstable
(since yesterday).
I have just built xen-unstable and really there is no problem
with usage of /boot/loader in an HVM domain even on a Intel-based host.
So bug 622 does not exist anymore (at least for me).
Thank all and thank Keir again.
On Do, Feb 07, 2008 at 11:32:28 +0100, Oskar Lindgren wrote:
> Hi,
>
> Yes, it is possible. That is how I do it. But io under freebsd is
slow..
>
> /
 Oskar
>
> Igor Chubin skrev:
>> Hello all,
>>
>> please tell me, 
>>
>>
>> is it possible (at least theoretically) to circumvent bug 622 [1] by 
>> using
>> GRUB instead of /boot/loader to load FreeBSD kernel?
>>
>> Or it is silly idea: even if we bypass /boot/loader we will not be
able 
>> to run FreeBSD kernel in a HVM-domain on a Intel-based host for some 
>> other reason?
>>
>>
>> As far as I know, GRUB can't load FreeBSD kernel
>> directly, but only can make chainloading using /boot/loader.
>> Certainly, it is not the solution, but there were patches
>> to GRUB that allow to boot FreeBSD directly [2].
>>
>> I want to try to use it and eliminate /boot/loader
>> from boot process at all.
>>
>>
>> What can you say about this
 idea?
>>
>>
>>
>> [1] 
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=622>> [2] 
http://savannah.gnu.org/bugs/?10728>>
>>   
>
>
> _______________________________________________
> Xen-users mailing list
> 
Xen-users@xxxxxxxxxxxxxxxxxxx> 
http://lists.xensource.com/xen-users-- 
WBR, i.m.chubin
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxhttp://lists.xensource.com/xen-users_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxhttp://lists.xensource.com/xen-users