From owner-freebsd-current@FreeBSD.ORG Fri Jun 29 09:53:21 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1BA2416A400 for ; Fri, 29 Jun 2007 09:53:21 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay01.kiev.sovam.com (relay01.kiev.sovam.com [62.64.120.200]) by mx1.freebsd.org (Postfix) with ESMTP id B768B13C480 for ; Fri, 29 Jun 2007 09:53:20 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [89.162.146.170] (helo=skuns.kiev.zoral.com.ua) by relay01.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1I4DAE-0002Bn-Bb for current@freebsd.org; Fri, 29 Jun 2007 12:53:19 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l5T9r0Ch002823 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 29 Jun 2007 12:53:00 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l5T9r6iI014101; Fri, 29 Jun 2007 12:53:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l5T9r44s014074; Fri, 29 Jun 2007 12:53:04 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 29 Jun 2007 12:53:04 +0300 From: Kostik Belousov To: Ivan Voras Message-ID: <20070629095304.GA2268@deviant.kiev.zoral.com.ua> References: <4684251F.9070905@fer.hr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XODIZCjph7+hF8o9" Content-Disposition: inline In-Reply-To: <4684251F.9070905@fer.hr> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: ClamAV version 0.90.2, clamav-milter version 0.90.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on skuns.kiev.zoral.com.ua X-Scanner-Signature: b3971b7ac160fe45482707327a257f38 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 1187 [June 28 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: current@freebsd.org Subject: Re: mount_smbfs stuck in devdrn X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 09:53:21 -0000 --XODIZCjph7+hF8o9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 28, 2007 at 11:16:15PM +0200, Ivan Voras wrote: > Hi >=20 > I've noticed a serious problem with mount_smbfs again: it doesn't work, > it gets stuck in devdrn state. I've reported this before, and I think it > was solved at the time (IIRC, interaction with devfs or devd), but it's > back again. It was never fixed in the CVS. >=20 > I can reproduce this 100% on two machines running different recent > versions of 7-CURRENT, compiled without WITNESS and INVARIANTS. It works > in 6-STABLE (maybe it was fixed in RELENG_6 only?). RELENG_6 instead has a lot of use-after-free bugs fix for which causes "devdrn" state you observed. >=20 > I've filed a PR about this but I didn't get a confirmation mail so maybe > it's eaten by gnats again. >=20 > I'm using mount_smbfs like this: >=20 > # mount_smbfs -I host //ivoras@host/c$ /mnt >=20 Try http://people.freebsd.org/~kib/misc/destroy_dev_sched.14.patch Most likely, this shall fix your immediate problem. I'm very interested in regression reports. --XODIZCjph7+hF8o9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGhNaAC3+MBN1Mb4gRAle7AKDMIxOh6jyiXBC0X9GBoKD7TeWTjACfSsYA z1R5d1DyBt5Gy7Hv+Xe06U8= =HKtr -----END PGP SIGNATURE----- --XODIZCjph7+hF8o9--