From owner-freebsd-fs@FreeBSD.ORG Sat Dec 1 11:57:24 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F140916A417 for ; Sat, 1 Dec 2007 11:57:24 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id EC38913C442 for ; Sat, 1 Dec 2007 11:57:24 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 881FC1CC079; Sat, 1 Dec 2007 03:37:50 -0800 (PST) Date: Sat, 1 Dec 2007 03:37:50 -0800 From: Jeremy Chadwick To: Johan =?iso-8859-1?Q?Str=F6m?= Message-ID: <20071201113750.GA81186@eos.sc1.parodius.com> References: <66A69F9D-E4C1-4647-AEE7-E6F18010A1A3@headweb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <66A69F9D-E4C1-4647-AEE7-E6F18010A1A3@headweb.com> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: scrambled (gmirror) dmesg output X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Dec 2007 11:57:25 -0000 On Sat, Dec 01, 2007 at 12:16:45PM +0100, Johan Ström wrote: > Hello > Im playing with a new box running RELENG_7.0 from yesterday. I got two > discs with gmirror on ad[6|14]s1a and zfs-mirror on s1d. When o do > atacontrol detach ata7 (detach ad14), i get this in dmesG: > > (first time) > subdisk14: detached > ad14: detached > GEOM_MIRROR: Device gm1b: provider ad14s1bG dEiOsMc_oMnInReRcOtRe:d .De > vice gm1: provider ad14s1a disconnected. > > (second time, detaching again after reattach) > subdisk14: detached > ad14: detached > GEOMG_EMOIMR_RMOIRR:R ORD:e viDceev icgem 1bg:m 1p:r opvriodveird era > d1a4ds114bs 1dai sdciosncnoencnteecdt.ed. > > huh? :) Some print raceing or something? The problem isn't specific to GEOM or ZFS. It's a known issue with two kernel printf()s being called simultaneously. There are older threads discussing the issue. I can dig up URLs if you want to read them, but I don't have them available quickly... -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |