From owner-freebsd-fs@FreeBSD.ORG Sun Nov 12 22:47:43 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C960B16A40F for ; Sun, 12 Nov 2006 22:47:43 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6816743D66 for ; Sun, 12 Nov 2006 22:47:42 +0000 (GMT) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so806335uge for ; Sun, 12 Nov 2006 14:47:41 -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=QaQo55vVtvPMabSFH3h3VVry1JFKpen9r2o0+mZQM9sflv8h3jQCMpWupg4TVYEle4TPTtTIOLzoqFH5gyqjfTilrqONxIMAai2nf0Pi5xv+aRdqfocnVKMOU++UPl48nawCyM13/apmSaXWbnF6QqRuJQCBTgDfklbkr13nwZU= Received: by 10.66.242.19 with SMTP id p19mr7084254ugh.1163371661337; Sun, 12 Nov 2006 14:47:41 -0800 (PST) Received: from ?192.168.123.106? ( [195.241.221.201]) by mx.google.com with ESMTP id s7sm5574187uge.2006.11.12.14.47.40; Sun, 12 Nov 2006 14:47:41 -0800 (PST) Message-ID: <4557A48B.4080605@gmail.com> Date: Sun, 12 Nov 2006 23:47:39 +0100 From: Rene Ladan User-Agent: Thunderbird 1.5.0.7 (X11/20061018) MIME-Version: 1.0 To: freebsd-fs@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: xtaf-r6-20061112 available X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2006 22:47:43 -0000 Hi, I've uploaded a new version of the XTAF (XBox 360 fs) code at http://home.tiscali.nl/rladan/freebsd/xtaf-r6-20061112.diff.bz2 The code now patch(1)es against /usr/src, no further actions are needed as in the previous version. It compiles on RELENG_6 2006-11-12, it probably fails on CURRENT. Read support should be fairly complete. Some hard disk issues may be remaining, but memory cards should be supported unless I made a mistake somewhere. I haven't really looked into write support yet. The biggest todo right now is to connect the code with the code which creates /dev/da?s? (geom?) . Both memory cards and hard disks have multiple slices. The start/size information is not stored on the devices, but in the XBox 360 kernel, so we have to duplicate it here. For memory cards (64MB) : start size info 0x0 0x7ff,000 XTAF, 16 bits, system cache 0x7ff,000 0x3,621,000 XTAF, 16 bits, user area For hard disks (20GB) : start size info 0x0 0x80,000 hard disk header 0x80,000 0x80,000,000 XTAF, 16 bits, system cache 0x80,080,000 0xA0,E30,000 unused, filled with 00 0x120,eb0,000 0x10,000,000 XTAF, 16 bits, XBox 1 compatibility 0x130,eb0,000 0x377,680,000 XTAF, 32 bits, user area I haven't yet looked at the new 256MB memory cards (goto shop). There are also rumors about larger hard disks, ranging from 60GB to 200GB. Other todos: write support, hard disk header support Could some locking / fs guru could sanity check the code? That would speed up runtime testing of the code. 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