Please forgive me for interpreting without suggesting how to fix, but the 
interpretation might be useful.  Is there any chance of trying out the 
2.6.16 UML kernel on a 2.6.16 host?  Version skew, particularly backwards, 
is very plausible as an explanation for all of these.  Also be sure that 
the guest and host are similar in wordsize, i.e. 32bit vs 64bit.

On Mon, 3 Jul 2006, 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

This says to me that the guest is interpreting a size field as 64 bits 
while the host is providing 32 bits plus irrelevant high order neighboring 
fields.

> 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.

If /dev/ubda were involved, the guest kernel would "know" that only it 
could change the data, so file data in kernel memory buffers stays valid 
indefinitely.  But that isn't true for a remote filesystem, and I have no 
clue why the guest's "hardware" interface didn't stat the host's inode,
realize that the file had been modified, and invalidate the cached blocks.

> 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

The microsecond field shows 1 sec + 7.90e5 usec or 1 sec + 9.43e5 usec, 
which could very well give your app indigestion.  But again I have no clue 
why it happened.  Blame it on the 64bit issue?

I hope some of this helps!

James F. Carter          Voice 310 825 2897    FAX 310 206 6673
UCLA-Mathnet;  6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA 90095-1555
Email: [EMAIL PROTECTED]  http://www.math.ucla.edu/~jimc (q.v. for PGP key)

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
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to