Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] write problem with network drive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Tuxmym
n00b
n00b


Joined: 10 Nov 2004
Posts: 43

PostPosted: Mon Jan 24, 2005 3:13 pm    Post subject: [SOLVED] write problem with network drive Reply with quote

Hello,
Since a month, I have an odd problem when mounting a network drive on my system.

I mount my drive with a :
Code:
$ smbmount //host/service /path_to_the_local_dir


I can then view and read all files and directories mounted.
But each time I attempt to do a write access, the command hangs up.
For example, a simple :
Code:
$ touch toto

hangs up. However, if I do Ctrl + C, I can see the file has been created.

The problem seems to be related to the date and time modification.
I can see that with a :
Code:
$ strace touch toto
execve("/bin/touch", ["touch", "toto"], [/* 58 vars */]) = 0
brk(0)                                  = 0x8050000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=93146, ...}) = 0
old_mmap(NULL, 93146, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\355R\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1168488, ...}) = 0
old_mmap(NULL, 1105092, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4002f000
mprotect(0x40136000, 27844, PROT_NONE)  = 0
old_mmap(0x40137000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x107000) = 0x40137000
old_mmap(0x4013b000, 7364, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4013b000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4013d000
mprotect(0x40137000, 4096, PROT_READ)   = 0
munmap(0x40018000, 93146)               = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "\352\326\3153", 4)             = 4
close(3)                                = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=5209600, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4013e000
mmap2(NULL, 24576, PROT_READ, MAP_PRIVATE, 3, 0x376) = 0x4033e000
brk(0)                                  = 0x8050000
brk(0x8071000)                          = 0x8071000
mmap2(NULL, 217088, PROT_READ, MAP_PRIVATE, 3, 0x4c2) = 0x40344000
close(3)                                = 0
open("toto", O_WRONLY|O_NONBLOCK|O_CREAT|O_NOCTTY|O_LARGEFILE, 0666) = 3
close(3)                                = 0
utime("toto", NULL


This was working one month ago.
Maybe an update has installed a new version of a package which caused that.
I have tried to install samba-3.0.6 to 3.0.10 without any change.
Please help.


Last edited by Tuxmym on Sun Feb 13, 2005 11:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
Tuxmym
n00b
n00b


Joined: 10 Nov 2004
Posts: 43

PostPosted: Sun Feb 13, 2005 11:45 pm    Post subject: Reply with quote

The revision 6 of the kernel gentoo-dev-sources-2.6.10 add a patch that corrects this problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum