From owner-svn-src-all@FreeBSD.ORG Sun May 22 13:03:41 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4154A106564A; Sun, 22 May 2011 13:03:41 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id C62C68FC12; Sun, 22 May 2011 13:03:40 +0000 (UTC) Received: by gxk28 with SMTP id 28so2295077gxk.13 for ; Sun, 22 May 2011 06:03:39 -0700 (PDT) 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 :content-transfer-encoding; bh=lJMve+KAWDhSpIH8y+zJORRoG6CdKfyVxCNMiXszjNA=; b=dSXQVoqO8VV2UkC4IQ6kybo3ISb+gJhFepyBpRYL3YEbWZTrSS5Cqc9uZcH/YRWqH1 K9FCCkNDwk/A3QsDaYREhAn+W72SGTk6R7n3AbzVNllrY5hzY37jTT57p+kvBP38JTWS 3EbdLjo2vVxzABEmY+V7ywRqA4dLMlaUa8ViQ= 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 :content-transfer-encoding; b=TmDYasF6+15Ckq7gf6WWG4YOSXaVA7tZlNh7NjY8i6wyV23tnztkccauex3QyRTSWj iVDpYQaXgPtDuZDueZMTuYS8GwGVz21KYMlOO+ygadDEL4m5clHR4mrG51VWa+aVz2qg +qJuLp9CYfn9XuWRm8ScK8Ip2cAkrTthkH7P0= MIME-Version: 1.0 Received: by 10.150.198.16 with SMTP id v16mr1831764ybf.190.1306069419879; Sun, 22 May 2011 06:03:39 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.91.12 with HTTP; Sun, 22 May 2011 06:03:39 -0700 (PDT) In-Reply-To: <20110522093302.GA2638@mole.fafoe.narf.at> References: <201105152003.p4FK3tnS050889@svn.freebsd.org> <20110522093302.GA2638@mole.fafoe.narf.at> Date: Sun, 22 May 2011 21:03:39 +0800 X-Google-Sender-Auth: jqYuKZPprUoZHMIv3K5xUz1OMn0 Message-ID: From: Adrian Chadd To: Stefan Farfeleder Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, "Andrey V. Elsukov" , svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r221972 - head/sys/geom/part X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2011 13:03:41 -0000 This also bit me on embedded platform stuff. Is it possible to disable this by default for now and have it just warn lou= dly? And/or hide the default value behind a kernel configuration variable so we can disable it (but still get the warnings) for now? Thanks, Adrian 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 >> >> Log: >> =A0 Add a sysctl kern.geom.part.check_integrity for those who has corrup= t >> =A0 partition tables and lost an ability to boot after r221788. >> =A0 Also unhide an error message from bootverbose, this would help to >> =A0 easier determine the problem. > > So, what's the point of this check? It breaks mounting of all my USB > drives. =A0Everyone now has to set this sysctl? > > 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) > > Stefan >