downloaded the 2.1.19-skas3-v8.2 patch from here: http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.19-v8.2/
downloaded the FC5 kernel 2.6.19 srpm from here: http://rpm.pbone.net/index.php3?stat=26&dist=47&size=46357838&name=kernel-2.6.19-1.2288.fc5.src.rpm followed this recipe but added a dash of common sense: http://www.howtoforge.com/kernel_compilation_fedora Had to edit the .spec file to apply the skas patch Had to edit the config files to apply the CONFIC_PROC_MM=y to the end of relevant config files Had to edit the spec file to only look over appropriate config files (see: https://www.redhat.com/archives/fedora-devel-list/2007-February/msg01114.html) downloaded the uml kernel from here: http://uml.nagafix.co.uk/kernels/kernel32-2.6.20 downloaded the fs from here: http://uml.nagafix.co.uk/FedoraCore5/FedoraCore5-x86-root_fs.bz2 installed the tun.o and insmod'ed it....then did the following : $ tunctl -t tap1 -u umlusr Failed to open '/dev/net/tun' : Permission denied ok fine: $sudo tunctl -t tap1 -u umlusr Set 'tap1' persistent and owned by uid 500 $sudo ifconfig tap1 192.168.0.1 up $ifconfig tap1 tap1 Link encap:Ethernet HWaddr 9A:A7:8E:9A:9A:6A inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::98a7:8eff:fe9a:9a6a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:27 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) $ ./vmlinux-2.6.16.9-bs2 ubd0=./FedoraCore5-x86-root_fs eth0=tuntap,tap1,fe:f0:00:00:00:01,192.168.0.2 con0=fd:0,fd:1 root=/dev/ubda and I get amoung other startup messages: INIT: Entering runlevel: 3 Entering non-interactive startup Bringing up loopback interface: [ OK ] Bringing up interface eth0: Determining IP information for eth0...SIOCSIFFLAGS: Permission denied SIOCSIFFLAGS: Permission denied I then login and attempt to set up eth0: # ifconfig eth0 192.168.0.2 up Failed to open /dev/net/tun, err = 13 SIOCSIFFLAGS: Permission denied Failed to open /dev/net/tun, err = 13 SIOCSIFFLAGS: Permission denie so that didn't work either ..... try sudo'ing the uml start up: $ sudo ./vmlinux-2.6.16.9-bs2 ubd0=./FedoraCore5-x86-root_fs eth0=tuntap,tap1,fe:f0:00:00:00:01,192.168.0.2 con0=fd:0,fd:1 root=/dev/ubda everything works fine when run as root, but that's bad mojo.... so maybe it's the tun/tap? $ ll /dev/net total 0 crw-rw---- 1 root umlusrs 10, 200 Feb 22 13:07 tun nope, looks good how about rx permission for /dev/net? drwxr-xr-x 2 root root 60 Feb 22 13:07 net looks good. hhhm ... I a member of the group? $ tail -n 1 /etc/group umlusrs:x:502:umlusr ok, this is where I get stuck. why can't I run the uml kernel as something other than root? I've seen a few posts on this around but they didn't seem to get anywhere: http://ivs.cs.uni-magdeburg.de/pipermail/nse/2006-August/000154.html Respectfully, Christopher Taylor ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user