From owner-freebsd-current@FreeBSD.ORG Sun Apr 29 17:19:57 2007 Return-Path: X-Original-To: freebsd-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 3D1AE16A402 for ; Sun, 29 Apr 2007 17:19:57 +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 D84B413C459 for ; Sun, 29 Apr 2007 17:19:56 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [212.82.216.227] (helo=fw.zoral.com.ua) by relay01.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60) (envelope-from ) id 1HiD3y-0001XZ-DY for freebsd-current@freebsd.org; Sun, 29 Apr 2007 20:19:55 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id l3THJnp9086774 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Apr 2007 20:19:49 +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 l3THJnAG065760; Sun, 29 Apr 2007 20:19:49 +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 l3THJnMR065759; Sun, 29 Apr 2007 20:19:49 +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: Sun, 29 Apr 2007 20:19:49 +0300 From: Kostik Belousov To: Ivan Voras Message-ID: <20070429171949.GT2441@deviant.kiev.zoral.com.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VouvK5X/VR+fp5FT" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=ALL_TRUSTED,SPF_NEUTRAL autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on fw.zoral.com.ua X-Scanner-Signature: 7155bbd8d023de41950ebecbe4708355 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 1011 [Apr 28 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists 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: freebsd-current@freebsd.org Subject: Re: smbfs mount wedges 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: Sun, 29 Apr 2007 17:19:57 -0000 --VouvK5X/VR+fp5FT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 29, 2007 at 07:00:54PM +0200, Ivan Voras wrote: > I have this line in my /etc/fstab: >=20 > //ivoras@server/share /home/ivoras/mnt smbfs rw,noauto,-f640,-d750 0 0 >=20 > But the command >=20 > # mount /home/ivoras/mnt >=20 > doesn't exit. The file system is mounted, I can see it in output of > "mount" on another console, and I can access the files in it without > problems, but the "mount" command never returns. It's stuck in state > "devdrn", and can't be killed by SIGINT or SIGKILL. >=20 > This is a -CURRENT from few days ago. >=20 > Does smbfs work for someone? >=20 Take the http://people.freebsd.org/~kib/misc/destroy_dev_sched.6.patch In addition, replace calls to destroy_dev() in the smb cdev d_close() method with destroy_dev_sched() (the precise location of that destroy_dev() could be obtained by backtracing hung process in ddb). This should fix "devdrn" hang. Please, report the results to me. --VouvK5X/VR+fp5FT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGNNO0C3+MBN1Mb4gRAgwNAJ4gzoWMmEHHXj0QuDPvuSLEIyiBngCeOpXg LM6FglqhAEzx/8B/8CEXZeg= =bOmZ -----END PGP SIGNATURE----- --VouvK5X/VR+fp5FT--