Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2007 20:19:49 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        freebsd-current@freebsd.org
Subject:   Re: smbfs mount wedges
Message-ID:  <20070429171949.GT2441@deviant.kiev.zoral.com.ua>
In-Reply-To: <f12j0g$jfi$1@sea.gmane.org>
References:  <f12j0g$jfi$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070429171949.GT2441>