From owner-freebsd-current@FreeBSD.ORG Wed Apr 21 01:30:11 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E161F16A4CE for ; Wed, 21 Apr 2004 01:30:11 -0700 (PDT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7304543D2F for ; Wed, 21 Apr 2004 01:30:11 -0700 (PDT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id BC33BACADB; Wed, 21 Apr 2004 10:30:09 +0200 (CEST) Date: Wed, 21 Apr 2004 10:30:09 +0200 From: Pawel Jakub Dawidek To: Alex Lyashkov Message-ID: <20040421083009.GN24376@darkness.comp.waw.pl> References: <1082477860.8258.105.camel@berloga.shadowland> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Evp0T6PXIQ26qRMT" Content-Disposition: inline In-Reply-To: <1082477860.8258.105.camel@berloga.shadowland> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: "freebsd-current@freebsd.org" Subject: Re: kernel panic at quotactl with 5.2-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 21 Apr 2004 08:30:12 -0000 --Evp0T6PXIQ26qRMT Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 20, 2004 at 07:17:40PM +0300, Alex Lyashkov wrote: +> Hello All +>=20 +> Steps for reproduce: +>=20 +> 1) start with generic kernel. +> 2) install samba 2.2.8a from ports with quota & ACL support. +> 3) mount fat32 partition to some mount point, as example mount /mnt/dos +> 4) add to smb.conf=20 +> [tmp] +> comment =3D Temporary file space +> path =3D /mnt/dos +> read only =3D no +> public =3D yes +> 5) mount this share via smbmount from linux box and start mc (i think it +> work and with other access to this share) +> ... +>=20 +> This patch fixed this problem. Your fix is probably only a workaround. The problem is more complex, because vn_start_write() is able to return 0 and mp =3D=3D NULL when operation is not supported by file system. I'm not yet sure if we just can't fix vn_start_write() to return EOPNOTSUPP when needed, but there is a special case for this: if (error !=3D EOPNOTSUPP) return (error); return (0); and I must figure out why. There are many vn_start_write() consumers, so this can take a while. Anyway, thank you for your report. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --Evp0T6PXIQ26qRMT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAhjERForvXbEpPzQRAjugAJ9HKc+hHTJ8Q8M3fXOlCdX1VnGfSQCg8dN5 og+p+8qcO7Rvi8KVAZzAbSk= =5IvE -----END PGP SIGNATURE----- --Evp0T6PXIQ26qRMT--