A hint of things to come… (How to get around GP2X FTPD stalls on large files)
2006-12-04 10:11:20 PST
Tags: Gentoo, GP2X, Guide, Linux
So the ftpd on the GP2X doesn't appear to sync when transferring large files. It just stalls. How do I know? I was trying to transfer a 108 MB stage3-armv4l-2005.1.tar.gz to my 1 GB SD card in my GP2X (located at home) while I was at school. I couldn't very well reboot the GP2X into USB storage device mode so I tried to make use of FTP server, but it kept stalling. After a bit of experimentation I guessed that the FTP wasn't syncing the FAT filesysem on the SD card. I was proved right when in a telnet session I ran
while [ 1 ] ;do sleep 2; sync; done
and the FTP transfer then went to completion.




