win95 + linux oplock error, even with kernel oplocks = no.

Housebee housebee at xs4all.nl
Tue Nov 13 12:38:02 GMT 2001


Hi all,

I've posted a similar message a few weeks ago. I had the 'oplock' problem. I run a linux server with samba (specification below). I get a reply
who told me to disable kernel oplocks and oplocks. I did exactly what he told me to do.
I hoped it worked... but it did not... From there one i started reading in the archives and followed the 'lock' discussions in this list. I've t
ried a lot of options. I even got myself a CVS samba, because that (so i've read) would solve the the oplock 'bug', but still no luck... I don't
 know what to do anymore.

Allright, here is an overview of the layout of the small network.

Ik have 12 win95 client (a school class), and one debian (sid) linux server.
See here for the server specs:
        Samba version: 2.2.3-pre
        hda: QUANTUM FIREBALL ST1.6A, ATA DISK drive
        cpu: Intel Pentium 75 - 200 stepping 05
        Memory: 61732k/65536k available (1407k kernel code, 3416k reserved, 477k data, 204k init, 0k highmem)
        kernel: 2.4.4

fstab entry:
/dev/hda1       /               reiserfs        defaults,errors=remount-ro 0       1

There is a directory /opslag
drwxr-xr-x    4 nobody   nogroup       160 Nov 12 14:28 bak/

In this directory are the files which more clients at the same time have to acces. But as you might expected, only one client is allowed to do s
o, if an other client tries to access the same file, it gets a time-out or crashes.

I tries it with win98 and there were no problems. Only win95 has the oplock problem. Can some pls take a look at my problem.. I would be very gr
acefull if someone could straighten things up for me.

Below is my very small smb.conf and a log output from the moment things went wrong. I hope i've given enough information.

Thanx in advance
Housebee

===== smb.conf ======

# Global parameters
[global]
        config file = /usr/local/samba/lib/smb.conf.%I
        workgroup = PCROOM
        netbios name = MerkelBach
        encrypt passwords = Yes
        wins support = Yes
        security = share
        socket options = TCP_NODELAY
        guest ok = yes

        # Browsing election options
        local master = no

        # Debug logging information
        log level = 2
        log file = /var/log/samba.log.%m
        max log size = 1000
        debug timestamp = yes
        syslog = 2

[bak]
        comment = bak
        path = /bak
        browseable = yes
        read only = no
#       kernel locking = no

===== end smb.conf =====

Here is a bit from the log produced when two client tried to access the same file.

[2001/11/12 16:22:37, 0] smbd/oplock.c:request_oplock_break(981)
  request_oplock_break: no response received to oplock break request to pid 636 on port 1036 for dev = 301, inode = 45828, file_id = 1
[2001/11/12 16:22:37, 0] smbd/open.c:open_mode_check(552)
  open_mode_check: exlusive oplock left by process 636 after break ! For file cfiles/digiwijs.FCD, dev = 301, inode = 45828. Deleting it to cont
inue...
[2001/11/12 16:22:37, 0] lib/util.c:smb_panic(1053)
  PANIC: open_mode_check: Existant process 636 left active oplock.

[2001/11/12 16:22:37, 2] smbd/connection.c:count_fn(97)
  pid 639 doesn't exist - deleting connections 1 [bak]
[2001/11/12 16:22:37, 2] smbd/reply.c:reply_sesssetup_and_X(979)
  Defaulting to Lanman password for pcroom
[2001/11/12 16:22:37, 1] smbd/service.c:make_connection(619)
  pcr4 (172.16.8.106) connect to service bak as user nobody (uid=65534, gid=65534) (pid 640)
[2001/11/12 16:22:37, 0] smbd/dir.c:dptr_close(278)
  Invalid key 257 given to dptr_close
[2001/11/12 16:22:37, 0] smbd/dir.c:dptr_close(278)
  Invalid key 256 given to dptr_close


-- 

MVG,
Guido



*********************************************************************
Email:      housebee at xs4all.nl
Homepage:   http://housebee.xs4all.nl
OS:         Debian GNU Linux (Sid)

 __  __                                  __                       
/\ \/\ \                                /\ \                      
\ \ \_\ \    ___   __  __    ____     __\ \ \____     __     __   
 \ \  _  \  / __`\/\ \/\ \  /',__\  /'__`\ \ '__`\  /'__`\ /'__`\ 
  \ \ \ \ \/\ \L\ \ \ \_\ \/\__, `\/\  __/\ \ \L\ \/\  __//\  __/ 
   \ \_\ \_\ \____/\ \____/\/\____/\ \____\\ \_,__/\ \____\ \____\
    \/_/\/_/\/___/  \/___/  \/___/  \/____/ \/___/  \/____/\/____/
                                                                  

*********************************************************************




More information about the samba mailing list