[Bug 343357] [NEW] Errors on file append on CIFS mounted Apple Time Capsule

Rune Nakim ubuntu at rbn.no
Sun Mar 15 21:55:56 GMT 2009


Public bug reported:

Binary package hint: samba

Running Jaunty Alpha 6 Live CD
smbfs: 2:3.3.1-1ubuntu1

$ lsb_release -rd
Description:	Ubuntu jaunty (development branch)
Release:	9.04

$ uname -a
Linux ubuntu 2.6.28-9-generic #31-Ubuntu SMP Wed Mar 11 15:43:58 UTC 2009 i686 GNU/Linux

Mounted Apple Time Capsule:
$ sudo mount -t cifs -o username=test,password=test //capsule/test /mnt/test

Two different error messages when appending to a text file:
'Input/output error' and 'write error: Bad file descriptor'.

Executed the following commands at /mnt/test:
tshark packet capture from these tests is attached.
---
$ echo "1 2 3" > test
$ cat test
1 2 3
$ echo "4 5 6" >> test
$ cat test
1 2 3
cat: test: Input/output error

$ echo "1 2 3" > test2
$ echo "4 5 6" >> test2
bash: echo: write error: Bad file descriptor
---

Found this in /var/log/kern.log:
Mar 15 21:18:05 ubuntu kernel: [ 1577.323054]  CIFS VFS: Write2 ret -9, wrote 0

$ cat /proc/fs/cifs/DebugData 
Display Internal CIFS Data Structures for Debugging
---------------------------------------------------
CIFS Version 1.55
Active VFS Requests: 0
Servers:
1) Name: 10.0.0.1  Domain: MSHOME Uses: 1 OS: Apple Base Station
	NOS: CIFS 4.32	Capability: 0x207c
	SMB session status: 1	TCP status: 1
	Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
	Shares:
	1) \\capsule\test Mounts: 1 Type: FAT32 DevInfo: 0x0 Attributes: 0x3
PathComponentMax: 255 Status: 0x1 type: 0 

        MIDs:

---
Comments 82 and 88 to bug #286828 describes the same problem, but I could not find the separate bug requested in comment 85, so I report this.

Bug: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/286828
Comment 82: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/286828/comments/82
Comment 88: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/286828/comments/88

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Errors on file append on CIFS mounted Apple Time Capsule
https://bugs.launchpad.net/bugs/343357
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list