From owner-freebsd-current@FreeBSD.ORG Wed May 6 12:19:44 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED29A1065670; Wed, 6 May 2009 12:19:44 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-fx0-f168.google.com (mail-fx0-f168.google.com [209.85.220.168]) by mx1.freebsd.org (Postfix) with ESMTP id 46DA18FC1D; Wed, 6 May 2009 12:19:43 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by fxm12 with SMTP id 12so62442fxm.43 for ; Wed, 06 May 2009 05:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=1mMd7Z9c19Drsov40f/9IT692hFZkXtjVXexWfSEiYY=; b=UIOgs8F5fNEiElaYI5tw6IwT/c8XzK1Xp/KcFfmJlhgf5BFIHnRU6RPG+6CPrjW8tv EiBdQqj2C0DhHIY5OzRLCy0xAVbNHutenwp2JeFQSZObT2kJYzpxfiO0Hx7K0hklB83O w8LyNH5sv23VKQB6DAAW5B4QgU5MgJYgRMnrA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=vk53N4+4IVHsKu2De+R4nU9wUKzRtpihI5y1AxPys4Dm8Z+CRY8y5TLKZqkboKK3OQ 3i5gtVxhGncl6ihVJC/p55j8gfquHEVN6bctPTF6hdSjYsctl8I02zZVAAo07Mm0gkTd nuaeBW1Iml3lu6r+Mgg5yY6uGmzO2CQ5I8vdE= MIME-Version: 1.0 Received: by 10.223.108.210 with SMTP id g18mr901810fap.38.1241612383092; Wed, 06 May 2009 05:19:43 -0700 (PDT) In-Reply-To: <200905060743.33045.zec@freebsd.org> References: <49FC812B.2070305@elischer.org> <991123400905060306h573b6b28x1c7fc0497ef28472@mail.gmail.com> <4A016ADD.3060004@elischer.org> <200905060743.33045.zec@freebsd.org> Date: Wed, 6 May 2009 15:19:43 +0300 Message-ID: <991123400905060519y635de314qe56e82972a9ee05a@mail.gmail.com> From: =?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?= To: Marko Zec Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, Julian Elischer Subject: Re: VIMAGE status X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 12:19:45 -0000 2009/5/6 Marko Zec > On Wednesday 06 May 2009 06:47:57 Julian Elischer wrote: > > Odhiambo =E3=83=AF=E3=82=B7=E3=83=B3=E3=83=88=E3=83=B3 wrote: > ... > > > How do I use VIMAGE in 7.2-RELEASE? I'd like to play with the BIG boy= z > :) > > > > VImage code is in -current (hence the -current mailing list) > > so it is not in 7.2. > > > > HOWEVER you can pick up 7.2(ish) kernel sourcce tree which will allow > > you to substitute in a 7.2 VIMAGE kernel and play with it.. > > I'll let Marko give you the details. > > Hi, > > you should throw a look at this page for more details: > > http://imunes.tel.fer.hr/virtnet > > More specifically, you should download this tarball: > > http://imunes.tel.fer.hr/virtnet/vimage_7_20090505.tgz > > and then do the following: > > tpx32% cd src/sys/i386/conf/ > tpx32% config VIMAGE > tpx32% cd ../compile/VIMAGE/ > tpx32% make depend; make > tpx32% sudo make install > tpx32% cd ~/tmp/src/usr.sbin/vimage/ > tpx32% make clean; make > tpx32% sudo make install > > Good luck, > > Marko > Okay. I found something that looks like a problem but that could be me as well. I have a custom kernel config file named BEASTIE-7.x (I hope there is nothing wrong with that naming as I have used it ever since FreeBSD 3.x). Now after diff-ing the GENERIC with BEASTIE-7x, I decided to edit VIMAGE to "include BEASTIE-7.x" instead of GENERIC. Here is what happens: FreeBSD-7# pwd /usr/home/wash/VIMAGE/src/sys/i386/conf FreeBSD-7# config VIMAGE config: VIMAGE:8: syntax error Alright, I wonder what is happening but line 8 has: include BEASTIE-7.x So I decided to cp BEASTIE-7.x BEASTIE Then I edited line 8 to remove the "-7.x" and... FreeBSD-7# config VIMAGE Kernel build directory is ../compile/VIMAGE Don't forget to do ``make cleandepend && make depend'' Now, again I looked further and I find that the problem actually is the ".x= " in the file name, because "include BEASTIE-7" does not give any error. Maybe it's not a problem at all. It's not a big problem for me, but maybe it's something known/unknown that can be fixed? Sorry to bug you this early:) --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain