From owner-freebsd-current@FreeBSD.ORG Mon Apr 4 05:22:53 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35ED116A4D5 for ; Mon, 4 Apr 2005 05:22:53 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96F5D43D2F for ; Mon, 4 Apr 2005 05:22:52 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j345KJTf005730; Sun, 3 Apr 2005 23:20:19 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 03 Apr 2005 23:20:36 -0600 (MDT) Message-Id: <20050403.232036.35219348.imp@bsdimp.com> To: ache@nagual.pp.ru From: "M. Warner Losh" In-Reply-To: <20050404051047.GA50719@nagual.pp.ru> References: <20050404044028.GC49953@nagual.pp.ru> <20050403.225310.82842428.imp@bsdimp.com> <20050404051047.GA50719@nagual.pp.ru> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: current@FreeBSD.ORG Subject: Re: Can't change partition table anymore X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 04 Apr 2005 05:22:53 -0000 In message: <20050404051047.GA50719@nagual.pp.ru> Andrey Chernov writes: : On Sun, Apr 03, 2005 at 10:53:10PM -0600, M. Warner Losh wrote: : > One of them must, if you are getting this error. Here's my machine. : : # boot0cfg -v ad0 : # flag start chs type end chs offset size : 1 0x80 0: 1: 1 0xa5 1023:254:63 63 23053212 : 2 0x00 1023: 0: 1 0x07 1023:254:63 23053275 133307370 : : Various partition checkers under Windows indicates no problems. : No offset+size overlap. : : > FreeBSD harmony.village.org 5.3-STABLE FreeBSD 5.3-STABLE #0: Thu Oct 21 07:15:53 MDT 2004 root@harmony.village.org:/u/misc/imp/obj/u/misc/imp/5x/src/sys/GENERIC i386 : : It seems that this secret sysctl is phk's -current innovation, not in 5.3, : but I am not sure. One more time with -current machine: # boot0cfg -B da0 # uname -a FreeBSD hondo.village.org 6.0-CURRENT FreeBSD 6.0-CURRENT #7: Thu Mar 17 20:41:51 MST 2005 imp@hondo.village.org:/hondo/imp/FreeBSD/src/sys/i386/compile/HONDO i386 # boot0cfg -v da0 # flag start chs type end chs offset size 1 0x80 5: 0: 1 0xa5 521:254:63 80325 8305605 3 0x00 0: 1: 1 0x12 4:254:63 63 80262 version=1.0 drive=0x80 mask=0xf ticks=182 options=packet,update,nosetdrv default_selection=F1 (Slice 1) # mount /dev/da0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/da0s1e on /tmp (ufs, local, soft-updates) /dev/da0s1f on /usr (ufs, local, soft-updates) /dev/da0s1d on /var (ufs, local, soft-updates) # boot0cfg -o nopacket da0 # boot0cfg -v da0 # flag start chs type end chs offset size 1 0x80 5: 0: 1 0xa5 521:254:63 80325 8305605 3 0x00 0: 1: 1 0x12 4:254:63 63 80262 version=1.0 drive=0x80 mask=0xf ticks=182 options=nopacket,update,nosetdrv default_selection=F1 (Slice 1) # So clearly there's something wrong on your machine, or there's a bug in the GEOM code. It should work, and if not, we need to find out either your pilot error, or the bug that is prefenting it from updating. My -current machine appears to work as expected... Warner