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"
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>'?
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.
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?
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)?
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.
so this problem is now fixed with a re-emerge of some kde packages.