I don't know how to debug a WesternDigital network disk, but have tried to get debug information from the cifs using
echo 3 > /proc/fs/cifs/cifsFYI and dmesg returns: [748408.796511] fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 73181 with uid: 0 [748408.796518] fs/cifs/inode.c: Revalidate: //landisk1.semark.dk/PUBLIC inode 0xffff88000dcf1d38 count 1 dentry: 0xffff880039025e50 d_time 4442591989 jiffies 4481997255 [748408.796521] fs/cifs/inode.c: Getting info on //landisk1.semark.dk/PUBLIC [748408.796523] fs/cifs/cifssmb.c: In QPathInfo (Unix) the path //landisk1.semark.dk/PUBLIC [748408.796532] fs/cifs/transport.c: For smb_command 50 [748408.796533] fs/cifs/transport.c: Sending smb of length 128 [748408.798407] fs/cifs/connect.c: rfc1002 length 0xa4 [748408.798419] fs/cifs/inode.c: Old time 4481994266 [748408.798421] fs/cifs/inode.c: New time 4481997255 [748408.798423] fs/cifs/inode.c: Size 0 and blocks 0 [748408.798424] fs/cifs/inode.c: cifs_revalidate - inode unchanged [748408.798427] fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 73181) rc = 0 [748408.798459] fs/cifs/dir.c: CIFS VFS: in cifs_lookup as Xid: 73182 with uid: 0 [748408.798461] fs/cifs/dir.c: parent inode = 0xffff88000dcf1d38 name is: testing.txt and dentry = 0xffff88002620b220 [748408.798464] fs/cifs/dir.c: NULL inode in lookup [748408.798465] fs/cifs/dir.c: Full path: //landisk1.semark.dk/PUBLIC/testing.txt inode = 0x0000000000000000 [748408.798467] fs/cifs/inode.c: Getting info on //landisk1.semark.dk/PUBLIC/testing.txt [748408.798469] fs/cifs/cifssmb.c: In QPathInfo (Unix) the path //landisk1.semark.dk/PUBLIC/testing.txt [748408.798473] fs/cifs/transport.c: For smb_command 50 [748408.798474] fs/cifs/transport.c: Sending smb of length 152 [748408.800416] fs/cifs/connect.c: rfc1002 length 0xa4 [748408.800427] fs/cifs/inode.c: Old time 0 [748408.800429] fs/cifs/inode.c: New time 4481997256 [748408.800430] fs/cifs/inode.c: Size 0 and blocks 0 [748408.800433] fs/cifs/dir.c: CIFS VFS: leaving cifs_lookup (xid = 73182) rc = 0 [748408.800436] fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 73183 with uid: 0 [748408.800439] fs/cifs/inode.c: Revalidate: //landisk1.semark.dk/PUBLIC/testing.txt inode 0xffff88000dcf1108 count 1 dentry: 0xffff88002620b220 d_time 4481997256 jiffies 4481997256 [748408.800442] fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 73183) rc = 0 [748408.800466] fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 73184 with uid: 0 [748408.800469] fs/cifs/inode.c: Revalidate: //landisk1.semark.dk/PUBLIC/testing.txt inode 0xffff88000dcf1108 count 1 dentry: 0xffff88002620b220 d_time 4481997256 jiffies 4481997256 [748408.800472] fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 73184) rc = 0 [748408.800475] fs/cifs/inode.c: CIFS VFS: in cifs_setattr as Xid: 73185 with uid: 0 [748408.800477] fs/cifs/inode.c: setattr on file testing.txt attrs->iavalid 0x8068 [748408.800480] fs/cifs/cifssmb.c: In SetEOF [748408.800483] fs/cifs/transport.c: For smb_command 50 [748408.800485] fs/cifs/transport.c: Sending smb of length 162 [748408.801683] fs/cifs/connect.c: rfc1002 length 0x27 [748408.801687] fs/cifs/connect.c: invalid transact2 word count [748408.801694] Status code returned 0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND [748408.801710] fs/cifs/netmisc.c: Mapping smb error code 2 to POSIX err -2 [748408.801713] fs/cifs/cifssmb.c: SetPathInfo (file size) returned -2 [748408.801714] fs/cifs/inode.c: SetEOF by path (setattrs) rc = -2 [748408.801716] fs/cifs/inode.c: CIFS VFS: leaving cifs_setattr (xid = 73185) rc = -2 Is this usefull? (I can also provide a tcpdump) /Carsten -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org