SOLARIS_2.6: request_oplock_break

Martin Geigl geigl at physik.uni-greifswald.de
Wed Nov 25 17:25:24 GMT 1998


Hello,

I have a similar problem, when accessing a samba share from
a DOS PC (smb1.9.18p8, Linux 2.0.35, gcc 2.7.2.1).
It has nothing to do with the password file. I just want to
copy files from DOS to Samba or delete files on the Server.
(I put the output of smbstatus and a level 10 log at the end
of the message.)

I followed the discussion on this list, but didn't find any
solution to this problem. But I found something in the
announcement of Samba2 beta:

> 5). Cross protocol data integrity
> ---------------------------------
> An open function interface has been defined to allow 
> "opportunistic locks" (oplocks for short) granted by Samba
> to be seen by other UNIX processes.  This allows complete
> cross protocol (NFS and SMB) data integrety using Samba
> with platforms that support this feature.

Is this error a problem of "cross protocol data integrety"?
I export this share via nfs to another Linux box as well.
Then maybe changing to Samba2 would solve the problem?


TIA
M.Geigl

smbstatus:
Samba version 1.9.18p8
Service      uid      gid      pid     machine
----------------------------------------------
bodden       geigl    bodden   23064   pcmei7  
(141.53.32.128) Wed Nov 25 17:51:35 1998

Locked files:
Pid    DenyMode   R/W        Oplock           Name
--------------------------------------------------
23064  DENY_DOS   RDWR       EXCLUSIVE+BATCH 
ELLI.SAV/SWEN/PL50W455.3D   Wed Nov 25 17:54:00 1998


logfile:
1998/11/25 18:03:10 pcmei7 (141.53.32.128) connect to
service bodden as user ge
igl (uid=500,gid=101) (pid 23084)
1998/11/25 18:03:10 tconX service=bodden user=geigl cnum=102
size=51
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=128
smb_flg2=1
smb_tid=102
smb_pid=14981
smb_uid=100
smb_mid=609
smt_wct=3
smb_vwv[0]=117 (0x75)
smb_vwv[1]=41 (0x29)
smb_vwv[2]=0 (0x0)
smb_bcc=0
write_socket(7,55)
write_socket(7,55) wrote 55
got smb length of 65
got message type 0x0 of len 0x41
1998/11/25 18:03:10 Transaction 3 of length 69
size=65
smb_com=0x6
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=102
smb_pid=14981
smb_uid=100
smb_mid=641
smt_wct=1
smb_vwv[0]=6 (0x6)
smb_bcc=28
[000] 04 5C 45 4C 4C 49 2E 53  41 56 5C 53 57 45 4E 5C 
.\ELLI.S AV\SWEN\
[010] 50 4C 35 30 57 34 35 35  2E 33 44 00             
PL50W455 .3D.
switch message SMBunlink (pid 23084)
become_user uid=(0,500) gid=(101,101)
chdir to /bodden/bodden
reply_unlink : \ELLI.SAV\SWEN\PL50W455.3D
unix_clean_name [./ELLI.SAV/SWEN/PL50W455.3D]
checking PL50W455.3D for 8.3
dos_mode: 102 ELLI.SAV/SWEN/PL50W455.3D
is_in_path: ELLI.SAV/SWEN/PL50W455.3D
is_in_path: no name list.
dos_mode returning a
get_share_modes Read share mode 0x2 pid=23064
get_share_modes: file with dev 2052 inode 600079 -> 1
entries
check_file_sharing: breaking oplock (3) on file
ELLI.SAV/SWEN/PL50W455.3D, dev 
= 804, inode = 9280f
1998/11/25 18:03:10 request_oplock_break: sending a oplock
break message to pid
 23064 on port 1871 for dev = 804, inode = 9280f
1998/11/25 18:03:14 request_oplock_break: no response
received to oplock break 
request to pid 23064 on port 1871 for dev = 804, inode =
9280f
1998/11/25 18:03:14 request_oplock_break: broke oplock.
get_share_modes Read share mode 0x2 pid=23064
get_share_modes: file with dev 2052 inode 600079 -> 1
entries
check_file_sharing: breaking oplock (3) on file
ELLI.SAV/SWEN/PL50W455.3D, dev 
= 804, inode = 9280f
1998/11/25 18:03:14 request_oplock_break: sending a oplock
break message to pid
 23064 on port 1871 for dev = 804, inode = 9280f
1998/11/25 18:03:42 request_oplock_break: no response
received to oplock break 
request to pid 23064 on port 1871 for dev = 804, inode =
9280f
1998/11/25 18:03:42 request_oplock_break: broke oplock.
get_share_modes Read share mode 0x2 pid=23064
get_share_modes: file with dev 2052 inode 600079 -> 1
entries
check_file_sharing: breaking oplock (3) on file
ELLI.SAV/SWEN/PL50W455.3D, dev 
= 804, inode = 9280f
1998/11/25 18:03:42 request_oplock_break: sending a oplock
break message to pid
 23064 on port 1871 for dev = 804, inode = 9280f
1998/11/25 18:03:46 request_oplock_break: no response
received to oplock break 
request to pid 23064 on port 1871 for dev = 804, inode =
9280f
1998/11/25 18:03:46 request_oplock_break: broke oplock.
get_share_modes Read share mode 0x2 pid=23064
get_share_modes: file with dev 2052 inode 600079 -> 1
entries
check_file_sharing: breaking oplock (3) on file
ELLI.SAV/SWEN/PL50W455.3D, dev 
= 804, inode = 9280f
1998/11/25 18:03:46 request_oplock_break: sending a oplock
break message to pid
 23064 on port 1871 for dev = 804, inode = 9280f
1998/11/25 18:04:14 request_oplock_break: no response
received to oplock break 
request to pid 23064 on port 1871 for dev = 804, inode =
9280f
1998/11/25 18:04:14 request_oplock_break: broke oplock.
get_share_modes Read share mode 0x2 pid=23064
get_share_modes: file with dev 2052 inode 600079 -> 1
entries
check_file_sharing: breaking oplock (3) on file
ELLI.SAV/SWEN/PL50W455.3D, dev 
= 804, inode = 9280f
1998/11/25 18:04:14 request_oplock_break: sending a oplock
break message to pid
 23064 on port 1871 for dev = 804, inode = 9280f
1998/11/25 18:04:18 request_oplock_break: no response
received to oplock break 
request to pid 23064 on port 1871 for dev = 804, inode =
9280f
1998/11/25 18:04:18 request_oplock_break: broke oplock.
get_share_modes Read share mode 0x2 pid=23064
get_share_modes: file with dev 2052 inode 600079 -> 1
entries
check_file_sharing: breaking oplock (3) on file
ELLI.SAV/SWEN/PL50W455.3D, dev 
= 804, inode = 9280f
1998/11/25 18:04:18 request_oplock_break: sending a oplock
break message to pid
 23064 on port 1871 for dev = 804, inode = 9280f
1998/11/25 18:04:46 request_oplock_break: no response
received to oplock break 
request to pid 23064 on port 1871 for dev = 804, inode =
9280f
1998/11/25 18:04:46 request_oplock_break: broke oplock.
get_share_modes Read share mode 0x2 pid=23064
get_share_modes: file with dev 2052 inode 600079 -> 1
entries
check_file_sharing: breaking oplock (3) on file
ELLI.SAV/SWEN/PL50W455.3D, dev 
= 804, inode = 9280f
1998/11/25 18:04:46 request_oplock_break: sending a oplock
break message to pid
 23064 on port 1871 for dev = 804, inode = 9280f
1998/11/25 18:04:50 request_oplock_break: no response
received to oplock break 
request to pid 23064 on port 1871 for dev = 804, inode =
9280f
1998/11/25 18:04:50 request_oplock_break: broke oplock.
get_share_modes Read share mode 0x2 pid=23064
get_share_modes: file with dev 2052 inode 600079 -> 1
entries
check_file_sharing: breaking oplock (3) on file
ELLI.SAV/SWEN/PL50W455.3D, dev 
= 804, inode = 9280f
1998/11/25 18:04:50 request_oplock_break: sending a oplock
break message to pid
 23064 on port 1871 for dev = 804, inode = 9280f

-- 
-------------------------------------
Martin Geigl
Universitaet Greifswald
Institut fuer Physik
Domstr. 10a
17489 Greifswald
Tel.: +49-3834-864745
Fax: +49-3834-864701
-------------------------------------


More information about the samba mailing list