From owner-freebsd-geom@FreeBSD.ORG Mon Jun 13 11:02:07 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50E5016A420 for ; Mon, 13 Jun 2005 11:02:07 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1766D43D4C for ; Mon, 13 Jun 2005 11:02:07 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5DB263u046138 for ; Mon, 13 Jun 2005 11:02:06 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5DB26vX046132 for freebsd-geom@freebsd.org; Mon, 13 Jun 2005 11:02:06 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 13 Jun 2005 11:02:06 GMT Message-Id: <200506131102.j5DB26vX046132@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 11:02:07 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/02/26] bin/78131 geom gbde "destroy" not working. o [2005/03/26] kern/79251 geom [2TB] newfs fails on 2.6TB gbde device 2 problems total. From owner-freebsd-geom@FreeBSD.ORG Thu Jun 16 00:04:52 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FB2F16A41C for ; Thu, 16 Jun 2005 00:04:52 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62F5943D53 for ; Thu, 16 Jun 2005 00:04:52 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j5G04p6j012934 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 15 Jun 2005 17:04:51 -0700 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.8/Submit) id j5G04pRx012932 for freebsd-geom@freebsd.org; Wed, 15 Jun 2005 17:04:51 -0700 Date: Wed, 15 Jun 2005 17:04:51 -0700 From: "Loren M. Lang" To: freebsd-geom@freebsd.org Message-ID: <20050616000451.GA12623@alzatex.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on hosea.tallye.com X-Virus-Status: Clean Subject: NetBSD/OpenBSD Disklabels X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 00:04:52 -0000 --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have been working on patching geom_bsd to be able to read netbsd and openbsd disklabels that I have on my quad boot system. I currently have it working, but I have a couple of questions about the proper way to do this. The two major changes I had to make to geom_bsd were to increase the number of partitions from 8 to 16. I did this by defining MAXPARTITIONS before any of the header files were included. The second change was to fix the offset calculations of the partitions. Since the c and d partitions are done a little differently, I couldn't rely on there offsets to detect the offset of the disklabels. I decided to use the a partition instead since that's starts at the beginning of the slice 99% of the time. The most correct answer might be to ask the MBR label what it's offset is if there is an MBR label underneath. The logic in geom_bsd seems to be that all offsets are relative to disk where the c partitions offset starts at the disklabel unless any partition starts before c, then offsets are assumed relative to the disklabel. The patch I am using is: http://www.tallye.com/~sttng359/unix/netbsd-dl.patch --=20 I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2 =20 --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCsMIjbTXoRwEYo9IRAsM9AJ0fOE7l25czCs87J+Lj4aEbbm2tTwCfbLsC FLWUaYQD4Flpkxgvw3RqBmk= =PbgJ -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA--