On Mon, Jul 03, 2006 at 02:20:16PM +0200, Jan Rychter wrote:
> 1) I mount /home with hostfs using the following line in fstab:
> none /home hostfs /home,rw 0 0
>
> df shows:
>
> none 10413255443693385415481253412470784
> 10413248933519167673017998136836096 47190722440083771496586606219886592 19%
> /home
> 2) the guest OS sees stale file content on hostfs mounts. E.g. I open a
> file in the UML machine, look at it, close it, edit on the host, open
> it again on the UML -- and I don't get the changes saved on the
> host. This is a major problem.
This is due to hostfs using the page cache. mount -o sync should help
the other direction - modify it inside UML and the changes should be
visible on the host.
The direction you want is a bit more complicated given that hostfs
uses the page cache. The last time I thought about this, I was
thinking about using inotify to know when to invalidate files from the
UML page cache when they are modified on the host.
> 3) what do these messages mean:
>
> setitimer: mpr (pid = 1646) provided invalid timeval it_value: tv_sec = 0
> tv_usec = 1790000
> setitimer: mpr (pid = 1646) provided invalid timeval it_value:
> tv_sec = 0 tv_usec = 1943000
Where do they come from? They're not kernel messages.
> 4) my application sometimes hangs completely, eating CPU, until I type
> something in another console (!!!).
Can you strace it during this period and see what it's doing? This
looks like an interesting bug.
Jeff
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