Your message dated Mon, 31 Jan 2005 13:36:09 +0300
with message-id <[EMAIL PROTECTED]>
and subject line Bug#292651: kernel-image-2.6.8-2-k7: timeout in zero-length 
accesses to samba shares, dmesg: "smb_trans2: invalid data, [..]"
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Jan 2005 15:15:52 +0000
>From [EMAIL PROTECTED] Fri Jan 28 07:15:52 2005
Return-path: <[EMAIL PROTECTED]>
Received: from master.debian.org [146.82.138.7] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CuXqh-0007eY-00; Fri, 28 Jan 2005 07:15:51 -0800
Received: from ppp-82-135-10-25.mnet-online.de (elwood.intra) [82.135.10.25] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CuXqf-0006wd-00; Fri, 28 Jan 2005 09:15:50 -0600
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Thiemo Nagel <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: kernel-image-2.6.8-2-k7: timeout in zero-length accesses to samba 
shares,
 dmesg: "smb_trans2: invalid data, [..]"
X-Mailer: reportbug 3.2
Date: Fri, 28 Jan 2005 16:15:52 +0100
X-Debbugs-Cc: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-9.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        OUR_MTA_MSGID,X_DEBBUGS_CC autolearn=ham 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: kernel-image-2.6.8-2-k7
Version: 2.6.8-12
Severity: grave
Justification: causes non-serious data loss


Zero-length accesses to Samba shares return errors after 30s timeout, while
the requested action seems to happen:

[EMAIL PROTECTED]:/mnt/thiemo$ l test
-rw-r--r--  1 thiemo users 0 Jan 28 15:30 test
[EMAIL PROTECTED]:/mnt/thiemo$ chmod a-r test
chmod: changing permissions of `test': Input/output error
[EMAIL PROTECTED]:/mnt/thiemo$ l test
--w-------  1 thiemo users 0 Jan 28 15:30 test
[EMAIL PROTECTED]:/mnt/thiemo$ touch test
touch: setting times of `test': Input/output error
[EMAIL PROTECTED]:/mnt/thiemo$ l test
--w-------  1 thiemo users 0 Jan 28 16:01 test

The kernel log is as follows:

smb_trans2: invalid data, disp=0, cnt=0, tot=0, ofs=0
smb_add_request: request [c2354ec0, mid=180] timed out!

What makes this a grave severity is that many editors seem to choke on
the errors and cannot save to smb-mounted shares.  This is true at least
for OpenOffice.

Luckily this problem seems to be well-understood:
citing Mike Lee:
http://lists.samba.org/archive/samba/2004-December/097411.html
"It seems that some CIFS code got trampled on during a smb kernel patch.
I believe this will be fixed in the 2.6.10 kernel (pretty soon I hope).
For now, you can add the following entry to your smb.conf file:
"unix extensions = no"

citing Chuck Ebbert:
http://www.ussg.iu.edu/hypermail/linux/kernel/0411.2/2326.html
"The SMB patch in 2.6.9-ac10 is broken. When a reply is received and it
contains no data (only parms), the data_offset is zero. Since no data
will be copied, zero offset is perfectly valid.
[..]
With the original patch very bad things happened, like trying to save
files from a text editor truncated them to 0 bytes, followed by editor
freezing for many seconds then asking for a new name to save the file
as.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages kernel-image-2.6.8-2-k7 depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  initrd-tools                  0.1.77     tools to create initrd image for p
ii  module-init-tools             3.1-rel-2  tools for managing Linux kernel mo

-- no debconf information

---------------------------------------
Received: (at 292651-done) by bugs.debian.org; 31 Jan 2005 10:36:26 +0000
>From [EMAIL PROTECTED] Mon Jan 31 02:36:26 2005
Return-path: <[EMAIL PROTECTED]>
Received: from koto.vergenet.net [210.128.90.7] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CvYuw-000487-00; Mon, 31 Jan 2005 02:36:26 -0800
Received: by koto.vergenet.net (Postfix, from userid 7100)
        id 6D6DD3410C; Mon, 31 Jan 2005 19:16:35 +0900 (JST)
Date: Mon, 31 Jan 2005 13:36:09 +0300
From: Horms <[EMAIL PROTECTED]>
To: Thiemo Nagel <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#292651: kernel-image-2.6.8-2-k7: timeout in zero-length 
accesses to samba shares, dmesg: "smb_trans2: invalid data, [..]"
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
X-Cluestick: seven
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

On Fri, Jan 28, 2005 at 04:15:52PM +0100, Thiemo Nagel wrote:
> Package: kernel-image-2.6.8-2-k7
> Version: 2.6.8-12
> Severity: grave
> Justification: causes non-serious data loss

Hi,

I believe that this is a duplicate of 283241 and was fixed in 2.6.8-13.
I am closing it accordinly.

-- 
Horms


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

Reply via email to