From owner-freebsd-ppc@FreeBSD.ORG Sun Jun 29 02:41:07 2008 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A03C5106567B; Sun, 29 Jun 2008 02:41:07 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 67C248FC19; Sun, 29 Jun 2008 02:41:07 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m5T2f4Kj096032; Sat, 28 Jun 2008 22:41:05 -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.14.2/8.14.2) with ESMTP id m5T2f4fo054956; Sat, 28 Jun 2008 22:41:04 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id B1CAE73039; Sat, 28 Jun 2008 22:41:04 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080629024104.B1CAE73039@freebsd-current.sentex.ca> Date: Sat, 28 Jun 2008 22:41:04 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7040/Mon May 5 21:52:15 2008 clamav-milter version 0.93 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2008 02:41:07 -0000 TB --- 2008-06-29 01:26:31 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-29 01:26:31 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-29 01:26:31 - cleaning the object tree TB --- 2008-06-29 01:26:57 - cvsupping the source tree TB --- 2008-06-29 01:26:57 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-29 01:27:03 - building world (CFLAGS=-O -pipe) TB --- 2008-06-29 01:27:03 - cd /src TB --- 2008-06-29 01:27:03 - /usr/bin/make -B buildworld >>> World build started on Sun Jun 29 01:27:06 UTC 2008 >>> 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 >>> World build completed on Sun Jun 29 02:34:56 UTC 2008 TB --- 2008-06-29 02:34:56 - generating LINT kernel config TB --- 2008-06-29 02:34:56 - cd /src/sys/powerpc/conf TB --- 2008-06-29 02:34:56 - /usr/bin/make -B LINT TB --- 2008-06-29 02:34:56 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-29 02:34:56 - cd /src TB --- 2008-06-29 02:34:56 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jun 29 02:34:56 UTC 2008 >>> 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 >>> stage 3.2: building everything [...] /src/sys/netinet6/in6_rmx.c:337: error: 'rtq_timeout6' undeclared (first use in this function) /src/sys/netinet6/in6_rmx.c:337: error: (Each undeclared identifier is reported only once /src/sys/netinet6/in6_rmx.c:337: error: for each function it appears in.) /src/sys/netinet6/in6_rmx.c:373: error: 'rtq' undeclared (first use in this function) /src/sys/netinet6/in6_rmx.c:373: error: 'timer6' undeclared (first use in this function) /src/sys/netinet6/in6_rmx.c: In function 'in6_inithead': /src/sys/netinet6/in6_rmx.c:472: error: 'rtq' undeclared (first use in this function) /src/sys/netinet6/in6_rmx.c:472: error: 'timer6' undeclared (first use in this function) *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-29 02:41:04 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-29 02:41:04 - ERROR: failed to build lint kernel TB --- 2008-06-29 02:41:04 - tinderbox aborted TB --- 3325.43 user 397.12 system 4473.12 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sun Jun 29 08:04:55 2008 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F3EC1065670; Sun, 29 Jun 2008 08:04:55 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 363F98FC13; Sun, 29 Jun 2008 08:04:55 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m5T84qYU009882; Sun, 29 Jun 2008 04:04:52 -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.14.2/8.14.2) with ESMTP id m5T84qfl035057; Sun, 29 Jun 2008 04:04:52 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 3B4DA73039; Sun, 29 Jun 2008 04:04:52 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080629080452.3B4DA73039@freebsd-current.sentex.ca> Date: Sun, 29 Jun 2008 04:04:52 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93/7040/Mon May 5 21:52:15 2008 clamav-milter version 0.93 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2008 08:04:55 -0000 TB --- 2008-06-29 06:50:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-06-29 06:50:00 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2008-06-29 06:50:02 - cleaning the object tree TB --- 2008-06-29 06:50:22 - cvsupping the source tree TB --- 2008-06-29 06:50:22 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2008-06-29 06:50:29 - building world (CFLAGS=-O -pipe) TB --- 2008-06-29 06:50:29 - cd /src TB --- 2008-06-29 06:50:29 - /usr/bin/make -B buildworld >>> World build started on Sun Jun 29 06:50:31 UTC 2008 >>> 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 >>> World build completed on Sun Jun 29 07:58:36 UTC 2008 TB --- 2008-06-29 07:58:36 - generating LINT kernel config TB --- 2008-06-29 07:58:36 - cd /src/sys/powerpc/conf TB --- 2008-06-29 07:58:36 - /usr/bin/make -B LINT TB --- 2008-06-29 07:58:36 - building LINT kernel (COPTFLAGS=) TB --- 2008-06-29 07:58:36 - cd /src TB --- 2008-06-29 07:58:36 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jun 29 07:58:36 UTC 2008 >>> 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 >>> stage 3.2: building everything [...] ${NORMAL_CTFCONVERT} expands to empty string cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/netinet6/ip6_output.c ${NORMAL_CTFCONVERT} expands to empty string cc -c -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -fstack-protector -Werror /src/sys/netinet6/ip6_ipsec.c /src/sys/netinet6/ip6_ipsec.c: In function 'ip6_ipsec_fwd': /src/sys/netinet6/ip6_ipsec.c:131: error: 'ip6stat' undeclared (first use in this function) /src/sys/netinet6/ip6_ipsec.c:131: error: (Each undeclared identifier is reported only once /src/sys/netinet6/ip6_ipsec.c:131: error: for each function it appears in.) *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2008-06-29 08:04:51 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-06-29 08:04:51 - ERROR: failed to build lint kernel TB --- 2008-06-29 08:04:51 - tinderbox aborted TB --- 3332.37 user 394.81 system 4490.05 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sun Jun 29 19:46:00 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 034331065674 for ; Sun, 29 Jun 2008 19:46:00 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 7CB8B8FC0A for ; Sun, 29 Jun 2008 19:45:59 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so774541fgb.35 for ; Sun, 29 Jun 2008 12:45:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=kJ0217nv6FS/uWNPmI5B1cFe8lXqsen1ExSEmAVi8PE=; b=qIwITSNZ1kCOeixyTT5rSAlDO2d16PFfcz7Z0kBHrA/qk0Wxj66dAKRwkIdMRXycal dMhsArfoPPylOBWhzqMSrXz9DGYMQdGzBWpxBV9EhFEqmtAfeEFOxY4hi0QP4sE8C0ex OGGFSypVmV+crRPtt1YJsnwmo9usiaVHUSkKU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Jfts9ntmmyvtb7tc28JKmIYwBPvWDWgIA53p8/j+iiT3eZawHb+GnugqAHH40OLTfI JSmT9I3CsrNvMBqjKZkjFpXf8MP91uVosgDzui61ED4nuzDLooykwitnQLAZdK7cDlme hz06/QfvHfx1ym/GDL+5Q998xYKq9nlmrPg98= Received: by 10.86.36.11 with SMTP id j11mr5171551fgj.7.1214768756228; Sun, 29 Jun 2008 12:45:56 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Sun, 29 Jun 2008 12:45:56 -0700 (PDT) Message-ID: <7d6fde3d0806291245p7f5d834ek3c73ef6f89fe5097@mail.gmail.com> Date: Sun, 29 Jun 2008 12:45:56 -0700 From: "Garrett Cooper" To: "Niels S. Eliasen" In-Reply-To: <2A5B5D76-9EF9-4EFA-A589-D614B94D63FB@delfi-konsult.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <486511F1.60306@freebsd.org> <7d6fde3d0806270921u7a8e6342ucb525f65033d1f6f@mail.gmail.com> <2A5B5D76-9EF9-4EFA-A589-D614B94D63FB@delfi-konsult.com> Cc: freebsd-ppc@freebsd.org Subject: Re: pdisk, ofctl and yaboot 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: Sun, 29 Jun 2008 19:46:00 -0000 On Sun, Jun 29, 2008 at 11:59 AM, Niels S. Eliasen wrote: > Hi Garrett > perhaps I'm, daft... don't answer! ;-) > but that snippet code of yours.... How do I incorporate this into the code > for grub ?? > (you have probably guessed by now... that I am not very well versed in C...) > > Den 27/06/2008 kl. 18.21 skrev Garrett Cooper: > >> On Fri, Jun 27, 2008 at 9:14 AM, Peter Grehan wrote: >>>> >>>> 3. Anyone that knows how to integrate the Open Firmware parameters for >>>> FreeBSD with yaboot ? >>> >>> At one point the loader's load address conflicted with yaboot. This may >>> not >>> be the case anymore - it's been a very long time since I looked at it. >>> But >>> in theory the loader could be booted from yaboot. >>> >>>> If only FreeBSD, NetBSD and OpenBSD (all macppc) could agree upon how to >>>> integrate with yaboot... alternatively find one unified boot-sequence... >>>> life would be so much easier .... >> >> IIRC yaboot was being deprecated for Grub 2.x. There are some >> outstanding bugs (I found) with how yaboot parses secondary cd drives >> and the like that I was going to debug and fix a while back, but I got >> caught up with other things... >> I'd definitely compile the last stable and work from that though >> because there are a few new helpful features for booting from >> non-standard locations for yaboot.conf files. >> Cheers, >> -Garrett > > kind regards > > nse That'll either have to be patched in or included as separate source (with CFLAGS += -D_GNU_COMPAT). I'll checkout grub2 once I get my Macbook back (Tuesday-ish) and see if I can make sure that getline functions properly under FreeBSD and Linux. I modified the source to now include getdelims(3) (simple modification). Cheers, -Garrett /* * Licensed under New BSD [3-clause] License available in FreeBSD. * * Author: Garrett Cooper * Email: gcooper [at {SpamFree}] freebsd [dot] org * Date: June 28, 2008 * */ #include /* For INT_MAX */ #include /* For everything stdio (fgetc, etc). */ #include /* malloc, free, and the usual memory suspects. */ #include /* For ssize_t */ /* * Analog to _GNU_SOURCE -- do this to avoid confusing autoconf / * automake (I'm sure they have * some sort of getline() detection scheme), until it can be verified * that this is fully compatible and * doesn't accidentally break existing functionality. */ #if _GNU_COMPAT #define DEFAULT_LINES 256 #define DEFAULT_LINES_INC 16 #define MAX_LINE_SIZE INT_MAX ssize_t getline(char **, size_t*, FILE*); ssize_t getdelims(char **, size_t*, int, FILE*); /* * XXX: WRITE PROPER COMMENTS HERE. */ ssize_t getline(char **linep, size_t *n, FILE *fp) { return getdelims(linep, n, (int) '\0', fp); } /* * @name getdelims * * @desc Gets a line up to a char delimited by delim or a '\0' terminator. * * @param **linep - array of char** to use as placeholder for read line. NULL * terminated. If NULL, will allocate DEFAULT_LINES+1 via * calloc(). * @param *n - Number of chars requested to be read, then is replaced with. * @param delim - Delimiter to break lines with. * @param *fp - file descriptor to read. * * @pre *fp != NULL * * @ret ssize_t == length of str on success. * @ret ssize_t == -1 for error * * @todo Fix Doxygen comments =). * @todo Check compatibility with GNU getline(). * */ ssize_t getdelims(char **linep, size_t *n, int delim, FILE *fp) { char *line_tmp; /* Index in line_tmp */ int idx; /* Assume FAIL until proven otherwise. */ int ret_code = -1; if (n == NULL) goto done; /* XXX: *n = 0 => GNU getline compat? */ *n = 0; /* fp cannot be NULL (segfault prone). */ if (fp == NULL) goto done; line_tmp = (char*) malloc(MAX_LINE_SIZE+1); idx = 0; /* * Grab each char until a newline's encountered or '/0'. * * XXX: Tune the while conditional so that realloc's are done as necessary? */ do { ch = fgetc(fp); if (ch == '\0' || ch != (char) delim) break; *(line_tmp+idx) = ch; idx++; } while (idx < MAX_LINE_SIZE); /* Include newline */ if (ch == '\n') { *(line_tmp+idx) = '\n' idx++; } *(line_tmp+idx) = '\0'; /* * malloc a new char** area for linep because it's NULL. Make sure * that there are +1 lines so a NULL can be stored there. */ if (linep == NULL) { linep = (char**) calloc(DEFAULT_LINES+1,*sizeof(char**)); if (linep == NULL) goto done; } /* * Increment size of linep, because we've potentially run out of play space. * * XXX: Tune to not increment in specific cases, lest we _will_ run * out of memory? */ else { linep = (char**) realloc(linep, (DEFAULT_LINES_INC+1)*sizeof(char**)+sizeof(linep)); /* NULL terminate linep */ *(linep+sizeof(linep)) = NULL; } size_t n_new = sizeof(line_tmp); /* Don't do jack if line_tmp has 0-length. */ if (1 < n_new) { /* Allocate a new char* for *linep because it's NULL. */ if (*linep == NULL) { *linep = (char*) malloc(n_new); } /* Resize *linep to meet line_tmp's size. */ else if (*n != sizeof(line_tmp)) { *linep = (char*) realloc(*linep, n_new); } /* Avoid NULL deref (segfault). */ if (*linep == NULL) goto done; /* Copy string */ strcpy(*linep, line_tmp); *n = n_new; /* Done! */ ret_code = strlen(*linep); } done: /* cleanup temporary vars */ if (line_tmp != NULL) free(line_tmp); /* end cleanup */ return ret_code; } #endif From owner-freebsd-ppc@FreeBSD.ORG Mon Jun 30 11:03:22 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FCA21065674 for ; Mon, 30 Jun 2008 11:03:22 +0000 (UTC) (envelope-from nse@delfi-konsult.com) Received: from perseus.delfi-konsult.com (smtp.delfi-konsult.com [87.58.191.122]) by mx1.freebsd.org (Postfix) with ESMTP id 4F1118FC3E for ; Mon, 30 Jun 2008 11:03:21 +0000 (UTC) (envelope-from nse@delfi-konsult.com) Received: from [127.0.0.1] (localhost [127.0.0.1]) by perseus.delfi-konsult.com (Postfix) with ESMTP id EBF765D8FB for ; Mon, 30 Jun 2008 13:03:19 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <30B8AD5B-2B20-4CC5-A014-6FAAC563DBC0@delfi-konsult.com> Content-Transfer-Encoding: 7bit From: "Niels S. Eliasen" X-Custom-Header: Yo! this is my X-Face Date: Mon, 30 Jun 2008 13:03:17 +0200 To: freebsd-ppc@freebsd.org X-Mailer: Apple Mail (2.753.1) Subject: eeprom and ofwdump question.... 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, 30 Jun 2008 11:03:22 -0000 using the "eeprom -a" and "ofwdump -a" I get the following output ... > eeprom: could not open /dev/openfirm: No such file or directory > ofwdump: could not open /dev/openfirm: No such file or directory > What needs to be done to both get the OpenFirmware listed, and (hopefully) me able to write back to OpenFirmware ? (Besides this a TiBook 400Mhz ) kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett From owner-freebsd-ppc@FreeBSD.ORG Mon Jun 30 11:07:03 2008 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67FC11065701 for ; Mon, 30 Jun 2008 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3AD6A8FC0C for ; Mon, 30 Jun 2008 11:07:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5UB726w095844 for ; Mon, 30 Jun 2008 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5UB71wf095840 for freebsd-ppc@FreeBSD.org; Mon, 30 Jun 2008 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Jun 2008 11:07:01 GMT Message-Id: <200806301107.m5UB71wf095840@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org 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, 30 Jun 2008 11:07:03 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o power/93203 ppc FreeBSD PPC Can't Write to Partitions. a power/121407 ppc [panic] Won't boot up; strange error message. 2 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/112435 ppc [nexus] [patch] Update nexus children to use ofw_bus f 2 problems total. From owner-freebsd-ppc@FreeBSD.ORG Mon Jun 30 13:36:35 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF2F21065674 for ; Mon, 30 Jun 2008 13:36:35 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7224A8FC1D for ; Mon, 30 Jun 2008 13:36:35 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTP id 3813611E38; Mon, 30 Jun 2008 23:35:46 +1000 (EST) Received: (from dommail.onthenet.com.au [198.202.202.19]) by dommail.onthenet.com.au (MOS 3.8.6-GA) with HTTP/1.1 id ECB77457 (AUTH peterg@ptree32.com.au); Mon, 30 Jun 2008 23:35:53 +1000 (EST) From: Peter Grehan To: "Niels S. Eliasen" X-Mailer: Mirapoint Webmail Direct 3.8.6-GA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20080630233553.ECB77457@dommail.onthenet.com.au> Date: Mon, 30 Jun 2008 23:35:53 +1000 (EST) Cc: freebsd-ppc@freebsd.org Subject: Re: eeprom and ofwdump question.... 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, 30 Jun 2008 13:36:35 -0000 Hi Niels, Owed you an answer on this one: >using the "eeprom -a" and "ofwdump -a" I get the following output ... > >> eeprom: could not open /dev/openfirm: No such file or directory >> ofwdump: could not open /dev/openfirm: No such file or directory >> > > >What needs to be done to both get the OpenFirmware listed, and >(hopefully) me able to write back to OpenFirmware ? > >(Besides this a TiBook 400Mhz ) The change to support this went into rev 1.73 of sys/conf/files.powerpc. Revision 1.72: download - view: text, markup, annotated - select for diffs Thu Jan 31 01:57:33 2008 UTC (4 months, 4 weeks ago) by grehan Branches: MAIN Diff to: previous 1.71: preferred, colored Changes since revision 1.71: +1 -0 lines Enable ofwdump on powerpc (finally). Tested on G3 & G4 machines. It's in CURRENT, and should probably be MFC'd to RELENG_7. You will have to manually patch it in 7.0. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Fri Jul 4 22:15:02 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C6C5106568A for ; Fri, 4 Jul 2008 22:15:02 +0000 (UTC) (envelope-from nse@delfi-konsult.com) Received: from perseus.delfi-konsult.com (smtp.delfi-konsult.com [87.58.191.122]) by mx1.freebsd.org (Postfix) with ESMTP id C78008FC0A for ; Fri, 4 Jul 2008 22:15:01 +0000 (UTC) (envelope-from nse@delfi-konsult.com) Received: from [127.0.0.1] (localhost [127.0.0.1]) by perseus.delfi-konsult.com (Postfix) with ESMTP id DE8365D8FB for ; Sat, 5 Jul 2008 00:14:59 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <07568EF6-EC74-4639-AA7F-8839F4B38A8B@delfi-konsult.com> Content-Transfer-Encoding: 7bit From: "Niels S. Eliasen" X-Custom-Header: Yo! this is my X-Face Date: Sat, 5 Jul 2008 00:14:56 +0200 To: freebsd-ppc@freebsd.org X-Mailer: Apple Mail (2.753.1) Subject: Linkin problem when trying to compile "gnash" 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: Fri, 04 Jul 2008 22:15:02 -0000 Hi guys Trying to compile(and install) gnash I get an error while trying to compile the "x264" package which gnash is dependent upon .... ===> Building for x264-0.0.20080409_2 cc -o x264 x264.o matroska.o muxers.o libx264.a -L/usr/local/lib -L/ usr/local/lib -L/usr/X11R6/lib -lX11 -lm -pthread -lgpac -Wl,- Bsymbolic -s libx264.a(common.o)(.text+0xfb8): In function `x264_param_default': : undefined reference to `x264_cpu_detect' libx264.a(common.o)(.text+0x1774): In function `x264_param_parse': : undefined reference to `x264_cpu_detect' libx264.a(mc.o)(.text+0x1c9c): In function `x264_mc_init': : undefined reference to `x264_mc_altivec_init' libx264.a(predict.o)(.text+0x3580): In function `x264_predict_16x16_init': : undefined reference to `x264_predict_16x16_init_altivec' libx264.a(pixel.o)(.text+0x6cc0): In function `x264_pixel_init': : undefined reference to `x264_pixel_altivec_init' libx264.a(frame.o)(.got2+0x20): undefined reference to `x264_deblock_v_luma_altivec' libx264.a(frame.o)(.got2+0x24): undefined reference to `x264_deblock_h_luma_altivec' libx264.a(dct.o)(.got2+0x34): undefined reference to `x264_sub4x4_dct_altivec' libx264.a(dct.o)(.got2+0x38): undefined reference to `x264_sub8x8_dct_altivec' libx264.a(dct.o)(.got2+0x3c): undefined reference to `x264_sub16x16_dct_altivec' libx264.a(dct.o)(.got2+0x40): undefined reference to `x264_add4x4_idct_altivec' libx264.a(dct.o)(.got2+0x44): undefined reference to `x264_add8x8_idct_altivec' libx264.a(dct.o)(.got2+0x48): undefined reference to `x264_add16x16_idct_altivec' libx264.a(dct.o)(.got2+0x4c): undefined reference to `x264_sub8x8_dct8_altivec' libx264.a(dct.o)(.got2+0x50): undefined reference to `x264_sub16x16_dct8_altivec' libx264.a(dct.o)(.got2+0x54): undefined reference to `x264_add8x8_idct8_altivec' libx264.a(dct.o)(.got2+0x58): undefined reference to `x264_add16x16_idct8_altivec' libx264.a(dct.o)(.got2+0x74): undefined reference to `x264_zigzag_scan_4x4_field_altivec' libx264.a(dct.o)(.got2+0x84): undefined reference to `x264_zigzag_scan_4x4_frame_altivec' libx264.a(quant.o)(.got2+0x18): undefined reference to `x264_quant_2x2_dc_altivec' libx264.a(quant.o)(.got2+0x1c): undefined reference to `x264_quant_4x4_dc_altivec' libx264.a(quant.o)(.got2+0x20): undefined reference to `x264_quant_4x4_altivec' libx264.a(quant.o)(.got2+0x24): undefined reference to `x264_quant_8x8_altivec' libx264.a(quant.o)(.got2+0x28): undefined reference to `x264_dequant_4x4_altivec' libx264.a(quant.o)(.got2+0x2c): undefined reference to `x264_dequant_8x8_altivec' gmake: *** [x264] Error 1 *** Error code 2 Stop in /usr/ports/multimedia/x264. *** Error code 1 Stop in /usr/ports/multimedia/x264. anyone knows how to fix this ? kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett