Hey folks, I have a debian box. I''d like to try out this FreeBSD thing that everbody''s talking about. How do I build the base filesystem, where do I get the kernel, what do the fixed disk names look like, etc? Anybody done this before? Should I just struggle through it and document as I go along? Cheers, C.J. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
My understanding is that the Xen-ification of FreeBSD is at an early stage, and has likely been put on hold due to some distractions currently being suffered by the FreeBSD Xen guy. FreeBSD currently has to be installed as an HVM unless you want to play with what''s been done at http://wiki.freebsd.org/FreeBSD/Xen . Mike O''Brien _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
C.J. Adams-Collier
2008-Jun-13 00:24 UTC
Re: [Xen-users] Building a FreeBSD domU from debian
In that case, could someone HVM-ify this config file for me? I can''t figure out how to convert one of my pvm config files to hvm. Something about missing firmware or something... it''s been so long since I''ve tried... kernel = ''/boot/xenu-linux-2.6.18-4-xen-amd64colliertech.fw+0'' memory = ''160'' root = ''/dev/sda1 ro'' disk = [ ''phy:vgR/smtp-disk,sda1,w'', ''phy:vgR/smtp-swap,sda2,w'' ] name = ''smtp'' vif = [ ''bridge=dmz'' ] on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' If this step is taken care of, I can probably figure out how to launch a freebsd vm. Cheers, C.J. On Thu, 2008-06-12 at 16:20 -0700, Mike O''Brien wrote:> My understanding is that the Xen-ification of FreeBSD is at > an early stage, and has likely been put on hold due to some > distractions currently being suffered by the FreeBSD Xen guy. > > FreeBSD currently has to be installed as an HVM unless you > want to play with what''s been done at http://wiki.freebsd.org/FreeBSD/Xen . > > Mike O''Brien_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sorry, you''re probably looking for a solution from me in particular, but I can''t help you: my hardware doesn''t have the VM instruction set. Mike O''Brien _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Kip Macy indicated to me several months ago that a publicly accessible source repo for the Xen''ified FBSD7 kernel was forthcoming; I''m CCing him in hopes he can chime in and let us know where PV on FBSD7 stands exactly. -Ray On Thu, Jun 12, 2008 at 7:12 PM, C.J. Adams-Collier <cjcollier@gmail.com> wrote:> Hey folks, > > I have a debian box. I''d like to try out this FreeBSD thing that > everbody''s talking about. How do I build the base filesystem, where do > I get the kernel, what do the fixed disk names look like, etc? > > Anybody done this before? Should I just struggle through it and > document as I go along? > > Cheers, > > C.J. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Jun 12, 2008 at 8:24 PM, C.J. Adams-Collier <cjcollier@gmail.com> wrote:> In that case, could someone HVM-ify this config file for me?Find below a working HVM config for FBSD. Note that you''ll need to have Xen 3.2.0 or later compiled with "vmxassist=n", otherwise you''ll get a bunch of errors. -Ray # Enable hardware virtualisation using HVM kernel = ''/usr/lib/xen/boot/hvmloader'' device_model = ''/usr/lib/xen/bin/qemu-dm'' builder = ''hvm'' # VM/domain name name = ''letsgetit'' # Memory and CPU settings vcpus = ''4'' memory = ''512'' # Disk settings disk = [ ''phy:/dev/disk/by-path/somediskimg,ioemu:hda,w'', ''file:/home/7.0-RELEASE-i386-disc1.iso,hdc:cdrom,r'' ] boot = ''cd'' #fix this as appropriate #vif = [ ''type=ioemu, mac=00:16:3e:00:00:07, bridge=bmette31'' ] # Graphics settings sdl = ''0'' #vnc = ''1'' #vncviewer = ''1'' vfb = [ ''type=vnc,vnclisten=0.0.0.0,vncdisplay=4,vncpasswd=rockthemic'' ] # 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 localtime or UTC # Start/stop settings on_poweroff = ''restart'' on_reboot = ''restart'' on_crash = ''restart'' _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
C.J. Adams-Collier
2008-Jun-17 20:05 UTC
Re: [Xen-users] Building a FreeBSD domU from debian
Great! Thank you! Can you tell me where I might find a pre-build barebones filesystem and kernel that plays nice with the below config? Cheers, C.J. On Thu, 2008-06-12 at 22:35 -0400, Ray Barnes wrote:> On Thu, Jun 12, 2008 at 8:24 PM, C.J. Adams-Collier <cjcollier@gmail.com> wrote: > > In that case, could someone HVM-ify this config file for me? > > Find below a working HVM config for FBSD. Note that you''ll need to > have Xen 3.2.0 or later compiled with "vmxassist=n", otherwise you''ll > get a bunch of errors. > > -Ray > > > # Enable hardware virtualisation using HVM > kernel = ''/usr/lib/xen/boot/hvmloader'' > device_model = ''/usr/lib/xen/bin/qemu-dm'' > builder = ''hvm'' > > # VM/domain name > name = ''letsgetit'' > > # Memory and CPU settings > vcpus = ''4'' > memory = ''512'' > > # Disk settings > disk = [ ''phy:/dev/disk/by-path/somediskimg,ioemu:hda,w'', > ''file:/home/7.0-RELEASE-i386-disc1.iso,hdc:cdrom,r'' ] > boot = ''cd'' > > #fix this as appropriate > #vif = [ ''type=ioemu, mac=00:16:3e:00:00:07, bridge=bmette31'' ] > > # Graphics settings > sdl = ''0'' > #vnc = ''1'' > #vncviewer = ''1'' > > vfb = [ ''type=vnc,vnclisten=0.0.0.0,vncdisplay=4,vncpasswd=rockthemic'' ] > > # 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 localtime or UTC > > # Start/stop settings > on_poweroff = ''restart'' > on_reboot = ''restart'' > on_crash = ''restart''_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
The FBSD7 32bit x86 ISO plays along fine with that config. You''ll need a version of Xen 3.2.0 or better, compiled with "vmxassist=n". As for a prebuilt FS, I''m not aware of anyone who offers this (or why you couldn''t make your own, once you have a working HVM of FBSD7). -Ray On Tue, Jun 17, 2008 at 4:05 PM, C.J. Adams-Collier <cjcollier@gmail.com> wrote:> Great! Thank you! > > Can you tell me where I might find a pre-build barebones filesystem and > kernel that plays nice with the below config? > > Cheers, > > C.J. > > > On Thu, 2008-06-12 at 22:35 -0400, Ray Barnes wrote: > > On Thu, Jun 12, 2008 at 8:24 PM, C.J. Adams-Collier <cjcollier@gmail.com> > wrote: > > > In that case, could someone HVM-ify this config file for me? > > > > Find below a working HVM config for FBSD. Note that you''ll need to > > have Xen 3.2.0 or later compiled with "vmxassist=n", otherwise you''ll > > get a bunch of errors. > > > > -Ray > > > > > > # Enable hardware virtualisation using HVM > > kernel = ''/usr/lib/xen/boot/hvmloader'' > > device_model = ''/usr/lib/xen/bin/qemu-dm'' > > builder = ''hvm'' > > > > # VM/domain name > > name = ''letsgetit'' > > > > # Memory and CPU settings > > vcpus = ''4'' > > memory = ''512'' > > > > # Disk settings > > disk = [ ''phy:/dev/disk/by-path/somediskimg,ioemu:hda,w'', > > ''file:/home/7.0-RELEASE-i386-disc1.iso,hdc:cdrom,r'' ] > > boot = ''cd'' > > > > #fix this as appropriate > > #vif = [ ''type=ioemu, mac=00:16:3e:00:00:07, bridge=bmette31'' ] > > > > # Graphics settings > > sdl = ''0'' > > #vnc = ''1'' > > #vncviewer = ''1'' > > > > vfb = [ ''type=vnc,vnclisten=0.0.0.0,vncdisplay=4,vncpasswd=rockthemic'' ] > > > > # 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 localtime or UTC > > > > # Start/stop settings > > on_poweroff = ''restart'' > > on_reboot = ''restart'' > > on_crash = ''restart'' >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users