From owner-freebsd-ppc@FreeBSD.ORG Mon Apr 26 20:03:50 2004 Return-Path: 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 B0A7F16A4CE for ; Mon, 26 Apr 2004 20:03:50 -0700 (PDT) Received: from cobalt.rjt.org (cobalt.rjt.org [69.24.5.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1792743D1D for ; Mon, 26 Apr 2004 20:03:50 -0700 (PDT) (envelope-from rj@rjt.org) Received: from [192.168.2.5] (unknown [69.24.5.252]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by cobalt.rjt.org (Postfix) with ESMTP id 5165F7E8A4 for ; Mon, 26 Apr 2004 23:03:49 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v613) Content-Transfer-Encoding: 7bit Message-Id: <811E66CA-97F7-11D8-8801-000393829E22@rjt.org> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-ppc@freebsd.org From: Ryan J.Taylor Date: Mon, 26 Apr 2004 23:03:48 -0400 X-Mailer: Apple Mail (2.613) Subject: successful freebsd-ppc install X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 03:03:50 -0000 I just wanted to send a big "congratulations" to those involved with the FreeBSD/PowerPC port. I've been watching anxiously since things kicked off and I finally got around to doing an install using Peter's very handy instructions and tarball at http://people.freebsd.org/~grehan/install.html First thing I did was tar up a -CURRENT source tree and stuck it on the Mac so I could try a kernel compile. Worked fine. Then I installed a ports tree and started compiling stuff from there. All in all, the system works quite well. It locks up every once in a while (no debug shows on the console) but I say it's time for people to start playing with it! Regards, RJ dmesg from my PowerMac G4 400MHz: Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2-CURRENT #0: Mon Apr 26 20:07:41 EDT 2004 rjtaylor@darwin.rjt.org:/usr/obj/usr/src/sys/DARWIN Preloaded elf kernel "/boot/kernel/kernel" at 0x3ef000. Timecounter "decrementer" frequency 24907667 Hz quality 0 cpu0: Motorola PowerPC 7400 revision 2.8, 400.00 MHz cpu0: HID0 8094c0a4 real memory = 734003200 (700 MB) avail memory = 704851968 (672 MB) random: nexus0: openpic0: on nexus0 unin0: on nexus0 unin0: Version 3 pcib0: on nexus0 pci0: on pcib0 pcib0: unknown resource request from (null) pci0: at device 16.0 (no driver attached) pcib1: on nexus0 pci1: on pcib1 pcib2: at device 13.0 on pci1 pci2: on pcib2 pcib1: unknown resource request from (null) pci2: at device 2.0 (no driver attached) macio0: mem 0x80000000-0x8007ffff at device 7.0 on pci 2 zs0: mem 0x8700-0x87ff,0x8600-0x86ff,0x8500-0x85ff,0x8400-0x84ff,0 x13000-0x13fff irq 50,22 on macio0 zs0: [FAST] zs0: [FAST] zstty0: on zs0 zstty1: on zs0 ata0 mem 0x8a00-0x8aff,0x1f000-0x1ffff irq 19 on macio0 ata1 mem 0x8b00-0x8bff,0x20000-0x20fff irq 20 on macio0 ata2 mem 0x8c00-0x8cff,0x21000-0x21fff irq 21 on macio0 ohci0: mem 0x80082000-0x80082fff irq 27 at devic e 8.0 on pci2 ohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0x80082000 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0 usb0: on ohci0 usb0: USB revision 1.0 uhub0: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ohci1: mem 0x80081000-0x80081fff irq 28 at devic e 9.0 on pci2 ohci1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0x80081000 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0 usb1: on ohci1 usb1: USB revision 1.0 uhub1: Apple OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhub2: Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0, rev 1.10/ 1.22, addr 2 uhub2: 3 ports with 2 removable, bus powered ukbd0: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/1.22, addr 3, icla ss 3/1 pci2: at device 10.0 (no driver attached) pcib3: on nexus0 pci3: on pcib3 gem0: mem 0xf5200000-0xf53fffff irq 41 at device 1 5.0 on pci3 gem0: Reserved 0x200000 bytes for rid 0x10 type 3 at 0xf5200000 miibus0: on gem0 bmtphy0: on miibus0 bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gem0: 10kB RX FIFO, 9kB TX FIFO gem0: Ethernet address: 00:30:65:4c:c9:3c gem0: [GIANT-LOCKED] sc0: on nexus0 sc0: Unknown <16 virtual consoles, flags=0x300> Timecounters tick every 10.000 msec ad0: 9797MB [19906/16/63] at ata0-master BIOSPIO ad1: 9787MB [19885/16/63] at ata0-slave BIOSPIO acd0: DVDR at ata1-slave BIOSPIO Manual root filesystem specification: : Mount using filesystem eg. ufs:/dev/da0a ? List valid disk boot devices Abort manual input mountroot> ufs:ad0s10 Mounting root from ufs:ad0s10 From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 27 09:30:13 2004 Return-Path: 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 4CA2416A4CE for ; Tue, 27 Apr 2004 09:30:13 -0700 (PDT) Received: from web40703.mail.yahoo.com (web40703.mail.yahoo.com [66.218.78.160]) by mx1.FreeBSD.org (Postfix) with SMTP id 14A1D43D2F for ; Tue, 27 Apr 2004 09:30:13 -0700 (PDT) (envelope-from ltgator333@yahoo.com) Message-ID: <20040427163012.45685.qmail@web40703.mail.yahoo.com> Received: from [209.69.212.30] by web40703.mail.yahoo.com via HTTP; Tue, 27 Apr 2004 09:30:12 PDT Date: Tue, 27 Apr 2004 09:30:12 -0700 (PDT) From: Lawrence Cornell To: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: sucessful install X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 16:30:13 -0000 I caught that email last night, but looking at the bootup log it didn't look like to me that it booted up to the point of anything but single user mode.. correct me if I'm wrong. Also I know that the port is targeted for open-firmware based machines, any thoughts on being able to use some type of bootstrap program to boot it on old-world PMacs? Thanx, LT __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 27 09:56:34 2004 Return-Path: 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 D589816A4CE for ; Tue, 27 Apr 2004 09:56:34 -0700 (PDT) Received: from cobalt.rjt.org (cobalt.rjt.org [69.24.5.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2B0843D48 for ; Tue, 27 Apr 2004 09:56:34 -0700 (PDT) (envelope-from rj@rjt.org) Received: from [192.168.2.5] (unknown [69.24.5.252]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by cobalt.rjt.org (Postfix) with ESMTP id 0ECB47E8A4 for ; Tue, 27 Apr 2004 12:56:34 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: <20040427163012.45685.qmail@web40703.mail.yahoo.com> References: <20040427163012.45685.qmail@web40703.mail.yahoo.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Ryan J.Taylor Date: Tue, 27 Apr 2004 12:56:33 -0400 To: freebsd-ppc@freebsd.org X-Mailer: Apple Mail (2.613) Subject: Re: sucessful install X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 16:56:35 -0000 On Apr 27, 2004, at 12:30 PM, Lawrence Cornell wrote: > I caught that email last night, but looking at the > bootup log it didn't look like to me that it booted up > to the point of anything but single user mode.. > correct me if I'm wrong. Both loader and the kernel came from my tftp server. After specifying root manually it does boot to multiuser. I could probably stick an /etc/fstab on the boot server and have the Mac mount root on its own. The alternative would be interrupting loader and having it load the kernel from disk (I think that works?). > Also I know that the port is targeted for > open-firmware based machines, any thoughts on being > able to use some type of bootstrap program to boot it > on old-world PMacs? I'm sure someone here can answer this more thoroughly but I believe the developers were starting with support for new world Macs and may expand into older/different models as the port progresses. RJ From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 27 11:58:32 2004 Return-Path: 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 55C5616A4CE for ; Tue, 27 Apr 2004 11:58:32 -0700 (PDT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 374EB43D1F for ; Tue, 27 Apr 2004 11:58:32 -0700 (PDT) (envelope-from leimy2k@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id i3RIwWle024085; Tue, 27 Apr 2004 11:58:32 -0700 (PDT) Received: from [192.168.1.100] (adsl-222-117-147.jan.bellsouth.net [68.222.117.147]) (authenticated bits=0)i3RIwUTK025900; Tue, 27 Apr 2004 11:58:31 -0700 (PDT) In-Reply-To: References: <20040427163012.45685.qmail@web40703.mail.yahoo.com> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: David Leimbach Date: Tue, 27 Apr 2004 13:58:28 -0500 To: "Ryan J.Taylor" X-Mailer: Apple Mail (2.613) cc: freebsd-ppc@freebsd.org Subject: Re: sucessful install X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 18:58:32 -0000 On Apr 27, 2004, at 11:56 AM, Ryan J.Taylor wrote: > > On Apr 27, 2004, at 12:30 PM, Lawrence Cornell wrote: > >> I caught that email last night, but looking at the >> bootup log it didn't look like to me that it booted up >> to the point of anything but single user mode.. >> correct me if I'm wrong. > > Both loader and the kernel came from my tftp server. After specifying > root manually it does boot to multiuser. I could probably stick an > /etc/fstab on the boot server and have the Mac mount root on its own. > The alternative would be interrupting loader and having it load the > kernel from disk (I think that works?). Does FreeBSD have this? I have this on my DragonFlyBSD box. vfs.root.mountfrom="ufs:/dev/ad1s1a" That may work in the loader.conf Dave From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 27 12:11:45 2004 Return-Path: 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 D86DD16A4CE for ; Tue, 27 Apr 2004 12:11:45 -0700 (PDT) Received: from cobalt.rjt.org (cobalt.rjt.org [69.24.5.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id A66AC43D54 for ; Tue, 27 Apr 2004 12:11:45 -0700 (PDT) (envelope-from rj@rjt.org) Received: from [192.168.1.41] (berlin-fw01-fxp0.ncia.net [69.24.0.4]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by cobalt.rjt.org (Postfix) with ESMTP id 1BD707E8B2 for ; Tue, 27 Apr 2004 15:11:45 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: References: <20040427163012.45685.qmail@web40703.mail.yahoo.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Ryan J.Taylor Date: Tue, 27 Apr 2004 15:11:44 -0400 To: freebsd-ppc@freebsd.org X-Mailer: Apple Mail (2.613) Subject: Re: sucessful install X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 19:11:46 -0000 On Apr 27, 2004, at 2:58 PM, David Leimbach wrote: > > On Apr 27, 2004, at 11:56 AM, Ryan J.Taylor wrote: > >> >> On Apr 27, 2004, at 12:30 PM, Lawrence Cornell wrote: >> >>> I caught that email last night, but looking at the >>> bootup log it didn't look like to me that it booted up >>> to the point of anything but single user mode.. >>> correct me if I'm wrong. >> >> Both loader and the kernel came from my tftp server. After >> specifying root manually it does boot to multiuser. I could probably >> stick an /etc/fstab on the boot server and have the Mac mount root on >> its own. The alternative would be interrupting loader and having it >> load the kernel from disk (I think that works?). > > Does FreeBSD have this? I have this on my DragonFlyBSD box. > > vfs.root.mountfrom="ufs:/dev/ad1s1a" > > That may work in the loader.conf Yes, FreeBSD has that and you can stick it in loader.conf (if needed). I've been booting without a loader.conf altogether.