Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2006 05:00:40 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Niki Denev <nike_d@cytexbg.com>
Cc:        freebsd-stable@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Patch for quota deadlock
Message-ID:  <20060228100040.GA56094@xor.obsecurity.org>
In-Reply-To: <200602281158.03030.nike_d@cytexbg.com>
References:  <20060221195601.GA63134@xor.obsecurity.org> <20060228074037.GE21678@e-Gitt.NET> <20060228075139.GA38928@xor.obsecurity.org> <200602281158.03030.nike_d@cytexbg.com>

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

--SUOF0GtieIMvvwua
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 28, 2006 at 11:58:02AM +0200, Niki Denev wrote:
> On Tuesday 28 February 2006 09:51, Kris Kennaway wrote:
> > On Tue, Feb 28, 2006 at 08:40:37AM +0100, Oliver Brandmueller wrote:
> > > Anyway, I'll discuss with my colleagues and we'll see if we want to t=
ake
> > > the risk.
> >
> > Thanks, it would be a big help if you're willing to try.
> >
> > Kris
>=20
> I'm jumping here from the [snaphost timestamps] thread.
>=20
> Here is what happened when i compiled the kernel with QUOTAS enabled,=20
> enable_quotas=3D"YES" in rc.conf, and LK_NOWAIT patch applied :

> Enabling quotas:KDB: stack backtrace:
> vfs_badlock() at vfs_badlock+0x95
> assert_vop_locked() at assert_vop_locked+0x77
> quotaon() at quotaon+0x182
> ufs_quotactl() at ufs_quotactl+0x150
> quotactl() at quotactl+0x15c
> syscall() at syscall+0x642
> Xfast_syscall() at Xfast_syscall+0xa8
> --- syscall (148, FreeBSD ELF64, quotactl), rip =3D 0x80068671c, rsp =3D=
=20

Thanks, I forgot about this.  You'll need these patches too:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/ufs/ufs/ufs_quota.c.diff?r1=
=3D1.77&r2=3D1.78
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/ufs/ufs/ufs_quota.c.diff?r1=
=3D1.78&r2=3D1.79

Kris

--SUOF0GtieIMvvwua
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (FreeBSD)

iD8DBQFEBB9IWry0BWjoQKURAhFjAKC+Lq+LHM0eQeu6dKxQOxnY5eHxXACgxvEm
jR9eMDnR6ZGGnOhwHhynWlY=
=rv4F
-----END PGP SIGNATURE-----

--SUOF0GtieIMvvwua--



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