From owner-freebsd-stable@FreeBSD.ORG Mon Dec 4 08:29:53 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9C3D16A412 for ; Mon, 4 Dec 2006 08:29:53 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (fw.zoral.com.ua [213.186.206.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 940AA43C9D for ; Mon, 4 Dec 2006 08:29:21 +0000 (GMT) (envelope-from kostikbel@gmail.com) 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 kB48TlWk052968 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Dec 2006 10:29:47 +0200 (EET) (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.13.8/8.13.8) with ESMTP id kB48TlvB098618; Mon, 4 Dec 2006 10:29:47 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.8/8.13.8/Submit) id kB48TlPs098617; Mon, 4 Dec 2006 10:29:47 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 4 Dec 2006 10:29:47 +0200 From: Kostik Belousov To: "Arno J. Klaassen" Message-ID: <20061204082947.GG35681@deviant.kiev.zoral.com.ua> References: <20061202192523.GB35681@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bFsKbPszpzYNtEU6" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=1.4 required=5.0 tests=SPF_NEUTRAL, UNPARSEABLE_RELAY autolearn=no version=3.1.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on fw.zoral.com.ua Cc: stable@freebsd.org Subject: Re: witness_checkorder panic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 08:29:54 -0000 --bFsKbPszpzYNtEU6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 03, 2006 at 09:12:08PM +0100, Arno J. Klaassen wrote: > Hello, >=20 > > On Sat, Dec 02, 2006 at 07:15:37PM +0100, Arno J. Klaassen wrote: > > >=20 > > > Hello, > > >=20 > > > I just got this on a box I'm testing before installation. > > > It has clean RELENG_6 from about two weeks ago with only > > > some small if_bge.c-patches Bruce Evans sent me for testing > > > performance/hang problems. > > > Since I doubt this panic is related to that, I just post > > > it here in case someone is interested in more info : > > >=20 > > > [sorry, no serial console attached ... just copy-paste from > > > screen, but I will leave the box in the debugger for the > > > WE ] > > >=20 > > > struct mount mtx (struct mount mtx) @ /files/bsd/src6/sys/ufs/ufs/u= fs_vnops.c:138 > > > KDB: stack backtrace : > > > witness_checkorder() > > > _mtx_lock_flags() > > > ufs_itimes() > > > ufs_getattr() > > > VOP_GETATTR_APV() > > > filt_vfsread() > > > knote() > > > VOP_WRITE_APV() > > > vn_write() > > > dofilewrite() > > > kern_writev() > > > write() > > > syscall() > > > Xfast_syscall() > > > --- syscall (4, FreeBSD ELF64, write), rip =3D 0x4363dc, rsp =3D 0X= 7fffffffdd78, rbp =3D 0x2f6 --- > > > KDB: enter: witness_checkorder > > > [thread pid 3987 tid 100133 ] > > >=20 > > > Kernel config is stripped GENERIC + > > >=20 > > > options AHC_ALLOW_MEMIO > > > options TCP_DROP_SYNFIN > > > options KDB > > > options KDB_TRACE > > > options DDB > > > options KTRACE > > > options INVARIANTS > > > options INVARIANT_SUPPORT > > > options DDB_NUMSYM > > > options BREAK_TO_DEBUGGER > > > options INVARIANTS > > > options INVARIANT_SUPPORT > > > options WITNESS > > > options WITNESS_KDB > > > options DEBUG_LOCKS > > > options DEBUG_VFS_LOCKS > > > options DIAGNOSTIC > > > options MUTEX_PROFILING > > > options MUTEX_DEBUG > > > options SLEEPQUEUE_PROFILING > > > options TURNSTILE_PROFILING > > > options DEBUG_MEMGUARD > > >=20 > > > The box was doing (/usr/src nfs-mounted): > > >=20 > > > nohup time make -j 2 -DNO_CLEAN buildworld > /tmp/bw_alone.log 2>&1= & > > >=20 > > > It paniced shortly after I started 'tail -f /tmp/bw_alone.log' in ano= ther > > > window, and /tmp is mfs. > >=20 > > Please, try the patch at > > http://people.freebsd.org/~kib/kqueue-lor.1.patch > >=20 >=20 > for now this prevents the LOR-panic. Thank you very much! Thank you for testing. Do you have a procedure to reliably reproduce the LOR ? --bFsKbPszpzYNtEU6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFc9x6C3+MBN1Mb4gRAh8TAKCvyHML+wCZV/Jm/bC3+8pzuNTlaACgqemw UcA1VCPth8NaLrxpY3FK/cw= =YykG -----END PGP SIGNATURE----- --bFsKbPszpzYNtEU6--