Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241746 - net-ftp/pure-ftpd fails to handle files > 256K on armeb-softfloat-linux-uclibc
Summary: net-ftp/pure-ftpd fails to handle files > 256K on armeb-softfloat-linux-uclibc
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: High major (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-13 11:08 UTC by Tobias Leupold
Modified: 2010-04-11 11:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Leupold 2008-10-13 11:08:04 UTC
On my NSLU2, pure-ftpd compiles and runs fine, but I get a strange error with "large" files. I can upload all files normally, but if I want to download a "large" file, it seems that just the first 265K are transferred and then the transfer aborts.

dmesg doesn't say anything, syslog says:

[ERROR] Unable to map the file into memory: Invalid argument

With "small" files, everything works as exspected.

Reproducible: Always

Steps to Reproduce:
1. Setup pure-ftpd on an NSLU2
2. Upload a file with some MB
3. Try to download it
Actual Results:  
The transfer aborts at about 256K
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-13 15:57:39 UTC
Please post your `emerge --info' too.
Comment 2 Tobias Leupold 2008-10-13 16:16:01 UTC
Sorry, I forgot that

Portage 2.1.4.4 (unavailable, gcc-4.1.2, uclibc-0.9.28.3-r7, 2.6.21.7 armv5teb)
=================================================================
System uname: 2.6.21.7 armv5teb XScale-IXP42x Family rev 2 (v5b)
Timestamp of tree: Unknown
distcc 2.18.3 armeb-softfloat-linux-uclibc (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.4-r6
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
CFLAGS="-march=armv5t -mtune=xscale -Os"
CHOST="armeb-softfloat-linux-uclibc"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=armv5t -mtune=xscale -Os"
DISTDIR="/usr/src/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="         http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/         http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage/tree"
PORTDIR_OVERLAY="/var/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="pam uclibc unicode vim-syntax"
Unset:  ACCEPT_KEYWORDS, EMERGE_DEFAULT_OPTS
Comment 3 Bernard Cafarelli gentoo-dev 2010-03-19 10:02:16 UTC
Adding net-ftp to this bug: is this still valid with latest ~arch pure-ftpd? thanks
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-04-06 11:00:33 UTC
As Bernard said. Please test with latest ~arch version and report success/failure to this bug.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-04-11 11:36:29 UTC
Please reopen this bug or drop a comment if it's still a problem...