-----BEGIN PGP SIGNED MESSAGE-----

>>>>> "Blaisorblade" == Blaisorblade  <[EMAIL PROTECTED]> writes:
    >> I'm running 2.4.26-um3.  I happen to be running hostfs with NFS
    >> underneath.  I get core dumps from my application, and I want to
    >> gdb them outside of the UML.

    >> I had to switch from core dump to NFS (which seems to fail now)
    >> to putting them in /tmp (which is ramdisk), and then move them to
    >> /var/tmp, which is hostfs.

    Blaisorblade> Hmm - were you putting the core dumps inside a hostfs
    Blaisorblade> mount, right? This has been reported to fail badly

  Yes, previously.

    Blaisorblade> with 2.4.26-3um... the hostfs contained in 2.4.24-1um
    Blaisorblade> and 2.4.27-1bs (this tree is from me, on my homepage)
    Blaisorblade> is stable, while the one in 2.4.24-2um and subsequent
    Blaisorblade> releases isn't.

  I'll try it on my next compile.

    >> Is there some way to defeat the caching that is occuring?  or
    >> even to just flush it? (other than umount)

    Blaisorblade> Hmmm, I don't know this... probably giving "sync"
    Blaisorblade> inside UML should work.  I remember that Jeff said
    Blaisorblade> that he made hostfs asynchronous in those releases on
    Blaisorblade> purpose (for performance, IIRC), and this is not bad.

  I actually wonder if there is really any advantage.
  I'd like to be convinced.

  It seems that for executables, mapping hostfs files straight into the
guest address space wouldn't care. I'd have thought that for stdio
things, that any buffering done by guest kernel would be really just
wasted. glibc has already buffered pretty much everything...

  However, I'd like to be able to turn it off.

- -- 
]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] [EMAIL PROTECTED]      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQdOBE4qHRg3pndX9AQH1dgQA6/oZIVgXnHeGVzfe607Lm5+FRfne0Sw7
OuNd3+mgbEpZMxExMI1bMPv0mvDD7SCoHjy3Fn7nR61n5iOLeAOOxIIuPxvzmzsO
Hc1jh8NQQARsBrIqpJKW+5UO5Y7Vr0BE6V990QPa/Yhv0T4vSQOucP5IZfvV6yAN
Q8gwgs6zd34=
=9+kS
-----END PGP SIGNATURE-----


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to