Setup with Netbsd domU on Debian Sarge Dom0 fails with error 2: non-PAE kernel on PAE host. At this point I am seeking help from someone whom have done this before as I have been through the posts and I see a few "theories" on how to do this. Dirk in the post below claimed to have successfully done this... is there any one else and can you please post instructions for the benefit of the community so that in one years time someone else does not ask for this. NetBSD-domU on debian-dom0? - RESOLVED http://lists.xensource.com/archives/html/xen-users/2006-02/msg00245.html Please Assist, Grel Free MoviesĀ 100''s of Free Feature Length Films - Meet Friends, Watch Movies & Win! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Keir Fraser
2007-Jan-28 14:42 UTC
[Xen-users] Re: [Xen-devel] Anyone done this before? Netbsd on Debian
On 28/1/07 2:32 pm, "grg lmb" <grelamen@lycos.com> wrote:> Setup with Netbsd domU on Debian Sarge Dom0 fails with > error 2: non-PAE kernel on PAE host.I believe the NEtBSD port currentl supports only non-PAE operation, while Debian packages are most likely built with PAE enabled. To run the NetBSD domU you would need to rebuild the Xen and dom0 kernel with PAE disabled. -- Keir _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Luke S. Crawford
2007-Jan-29 09:50 UTC
[Xen-users] Re: [Xen-devel] Anyone done this before? Netbsd on Debian
On Sun, 28 Jan 2007, grg lmb wrote:> Setup with Netbsd domU on Debian Sarge Dom0 fails with > error 2: non-PAE kernel on PAE host. > > At this point I am seeking help from someone whom have done this before as I have been through the posts and I see a few "theories" on > how to do this. Dirk in the post below claimed to have successfully done this... is there any one else and can you please post > instructions for the benefit of the community so that in one years time someone else does not ask for this.Yes, well, the pae/non-pae status of your domU/dom0 must match.>From what I understand, NetBSD doesn''t support PAE. (Is this true?seems odd to me.) I do run NetBSD DomUs on a Debian Dom0, and it does work great (in fact, I am typing this message on a NetBSD DomU running on a Debian Dom0) But I have compiled my Debian Dom0 kernel *Without* PAE support. (I think this is the default when you compile xen from source.) I use the 3.0.4 http://xenbits.xensource.com/xen-3.0.4-testing.hg If someone else knows how to make PAE work on NetBSD, please post. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christoph Egger
2007-Jan-29 09:59 UTC
Re: [Xen-devel] Anyone done this before? Netbsd on Debian
On Monday 29 January 2007 10:50, Luke S. Crawford wrote:> On Sun, 28 Jan 2007, grg lmb wrote: > > Setup with Netbsd domU on Debian Sarge Dom0 fails with > > error 2: non-PAE kernel on PAE host. > > > > At this point I am seeking help from someone whom have done this before > > as I have been through the posts and I see a few "theories" on how to do > > this. Dirk in the post below claimed to have successfully done this... is > > there any one else and can you please post instructions for the benefit > > of the community so that in one years time someone else does not ask for > > this. > > Yes, well, the pae/non-pae status of your domU/dom0 must match. > > >From what I understand, NetBSD doesn''t support PAE. (Is this true? > > seems odd to me.) I do run NetBSD DomUs on a Debian Dom0, and it does > work great (in fact, I am typing this message on a NetBSD DomU running on > a Debian Dom0) But I have compiled my Debian Dom0 kernel *Without* PAE > support. > > (I think this is the default when you compile xen from source.) I use the > 3.0.4 http://xenbits.xensource.com/xen-3.0.4-testing.hg > > > If someone else knows how to make PAE work on NetBSD, please post.There are two ways: 1. Implement PAE support in NetBSD 2. Make non-PAE guests in PAE Hypervisor work properly The first point is NetBSD-related, the second is Xen related. Christoph _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2007-Jan-29 10:33 UTC
Re: [Xen-devel] Anyone done this before? Netbsd on Debian
On 29/1/07 09:59, "Christoph Egger" <Christoph.Egger@amd.com> wrote:> There are two ways: > > 1. Implement PAE support in NetBSD > 2. Make non-PAE guests in PAE Hypervisor work properly > > The first point is NetBSD-related, the second is Xen related.Option (2) will require shadow pagetables, which is halfway to running the guest as an HVM guest (which you can of course try -- it should work fine as long as the bootloader real-mode code runs okay). Option (1) has to be the long-term strategy -- then NetBSD can run on PAE or x64 hypervisor. Long term we would like to kill off the 32-bit non-pae hypervisor build and thus reduce the test matrix. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Christoph Egger
2007-Jan-29 10:57 UTC
Re: [Xen-devel] Anyone done this before? Netbsd on Debian
On Monday 29 January 2007 11:33, Keir Fraser wrote:> On 29/1/07 09:59, "Christoph Egger" <Christoph.Egger@amd.com> wrote: > > There are two ways: > > > > 1. Implement PAE support in NetBSD > > 2. Make non-PAE guests in PAE Hypervisor work properly > > > > The first point is NetBSD-related, the second is Xen related. > > Option (2) will require shadow pagetables, which is halfway to running the > guest as an HVM guest (which you can of course try -- it should work fine > as long as the bootloader real-mode code runs okay).NetBSD has been paravirtualized a long time ago. It supports Xen2 and Xen3. Xen1 has been dropped when support for Xen2 has been added. It is usable as both Dom0 and DomU.> Option (1) has to be the long-term strategy -- then NetBSD can run on PAE > or x64 hypervisor. Long term we would like to kill off the 32-bit non-pae > hypervisor build and thus reduce the test matrix.That''s easy to do since OpenBSD/i386 supports PAE. The code between OpenBSD and NetBSD is so similar that the porting effort to NetBSD drops nearly down to copying & adjusting the code. It should be doable in two weeks. If you are familiar with the code, then it''s even doable in one week. Christoph _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel