From owner-freebsd-current@FreeBSD.ORG Thu Jan 23 16:48:44 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 202B7AB7 for ; Thu, 23 Jan 2014 16:48:44 +0000 (UTC) Received: from mta04.bitpro.no (mta04.bitpro.no [92.42.64.203]) by mx1.freebsd.org (Postfix) with ESMTP id B9EBC1202 for ; Thu, 23 Jan 2014 16:48:43 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta04.bitpro.no (Postfix) with ESMTPS id 2FF3610058C; Thu, 23 Jan 2014 17:48:36 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 24F42160923; Thu, 23 Jan 2014 17:49:26 +0100 (CET) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PKvNWUj-K3XL; Thu, 23 Jan 2014 17:49:25 +0100 (CET) Received: from mail.lockless.no (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 2481D160922; Thu, 23 Jan 2014 17:49:25 +0100 (CET) Subject: RE: lock order reversals w/ backtrace From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?Thomas_Hoffmann?= , =?utf-8?Q?freebsd-current?= Date: Thu, 23 Jan 2014 17:49:25 +0100 Mime-Version: 1.0 In-Reply-To: References: X-Priority: 3 (Normal) X-Mailer: Zarafa 7.1.4-41394 Message-Id: X-Mailman-Approved-At: Thu, 23 Jan 2014 17:00:28 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Thu, 23 Jan 2014 16:48:44 -0000 Hi,=0D=0A=0D=0ACan you see if you can snap some keywords of the backtrace= s, like usb_xxx usbdx_xxx cam scsi or something like that.=0D=0A=0D=0AEls= e I believe there are some sysctl options to prevent the final reboot som= ehow so that you can write down the messages.=0D=0A=0D=0A--HPS=0D=0A=20=0D= =0A-----Original message-----=0D=0A> From:Thomas Hoffmann >=0D=0A> Sent: Thursday 23rd January 2014 17= :15=0D=0A> To: freebsd-current >=0D=0A> Subject: lock order reversals w/ backtra= ce=0D=0A>=20=0D=0A> A few days ago I started running 11.0-CURRENT at r260= 971 for the first time.=0D=0A>=20=0D=0A> The last couple of times I shutd= own my system I noticed 2 or 3 short "lock=0D=0A> order reversal" message= s with accompanying backtraces scroll by. Do these=0D=0A> messages repres= ent a problem that I should report or can I ignore them as=0D=0A> debug i= n nature=3F If I should report them, how or where do these messages=0D=0A= > get logged=3F I can find no reference to them in syslog or anywhere els= e upon=0D=0A> my subsequent reboot.=0D=0A>=20=0D=0A> I also had a couple = of these messages pop up the other day while=0D=0A> mounting/umounting US= B thumb drives. I did not think anything of them at=0D=0A> the time as th= e mounts/umounts completed successfully.=0D=0A>=20=0D=0A> Please advise. = Thanks.=0D=0A>=20=0D=0A> -Tom=0D=0A> ____________________________________= ___________=0D=0A> freebsd-current@freebsd.org mailing list=0D=0A> http://lists.freebsd.org/mailman/listinfo= /freebsd-current =20=0D=0A> To unsubscribe, send any mail to "freebsd-current-unsubscri= be@freebsd.org "=0D=0A>=20= =0D=0A=0D=0A From owner-freebsd-current@FreeBSD.ORG Thu Jan 23 17:11:14 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 42BE6393 for ; Thu, 23 Jan 2014 17:11:14 +0000 (UTC) Received: from mail-ve0-x22d.google.com (mail-ve0-x22d.google.com [IPv6:2607:f8b0:400c:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EE4A6146A for ; Thu, 23 Jan 2014 17:11:13 +0000 (UTC) Received: by mail-ve0-f173.google.com with SMTP id oz11so1285251veb.32 for ; Thu, 23 Jan 2014 09:11:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ewBZuJOMa1nfvWCmOC9MHRyp2rS1Iw+ZB5Q6vgtekBE=; b=SyjdGZnm2PQkkGQcd0HQAmrFUydKRqffBgJG8KMirpLbvsokgXNOqeouJ2CsqTofm7 6zgvlYqQh4laEkLhxgY1LbdAZhacjNpH3pOjEWi6r6NxQuU8F/FpfImD8Qh2iSou412w 9qspQThVEH2DFRHS52Ay/WM4SfwT5XGQ7aIVGp+jHHASpbH/tVV7CbVD2iNNUCRGKz+C 2BaIsbH2bJWkCKP9ASq0G3ElFSBYq5Tye0TR72GSooiB4UdJmbBMSQMg7ok0rUuDl7c+ iwEAICf0pmLnYAeoHzdR9bdFhrSbILZU77+7G/iL3UIdClAM8AhvlLgz//Ju9vfU0Sv9 cSng== MIME-Version: 1.0 X-Received: by 10.220.193.70 with SMTP id dt6mr5037390vcb.17.1390497073172; Thu, 23 Jan 2014 09:11:13 -0800 (PST) Received: by 10.220.168.135 with HTTP; Thu, 23 Jan 2014 09:11:13 -0800 (PST) In-Reply-To: References: <52E09F68.8020804@UToledo.edu> <1390486224478-5879039.post@n5.nabble.com> Date: Thu, 23 Jan 2014 12:11:13 -0500 Message-ID: Subject: Re: Lessons learned from source upgrade from FreeBSD i386 9.2 Stable to FreeBSD i386 10.0 Release. From: Thomas Hoffmann To: Warren Block , freebsd-current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Jakub Lach X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Thu, 23 Jan 2014 17:11:14 -0000 On Thu, Jan 23, 2014 at 11:52 AM, Warren Block wrote: > On Thu, 23 Jan 2014, Kevin Oberman wrote: > > On Thu, Jan 23, 2014 at 7:47 AM, Thomas Hoffmann >> wrote: >> On Thu, Jan 23, 2014 at 9:56 AM, Warren Block >> wrote: >> > >> > >> > Using -DNOCLEAN with an existing /usr/obj can go even faster than >> ccache: >> > less than two minutes for a buildworld on my frequently updated >> i5/SSD >> > system, sometimes less than one minute. >> >> >> Can you elaborate on this, please? I always clear my /usr/obj before >> starting a buildworld, which takes 2 hours to run on my system. Are you >> saying if I do "make -DNOCLEAN buildworld" I do not have to clear /usr/obj >> first >> > > Yes. Removing /usr/obj is a faster way of doing 'make clean', mostly. > > > AND my buildworld will run faster >> > > Yes, because make will see that many/most files have already been built. > > (AND with no downside)? >> > > Well... mostly. :) > > I noticed that after 10.0-RELEASE, uname on my system still said > "PRERELEASE". That code had not been rebuilt because make did not see it > as needing a rebuild. You can still delete /usr/obj and run a full > buildworld from scratch every so often. > > I should give credit to bdrewery@ for reminding me about -DNOCLEAN when I > was whining about ccache not working on 10.0. It turned out to be a better > solution. > Hmm, I particularly like your suggestion of running a full buildworld periodically. With two hour buildworlds (from scratch) I was planning on rebuilding every couple of weeks. If using -DNOCLEAN can significantly reduce my buildworld time, I'll rebuild weekly and do a full build every fourth week. I'm anxious to give this approach a go and see how much time I can save on the buildworlds. Thanks for the info and tips. -Tom