From owner-freebsd-current@FreeBSD.ORG Sun May 4 22:25:13 2003 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 1619937B401 for ; Sun, 4 May 2003 22:25:13 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBF4243FB1 for ; Sun, 4 May 2003 22:25:09 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h455P7Lr035872; Mon, 5 May 2003 07:25:07 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: walt From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 04 May 2003 22:54:28 PDT." <3EB5FC94.7070901@myrealbox.com> Date: Mon, 05 May 2003 07:25:07 +0200 Message-ID: <35871.1052112307@critter.freebsd.dk> cc: freebsd-current@freebsd.org Subject: Re: bsdlabel question 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, 05 May 2003 05:25:13 -0000 In message <3EB5FC94.7070901@myrealbox.com>, walt writes: >Poul-Henning Kamp wrote: >> In message <31649.1052067538@critter.freebsd.dk>, "Poul-Henning Kamp" writes: >> >>>In message <3EB50F10.3010001@myrealbox.com>, walt writes: >>> >>>>Hi Poul-Henning, >>>> >>>>#bsdlabel ad0s3 >>>># /dev/ad0s3: >>>>8 partitions: >>>># size offset fstype [fsize bsize bps/cpg] >>>> a: 15321596 140974726 4.2BSD 0 0 0 >>>> b: 1048576 139926150 swap >>>> c: 16370235 139926150 unused 0 0 # "raw" part, don't edit >>> >>>Ahh, good point, forgot about that. Will fix. >> >> >> OK, fixed now. > >I find that I now have the same problem that Martin had -- >'cannot mount root:5' Does the :5 mean anything special? > >I tried eliminating GEOM_MBR, GEOM_VOL, and GEOM_BSD from my >kernel config with no improvement. > >The kernel from early today still boots normally, and bsdlabel >still prints the same error messages, so I guess your changes >were all in the kernel? No, both kernel and userland changed. If you cannot mount root, you may want to comment out this check in sys/geom/geom_bsd.c: if ((off_t)rawoffset * secsize != ms->mbroffset) rawoffset = 0; -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.