Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE hangs up using cifs and kernel 2.6.9
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
Enlighter
n00b
n00b


Joined: 20 Oct 2002
Posts: 29
Location: Stuttgart, Germany

PostPosted: Sat Oct 23, 2004 4:31 pm    Post subject: KDE hangs up using cifs and kernel 2.6.9 Reply with quote

Hi,

I've got a mad problem using kde (3.3.1) with cifs and kernel 2.6.9. All KDE apps accessing files on a mounted samba (3.0.7) share using the cifs module are hanging up and are not killable - even not using -9. Using kernel 2.6.8.1/cifs, 2.6.9/smbfs or a non kde application works fine. I have this problem on two clients (both using the same server). I cannot see any errors in the log files of the server or on the client's log files. Does anybody have an idea?

Bye, Michael
Back to top
View user's profile Send private message
merky1
n00b
n00b


Joined: 22 Apr 2003
Posts: 51

PostPosted: Sat Oct 30, 2004 2:42 pm    Post subject: Reply with quote

I've the got same issues. When I try to access a samba share konqueror seems to lock up. I switched from smbfs to cifs becasue I thought it would provide better performance, but this is not working so well.
_________________
ooo000 WoooHooo 000ooo
Back to top
View user's profile Send private message
grooveman
Veteran
Veteran


Joined: 24 Feb 2003
Posts: 1217

PostPosted: Thu Nov 04, 2004 8:55 pm    Post subject: Reply with quote

I am also having the same problems :evil: . It took me nearly 4 months to get an answer to my initial problems re: smbfs on the samba mailing list. When it finally came in on the bugs page, they said to use cifs instead, now that is not working right!

If anyone has found a fix for this, I would love to hear it.

G
_________________
To look without without looking within is like looking without without looking at all.
Back to top
View user's profile Send private message
mb
Guru
Guru


Joined: 25 Apr 2002
Posts: 355
Location: Hessen | .de

PostPosted: Sun Nov 21, 2004 11:20 am    Post subject: Reply with quote

hi,

http://www.mail-archive.com/samba%40lists.samba.org/msg48684.html
2nd link on the page links to a kernel-patch for cifs..

hth,
#mb
_________________
Linux ares 2.6.15-gentoo-r1 #4 SMP Mon Jan 16 17:38:31 CET 2006 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
MrTV
n00b
n00b


Joined: 08 Jun 2002
Posts: 34

PostPosted: Tue Nov 23, 2004 3:32 pm    Post subject: Reply with quote

hi,

I am using 2.6.9-gentoo-r4 and experience the same problem. I also tried to patch my kernel sources but it fails partly.

Code:

patching file fs/cifs/CHANGES
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file fs/cifs/CHANGES.rej
patching file fs/cifs/cifs_fs_sb.h
patching file fs/cifs/cifsfs.h
Hunk #1 FAILED at 90.
1 out of 1 hunk FAILED -- saving rejects to file fs/cifs/cifsfs.h.rej
patching file fs/cifs/cifspdu.h
Hunk #1 succeeded at 1694 (offset -2 lines).
patching file fs/cifs/connect.c
Hunk #2 succeeded at 781 (offset -2 lines).
Hunk #3 succeeded at 1398 (offset -2 lines).
patching file fs/cifs/fcntl.c
patching file fs/cifs/file.c
Hunk #1 succeeded at 1516 (offset 1 line).
Hunk #2 succeeded at 1540 (offset 1 line).
Hunk #3 succeeded at 1613 (offset 1 line).
Hunk #4 succeeded at 1649 (offset 1 line).
patching file fs/cifs/inode.c


To which sources should this patch be applied?

Timo
Back to top
View user's profile Send private message
donking
n00b
n00b


Joined: 02 Dec 2003
Posts: 7
Location: Hamburg, Germany

PostPosted: Fri Dec 03, 2004 9:51 am    Post subject: Reply with quote

Does anyone have info about whether this patch is working or not? If it somewhere works, please post. I've patched the gentoo-dev-sources-2.6.9 with above mentioned patch, which should use the same inode numbers on both server and client. I really don't know if the kde prob is related to this, but I hoped. In my case it seemed not, but maybe someone made it up working, maybe even without the patch.

