From owner-svn-src-head@FreeBSD.ORG Sun May 22 16:31:02 2011 Return-Path: Delivered-To: svn-src-head@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DC24106566B; Sun, 22 May 2011 16:31:02 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 08DEE8FC08; Sun, 22 May 2011 16:31:01 +0000 (UTC) Received: from [10.0.0.63] (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id p4MGQFjL091449 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Sun, 22 May 2011 10:26:15 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Sun, 22 May 2011 10:26:14 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201105152003.p4FK3tnS050889@svn.freebsd.org> <20110522093302.GA2638@mole.fafoe.narf.at> To: Adrian Chadd X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Sun, 22 May 2011 10:26:15 -0600 (MDT) Cc: svn-src-head@FreeBSD.ORG, "Andrey V. Elsukov" , svn-src-all@FreeBSD.ORG, Stefan Farfeleder , src-committers@FreeBSD.ORG Subject: Re: svn commit: r221972 - head/sys/geom/part X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2011 16:31:02 -0000 On May 22, 2011, at 7:03 AM, Adrian Chadd wrote: > This also bit me on embedded platform stuff. >=20 > Is it possible to disable this by default for now and have it just = warn loudly? > And/or hide the default value behind a kernel configuration variable > so we can disable it > (but still get the warnings) for now? Or just delete it entirely as a bad idea? We had this with Marcel's = warning for a long time that turned out to be utterly bogus so we = removed it. Warner >=20 > Thanks, >=20 >=20 > Adrian >=20 > On 22 May 2011 17:33, Stefan Farfeleder wrote: >> On Sun, May 15, 2011 at 08:03:55PM +0000, Andrey V. Elsukov wrote: >>> Author: ae >>> Date: Sun May 15 20:03:54 2011 >>> New Revision: 221972 >>> URL: http://svn.freebsd.org/changeset/base/221972 >>>=20 >>> Log: >>> Add a sysctl kern.geom.part.check_integrity for those who has = corrupt >>> partition tables and lost an ability to boot after r221788. >>> Also unhide an error message from bootverbose, this would help to >>> easier determine the problem. >>=20 >> So, what's the point of this check? It breaks mounting of all my USB >> drives. Everyone now has to set this sysctl? >>=20 >> da0 at umass-sim0 bus 0 scbus6 target 0 lun 0 >> da0: Removable Direct Access SCSI-0 device >> da0: 40.000MB/s transfers >> da0: 15304MB (31342592 512 byte sectors: 255H 63S/T 1950C) >> GEOM_PART: integrity check failed (da0, MBR) >>=20 >> Stefan >>=20 >=20 >=20