[parisc-linux] 2.4.21-paX on an rp2430

Grant Grundler grundler@parisc-linux.org
Mon, 14 Jul 2003 15:07:35 -0600


On Mon, Jul 14, 2003 at 01:48:24PM -0600, Grant Grundler wrote:
> i've uploaded a *PRE-RELEASE* 2.4.21-pa5.tgz to:
> 	ftp://ftp.parisc-linux.org/kernels/a500/2.4.21-pa5.tgz

BTW, I'm trying to fix "sendfile". I missing some peice to make
the 32-bit syscall wrapper to work right.

It works fine to 32-bit kernel
grundler <504>./sftest foo
sendfile returned ret = 7013 off = 7013 errno = 0
grundler <505>ls -l foo
-rw-r--r--    1 grundler grundler     7013 Jul 14 14:03 foo
grundler <506>uname -a
Linux debian 2.4.21-pa2 #46 Sat Jul 5 23:28:38 PDT 2003 parisc GNU/Linux

But not for 64-bit kernel:
grundler@gsyprf11:~$ ./sftest x
sendfile returned ret = 7013 off = 0 errno = 0
grundler@gsyprf11:~$ ls -l x
-rw-r--r--    1 grundler users        7013 Jul 14 14:05 x

and thanks to tausq for whipping up the simple test case.
"distcc" won't work on my a500 "mini cluster" until this is fixed. :^)

grant