Bug#494768: sendfile bails out with error

2008-10-22 Thread cfeller
 sendfile has a wrapper in libc, but I doubt that it does anything 
 other than call the sendfile syscall. Maybe you used smbfs before and 
 now use cifs? Smbfs was removed after 2.6.23 in Debian. Or your smb 
 server changed its behaviour.

The CIFS server is Solaris 10, Samba 3.0.28.  It is definitely serving 
up CIFS as I had to manually upgrade the CIFS module on some older 
(Linux) clients to deal with a deficiency in the pre 1.50 CIFS kernel 
module.  

I patch the Sun box regularly, and the thought had occurred to me that a 
Sun patch was to blame, but there was no major version changes around 
the time that the breakage occurred.  Looking at the bugfixes in each 
patch, nothing stood out that might indicate a change in the FS 
representation.

-Chad



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494768: sendfile bails out with error

2008-10-14 Thread Stefan Fritsch
On Tuesday 14 October 2008, [EMAIL PROTECTED] wrote:
 linux-image-2.6.24-etchnhalf.1-amd64 2.6.24-6~etchnhalf.5
 linux-image-2.6.25-1-amd64 2.6.25-1
 linux-image-2.6.25-2-amd64 2.6.25-6
 linux-image-2.6.25-2-amd64 2.6.25-7

 and none of them resolved the problem.  This is a bit troubling to
 me.

 Are there any other (apache2) dependencies that could be to blame?
 Specifically I'm wondering if sendfile() was always broken, but if
 apache2 was not previously attempting to use sendfile()...  Stephan
 - you said that not much changed in the apache2 or libapr code to
 break sendfile().  Does apache go directly to the kernel or does it
 go through libc for instance?

sendfile has a wrapper in libc, but I doubt that it does anything 
other than call the sendfile syscall. Maybe you used smbfs before and 
now use cifs? Smbfs was removed after 2.6.23 in Debian. Or your smb 
server changed its behaviour.

Cheers,
Stefan



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494768: sendfile bails out with error

2008-10-13 Thread cfeller
Stephan,

I tried a few at random:

linux-image-2.6.24-etchnhalf.1-amd64 2.6.24-6~etchnhalf.5
linux-image-2.6.25-1-amd64 2.6.25-1
linux-image-2.6.25-2-amd64 2.6.25-6
linux-image-2.6.25-2-amd64 2.6.25-7

and none of them resolved the problem.  This is a bit troubling to me.  

Are there any other (apache2) dependencies that could be to blame?  
Specifically I'm wondering if sendfile() was always broken, but if
apache2 was not previously attempting to use sendfile()...  Stephan - 
you said that not much changed in the apache2 or libapr code to break 
sendfile().  Does apache go directly to the kernel or does it go through 
libc for instance?

-Chad




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494768: sendfile bails out with error

2008-09-30 Thread Stefan Fritsch
On Tuesday 30 September 2008, Chad Feller wrote:
 You'll have to tell me where I can get older Debian kernels as I
 don't have anything older than 2.6.26-* in the
 /var/cache/apt/archives on that machine (or any other AMD64 Debian
 machine for that matter).

Normally on snapshot.debian.net, but this seems to be incomplete 
lately. At least 2.6.25-1 is still at
 
http://snapshot.debian.net/archive/2008/04/29/debian/pool/main/l/linux-2.6/

and you can find some 2.6.24 versions there, too. You could also try 
the 2.6.24 etchnhalf kernel that is in Debian etch and available on 
all Debian mirrors.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494768: sendfile bails out with error

2008-09-29 Thread Chad Feller
 Chad, I think it would really be helpful if you could check exactly 
 which kernel version worked.

Stephan,

You'll have to tell me where I can get older Debian kernels as I don't have 
anything older than 2.6.26-* in the /var/cache/apt/archives on that machine (or 
any other AMD64 Debian machine for that matter).

-Chad


  



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494768: sendfile bails out with error

2008-09-28 Thread Bastian Blank
reassign 494768 apache2
thanks

The given strace shows that sendfile returns a proper error for the
sendfile invocation (EOVERFLOW). apache must not ignore errors returned
by syscalls.

Bastian

-- 
Only a fool fights in a burning house.
-- Kank the Klingon, Day of the Dove, stardate unknown



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#494768: sendfile bails out with error

2008-09-28 Thread Stefan Fritsch
On Monday 29 September 2008, Bastian Blank wrote:
 The given strace shows that sendfile returns a proper error for the
 sendfile invocation (EOVERFLOW). apache must not ignore errors
 returned by syscalls.

This is not the issue here, apache works as documented. The point is 
that, according to the submitter, sendfile on CIFS used to work with 
older kernels but now gives an error.

Chad, I think it would really be helpful if you could check exactly 
which kernel version worked.

Cheers,
Stefan



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]