From: "D. Bahi" <dbahi@enterasys.com>
To: Jeff Dike <jdike@addtoit.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] mem= and large file support
Date: Thu, 19 Aug 2004 08:03:08 -0400 [thread overview]
Message-ID: <412496FC.4090101@enterasys.com> (raw)
In-Reply-To: <200408190603.i7J63Zek004748@ccure.user-mode-linux.org>
[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]
cool - so... it's in tempfile.c : 53
make_tempfile calls mkstemp -
so maybe a build option required to get the
option in with this library call? but which?
info on libc says:
When the sources are compiled with `_FILE_OFFSET_BITS == 64' on a
32-bit system this function is in fact `tmpfile64', i.e. the LFS
interface transparently replaces the old interface.
so i'll try that.
and just for 'create_mem_file' completeness
the devanon case doesn't need attention with
the mmap. right?
-----
rt_sigprocmask(SIG_UNBLOCK, [ALRM VTALRM], [ALRM VTALRM IO], 8) = 0
rt_sigprocmask(SIG_BLOCK, [IO], NULL, 8) = 0
gettimeofday({1092914208, 599204}, NULL) = 0
getpid() = 24405
open("/tmp/vm_file-3NJodS", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
unlink("/tmp/vm_file-3NJodS") = 0
fchmod(3, 0777) = 0
_llseek(3, 2147483648, [2147483648], SEEK_SET) = 0
write(3, "\0", 1) = -1 EFBIG (File too large)
--- SIGXFSZ (File size limit exceeded) @ 0 (0) ---
+++ killed by SIGXFSZ +++
Jeff Dike wrote:
> dbahi@enterasys.com said:
>
>>btw: with the 26-3um and 2.6.8.1 announce Jeff mentions the new SKAS,
>>! TT, STATIC allows mem= ~2.75G upper limit but do we need O_LARGEFILE
>>somewhere? or to compile with -D_FILE_OFFSET_64_BITS
>
>
> Probably. Can you strace that and see where E2BIG is coming from?
>
> Jeff
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 187 bytes --]
next prev parent reply other threads:[~2004-08-19 12:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-19 2:51 [uml-devel] mem= and large file support D. Bahi
2004-08-19 6:03 ` Jeff Dike
2004-08-19 12:03 ` D. Bahi [this message]
2004-08-23 2:51 ` [PATCH] " D. Bahi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=412496FC.4090101@enterasys.com \
--to=dbahi@enterasys.com \
--cc=jdike@addtoit.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox