Summary: | openssh is not able to copy large files (>2GB) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark <mark.morschhaeuser> |
Component: | New packages | Assignee: | Daniel Ahlberg (RETIRED) <aliz> |
Status: | VERIFIED NEEDINFO | ||
Severity: | enhancement | CC: | vapier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Mark
2005-02-01 06:17:55 UTC
Are you sure that the problem isn't the filesystem? reiser 3.6 on my machine has no 2GB limit (reiser 3.6 allows a filesize of 2^60 bytes). If there were a limit I couldn't even store a 4GB file on it. The other PCs I want to copy my files to can scp big files (they are running debian with ext3) if you add: -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE to your CFLAGS, does it work ? yes, adding these CFLAGS solved the problem. I can copy and receive large files now. could you run `emerge openssh >& log` w/out adding those defines to your CFLAGS and post the logfile here ? the configure script *should* detect and enable LFS for you ... well, get back to us This is stange. I removed those CFLAGS and emerged 3.9 again: it works though it didn't work before for a long time. I can't explain why, I changed nothing. ----8<---- checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for _LARGE_FILES value needed for large files... no ----8<---- I thought computers where rational... :-/ I upgraded to openssh 4 now, it works too without extra CFLAGS. ah, computers acting irrationally is a feature, it must have forgotten to tell you that ;) please re-open w/appropriate logs if this starts happening again |