Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50475 - File transfers stall using Konqueror with samba 3.0.2a-rc2
Summary: File transfers stall using Konqueror with samba 3.0.2a-rc2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-08 11:55 UTC by Glenn Morse
Modified: 2004-05-27 15:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glenn Morse 2004-05-08 11:55:32 UTC
File transfers stall out at around 150-700k when I'm trying to transfer to/from Windows 2000 machine(s). I'm using Konqueror (3.2.2) to transfer files to these machines. Samba 2.2.8a works fine.

Reproducible: Always
Steps to Reproduce:





As requested by this nice form, here's 'emerge info': 
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5) 
================================================================= 
System uname: 2.6.5 i686 AMD Athlon(tm) processor 
Gentoo Base System version 1.4.10 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=athlon-tbird -funroll-loops -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=athlon-tbird -funroll-loops -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo 
ftp://ftp.ussg.iu.edu/pub/linux/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb 
gdbm gif gpm gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mozilla 
mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt 
quicktime readline samba scanner sdl slang spell ssl svga tcpd truetype usb 
x86 xml2 xmms xv zlib"
Comment 1 Christian Andreetta (RETIRED) gentoo-dev 2004-05-11 04:09:49 UTC
are you sure it's not a konqueror issue? With 3.2.1 version, there's no problem, no matter the samba version.

does this problem occur with a plain shell 'cp <from> <dest>'?
Comment 2 J.Taimr 2004-05-13 12:42:31 UTC
Did you look into system logs? I have similar problems with this version of samba, and I found a message
<snip>
 check_ntlm_password:  authentication for user [guest] -> [guest] -> [guest] succeeded
[2004/05/11 21:40:03, 0] lib/fault.c:fault_report(36)
  ===============================================================
[2004/05/11 21:40:03, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 25914 (3.0.2a)
  Please read the appendix Bugs of the Samba HOWTO collection
[2004/05/11 21:40:03, 0] lib/fault.c:fault_report(39)
  ===============================================================
[2004/05/11 21:40:03, 0] lib/util.c:smb_panic(1400)
  PANIC: internal error
[2004/05/11 21:40:03, 0] lib/util.c:smb_panic(1408)
  BACKTRACE: 1 stack frames:
   #0 /usr/sbin/smbd(smb_panic+0xed) [0x81c71a5]
<snip>
Therefore I think, this is rather samba-related issue... and it happens just during quick transfer (or printing) of (many) files > 100kb.
Comment 3 Glenn Morse 2004-05-15 18:18:53 UTC
Sorry for the delay, but now I've had a chance to investigate further. I created a "test directory" containing 12 ~3meg files (mp3's, actually) and a bunch of small files (the contents of /usr/portage/kde-base and gnome-base). Using KDE 3.2.2 and Samba 2.2.8a, I was able to copy the test directory to and from the local Windows 2000 machine. Using KDE 3.2.2 and Samba 3.0.2a-rc2, I was able to copy the directory *to* the Windows machine, but not back. The files stall out as described in this bug: http://bugs.kde.org/show_bug.cgi?id=70226 . That is, the first file copies more or less completely (as far as I can tell), but is never renamed from foo.part to foo, and no other transfers take place. If I mount the Windows share and copy from the command line, it copies without any problems, both directions. 

So, this looks like a KDE bug. Can someone move it to the proper place?
Comment 4 Christian Andreetta (RETIRED) gentoo-dev 2004-05-17 05:08:49 UTC
just for curiosity. I presume you installed samba before kdebase.
Is libsmbclient.h located on /usr/include/libsmbclient.h?
I'm doing just now some file transfers with konqueror 3.2.2, samba 3.0.4, smb:// lisa daemon share: 745 files in 164 folders (total size is 300 Mb).
Transfer directions: from win NT to gentoo, from gentoo to win2k, from win2k to gentoo. All successfull (both authenticated user and null pwd guest).

Could you try samba-3.0.4 in bug 48871 and re-emerge kde (at least an emerge kdelibs kdeaddons kdebase)?
Comment 5 Glenn Morse 2004-05-18 22:15:19 UTC
Yes, /usr/lib/libsmbclient.h did exist.

I added the ebuild for Samba 3.0.4, and re-emerged kdelibs kdeaddons kdebase,
and it seems to all work now! Irritatingly, my Plastik theme is gone, but 
smb transfers seem to work again. Great.
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2004-05-27 15:58:04 UTC
so this problem is now fixed with a re-emerge of some kde packages.