thanks in advance
-klimklim
_________________
"If it moves, compile it!"
Back to top
View user's profile Send private message
andyknownasabu
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 281
Location: Zurich, Switzerland

PostPosted: Fri Dec 03, 2004 11:26 pm    Post subject: Reply with quote

MrTV wrote:
hi,
[...]
To which sources should this patch be applied?

Without looking at the patch I would assume the vanilla kernel.
Back to top
View user's profile Send private message
zeb
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 79
Location: Finland

PostPosted: Tue Dec 07, 2004 5:38 pm    Post subject: Reply with quote

There is a KDE / kio bug open at:
http://bugs.kde.org/show_bug.cgi?id=92347

Vote for the bug to give it the attention it deserves.
Back to top
View user's profile Send private message
merky1
n00b
n00b


Joined: 22 Apr 2003
Posts: 51

PostPosted: Wed Dec 15, 2004 2:23 am    Post subject: Reply with quote

Looks like the KDE folks have picked up on the issue...

Latest workaround here...

http://lists.samba.org/archive/linux-cifs-client/2004-December/000612.html
_________________
ooo000 WoooHooo 000ooo
Back to top
View user's profile Send private message
taiger
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2003
Posts: 112

PostPosted: Wed Dec 15, 2004 1:31 pm    Post subject: Reply with quote

:cry:

I have the same problem cifs /kde3.3.1

but my kernel is 2.6.10-rc2-mm4
Back to top
View user's profile Send private message
zeb
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 79
Location: Finland

PostPosted: Wed Dec 15, 2004 1:59 pm    Post subject: Reply with quote

The problem persists in 2.6.10-rc3, but this workaround did the trick.
Back to top
View user's profile Send private message
taiger
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2003
Posts: 112

PostPosted: Wed Dec 15, 2004 2:16 pm    Post subject: Reply with quote

ok, i'm rebuilding my kernel,

thanks
Back to top
View user's profile Send private message
taiger
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2003
Posts: 112

PostPosted: Thu Dec 16, 2004 8:07 am    Post subject: Reply with quote

thanks, now cifs work.
Cifs Is very fast.

Bye

zeb wrote:
The problem persists in 2.6.10-rc3, but this workaround did the trick.
Back to top
View user's profile Send private message
taiger
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2003
Posts: 112

PostPosted: Thu Dec 16, 2004 8:20 am    Post subject: Reply with quote

8O

cifs is very fast but also very dangerous

I open two file with Quanta ad this file are deleted, sizes are 0kb.

thanks to backup system, my work is save.

I mount dir as:

echo "mount.cifs //xavier/webapps xavier/webapps/ -o uid=tigre,gid=users,dmask=770,fmask=770

but now umount all cifs....

:roll: :(
Back to top
View user's profile Send private message
Vermyndax
Apprentice
Apprentice


Joined: 13 Dec 2003
Posts: 208

PostPosted: Fri Dec 17, 2004 10:59 pm    Post subject: patching kernel Reply with quote

Can anyone tell me what they executed to get this to patch?
_________________
AMD64 3500+ (not overclocked)
ABIT AV8; 1 GB CorsairXMS 2-2-2-5 RAM
2x160gb SATA Maxtor HD - raid0
BFG 6800 GT OC 256mb AGP 8x
Leadtek WinFast XP 2000 Deluxe TV Tuner
Gentoo AMD64 / Windows XP Professional x64
Back to top
View user's profile Send private message
taiger
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2003
Posts: 112

PostPosted: Mon Dec 20, 2004 7:55 am    Post subject: Re: patching kernel Reply with quote

you can manual patch the file, comment two row of cifsfs.c and recompile yoour kernel.
Bye

Vermyndax wrote:
Can anyone tell me what they executed to get this to patch?
Back to top
View user's profile Send private message
merky1
n00b
n00b


Joined: 22 Apr 2003
Posts: 51

PostPosted: Thu Dec 30, 2004 9:30 pm    Post subject: Reply with quote

Looks like 2.6.10-gentoo-r1 fixes the problem.
_________________
ooo000 WoooHooo 000ooo
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