From owner-freebsd-current@FreeBSD.ORG Sun Dec 21 01:43:22 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70F37106564A for ; Sun, 21 Dec 2008 01:43:22 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.189]) by mx1.freebsd.org (Postfix) with ESMTP id 2688F8FC1C for ; Sun, 21 Dec 2008 01:43:22 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so1455227rne.12 for ; Sat, 20 Dec 2008 17:43:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8lfSan4GTxTIwxwC4ntKY38RE2AnyP/+ooHWdpNLyhQ=; b=iOgXWf1BDVR0LEvRRKdrvYFrxWItC3vOebpTj0A5ETKHfMX7OQLkGz78cnLppPNY1H 2VeHUnQlVUnJCF5TtrQzPVkL4I1a30IbuOpKF2rUn8EcYj2Vaih9gw05o2d7zSUB5fiX V9ksN0X6QBlghyWMfI+VzsU5XALTyTJOAPyps= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=lrtL5/I6RXRQeynTqowi5IAuVdAcBXtqxEcpnBiUM68XR/5RZkSczR0ULAgCk4Z2V7 +GPk9yEuz9CVdJ/ZSmE/+UknDci4sH0FLAmkWMLIemHm67gab5PktA0k632GRjlMWZvO c/4t6HLnUX4M6E/3ZSpVrZ7mBixpZ+dhWyoyg= Received: by 10.231.18.130 with SMTP id w2mr124826iba.11.1229823801202; Sat, 20 Dec 2008 17:43:21 -0800 (PST) Received: by 10.231.17.8 with HTTP; Sat, 20 Dec 2008 17:43:21 -0800 (PST) Message-ID: <3a142e750812201743q77d8a1aan1966a1d455bb77e2@mail.gmail.com> Date: Sun, 21 Dec 2008 02:43:21 +0100 From: "Paul B. Mahol" To: "Christian Weisgerber" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-current@freebsd.org Subject: Re: "geometry does not match label" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2008 01:43:22 -0000 On 12/20/08, Christian Weisgerber wrote: > On booting a new kernel, I noticed a piece of kernel spew I don't > remember seeing before: > > GEOM: ad6s1: geometry does not match label. > > bsdlabel offers suitably scary warnings: > > $ bsdlabel ad6s1 > # /dev/ad6s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 2097152 63 4.2BSD 2048 16384 28528 > b: 8396800 2097215 swap > c: 293041602 63 unused 0 0 # "raw" part, don't > edit > d: 20971520 10494015 4.2BSD 2048 16384 28528 > e: 2097152 31465535 4.2BSD 2048 16384 28528 > f: 62914560 33562687 4.2BSD 2048 16384 28528 > g: 62914560 96477247 4.2BSD 2048 16384 28528 > h: 133649858 159391807 4.2BSD 2048 16384 28528 > partition c: partition extends past end of unit > bsdlabel: partition c doesn't start at 0! > bsdlabel: An incorrect partition c may cause problems for standard system > utilities > partition h: partition extends past end of unit > > I don't know where this is coming from--the system was installed > about a year ago with standard sysinstall--and I don't see what's > supposed to be wrong. > > $ gpart show > => 63 293046705 ad6 MBR (140G) > 63 293041602 1 freebsd [active] (140G) > 293041665 5103 - free - (2.5M) > > => 0 293041602 ad6s1 BSD (140G) > 0 2097152 1 freebsd-ufs (1.0G) > 2097152 8396800 2 freebsd-swap (4.0G) > 10493952 20971520 4 freebsd-ufs (10G) > 31465472 2097152 5 freebsd-ufs (1.0G) > 33562624 62914560 6 freebsd-ufs (30G) > 96477184 62914560 7 freebsd-ufs (30G) > 159391744 133649858 8 freebsd-ufs (64G) > > Ideas? Known "problem", happens after geom_{bsd,mbr} have been replaced with geom_part_{bsd,mbr} in /sys/$ARCH/conf/DEFAULTS -- Paul