From owner-freebsd-arm@FreeBSD.ORG Wed Mar 11 02:05:26 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F25BCAD0 for ; Wed, 11 Mar 2015 02:05:25 +0000 (UTC) Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B9B8C909 for ; Wed, 11 Mar 2015 02:05:25 +0000 (UTC) Received: by obcvb8 with SMTP id vb8so5988612obc.0 for ; Tue, 10 Mar 2015 19:05:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=48dEbeH24H3SPhidC7iVdiB32yAkvsx3nYzK62vojnw=; b=dW0BDLIr9d2aOXDxdn234sP8KinO9LQYsXf1s72FxqH2Q65sI3ZrQXSf9JfoUJm6wX ZsqhcCnQ6T6parS3tzwi0SvzMOs4WO31vdaYmx3Yte7HEtb6L2PEmlgfzOD3lYq5IhuE yU1mmKZiTBfszT0olrdT3aJjW7yB1sNUWNa5mZh97ZlEeXvIVLzcCEYtkFkjzTyeWjDH 9xEaM6amnZCQThATrefWTDFnKhs7UzJDRj4OwcqxXWlXH8Os03LjLIul+NZ8u7kjEHry UFkCa/gnCB7Rl3VHpkIDcqCoLBZ5vYkvnu5BmvFJBBTb6sT5fXryIPsmZKwpUjYgh4+C buJw== X-Gm-Message-State: ALoCoQlFHH/EYziwemUSotEQm1nDf6rzNOk3Cfn7DuvGXyvexcAscOxRdIMDnsBH04nIoeyJhE+M MIME-Version: 1.0 X-Received: by 10.182.88.136 with SMTP id bg8mr13273036obb.86.1426039518911; Tue, 10 Mar 2015 19:05:18 -0700 (PDT) Received: by 10.182.60.226 with HTTP; Tue, 10 Mar 2015 19:05:18 -0700 (PDT) X-Originating-IP: [59.167.133.100] In-Reply-To: References: Date: Wed, 11 Mar 2015 13:05:18 +1100 Message-ID: Subject: Re: BBB freebsd-current backtrace. why? From: Jason Birch To: jungle Boogie Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 02:05:26 -0000 On Wed, Mar 11, 2015 at 11:35 AM, jungle Boogie wrote: > Hello All, > > Brand new download and install of -current on my beagle bone black and > getting below backtrace, but the portsnap extract is continuing. If > this is how it was on last weeks image, the backtrace will randomly > print something similar to what's below even when the BBB is inactive. > > Downloaded from: > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/ > > Is this expected? > > root@beaglebone:~ # portsnap fetch extract update > Looking up portsnap.FreeBSD.org mirrors... 7 mirrors found. > Fetching public key from isc.portsnap.freebsd.org... done. > Fetching snapshot tag from isc.portsnap.freebsd.org... done. > Fetching snapshot metadata... done. > Fetching snapshot generated at Tue Mar 10 00:05:13 UTC 2015: > 248798a3bfb5e11c4a642a6254d9ec1573982894936270100% of 71 MB 2297 kBps > 00m32s > Extracting snapshot... lock order reversal: > 1st 0xcd228ba0 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3097 > 2nd 0xc2fa0e00 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:285 > KDB: stack backtrace: > They're lock order reversals, as enabled by the WITNESS kernel option. You probably don't need to worry, but it's helpful to check if they've been reported and, if not, report them. You might be running into this one: http://sources.zabbadoz.net/freebsd/lor/261.html Quick Googling turns up these resources: lock order reversals - what do they mean?: https://lists.freebsd.org/pipermail/freebsd-current/2003-December/016617.html Glossary of Kernel Options for Debugging: https://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-options.html FreeBSD LOR(lock order reversal)s seen and comments: http://sources.zabbadoz.net/freebsd/lor.html