From owner-freebsd-xen@FreeBSD.ORG Wed Feb 1 03:01:12 2012 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F08C1065670 for ; Wed, 1 Feb 2012 03:01:12 +0000 (UTC) (envelope-from baryluk@smp.if.uj.edu.pl) Received: from smp.if.uj.edu.pl (smp.if.uj.edu.pl [149.156.82.206]) by mx1.freebsd.org (Postfix) with ESMTP id 1669E8FC0C for ; Wed, 1 Feb 2012 03:01:11 +0000 (UTC) Received: from users.smp.if.uj.edu.pl (users.smp.if.uj.edu.pl [::ffff:10.0.1.244]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by smp.if.uj.edu.pl with esmtp; Wed, 01 Feb 2012 04:01:09 +0100 id 0001C73C.4F28AAF5.00004765 Received: from baryluk by users.smp.if.uj.edu.pl with local (Exim 4.72) (envelope-from ) id 1RsQRY-0002nV-Mz; Wed, 01 Feb 2012 04:01:08 +0100 Date: Wed, 1 Feb 2012 04:01:08 +0100 From: Witold Baryluk To: =?iso-8859-1?Q?G=F3t_Andr=E1s?= Message-ID: <20120201030108.GH12978@smp.if.uj.edu.pl> References: <20120131172232.GE12978@smp.if.uj.edu.pl> <079aa81f893021a200468e57199401fb@deployis.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <079aa81f893021a200468e57199401fb@deployis.eu> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-xen@freebsd.org Subject: Re: Is there any prebuild 9.0 PV i386 kernel image? X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2012 03:01:12 -0000 On 01-31 20:52, Gót András wrote: > Hi, > > You may install a "provisioning" HVM instance where you can mount a > disk/filesystem. After you compiled the source you can make > installworld/installkernel DESTDIR=mynewsystempath and there you go. > Also don't forget a make distribution. :) After this you can easily > do an image with dd if you're also using LVM for XEN "disks". > > The provisioning HVM instance might come handy any you have a > problem with a PV instance. I know I can do this. This is not the point of my post. I can do many akward things, including having separate FreeBSD machine just for building 2MB kernel with Xen enabled. But why not just provide prebuild XEN-enabled kernel image on FTP server? Clearly it is possible, because I just installed fully functional system using kfreebsd-9 kernel from Debian [1]. After building freebsd release, recompile it again with Xen enabled, and extract new kernel. Then just put such kernel on .iso in separate directory or on ftp mirrors as separate image like as in netbsd or debian, and no compilation by user will be needed. It is about 2-4MB, will not harm even -bootonly.iso image. By telling me to compile kernel by own you are just like telling potential user: "To install FreeBSD you need to have FreeBSD installed". It is not the best answer (as clearly I was able to install FreeBSD on Xen without having FreeBSD or any compilation!, just using Debian's kernel, but would like to use or have possibility to use upstream/original kernel). Also not everybody have access to HVM instance (due lack of hardware support). Compilation also takes time, and can be complex task, especially considering there is no mention of Xen or Xen specific kernel compilation in the FreeBSD handbook. It unacassarly makes 10 minut task, a 20+ hours task. For solving some minor problems, I can always just mount ufs under linux or have separate 'administrative' domain, to which I can attach additional disks to check what is wrong. No need to HVM instance. I can also do many other things, including accessing block device using iSCSI, which make it easy to use on another freebsd (virtualized or not) host. Again no need to HVM even when doing serious disaster recovery. So how about providing prebuild binary kernel image with Xen enabled, just like netbsd is doing with own kernel, or like Debian is doing with kfreebsd? Who I need to contact from release / build team to make it happen in 9.1 or 10.0 ? Regards, Witek [1] (only missing thing is that getty is trying to open /dev/vt* but, should actually open xen-specific tty/console, easly fixable by editing /etc/inittab, something which should be actually done by bsdinstaller after detecting it is running on Xen). -- Witold Baryluk