Re: compat_linux(8) has 2GB filesize limit in 4.2-stable

2008-02-06 Thread Glenn Mulvaney
Philip Guenther wrote: On Feb 5, 2008 6:27 PM, Glenn Mulvaney [EMAIL PROTECTED] wrote: I'm running a linux binary via compat_linux(8) built from ports/emulators/fedora in 4.2-stable. Emulated binaries can't create or read files 2GB regardless of limits or login class. Does anyone have

Re: compat_linux(8) has 2GB filesize limit in 4.2-stable

2008-02-06 Thread Miod Vallat
The binary definitely can create read files larger than 2GB on a linux system. It's the p4d binary from Perforce under emulation that I'm having a problem with. The 64bit calls are in the compat layer (/usr/src/sys/compat/linux/linux_file64.c) ktrace shows calls to fstat64(), but pread()

Re: compat_linux(8) has 2GB filesize limit in 4.2-stable

2008-02-06 Thread Matthew Szudzik
The COMPAT_LINUX code is in dire need of an upgrade to match more recent linux kernels... I certainly agree. For example, I need to compile a custom OpenBSD kernel with this patch http://marc.info/?l=openbsd-miscm=119479722118605 just to get certain programs running under compat_linux.

compat_linux(8) has 2GB filesize limit in 4.2-stable

2008-02-05 Thread Glenn Mulvaney
I'm running a linux binary via compat_linux(8) built from ports/emulators/fedora in 4.2-stable. Emulated binaries can't create or read files 2GB regardless of limits or login class. Does anyone have advice on how to remove this limit? -Glenn

Re: compat_linux(8) has 2GB filesize limit in 4.2-stable

2008-02-05 Thread Philip Guenther
On Feb 5, 2008 6:27 PM, Glenn Mulvaney [EMAIL PROTECTED] wrote: I'm running a linux binary via compat_linux(8) built from ports/emulators/fedora in 4.2-stable. Emulated binaries can't create or read files 2GB regardless of limits or login class. Does anyone have advice on how to remove this