On Jun 9, 2007, at 1:57 PM, Axel Neumann wrote:
I am currently trying to get a grip on vnuml ( http://www.dit.upm.es/vnumlwiki/index.php/Tutorial ) which has good howtos and tutorial for building host- and uml- kernels and root_fs.
Especially vnuml offers a framework for virutal network configuration based on xml-configuration files. I think texas-kernel is also patched for vnuml enhancements but for texas's root_fs and network-configuration scripts I am not shure. Maybe aaron can provide some more background on that?
I _think_ zethix (in the CC) briefly looked into vnuml but it seemed to complicated. The scripts were all borked and quite unusable for us at least.
In order to releas texas from unproductive trial-and-error configuration testing (and feeling less intervening when applying core-kernel- patches or installing new system-libraries) I started to setup a small vnuml environment on my home-pc. Therefore I found also the following links quite useful:
http://www.dit.upm.es/vnumlwiki/index.php/Installation
http://www.enic.fr/people/landru/viminal/vnuml.gentoo/how-to/vnuml- gentoo-guide.html ( gentoo oriented setup, host-kernel-enhancement, uml-kernel, root_fs )
http://www.dit.upm.es/vnumlwiki/index.php/Howto ( further links for root_fs howtos )
@aaron: do you have a link explaining from-scratch busybox-based uml-rootfs generation (as being used on texas) ?
yes
with an existing root_fs:
mount -o loop root_fs /mnt then just copy over things as needed. That is what I did . works!
To create an initial root_fs:
dd if=/dev/zero of=roof_fs bs=1M count=XXX Then mount this root_fs from inside an existing UML instance and fdisk it (./linux ubd1=root_fs ) and mkfs it
voila!
a.
PS: zethix was recently working on a way to do the simulation completely without UML but with olsr_switch which has still some bugs. Maybe some similar batman_switch application can be usefull?
--- there's no place like 127.0.0.1