From johan@immortal.localhost.nl  Sun Mar 31 00:13:57 2002
Return-Path: <johan@immortal.localhost.nl>
Received: from immortal.localhost.nl (immortal.localhost.nl [62.250.1.99])
	by hub.freebsd.org (Postfix) with SMTP id 0E38237B41B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 31 Mar 2002 00:13:56 -0800 (PST)
Received: (qmail 497 invoked by uid 1001); 31 Mar 2002 08:13:35 -0000
Message-Id: <20020331081335.496.qmail@immortal.localhost.nl>
Date: 31 Mar 2002 08:13:35 -0000
From: Johan Mulder <johan@immortal.localhost.nl>
Reply-To: Johan Mulder <johan@immortal.localhost.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: System reboot with dead smb mount and umount
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         36566
>Category:       kern
>Synopsis:       [smbfs] System reboot with dead smb mount and umount
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-fs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 31 00:20:01 PST 2002
>Closed-Date:    Fri May 02 21:32:20 UTC 2014
>Last-Modified:  Fri May 02 21:32:20 UTC 2014
>Originator:     Johan Mulder
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
>Environment:
System: FreeBSD immortal.localhost.nl 4.5-RELEASE FreeBSD 4.5-RELEASE #8: Mon Jan 28 16:02:16 CET 2002 root@immortal.localhost.nl:/usr/obj/usr/src/sys/IMMORTAL i386

	
>Description:
When a windows box dies and a freebsd system has a windows share mounted,
the FreeBSD box will reboot upon the unmount of the mounted share (after the
mount has been dead a while).
>How-To-Repeat:
Mount a share, firewall the windows box, wait a while and try to umount -f.
>Fix:
Unknown.


>Release-Note:
>Audit-Trail:

From: "Goran Tornqvist" <goran@goran.aleborg.se>
To: <bug-followup@FreeBSD.org>
Cc:  
Subject: Re: kern/36566: [smbfs] System reboot with dead smb mount and umount
Date: Thu, 23 Jun 2005 12:42:17 +0200

 I can confirm that this is still an issue on FreeBSD 5.4-RELEASE.
 
 After doing this my system crashed:
 
 bash-2.05b# umount -fv /mnt/backup
 
 umount: /mnt/backup: statfs: RPC struct is bad
 
 //BACKUP-USER@SERVER/SHARE: unmount from /mnt/backup
 
 I had the same problem before on FreeBSD 4.9-RELEASE.
 
 Still no fix for this?
 
 Best Regards
 
 Goran

From: Joe Peterson <joe@skyrush.com>
To: bug-followup@FreeBSD.org, johan@immortal.localhost.nl
Cc:  
Subject: Re: kern/36566: [smbfs] System reboot with dead smb mount and umount
Date: Sat, 16 Feb 2008 16:16:29 -0700

 Here's another datapoint...
 
 I am running FreeBSD 7.0-RC1, and I just got a reboot on doing the mount
 itself (i.e. "mount_smbfs ...").
 
 I suspect this could be the same issue.  I had network connectivity at
 the time, but the Windows box *had* been firewalled during serveral
 previous attempts to mount (this is due to a recent upgrade from Windows
 2000 to Windows XP Pro), resulting in timeouts.  Once unfirewalled, I
 was then getting authentication errors because the drive on the Windows
 box did not have sharing enabled (Windows XP must have disabled this
 during upgrade).
 
 Once I got this setting changed (and while the Windows box was busy for
 a while setting permissions on files), I tried to mount the Windows
 share, causing a reboot  When FreeBSD came back up, I could mount and
 umount fine.
Responsible-Changed-From-To: freebsd-bugs->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon May 18 04:24:19 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36566 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/36566: commit references a PR
Date: Thu, 17 Apr 2014 12:22:11 +0000 (UTC)

 Author: ae
 Date: Thu Apr 17 12:22:08 2014
 New Revision: 264600
 URL: http://svnweb.freebsd.org/changeset/base/264600
 
 Log:
   Remove redundant unlock.
   
   This code was removed from the opensolaris and darwin's
   netsmb implementations, in DfBSD it also has been disabled.
   
   PR:		36566, 87859, 139407, 161579, 175557, 178412, 186652
   MFC after:	2 weeks
   Sponsored by:	Yandex LLC
 
 Modified:
   head/sys/netsmb/smb_iod.c
 
 Modified: head/sys/netsmb/smb_iod.c
 ==============================================================================
 --- head/sys/netsmb/smb_iod.c	Thu Apr 17 12:16:51 2014	(r264599)
 +++ head/sys/netsmb/smb_iod.c	Thu Apr 17 12:22:08 2014	(r264600)
 @@ -87,8 +87,6 @@ smb_iod_invrq(struct smbiod *iod)
  	 */
  	SMB_IOD_RQLOCK(iod);
  	TAILQ_FOREACH(rqp, &iod->iod_rqlist, sr_link) {
 -		if (rqp->sr_flags & SMBR_INTERNAL)
 -			SMBRQ_SUNLOCK(rqp);
  		rqp->sr_flags |= SMBR_RESTART;
  		smb_iod_rqprocessed(rqp, ENOTCONN);
  	}
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: ae 
State-Changed-When: Fri May 2 21:31:29 UTC 2014 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=36566 
>Unformatted:
