From owner-freebsd-geom@FreeBSD.ORG Mon Jan 1 20:42:23 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF28816A415 for ; Mon, 1 Jan 2007 20:42:23 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 7A79A13C43E for ; Mon, 1 Jan 2007 20:42:23 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so6566161nfc for ; Mon, 01 Jan 2007 12:42:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:x-enigmail-version:content-type:content-transfer-encoding; b=ov2V965BEp1zSsrZNrLiBUoLizhlwEe9UHg7OCGPu7ioljbq1ZFTa1Nf1+j54JJ+OYc3qH18ms4wOehiSdk/ScizraGC907ec4YykDcQ2kK6mm2qQtVMLCkIuNNwsf7QjrE6BJdS5tbaUruYBg6KK/pHnvJkDNgA5ZvrflVKUe4= Received: by 10.49.68.6 with SMTP id v6mr11214264nfk.1167682648050; Mon, 01 Jan 2007 12:17:28 -0800 (PST) Received: from ?192.168.123.201? ( [195.241.221.201]) by mx.google.com with ESMTP id h1sm82241947nfe.2007.01.01.12.17.26; Mon, 01 Jan 2007 12:17:27 -0800 (PST) Message-ID: <45996C4F.8070700@gmail.com> Date: Mon, 01 Jan 2007 21:17:19 +0100 From: Rene Ladan User-Agent: Thunderbird 1.5.0.9 (X11/20061224) MIME-Version: 1.0 To: freebsd-geom@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: xbox360 extension for review/debug 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, 01 Jan 2007 20:42:24 -0000 Hi, I've written an extension to /sys/geom/geom_mbr.c to slice up xbox360 hard disks and memory units. The patch for revision 1.68 (i.e. CURRENT) is at http://home.tisali.nl/rladan/freebsd/geom_mbr.c.diff Memory units are sliced up into two file systems, hard disks into three (plus two non-filesystem slices). This would normally be handled by the existing geom_mbr code, but Mircosoft didn't put a mbr / partition table on the media :/ The code generates a new class XBOX360 which intends to detect and slice up the media. It is currently unusable, without an attached medium the kernel panics during boot at xbox360_taste+0x82 in process g_up. My geom foo could use some help here :) At least the 'geom' command in ddb shows this new class (without consumers/producers). (Microsoft also invented a new filesystem for the media, I'm currently debugging a clone of msdosfs to parse this fileystem, see the -fs archives of Nov/Dec 2006.) Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001