From owner-freebsd-ppc@FreeBSD.ORG Sun Jul 11 08:17:16 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 284B916A4CE for ; Sun, 11 Jul 2004 08:17:16 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A85143D39 for ; Sun, 11 Jul 2004 08:17:15 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-31-247.dsl.onthenet.net [203.144.31.247]) i6B8HCu9030044; Sun, 11 Jul 2004 18:17:13 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40F0F926.5090400@freebsd.org> Date: Sun, 11 Jul 2004 18:24:06 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: New kdb code 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: Sun, 11 Jul 2004 08:17:16 -0000 Marcel Moolenar just committed a large bunch of changes to the kernel debugger. DDB support in PowerPC was a bit of a hodge-podge so I'll take this opportunity to clean it up while doing the kdb merge. Should be finished tomorrow, but there might be a tinderbox failure in the meantime... later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Sun Jul 11 16:44:59 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 1A45316A4CE; Sun, 11 Jul 2004 16:44:59 +0000 (GMT) Received: from smtp3b.sentex.ca (smtp3b.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA6AE43D1F; Sun, 11 Jul 2004 16:44:58 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smtp3b.sentex.ca (8.12.11/8.12.11) with ESMTP id i6BGiw5A060446; Sun, 11 Jul 2004 12:44:58 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.12.11/8.12.11) with ESMTP id i6BGivP8079160; Sun, 11 Jul 2004 12:44:57 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id AE64E7303F; Sun, 11 Jul 2004 12:44:57 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20040711164457.AE64E7303F@freebsd-current.sentex.ca> Date: Sun, 11 Jul 2004 12:44:57 -0400 (EDT) Subject: [current tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 16:44:59 -0000 TB --- 2004-07-11 15:51:49 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2004-07-11 15:51:49 - starting CURRENT tinderbox run for powerpc/powerpc TB --- 2004-07-11 15:51:49 - cleaning the sandbox TB --- 2004-07-11 15:53:03 - checking out the source tree TB --- 2004-07-11 15:53:03 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc TB --- 2004-07-11 15:53:03 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A src TB --- 2004-07-11 16:00:42 - WARNING: /home/tinderbox/sandbox/powerpc.diff does not exist TB --- 2004-07-11 16:00:42 - building world (CFLAGS=-O -pipe) TB --- 2004-07-11 16:00:42 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc/src TB --- 2004-07-11 16:00:42 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything TB --- 2004-07-11 16:44:35 - building generic kernel (COPTFLAGS=-O -pipe) TB --- 2004-07-11 16:44:35 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc/src TB --- 2004-07-11 16:44:35 - /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Sun Jul 11 16:44:35 UTC 2004 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies [...] awk -f /tinderbox/CURRENT/powerpc/powerpc/src/sys/tools/makeobjops.awk /tinderbox/CURRENT/powerpc/powerpc/src/sys/powerpc/powerpc/pic_if.m -h if [ -f .olddep ]; then mv .olddep .depend; fi rm -f .newdep /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/tinderbox/CURRENT/powerpc/powerpc/src/sys -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/altq -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/pf -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -msoft-float -fno-common -finline-limit=15000 -msoft-float -ffreestanding /tinderbox/CURRENT/powerpc/powerpc/src/sys/ddb/db_main.c:40:25: machine/kdb.h: No such file or directory /tinderbox/CURRENT/powerpc/powerpc/src/sys/ddb/db_run.c:41:25: machine/kdb.h: No such file or directory /tinderbox/CURRENT/powerpc/powerpc/src/sys/kern/subr_kdb.c:40:25: machine/kdb.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /tinderbox/CURRENT/powerpc/powerpc/obj/powerpc/tinderbox/CURRENT/powerpc/powerpc/src/sys/GENERIC. *** Error code 1 Stop in /tinderbox/CURRENT/powerpc/powerpc/obj/powerpc/tinderbox/CURRENT/powerpc/powerpc/src/sys/GENERIC. *** Error code 1 Stop in /tinderbox/CURRENT/powerpc/powerpc/src. *** Error code 1 Stop in /tinderbox/CURRENT/powerpc/powerpc/src. TB --- 2004-07-11 16:44:57 - WARNING: /usr/bin/make returned exit code 1 TB --- 2004-07-11 16:44:57 - ERROR: failed to build generic kernel TB --- 2004-07-11 16:44:57 - tinderbox aborted From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 12 15:58:42 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 1D39E16A4CE; Mon, 12 Jul 2004 15:58:42 +0000 (GMT) Received: from smtp3.sentex.ca (smtp3.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9ECD43D39; Mon, 12 Jul 2004 15:58:41 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smtp3.sentex.ca (8.12.11/8.12.11) with ESMTP id i6CFwcrd048759; Mon, 12 Jul 2004 11:58:38 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.12.11/8.12.11) with ESMTP id i6CFwfnf052350; Mon, 12 Jul 2004 11:58:41 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id DD3267303F; Mon, 12 Jul 2004 11:58:40 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20040712155840.DD3267303F@freebsd-current.sentex.ca> Date: Mon, 12 Jul 2004 11:58:40 -0400 (EDT) Subject: [current tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 15:58:42 -0000 TB --- 2004-07-12 15:05:33 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2004-07-12 15:05:33 - starting CURRENT tinderbox run for powerpc/powerpc TB --- 2004-07-12 15:05:33 - cleaning the sandbox TB --- 2004-07-12 15:06:51 - checking out the source tree TB --- 2004-07-12 15:06:51 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc TB --- 2004-07-12 15:06:51 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A src TB --- 2004-07-12 15:14:34 - WARNING: /home/tinderbox/sandbox/powerpc.diff does not exist TB --- 2004-07-12 15:14:34 - building world (CFLAGS=-O -pipe) TB --- 2004-07-12 15:14:34 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc/src TB --- 2004-07-12 15:14:34 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything TB --- 2004-07-12 15:58:19 - building generic kernel (COPTFLAGS=-O -pipe) TB --- 2004-07-12 15:58:19 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc/src TB --- 2004-07-12 15:58:19 - /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Mon Jul 12 15:58:19 UTC 2004 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies [...] awk -f /tinderbox/CURRENT/powerpc/powerpc/src/sys/tools/makeobjops.awk /tinderbox/CURRENT/powerpc/powerpc/src/sys/powerpc/powerpc/pic_if.m -h if [ -f .olddep ]; then mv .olddep .depend; fi rm -f .newdep /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/tinderbox/CURRENT/powerpc/powerpc/src/sys -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/altq -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/pf -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/powerpc/powerpc/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -msoft-float -fno-common -finline-limit=15000 -msoft-float -ffreestanding /tinderbox/CURRENT/powerpc/powerpc/src/sys/ddb/db_main.c:40:25: machine/kdb.h: No such file or directory /tinderbox/CURRENT/powerpc/powerpc/src/sys/ddb/db_run.c:41:25: machine/kdb.h: No such file or directory /tinderbox/CURRENT/powerpc/powerpc/src/sys/kern/subr_kdb.c:40:25: machine/kdb.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /tinderbox/CURRENT/powerpc/powerpc/obj/powerpc/tinderbox/CURRENT/powerpc/powerpc/src/sys/GENERIC. *** Error code 1 Stop in /tinderbox/CURRENT/powerpc/powerpc/obj/powerpc/tinderbox/CURRENT/powerpc/powerpc/src/sys/GENERIC. *** Error code 1 Stop in /tinderbox/CURRENT/powerpc/powerpc/src. *** Error code 1 Stop in /tinderbox/CURRENT/powerpc/powerpc/src. TB --- 2004-07-12 15:58:40 - WARNING: /usr/bin/make returned exit code 1 TB --- 2004-07-12 15:58:40 - ERROR: failed to build generic kernel TB --- 2004-07-12 15:58:40 - tinderbox aborted From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 12 20:04:24 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 C7EC516A4CE for ; Mon, 12 Jul 2004 20:04:24 +0000 (GMT) Received: from pan.gwi.net (pan.gwi.net [207.5.128.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id E866843D1D for ; Mon, 12 Jul 2004 20:04:23 +0000 (GMT) (envelope-from jcoombs@gwi.net) Received: from distortion (bb-205-209-84-16.gwi.net [205.209.84.16]) by pan.gwi.net (8.12.9p2/8.12.9) with SMTP id i6CK4L8U072669 for ; Mon, 12 Jul 2004 16:04:22 -0400 (EDT) (envelope-from jcoombs@gwi.net) Message-ID: <001301c4684b$6cbf5190$0397a8c0@distortion> From: "Joshua Coombs" To: Date: Mon, 12 Jul 2004 16:04:22 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Umax C600 (6400) 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: Mon, 12 Jul 2004 20:04:24 -0000 Welp, figured for giggles I'd try to get my Umax C600 to run FreeBSD. Looks like I can't use any of the normal boot media, ethernet isn't onboard, OF doesn't have a driver. CD, no go in OF. HD, best I can do is a FAT partition on IDE, but I have yet to get a loader to fire up cleanly off it (Open, Net, or Free). NetBSD's boot floppies do work, but I see no analog yet in the PPC port. Is there a method of making boot floppies yet for the FreeBSD PPC port? Joshua Coombs From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 12 22:36:00 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 01AE516A4CE for ; Mon, 12 Jul 2004 22:36:00 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FEB343D45 for ; Mon, 12 Jul 2004 22:35:59 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-80.dsl.onthenet.net [203.144.30.80]) i6CMZvu9036661; Tue, 13 Jul 2004 08:35:57 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40F313E9.40107@freebsd.org> Date: Tue, 13 Jul 2004 08:42:49 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joshua Coombs References: <001301c4684b$6cbf5190$0397a8c0@distortion> In-Reply-To: <001301c4684b$6cbf5190$0397a8c0@distortion> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Umax C600 (6400) 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: Mon, 12 Jul 2004 22:36:00 -0000 > Welp, figured for giggles I'd try to get my Umax C600 to run > FreeBSD. Looks like I can't use any of the normal boot media, > ethernet isn't onboard, OF doesn't have a driver. CD, no go in OF. > HD, best I can do is a FAT partition on IDE, but I have yet to get a > loader to fire up cleanly off it (Open, Net, or Free). NetBSD's > boot floppies do work, but I see no analog yet in the PPC port. Is > there a method of making boot floppies yet for the FreeBSD PPC port? From looking at the NetBSD model page, the C600 runs v2 of OpenFirmware, which doesn't work with the FreeBSD loader. It's actually a bit of work: an ELF->XCOFF converter needs to be written, and some OpenFirmware calls that don't work on 2 need to be sidestepped. I do have an old beige G3 that I might try and get working one day. It even has a floppy drive :-) later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 13 00:37:40 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 8131816A4CE for ; Tue, 13 Jul 2004 00:37:40 +0000 (GMT) Received: from aphrodite.gwi.net (aphrodite.gwi.net [207.5.128.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id F013E43D31 for ; Tue, 13 Jul 2004 00:37:39 +0000 (GMT) (envelope-from jcoombs@gwi.net) Received: from distortion (bb-205-209-84-16.gwi.net [205.209.84.16]) by aphrodite.gwi.net (8.12.9p2/8.12.9) with SMTP id i6D0bcaR048383 for ; Mon, 12 Jul 2004 20:37:39 -0400 (EDT) (envelope-from jcoombs@gwi.net) Message-ID: <005201c46871$9a809e10$0397a8c0@distortion> From: "Joshua Coombs" To: References: <001301c4684b$6cbf5190$0397a8c0@distortion> <40F313E9.40107@freebsd.org> Date: Mon, 12 Jul 2004 20:37:40 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: Umax C600 (6400) 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, 13 Jul 2004 00:37:40 -0000 > From looking at the NetBSD model page, the C600 runs v2 of > OpenFirmware, which doesn't work with the FreeBSD loader. > > It's actually a bit of work: an ELF->XCOFF converter needs to > be written, and some OpenFirmware calls that don't work on 2 need > to be sidestepped. > > I do have an old beige G3 that I might try and get working one day. > It even has a floppy drive :-) > > later, > > Peter. Well, that'd explain a bunch. So I 'spose the next question would be if the NetBSD loader can fire up a FreeBSD kernel. I've used NetBSD's dosboot dos kernel loader before with FreeBSD, what are the odds it'll work on PPC as well? (Now I have to figure out how to make a custom NetBSD boot floppy, and find a FreeBSD-PPC kernel small enough.) Joshua Coombs From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 13 06:30:31 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 10AA416A4CE for ; Tue, 13 Jul 2004 06:30:31 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7691643D2F for ; Tue, 13 Jul 2004 06:30:30 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-80.dsl.onthenet.net [203.144.30.80]) i6D6UTu9040183; Tue, 13 Jul 2004 16:30:29 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40F38321.2040105@freebsd.org> Date: Tue, 13 Jul 2004 16:37:21 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joshua Coombs References: <001301c4684b$6cbf5190$0397a8c0@distortion> <40F313E9.40107@freebsd.org> <005201c46871$9a809e10$0397a8c0@distortion> In-Reply-To: <005201c46871$9a809e10$0397a8c0@distortion> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: Umax C600 (6400) 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, 13 Jul 2004 06:30:31 -0000 > Well, that'd explain a bunch. So I 'spose the next question would > be if the NetBSD loader can fire up a FreeBSD kernel. I've used > NetBSD's dosboot dos kernel loader before with FreeBSD, what are the > odds it'll work on PPC as well? I just gave it a try on my eMac. The first problem is that NetBSD passes the command line arg in the parameter that FreeBSD expects the loader metadata to live. There's no real error checking on this, so it results in a crash very early on in the boot. I disabled this test, and it managed to get a bit further in the boot before crashing with an invalid instruction exception. This is most likely a symptom of the NetBSD loader not doing an icache sync somewhere along the line. That mightn't be too hard to locate. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 13 15:51:20 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 B267F16A4CE for ; Tue, 13 Jul 2004 15:51:20 +0000 (GMT) Received: from aphrodite.gwi.net (aphrodite.gwi.net [207.5.128.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 464EC43D41 for ; Tue, 13 Jul 2004 15:51:20 +0000 (GMT) (envelope-from jcoombs@gwi.net) Received: from distortion (bb-205-209-84-16.gwi.net [205.209.84.16]) by aphrodite.gwi.net (8.12.9p2/8.12.9) with SMTP id i6DFpJaR055380 for ; Tue, 13 Jul 2004 11:51:19 -0400 (EDT) (envelope-from jcoombs@gwi.net) Message-ID: <008401c468f1$3e5b14a0$0397a8c0@distortion> From: "Joshua Coombs" To: Date: Tue, 13 Jul 2004 11:51:21 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: NFS Boot 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, 13 Jul 2004 15:51:20 -0000 Welp, I've got my G4 DA netbooting FreeBSD. Even installed some ports without issue. Just have to find a way to ignore file locking so I can edit the passwd db and all will be good. Is there a cvsup repository for the src, or should I use cvs? Joshua Coombs From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 13 16:13:18 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 6FB0916A4CE for ; Tue, 13 Jul 2004 16:13:18 +0000 (GMT) Received: from aphrodite.gwi.net (aphrodite.gwi.net [207.5.128.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 037E943D2D for ; Tue, 13 Jul 2004 16:13:18 +0000 (GMT) (envelope-from jcoombs@gwi.net) Received: from distortion (bb-205-209-84-16.gwi.net [205.209.84.16]) by aphrodite.gwi.net (8.12.9p2/8.12.9) with SMTP id i6DGDGaR059195 for ; Tue, 13 Jul 2004 12:13:17 -0400 (EDT) (envelope-from jcoombs@gwi.net) Message-ID: <009d01c468f4$4fd080f0$0397a8c0@distortion> From: "Joshua Coombs" To: Date: Tue, 13 Jul 2004 12:13:19 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: majordomo@welearn.com.au 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, 13 Jul 2004 16:13:18 -0000 Any particular reason I'm getting email from the above listserv on every post to the list? Seems that someone subscribed to the ppc list using majordomo@welearn.com.au as an address? Joshua Coombs From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 13 19:17:05 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 F068E16A4E9 for ; Tue, 13 Jul 2004 19:17:05 +0000 (GMT) Received: from invasion.mail.pas.earthlink.net (invasion.mail.pas.earthlink.net [207.217.120.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F55943D2D for ; Tue, 13 Jul 2004 19:17:05 +0000 (GMT) (envelope-from welchsm@earthlink.net) Received: from c-66-41-102-215.mn.client2.attbi.com ([66.41.102.215] helo=NitroPhys.welchsmnet.net) by invasion.mail.pas.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BkSlz-0003Ty-Ab; Tue, 13 Jul 2004 12:17:03 -0700 Received: from NitroPhys.welchsmnet.net (localhost [127.0.0.1]) i6DJGV36001470; Tue, 13 Jul 2004 14:16:31 -0500 (CDT) (envelope-from welchsm@localhost.welchsmnet.net) Received: (from welchsm@localhost)i6DJGUbZ001469; Tue, 13 Jul 2004 14:16:30 -0500 (CDT) (envelope-from welchsm) Date: Tue, 13 Jul 2004 14:16:30 -0500 From: Sean Welch To: jcoombs@gwi.net Message-ID: <20040713191630.GA1427@NitroPhys.welchsmnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i X-ELNK-Trace: 15d86f98c8ef8acad780f4a490ca69564776905774d2ac4bcab660c63a6534a64b0ef59afa69cb59350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.41.102.215 cc: freebsd-ppc@freebsd.org Subject: Re: NFS Boot X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sean_Welch@alum.wofford.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 19:17:06 -0000 Hello, Joshua! It has been a while since I did it (had to replace the hard drive in my FreeBSD box -- a Dell Inspiron 8000), but I had a netboot working just fine with the software from a few months ago. I did it with an iBook. You do not have to find a way to ignore file locking -- you just need to make sure these lines are in both the server and client rc.conf files: rpc_bind_enable="YES" rpc_lockd_enable="YES" rpc_statd_enable="YES" As I recall, since NFS mounts occur after most of the system is already up a couple of things wouldn't work the way you might expect. For one, /var isn't mounted fast enough so a default one is created. This just means that your boot logs won't be persistent because they are getting created on a memory backed device. You can see this happening if you watch the boot sequence. The other thing that happens is that those rpc daemons don't get started during boot. Just start them manually after the netboot completes and you can log into the client. After that you should be able to run adduser and passwd without any issues at all. (The commands you want are /usr/sbin/rpcbind , /usr/sbin/rpc.statd , and /usr/sbin/rcp.lockd -- I believe you have to start statd before lockd) Good luck! Let us know if that worked for you. Sean > Welp, I've got my G4 DA netbooting FreeBSD. Even installed some > ports without issue. Just have to find a way to ignore file locking > so I can edit the passwd db and all will be good. > > Is there a cvsup repository for the src, or should I use cvs? > > Joshua Coombs From owner-freebsd-ppc@FreeBSD.ORG Wed Jul 14 00:47:48 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 0DE4516A4CE for ; Wed, 14 Jul 2004 00:47:48 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DDFA43D1D for ; Wed, 14 Jul 2004 00:47:47 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-80.dsl.onthenet.net [203.144.30.80]) i6E0lju9042820; Wed, 14 Jul 2004 10:47:46 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40F4844D.7060803@freebsd.org> Date: Wed, 14 Jul 2004 10:54:37 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joshua Coombs References: <008401c468f1$3e5b14a0$0397a8c0@distortion> In-Reply-To: <008401c468f1$3e5b14a0$0397a8c0@distortion> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: NFS Boot 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: Wed, 14 Jul 2004 00:47:48 -0000 > Is there a cvsup repository for the src, or should I use cvs? PPC can be built from the stock FreeBSD -CURRENT tree. There's no CVSup client for PPC, so you may have to pull the source onto a machine with a supported client. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Wed Jul 14 02:03: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 23BD116A4CE for ; Wed, 14 Jul 2004 02:03:45 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2448B43D46 for ; Wed, 14 Jul 2004 02:03:44 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i6E23gWg009514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 13 Jul 2004 22:03:43 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i6E23aVV031580; Tue, 13 Jul 2004 22:03:36 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16628.38008.674570.747104@grasshopper.cs.duke.edu> Date: Tue, 13 Jul 2004 22:03:36 -0400 (EDT) To: freebsd-ppc@freebsd.org X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Subject: gdb? 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: Wed, 14 Jul 2004 02:03:45 -0000 Anybody have a working gdb? I tried ports/dev/gdb53, and I tried downloading gdb-6.1.1 and building it myself (even tried lying and claming I was gnu-linux). I haven't tried very hard, and was wondering if somebody had a binary laying around that could save me some effort.. Thanks, Drew From owner-freebsd-ppc@FreeBSD.ORG Wed Jul 14 04:18:37 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 B1DD816A4CE for ; Wed, 14 Jul 2004 04:18:37 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CD7643D31 for ; Wed, 14 Jul 2004 04:18:37 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-80.dsl.onthenet.net [203.144.30.80]) i6E4IQu9044330; Wed, 14 Jul 2004 14:18:27 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40F4B5AE.1010002@freebsd.org> Date: Wed, 14 Jul 2004 14:25:18 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Gallatin References: <16628.38008.674570.747104@grasshopper.cs.duke.edu> In-Reply-To: <16628.38008.674570.747104@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: gdb? 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: Wed, 14 Jul 2004 04:18:37 -0000 > Anybody have a working gdb? Not to my knowledge. Suleiman said he's done kernel ptrace, and Marcel has volunteered assistance with the MD parts so it shouldn't be too far away. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Thu Jul 15 13:13:28 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 2389216A4CE for ; Thu, 15 Jul 2004 13:13:28 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94D6D43D1D for ; Thu, 15 Jul 2004 13:13:27 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-31-143.dsl.onthenet.net [203.144.31.143]) i6FDDQnP005772 for ; Thu, 15 Jul 2004 23:13:26 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40F68491.3040000@freebsd.org> Date: Thu, 15 Jul 2004 23:20:17 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: PearPC support 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: Thu, 15 Jul 2004 13:13:28 -0000 I've put up diffs against PearPC 0.2 (pearpc.sourceforge.net) at www.freebsd.org/~grehan/pearpc.tgz There's also sample config file and a README describing the diffs. Syscons works with a 32-bit framebuffer, but is hideously slow. It's best to break into the loader and 'set hw.syscons.disable=1'. The system doesn't quite get to single user - I'm investigating. I've been booting with a CD image that's also bootable on a Mac. The incantation to do this is, from the root CD directory: mkisofs -r -hfs -map ../hfs.map -part -no-desktop -hfs-bless ./boot -hfs-volid FreeBSD/PPC -o ../image.iso . The file fbsd.tbxi has to be copied into the boot directory on the CD, where the loader lives. Both hfs.map and fbsd.tbxi are available at www.freebsd.org/~grehan/ later, Peter.