From owner-freebsd-ppc@FreeBSD.ORG Mon Jun 19 11:03:04 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C431E16A5FD for ; Mon, 19 Jun 2006 11:03:04 +0000 (UTC) (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 58C6743D48 for ; Mon, 19 Jun 2006 11:03:04 +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.4/8.13.4) with ESMTP id k5JB34Lb064274 for ; Mon, 19 Jun 2006 11:03:04 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5JB332r064270 for freebsd-ppc@freebsd.org; Mon, 19 Jun 2006 11:03:03 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 19 Jun 2006 11:03:03 GMT Message-Id: <200606191103.k5JB332r064270@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 11:03:04 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2006/02/11] powerpc/93203ppc FreeBSD PPC Can't Write to Partitions. 1 problem total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2006/02/23] powerpc/93746ppc Did not detect aic7901 scsci card o [2006/04/05] powerpc/95367ppc docs for ppc release. 2 problems total. From owner-freebsd-ppc@FreeBSD.ORG Tue Jun 20 14:25:04 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0419D16A47A for ; Tue, 20 Jun 2006 14:25:03 +0000 (UTC) (envelope-from matt@genesi-usa.com) Received: from mail.genesippc.com (mithrandir.softwarenexus.net [66.98.186.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACC8A43D5E for ; Tue, 20 Jun 2006 14:25:03 +0000 (GMT) (envelope-from matt@genesi-usa.com) Received: from p54b0ffec.dip.t-dialin.net ([84.176.255.236] helo=yukito) by mail.genesippc.com with esmtpa (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Fsh6U-00006j-70 for freebsd-ppc@freebsd.org; Tue, 20 Jun 2006 14:21:19 +0000 From: "Matt Sealey" To: Date: Tue, 20 Jun 2006 09:24:58 -0500 Organization: Genesi Message-ID: <00b001c69475$524fe510$99dfdfdf@bakuhatsu.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcaUdU31sZTGknnAT3GMWPXzQD1o0w== Subject: On-disk format of UFS1, UFS2 for firmware X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: matt@genesi-usa.com List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 14:25:04 -0000 Hello, I was wondering where the best place to ask was to find out any documentation on the on-disk format of UFS1 and UFS2 (barring the FreeBSD source tree, I have that already). We want to implement it in firmware to ease booting FreeBSD and NetBSD and so on for Pegasos/EFIKA/OSW and so on. The firmware already supports BSD disk slices and "original" FFS so we have a basic framework to start from. Any hints appreciated. Is there a freebsd-filesystems list or so? -- Matt Sealey Manager, Genesi, Developer Relations From owner-freebsd-ppc@FreeBSD.ORG Tue Jun 20 14:48:23 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8903216A47B for ; Tue, 20 Jun 2006 14:48:23 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC99043D6E for ; Tue, 20 Jun 2006 14:48:04 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [192.168.0.14] (dsl-63-249-90-35.cruzio.com [63.249.90.35]) by dommail.onthenet.com.au (MOS 3.5.7-GR) with ESMTP id BXH71988 (AUTH peterg@ptree32.com.au); Wed, 21 Jun 2006 00:47:56 +1000 (EST) Message-ID: <44980A9A.5000708@freebsd.org> Date: Tue, 20 Jun 2006 07:47:54 -0700 From: Peter Grehan User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: matt@genesi-usa.com References: <00b001c69475$524fe510$99dfdfdf@bakuhatsu.net> In-Reply-To: <00b001c69475$524fe510$99dfdfdf@bakuhatsu.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: On-disk format of UFS1, UFS2 for firmware X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: grehan@freebsd.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 14:48:23 -0000 > I was wondering where the best place to ask was to find out any documentation > on the on-disk format of UFS1 and UFS2 (barring the FreeBSD source tree, I have > that already). In terms of source, the libstand implementation is a bit easier to follow/use than the in-kernel UFS proper for a bootloader at least. > Any hints appreciated. Is there a freebsd-filesystems list or so? Looks like you've already made it to freebsd-fs :) later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Tue Jun 20 14:54:44 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CED2616A474; Tue, 20 Jun 2006 14:54:44 +0000 (UTC) (envelope-from matt@genesi-usa.com) Received: from mail.genesippc.com (mithrandir.softwarenexus.net [66.98.186.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BEA643D70; Tue, 20 Jun 2006 14:54:44 +0000 (GMT) (envelope-from matt@genesi-usa.com) Received: from p54b0ffec.dip.t-dialin.net ([84.176.255.236] helo=yukito) by mail.genesippc.com with esmtpa (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FshZD-0000nD-Sw; Tue, 20 Jun 2006 14:51:00 +0000 From: "Matt Sealey" To: Date: Tue, 20 Jun 2006 09:54:41 -0500 Organization: Genesi Message-ID: <00b301c69479$78330100$99dfdfdf@bakuhatsu.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcaUeALDgDE5rKlvSJa05F+ogfJ/KAAAVC8A In-Reply-To: <44980A9A.5000708@freebsd.org> Cc: freebsd-ppc@freebsd.org Subject: RE: On-disk format of UFS1, UFS2 for firmware X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: matt@genesi-usa.com List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 14:54:44 -0000 > -----Original Message----- > From: Peter Grehan [mailto:grehan@freebsd.org] > Sent: Tuesday, June 20, 2006 9:48 AM > To: matt@genesi-usa.com > Cc: freebsd-ppc@freebsd.org > Subject: Re: On-disk format of UFS1, UFS2 for firmware > > > I was wondering where the best place to ask was to find out any > > documentation on the on-disk format of UFS1 and UFS2 (barring the > > FreeBSD source tree, I have that already). > > In terms of source, the libstand implementation is a bit > easier to follow/use than the in-kernel UFS proper for a > bootloader at least. Yes! I already found that between asking and signing up on freebsd-fs :) However I would love to see some paper docs which simply tell where the first block is, what an inode looks like, and how a file is laid out.. -- Matt Sealey Manager, Genesi, Developer Relations From owner-freebsd-ppc@FreeBSD.ORG Tue Jun 20 15:45:07 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8A6116A47D for ; Tue, 20 Jun 2006 15:45:07 +0000 (UTC) (envelope-from freebsd-ppc@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D6A443D58 for ; Tue, 20 Jun 2006 15:45:06 +0000 (GMT) (envelope-from freebsd-ppc@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FsiPW-000700-EC for freebsd-ppc@freebsd.org; Tue, 20 Jun 2006 17:45:02 +0200 Received: from efficio.wh29.tu-dresden.de ([141.30.207.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Jun 2006 17:45:02 +0200 Received: from der_julian by efficio.wh29.tu-dresden.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Jun 2006 17:45:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ppc@freebsd.org From: Julian Stecklina Date: Tue, 20 Jun 2006 16:39:00 +0200 Lines: 24 Message-ID: <86ac87oprv.fsf@dellbeast.localnet> References: <00b001c69475$524fe510$99dfdfdf@bakuhatsu.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: efficio.wh29.tu-dresden.de User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.19 (berkeley-unix) Cancel-Lock: sha1:KIKlJQxQMN6EjpkIMPpgbiZu6XE= Sender: news Subject: Re: On-disk format of UFS1, UFS2 for firmware X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 15:45:07 -0000 "Matt Sealey" writes: > Hello, > > I was wondering where the best place to ask was to find out any documentation > on the on-disk format of UFS1 and UFS2 (barring the FreeBSD source tree, I have > that already). > > We want to implement it in firmware to ease booting FreeBSD and NetBSD and so on > for Pegasos/EFIKA/OSW and so on. The firmware already supports BSD disk slices > and "original" FFS so we have a basic framework to start from. > > Any hints appreciated. Is there a freebsd-filesystems list or so? The PowerPC page isn't exactly the best place to ask such a question. You might try hackers@ or questions@. See www.freebsd.org or the manual for information on the mailing lists. Regards, -- Julian Stecklina Being really good at C++ is like being really good at using rocks to sharpen sticks. - Thant Tessman From owner-freebsd-ppc@FreeBSD.ORG Tue Jun 20 15:50:30 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45EC116A474 for ; Tue, 20 Jun 2006 15:50:30 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx0.rink.nu (thunderstone.rink.nu [80.112.228.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7A1143D46 for ; Tue, 20 Jun 2006 15:50:27 +0000 (GMT) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx0.rink.nu (Postfix) with ESMTP id 35D1D17072; Tue, 20 Jun 2006 17:50:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx0.rink.nu ([127.0.0.1]) by localhost (thunderstone.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5NnL50-hIgZM; Tue, 20 Jun 2006 17:50:39 +0200 (CEST) Received: by mx0.rink.nu (Postfix, from userid 1678) id 880FD17054; Tue, 20 Jun 2006 17:50:39 +0200 (CEST) Date: Tue, 20 Jun 2006 17:50:39 +0200 From: Rink Springer To: Julian Stecklina Message-ID: <20060620155039.GA91963@rink.nu> References: <00b001c69475$524fe510$99dfdfdf@bakuhatsu.net> <86ac87oprv.fsf@dellbeast.localnet> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <86ac87oprv.fsf@dellbeast.localnet> User-Agent: Mutt/1.5.11 Cc: freebsd-ppc@freebsd.org Subject: Re: On-disk format of UFS1, UFS2 for firmware X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 15:50:30 -0000 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, > > I was wondering where the best place to ask was to find out any documen= tation > > on the on-disk format of UFS1 and UFS2 (barring the FreeBSD source tree= , I have > > that already). > > > > We want to implement it in firmware to ease booting FreeBSD and NetBSD = and so on > > for Pegasos/EFIKA/OSW and so on. The firmware already supports BSD disk= slices > > and "original" FFS so we have a basic framework to start from. > > > > Any hints appreciated. Is there a freebsd-filesystems list or so? There exists a filesystem list, freebsd-fs@freebsd.org. However, while developing the FreeBSD/xbox UFS patches, I had a great help from two sources: - Design and Implementation of the FreeBSD operating system [book] This book lists most fundemental details of UFS1 and 2, which is quite helpful in understanding how it works. - Boot source (/sys/boot/common/ufsread.c) This implementation is used by the boot code itself, and is quite clean and easy to understand. Good luck! Regards, --=20 Rink P.W. Springer - http://rink.nu "Richter: Tribute? You steal men's souls, and make them your slaves! Dracula: Perhaps the same could be said of all religions." - Castlevania: Symphony of the Night --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEmBlPb3O60uztv/8RAvVkAJ9nYyRSMCd7SDyW50kV9H6EEODlVwCeLINq WEkVV8wehJMWc1Bxfk486Ws= =KmRg -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j-- From owner-freebsd-ppc@FreeBSD.ORG Tue Jun 20 18:14:23 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 429BB16A474 for ; Tue, 20 Jun 2006 18:14:23 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3B1543D48 for ; Tue, 20 Jun 2006 18:14:22 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (wn92up4kggaatcrg@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k5KIELL4049690; Tue, 20 Jun 2006 11:14:21 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k5KIEK5o049689; Tue, 20 Jun 2006 11:14:20 -0700 (PDT) (envelope-from jmg) Date: Tue, 20 Jun 2006 11:14:20 -0700 From: John-Mark Gurney To: Matt Sealey Message-ID: <20060620181420.GJ1142@funkthat.com> Mail-Followup-To: Matt Sealey , freebsd-ppc@freebsd.org References: <00b001c69475$524fe510$99dfdfdf@bakuhatsu.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00b001c69475$524fe510$99dfdfdf@bakuhatsu.net> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-ppc@freebsd.org Subject: Re: On-disk format of UFS1, UFS2 for firmware X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2006 18:14:23 -0000 Matt Sealey wrote this message on Tue, Jun 20, 2006 at 09:24 -0500: > I was wondering where the best place to ask was to find out any documentation > on the on-disk format of UFS1 and UFS2 (barring the FreeBSD source tree, I have > that already). Just read the header files in /usr/include/ufs, of particlar intrest are: ufs/ffs/fs.h ufs/ufs/dinode.h ufs/ufs/dir.h -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."