https://bugzilla.novell.com/show_bug.cgi?id=475689 User juergen.kirschbaum@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=475689#c11 Juergen Kirschbaum <juergen.kirschbaum@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|juergen.kirschbaum@gmail.co | |m | --- Comment #11 from Juergen Kirschbaum <juergen.kirschbaum@gmail.com> 2009-03-09 12:13:51 MST --- Samba-Server: - x86_32 Debian Etch 2.6.24-etchnhalf.1-686 - Samba 3.0.24-6etch10 version 3.0.24 - glibc libc6-i686 2.3.6.ds1-13etch9+b1 - ext3 exported via Samba with no ACLs --- root@rambo:~# tune2fs -l /dev/md5 tune2fs 1.40-WIP (14-Nov-2006) Filesystem volume name: <none> Last mounted on: <not available> Filesystem UUID: fc4da619-6971-44d9-8339-91f102eb2f0f Filesystem magic number: 0xEF53 Filesystem revision #: 1 (dynamic) Filesystem features: has_journal resize_inode dir_index filetype needs_recovery sparse_super large_file Filesystem flags: signed directory hash Default mount options: (none) Filesystem state: clean Errors behavior: Continue Filesystem OS type: Linux Inode count: 33931264 Block count: 67850496 Reserved block count: 3392524 Free blocks: 12037892 Free inodes: 33805780 First block: 0 Block size: 4096 Fragment size: 4096 Reserved GDT blocks: 1007 Blocks per group: 32768 Fragments per group: 32768 Inodes per group: 16384 Inode blocks per group: 512 Filesystem created: Mon Dec 31 15:42:06 2007 Last mount time: Wed Mar 4 18:40:37 2009 Last write time: Wed Mar 4 18:40:37 2009 Mount count: 44 Maximum mount count: -1 Last checked: Mon Dec 31 15:42:06 2007 Check interval: 0 (<none>) Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) First inode: 11 Inode size: 128 Journal inode: 8 Default directory hash: tea Directory Hash Seed: 5024195c-768b-4781-a335-18c0658d8317 Journal backup: inode blocks --- CIFS Client: - x86_32 openSUSE 11.1 2.6.27.19-3.2-pae - glibc-2.9-2.11.1 In smb.conf the line is changed: unix extensions = yes But this does not resolve this issue. Still the same problem. Mountoptions as in /etc/fstab: //rambo/jk /mnt/jk cifs noauto,users,credentials=/home/jk/.smb_mount,uid=jk,gid=jk,file_mode=0640,dir_mode=0750 0 0 Executing command: cp /dev/null /mnt/jk/tmp/bug/foo A strace of the smbd-process on the samba-server prints the following: --- read(22, "\0\0\0f", 4) = 4 read(22, "\377SMB2\0\0\0\0\0\1\320\0\0\0\0\0\0\0\0\0\0\0\0\1\0\31"..., 102) = 102 stat64("tmp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("tmp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("tmp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("tmp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 fcntl64(11, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=10180, len=1}, 0xbfce56d4) = 0 fcntl64(11, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=10180, len=1}, 0xbfce5604) = 0 write(22, "\0\0\0\240\377SMB2\0\0\0\0\200A\300\0\0\0\0\0\0\0\0\0\0"..., 164) = 164 select(23, [5 22], NULL, NULL, {60, 0}) = 1 (in [22], left {59, 996000}) read(22, "\0\0\0n", 4) = 4 read(22, "\377SMB2\0\0\0\0\0\1\320\0\0\0\0\0\0\0\0\0\0\0\0\1\0\31"..., 110) = 110 stat64("tmp/bug", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0 lstat64("tmp/bug", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0 lstat64("tmp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("tmp/bug", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0 lstat64("tmp/bug", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0 fcntl64(11, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=440, len=1}, 0xbfce56d4) = 0 fcntl64(11, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=440, len=1}, 0xbfce5604) = 0 write(22, "\0\0\0\240\377SMB2\0\0\0\0\200A\300\0\0\0\0\0\0\0\0\0\0"..., 164) = 164 select(23, [5 22], NULL, NULL, {60, 0}) = 1 (in [22], left {59, 996000}) read(22, "\0\0\0v", 4) = 4 read(22, "\377SMB2\0\0\0\0\0\1\320\0\0\0\0\0\0\0\0\0\0\0\0\1\0\31"..., 118) = 118 stat64("tmp/bug/foo", {st_mode=S_IFREG|0640, st_size=731, ...}) = 0 lstat64("tmp/bug/foo", {st_mode=S_IFREG|0640, st_size=731, ...}) = 0 lstat64("tmp/bug", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0 lstat64("tmp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("tmp/bug/foo", {st_mode=S_IFREG|0640, st_size=731, ...}) = 0 lstat64("tmp/bug/foo", {st_mode=S_IFREG|0640, st_size=731, ...}) = 0 fcntl64(11, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=6532, len=1}, 0xbfce56d4) = 0 fcntl64(11, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=6532, len=1}, 0xbfce5604) = 0 write(22, "\0\0\0\240\377SMB2\0\0\0\0\200A\300\0\0\0\0\0\0\0\0\0\0"..., 164) = 164 select(23, [5 22], NULL, NULL, {60, 0}) = 1 (in [22], left {59, 996000}) read(22, "\0\0\0\200", 4) = 4 read(22, "\377SMB2\0\0\0\0\0\1\320\0\0\0\0\0\0\0\0\0\0\0\0\1\0\31"..., 128) = 128 stat64("rambo/jk/tmp/bug/foo", 0xbfce6464) = -1 ENOENT (No such file or directory) write(22, "\0\0\0#\377SMB24\0\0\300\200A\300\0\0\0\0\0\0\0\0\0\0\0"..., 39) = 39 select(23, [5 22], NULL, NULL, {60, 0} <unfinished ...> --- Output from CIFS-Client: --- fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 160934 with uid: 1111 fs/cifs/inode.c: Revalidate: //rambo/jk/tmp inode 0xed4dab70 count 1 dentry: 0xd6d336c0 d_time 14550077 jiffies 15213625 fs/cifs/inode.c: Getting info on //rambo/jk/tmp fs/cifs/cifssmb.c: In QPathInfo (Unix) the path //rambo/jk/tmp fs/cifs/transport.c: For smb_command 50 fs/cifs/transport.c: Sending smb of length 102 fs/cifs/connect.c: rfc1002 length 0xa4 fs/cifs/inode.c: Old time 15176516 fs/cifs/inode.c: New time 15213626 fs/cifs/inode.c: Size 0 and blocks 0 fs/cifs/inode.c: cifs_revalidate - inode unchanged fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 160934) rc = 0 fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 160935 with uid: 1111 fs/cifs/inode.c: Revalidate: //rambo/jk/tmp/bug inode 0xed4dace8 count 1 dentry: 0xdbfca21c d_time 14818051 jiffies 15213626 fs/cifs/inode.c: Getting info on //rambo/jk/tmp/bug fs/cifs/cifssmb.c: In QPathInfo (Unix) the path //rambo/jk/tmp/bug fs/cifs/transport.c: For smb_command 50 fs/cifs/transport.c: Sending smb of length 110 fs/cifs/connect.c: rfc1002 length 0xa4 fs/cifs/inode.c: Old time 15176517 fs/cifs/inode.c: New time 15213626 fs/cifs/inode.c: Size 0 and blocks 0 fs/cifs/inode.c: cifs_revalidate - inode unchanged fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 160935) rc = 0 fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 160936 with uid: 1111 fs/cifs/inode.c: Revalidate: //rambo/jk/tmp/bug/foo inode 0xecdc5e60 count 1 dentry: 0xecd528d0 d_time 14883758 jiffies 15213626 fs/cifs/inode.c: Getting info on //rambo/jk/tmp/bug/foo fs/cifs/cifssmb.c: In QPathInfo (Unix) the path //rambo/jk/tmp/bug/foo fs/cifs/transport.c: For smb_command 50 fs/cifs/transport.c: Sending smb of length 118 fs/cifs/connect.c: rfc1002 length 0xa4 fs/cifs/inode.c: Old time 15176520 fs/cifs/inode.c: New time 15213627 fs/cifs/inode.c: Size 731 and blocks 8 fs/cifs/inode.c: cifs_revalidate - inode unchanged fs/cifs/file.c: CIFS VFS: in cifs_writepages as Xid: 160937 with uid: 1111 fs/cifs/file.c: CIFS VFS: leaving cifs_writepages (xid = 160937) rc = 0 fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 160936) rc = 0 fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 160938 with uid: 1111 fs/cifs/inode.c: Revalidate: //rambo/jk/tmp/bug/foo inode 0xecdc5e60 count 1 dentry: 0xecd528d0 d_time 14883758 jiffies 15213627 fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 160938) rc = 0 fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 160939 with uid: 1111 fs/cifs/inode.c: Revalidate: //rambo/jk/tmp inode 0xed4dab70 count 1 dentry: 0xd6d336c0 d_time 14550077 jiffies 15213627 fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 160939) rc = 0 fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 160940 with uid: 1111 fs/cifs/inode.c: Revalidate: //rambo/jk/tmp/bug inode 0xed4dace8 count 1 dentry: 0xdbfca21c d_time 14818051 jiffies 15213627 fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 160940) rc = 0 fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 160941 with uid: 1111 fs/cifs/inode.c: Revalidate: //rambo/jk/tmp/bug/foo inode 0xecdc5e60 count 1 dentry: 0xecd528d0 d_time 14883758 jiffies 15213627 fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 160941) rc = 0 fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 160942 with uid: 1111 fs/cifs/inode.c: Revalidate: //rambo/jk/tmp/bug/foo inode 0xecdc5e60 count 1 dentry: 0xecd528d0 d_time 14883758 jiffies 15213627 fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 160942) rc = 0 fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 160943 with uid: 1111 fs/cifs/inode.c: Revalidate: //rambo/jk/tmp inode 0xed4dab70 count 1 dentry: 0xd6d336c0 d_time 14550077 jiffies 15213627 fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 160943) rc = 0 fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 160944 with uid: 1111 fs/cifs/inode.c: Revalidate: //rambo/jk/tmp/bug inode 0xed4dace8 count 1 dentry: 0xdbfca21c d_time 14818051 jiffies 15213627 fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 160944) rc = 0 fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 160945 with uid: 1111 fs/cifs/inode.c: Revalidate: //rambo/jk/tmp/bug/foo inode 0xecdc5e60 count 1 dentry: 0xecd528d0 d_time 14883758 jiffies 15213627 fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 160945) rc = 0 fs/cifs/inode.c: setattr_unix on file foo attrs->ia_valid=0x8068 fs/cifs/inode.c: CIFS VFS: in cifs_setattr_unix as Xid: 160946 with uid: 1111 fs/cifs/cifssmb.c: In SetEOF fs/cifs/transport.c: For smb_command 50 fs/cifs/transport.c: Sending smb of length 128 fs/cifs/connect.c: rfc1002 length 0x27 fs/cifs/connect.c: invalid transact2 word count fs/cifs/netmisc.c: Mapping smb error code 2 to POSIX err -2 fs/cifs/cifssmb.c: SetPathInfo (file size) returned -2 fs/cifs/inode.c: SetEOF by path (setattrs) rc = -2 fs/cifs/inode.c: CIFS VFS: leaving cifs_setattr_unix (xid = 160946) rc = -2 --- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.