From owner-freebsd-geom@FreeBSD.ORG Tue Jan 11 14:21:52 2011 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DD01106564A for ; Tue, 11 Jan 2011 14:21:52 +0000 (UTC) (envelope-from steveprice67@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id E97F38FC08 for ; Tue, 11 Jan 2011 14:21:51 +0000 (UTC) Received: by qyk8 with SMTP id 8so2473482qyk.13 for ; Tue, 11 Jan 2011 06:21:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=ynu66lBY6WxYpNwpVLOQqZ3uYyHWcvhQw3s+ynv5ZRE=; b=f+qA7f5flzaXS+k6mkAfQEywC4AMTARWKffKddsrtWOZx0Gt3KtkFXegYSousGjFjb 1InYGEC6joGTBag403hANpQUIGHjkToO9nZHSGHvFD3TT8PSMvsxZG2vvQogbL+6EJgU QrNQ5vRa6KjNYu/HwY3cAN5YklmE6WRKHqafw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=CeeLSzVUGCIA8p1ivcVSyOwl61huWcSdPVFqLDSFHo4H7UCRsdVvNoy7KA5uR6MbIy eqSi88ok4zI+8TwYFYCtzWwakXjV/yvksV18ZyIEVaS6j/Rybursu1WwZ3Zf/nyk7fJC vrh8F17iygJX3C1tIPO2AP2z4MaAKHhQ7gZaY= MIME-Version: 1.0 Received: by 10.229.225.5 with SMTP id iq5mr7202644qcb.13.1294755710508; Tue, 11 Jan 2011 06:21:50 -0800 (PST) Sender: steveprice67@gmail.com Received: by 10.220.84.75 with HTTP; Tue, 11 Jan 2011 06:21:50 -0800 (PST) In-Reply-To: <4D2C546D.8010604@quip.cz> References: <4D2C546D.8010604@quip.cz> Date: Tue, 11 Jan 2011 08:21:50 -0600 X-Google-Sender-Auth: hVQACZFR8tXyShpIz2I4ud_p_aY Message-ID: From: Steve Price To: Miroslav Lachman <000.fbsd@quip.cz> Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-geom@freebsd.org Subject: Re: gmirror panic on RELENG_8 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2011 14:21:52 -0000 On Tue, Jan 11, 2011 at 7:00 AM, Miroslav Lachman <000.fbsd@quip.cz> wrote: > > There must be some odd problem in your case. I am running 8.2-RC1 with > gmirror on production machine without any panic. The system was upgraded > from 7.2. I have the exact same hardware setup running in production with 8.0. This only happens when there are 3 drives (only have 3 hot swap bays so can't try more) in the box. I've /dev/zero'd all 3 drives before doing the install to make sure the contents of the drives wasn't an issue. If I have only drive, no problem. 2 drives, no problem. The mere presence of the 3rd drive on the bus and it panics. With 2 drives I can add the 3rd drive after boot like this and it works fine. # camcontrol rescan 0:2:0 # sed -i.bak -e's,#/dev/da2s1d,/dev/da2s1d,g' /etc/fstab # mount /b The really troubling part is that I can't get a coredump. da0s1b is an 8GB swap partition. # grep dump /etc/rc.conf dumpdev="/dev/da0s1b" dumpdir="/var/crash" # df -k | grep var /dev/da0s1e 81122126 262 7472094 0% /var # sysctl hw.realmem hw.realmem: 4227690496 # ls -ld /var/crash drwxr-x--- 2 root wheel 512 Dec 23 15:00 /var/crash Unless I'm missing something var has nearly twice the amount of space to hold the entire contents of physical memory but on panic it says: Cannot dump. Decive not defined or unavailable. /dev/zero'ing the whole drive is way overkill and takes forever but even when I just zero out the last sector on each disk (which is all that glabel should be caring about) it still panics when the 3rd disk is present. Doesn't matter the order of the disks either. Pick any 2 disks and it works. Use 3 in any order and it panics. Do you see anything wrong with the way I'm trying to get a coredump? If I could get that, I could get a better idea of where/how this is happening. Thanks. -steve