Hi, I just upgraded one of my samba server from 2.0.7 to 2.2.2 on Solaris 2.6 (with latest patches). Now I'm receiving Windows 2000 errors using netscape communicator 4.77. Can anyone help me trace this down. Window reports: Windows - Delayed Write Failed Windows was unable to save all the data from the file \Device\LanmanRedirector\fe-2\*{username}*\Netscape\*{username}*\netscape.hst. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere. ** User name omitted to protect the innocent ** log entries below: [2001/10/22 08:10:30, 0] smbd/oplock.c:request_oplock_break(929) request_oplock_break: PANIC : breaking our own oplock requested for dev 2bc689c, inode = 341876, tv_sec = 3bd436e6, tv_usec = 528b3 and no fsp found ! [2001/10/22 08:10:30, 0] lib/util.c:smb_panic(1055) PANIC: request_oplock_break: no fsp found for our own oplock [2001/10/22 08:55:01, 0] smbd/oplock.c:request_oplock_break(929) request_oplock_break: PANIC : breaking our own oplock requested for dev 2bc689c, inode = 341663, tv_sec = 3bd4414d, tv_usec = c6dbd and no fsp found ! [2001/10/22 08:55:01, 0] lib/util.c:smb_panic(1055) PANIC: request_oplock_break: no fsp found for our own oplock [2001/10/22 11:59:00, 0] smbd/oplock.c:request_oplock_break(929) request_oplock_break: PANIC : breaking our own oplock requested for dev 2bc689c, inode = 341918, tv_sec = 3bd46c74, tv_usec = 385b1 and no fsp found ! [2001/10/22 11:59:00, 0] lib/util.c:smb_panic(1055) PANIC: request_oplock_break: no fsp found for our own oplock [2001/10/22 11:59:13, 0] lib/util_sock.c:get_socket_addr(1038) getpeername failed. Error was Transport endpoint is not connected [2001/10/22 11:59:13, 0] lib/util_sock.c:write_socket_data(542) write_socket_data: write failure. Error = Broken pipe [2001/10/22 11:59:13, 0] lib/util_sock.c:write_socket(566) write_socket: Error writing 4 bytes to socket 13: ERRNO = Broken pipe [2001/10/22 11:59:13, 0] lib/util_sock.c:send_smb(730) Error writing 4 bytes to client. -1. (Broken pipe) [2001/10/22 11:59:15, 0] locking/locking.c:delete_fn(253) locking : delete_fn. LOGIC ERROR ! Entry for pid 5209 and it no longer exists ! -- ||||| ((~) (~)) ( (_) ) { ~ } V ----------------------oOO0-----0OOo--------------------------------- Mitch McNeel # Phone Ext. 2236 Unix Systems Administrator # Phone Num. 858-831-2210 Maintenance Warehouse/A Home Depot Company # http://www.mwh.com --------------------------------------------------------------------
On Mon, 22 Oct 2001, Mitch McNeel wrote:> Hi, > > I just upgraded one of my samba server from 2.0.7 to 2.2.2 on Solaris > 2.6 (with latest patches). Now I'm receiving Windows 2000 errors using netscape > communicator 4.77. Can anyone help me trace this down.This is a very hard bug to reproduce. I'll try this scenario later today and see if I can find out what is going on. cheers, jerry
Jeremy, To answer your questions, Yes we can reproduce this. No we didn't get a panic action. I've been watching the list recently and found a thread "Oplock logic bug in samba 2.2.2". From this thread it appears that version 2.0.6 does not have the 2.2.x oplock issues. If this is so, could we down grade to 2.0.6 until a fix is found for 2.2.x? If we down grade to 2.0.6, what would we be losing in functionality? Also, you mentioned that level 10 debug data would be useful to you. We can get such data, if it would help you. Our system is Solaris 2.6 (with latest patches), Samba 2.2.3-pre, Shares are NFS mounted. Problem clients are running winblows 2000 pro sp1 & sp2. Win9x clients do not exhibit these issues. Just to reiterate the issues, Win2K pro clients have been very slow (30+ sec to 2 min.) in accessing samba shares and MS Word & Excel files. Also, Win2K clients using Netscape Communicator 4.x have been receiving errors saving cache/history files to samba shares. Users Netscape profile lives on a samba share (/home/username - automount). Let us know. Mitch Jeremy Allison wrote:> On Thu, Oct 25, 2001 at 08:34:58AM -0700, Mitch McNeel wrote: > > Sorry!! I forgot to attach the log entries. The error is using Netscape communicator 4.xx on Win2K > > with Samba 2.2.3-pre (was 2.2.2) as of 10/24. User's Netscape profiles live on home directory > > (mapped to U: drive) shared from samba. > > > > Following is log entry for one (1) of the PC's encountering the error: > > > > [2001/10/24 09:58:03, 0] smbd/nttrans.c:call_nt_transact_ioctl(1761) > > call_nt_transact_ioctl: Currently not implemented. > > [2001/10/24 12:30:59, 0] smbd/oplock.c:request_oplock_break(896) > > request_oplock_break: PANIC : breaking our own oplock requested for dev = 2bc70a4, inode = 341898, > > file_id = 24485 and no fsp found ! > > Can you reproduce this ? Did you get a "panic action" parameter ? If so > can you catch the smbd process and get a stack backtrace. I need to > see the tdbs for a process in this state. > > Thanks, > > Jeremy.-- ||||| ((~) (~)) ( (_) ) { ~ } V ----------------------oOO0-----0OOo--------------------------------- Mitch McNeel # Phone Ext. 2236 Unix Systems Administrator # Phone Num. 858-831-2210 Maintenance Warehouse/A Home Depot Company # http://www.mwh.com --------------------------------------------------------------------
Matthew, Not really!! Just a work around!! If you have users Netscape profile living on a samba share, I would suggest (0) zeroing out the number of days to keep history. What we did: For users that have their Netscape profiles living on a samba share (homes), we zeroed out the disk cache, Number of days to keep history and bumped up the memory cache to 10 megs (256 megs of memory). This seems to eliminate the Delay write error. Let me know if this helps.... Mitch Ps. We also set the oplock break wait time configuration setting to 10 milliseconds, this helped with word and excel documents taking up to 30 second to open. Log error entry: [2001/12/11 14:42:51, 0, effective(0, 0), real(0, 0)] smbd/oplock.c:oplock_break(761) oplock_break: receive_smb timed out after 30 seconds. [global] oplock break wait time = 10 (default is zero) Matthew Hallam wrote:> One Win2K machine here has started exhibiting the same symptons > (Netscape 4.77 giving Delayed Write Failed errors on netscape.hst) after > we had to reboot the samba server and hasnt been happy since. > > Dont suppose you came up with a solution ? > > X--------------------------------------------------------------------------O > | Matthew Hallam Email: meh@aber.ac.uk | > | Systems Support Group Tel: +44 (0)1970 622429 | > | Department of Computer Science Fax: +44 (0)1970 622455 | > | University of Wales, Aberystwyth. SY23 3DB http://users.aber.ac.uk/meh/ | > O--------------------------------------------------------------------------X-- ||||| ((~) (~)) ( (_) ) { ~ } V ----------------------oOO0-----0OOo--------------------------------- Mitch McNeel # Phone Ext. 2236 Unix Systems Administrator # Phone Num. 858-831-2210 Maintenance Warehouse/A Home Depot Company # http://www.mwh.com --------------------------------------------------------------------