From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 5 21:47:31 2011 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45AB7106566B; Wed, 5 Jan 2011 21:47:31 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 469818FC1A; Wed, 5 Jan 2011 21:47:30 +0000 (UTC) Received: by wyf19 with SMTP id 19so15938100wyf.13 for ; Wed, 05 Jan 2011 13:47:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=we9lN5IifnO+rQBHV7LLtl0GCPArCQwO9YoVVYn4mGI=; b=J7gWuFlXIbX6uXjBEhbefIUPdh4OYZW7d/tiLM8IwWUYjgrbmR9HuUU0r1utWzuJOF eUZQymEcBPoCyQPP2MJghcCD34M3hzON//FPvFDcHoEm9GbfNdxGW/hbBOwi33hS9WZC IWWWwIlRMSSGh8POSSogKKcOxn8GTtfmw8470= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=mk6tdVcWFb91uOdaza9lphpmuVJGuL3vhUB98MEd4F2oO4XwU6GVXd6LMdki0svQ0L ag1rix90kP+gHKWllJs7wQwELtZOkZJ7HvtJXb9ZNbYKhdL8tus4wq5YmRlAw+pOKzHI A6azS/MYwNlaPd4/FuJW+4kE9OAxYz3cXxoIA= MIME-Version: 1.0 Received: by 10.216.141.37 with SMTP id f37mr8795891wej.31.1294264049469; Wed, 05 Jan 2011 13:47:29 -0800 (PST) Received: by 10.216.254.226 with HTTP; Wed, 5 Jan 2011 13:47:29 -0800 (PST) In-Reply-To: <4D2486B7.2040305@freebsd.org> References: <4D20C8BF.701@freebsd.org> <29AA82C4-6301-4DCD-BC9D-423AD162998E@gmail.com> <4D20DDE4.8080306@freebsd.org> <4D22D30A.2050606@executive-computing.de> <4D2486B7.2040305@freebsd.org> Date: Wed, 5 Jan 2011 13:47:29 -0800 Message-ID: From: Garrett Cooper To: Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: John Hixson , Bruce Cran , freebsd-arch@freebsd.org, matt@ixsystems.com, freebsd-sysinstall@freebsd.org Subject: Re: BSDInstall: I want the bikeshed painted plaid X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2011 21:47:31 -0000 On Wed, Jan 5, 2011 at 6:56 AM, Nathan Whitehorn w= rote: > On 01/04/11 15:25, John Hixson wrote: > > On Mon, Jan 3, 2011 at 11:58 PM, Marco Steinbach > wrote: >> >> John Hixson wrote on 02.01.2011 22:51: >>> >>> On Sun, Jan 2, 2011 at 12:19 PM, Nathan Whitehorn >>> wrote: >>> >>>> I spent a bunch of time looking at pc-sysinstall before starting to wo= rk >>>> on >>>> this. The major problem for non-x86 systems is that it heavily assumes >>>> that >>>> your disks are either MBR+bsdlabel or GPT. If you have anything >>>> different >>>> (APM, VTOC8, or even a raw bsdlabel or MBR installation on x86), it >>>> breaks >>>> in strange and fascinating ways due to a random mixture of if (scheme = =3D=3D >>>> MBR) else and if (scheme =3D=3D GPT) else in the backend. Some of thes= e are >>>> easily fixed, but it looked quite difficult to root out all of the >>>> places >>>> this assumption is made, not to mention teaching it about various styl= es >>>> of >>>> boot code, that the same partitioning scheme may need to be set up >>>> different >>>> ways on different architectures, etc. txt-sysinstall also segfaults wh= en >>>> you >>>> try to run it on powerpc at the moment, though that is likely a simple >>>> bug >>>> and I didn't look into it in detail. >>>> >>>> What I intended with bsdinstall is to have something simple, flexible, >>>> and >>>> easily maintained that works immediately on all platforms and will be >>>> ready >>>> for 9.0 for sure. If pc-sysinstall materializes before then, or after >>>> then, >>>> and people like it better, I'm more than happy to get out of the way; >>>> this >>>> is the reason the wiki page is titled "Stopgap Installer". In the >>>> interim, I >>>> hoped to at least start laying out the hammer and nails next to >>>> sysinstall's >>>> coffin. >>>> -Nathan >>>> >>>> >>> I would be more than happy to help out with making pc-sysinstall work o= n >>> non-x86 systems, however I don't have access to any. Do any of you have >>> hardware that could possibly be used by interested parties? I'm sure al= l >>> the >>> work that's gone into bsdinstall could be used in pc-sysinstall or vice >>> versa. >> >> I have PowerMacs (G3/G4) and Netras/Ultras (T1 105, U10, U5) at my >> discretion. =A0I've never installed FreeBSD on any of them, but would be >> willing to give it a shot. >> >> I can provide serial console access to the Sparcs, but the PowerMacs >> supposedly need "hands on", which I can also provide. >> >> If there's interest, I humbly suggest discussing further details on the >> course of action at sysinstall@, to which I just subscribed. >> > > I just subscribed to sysinstall@. I'd be happy to help starting out on th= e > sparcs. I have no experience whatsoever on powermac, but it sounds fun ;-= ). > > > You can look in bsdinstall's partedit/partedit_${MACHINE}.c for how vario= us > platforms need to be set up. APM on PPC is very similar to GPT, and VTOC8= is > a little bit of an oddball scheme because UFS partitions need partcode on > them. Bear in mind that PPC will very soon support non-powermac platforms= , > so please avoid hardcoding any assumptions about what "powerpc" requires. > Similarly, several partition types (MBR, GPT) require different setup on > different platforms. /me is itching to see some Freescale and PS3 action... maybe Xbox 360 sometime in the future :)? Thanks :P... -Garrett