Date: Wed, 21 Apr 2004 10:30:09 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Alex Lyashkov <shadow@psoft.net> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Re: kernel panic at quotactl with 5.2-current Message-ID: <20040421083009.GN24376@darkness.comp.waw.pl> In-Reply-To: <1082477860.8258.105.camel@berloga.shadowland> References: <1082477860.8258.105.camel@berloga.shadowland>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Tue, Apr 20, 2004 at 07:17:40PM +0300, Alex Lyashkov wrote: +> Hello All +> +> Steps for reproduce: +> +> 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 +> [tmp] +> comment = Temporary file space +> path = /mnt/dos +> read only = no +> public = yes +> 5) mount this share via smbmount from linux box and start mc (i think it +> work and with other access to this share) +> ... +> +> 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 == 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 != 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. -- Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAhjERForvXbEpPzQRAjugAJ9HKc+hHTJ8Q8M3fXOlCdX1VnGfSQCg8dN5 og+p+8qcO7Rvi8KVAZzAbSk= =5IvE -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040421083009.GN24376>
