smbfs broken in 2.4.25? (Too many open files in system)

From: Alain Fauconnet (alain_at_ait.ac.th)
Date: 02/26/04

  • Next message: Jakub Bogusz: "Re: i2c on alpha - used but not available in 2.6.3"
    Date:	Thu, 26 Feb 2004 18:09:03 +0700
    To: linux-kernel@vger.kernel.org
    
    

    Hello,

    Hope I won't get flamed for this, I've spent a fair amount of time
    searching archives and news without finding anything close enough.

    Since I've updated my Slackware 8.0 desktop to the 2.4.25 kernel (from
    source, loaded .config from .24) I can't access shares off Win9x
    systems reliably (98/98SE tested). smbfs is loaded as a module.

    I get random 'Too many open files in system'. E.g.:

    # /usr/local/samba/bin/smbmount //w98box/c /dosc -o password=xxxxx
    # ls /dosc
    /bin/ls: /dosc: Too many open files in system
    (command repeated several times: hit up arrow and enter... and then:)
    # ls /dosc
    ASD.LOG* BIN/ CONFIG.TXT* MSDOS.SYS* SUHDLOG.---*
    AUTOEXEC.001* BOOTLOG.DMA* CONFIG.W95* MSDOS.W95* SUHDLOG.BAK*
    (...works!)

    It seems to randomly succeed or fail, with a majority of failures.
    I've been able to catch messages like the following in syslog:

    Feb 26 13:42:27 alain kernel: smb_lookup: find windows/MSDFMAP.INI failed, error=-23

    This used to work flawlessly in 2.4.24.
    The Gods of Linux forgive me, I've copied ./fs/smbfs/* and
    ./include/linux/smb*.h from the 2.4.24 tree, "make modules" and
    reloaded smbfs.o: now it works all the time!

    Some background: Samba is v2.2.8a built from source.

    Any hints? I've tried rebuilding smbfs with debug options in the
    Makefile, SMBFS_PARANOIA on and off, I haven't been able to
    make much sense out of it. It keeps failing in every configuration.

    Greets,
    _Alain_
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Jakub Bogusz: "Re: i2c on alpha - used but not available in 2.6.3"

    Relevant Pages

    • Re: 2.5/2.6 NVidia (was Re: 2.4 vs 2.6 version of ioport.h)
      ... NVIDIA: AGP 4X successfully initialized ... IIRC, but possibly not the case in the 2.6 .config yet, is that any ... Copyright 2003 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 2/2] ide: remove obsolete CONFIG_BLK_DEV_ADMA - cleanup arch
      ... Cleans up default config for various archs, removing ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.12 Performance problems
      ... > The kernel is the standard kernel.org dowload ... > config with SMP turned off and the intel ethernet ... > card drivers as modules without any other ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.12 Performance problems
      ... > The kernel is the standard kernel.org dowload ... > config with SMP turned off and the intel ethernet ... > card drivers as modules without any other ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] make miniconfig (take 2)
      ... script intercept signals and restore .config on the way out, ... fully reliable because kconfig overwrites .config and ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)