Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 2009 15:19:43 +0300
From:      =?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?= <odhiambo@gmail.com>
To:        Marko Zec <zec@freebsd.org>
Cc:        freebsd-current@freebsd.org, Julian Elischer <julian@elischer.org>
Subject:   Re: VIMAGE status
Message-ID:  <991123400905060519y635de314qe56e82972a9ee05a@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/5/6 Marko Zec <zec@freebsd.org>

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?991123400905060519y635de314qe56e82972a9ee05a>