hmm, some more info:

after a reboot of the host backgrounding as user "uml" without the
chroot worked:

start-stop-daemon -b --start -d /home/uml/chroot -v -c uml -x linux
mem=128M...

i assume tap0 was somehow messed up, so i tried to run the uml as root
again (with backgrounding) - it works. i tried chrooting again - doesn't
work. (but only one process of the uml is in stopped state according to ps.)

after that i tried the above command again - still works.

so the problem is not the tapdevice it's the combination of
backgrounding and chrooting.

n.

> hi!
>
> i start my UML (2.6.17.3, host 2.6.16.9) with:
>
> start-stop-daemon --start -r /home/uml/chroot -v -c uml -x linux
> mem=128M ubda=root_fs ubdb=swap_fs con0=fd:0,fd:1 con=null eth0=tuntap,tap0
>
> which works fine. (tap0 has been configured on the host with tunctl -u
> uml before.)
>
> my problem is that backgrounding does not work. :-(
>
> when i run the above command with the -b option set, the uml stops
> running after a while - or is at least not reachable through the
> network. ps aux shows:
>
> uml       3040 28.2  2.9 131432 15012 ?        Ss   22:02   0:10 linux
> mem=128M...
> uml       3046 12.0  0.1    660   604 ?        T    22:02   0:04 [linux]
> uml       3050  0.0  2.9 131432 15012 ?        S    22:02   0:00 linux
> mem=128M...
> uml       3051  0.3  2.9 131432 15012 ?        S    22:02   0:00 linux
> mem=128M...
>
>
> when i try to run uml as root without chrooting and background it (& at
> end of command line) i get:
>
> [1]+  Stopped                 ./linux mem=128M...
>
>
> ps aux then shows:
>
> root      3012  1.9  0.7 131172  4060 pts/1    T    21:58   0:00 ./linux
> mem=128M ...
> root      3018  0.0  0.7 131172  4060 pts/1    T    21:58   0:00 ./linux
> mem=128M ...
> root      3022  0.0  0.7 131172  4060 pts/1    T    21:58   0:00 ./linux
> mem=128M ...
> root      3023  0.0  0.7 131172  4060 pts/1    T    21:58   0:00 ./linux
> mem=128M ...
>
> i can reactivate uml with "fg" though.
>
>
> any idea what is wrong? it's pretty irritating, as i want to start the
> uml on system boot, which can't be done without backgrounding the process.
>
>
> n.
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> User-mode-linux-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>   


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to