From owner-freebsd-ppc@FreeBSD.ORG Sun Sep 20 20:54:09 2009 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 4AEC4106566B for ; Sun, 20 Sep 2009 20:54:09 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id C770C8FC16 for ; Sun, 20 Sep 2009 20:54:08 +0000 (UTC) Received: from deuterium.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id n8KKs6SY044721 for ; Sun, 20 Sep 2009 22:54:07 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <4AB6966E.60808@fgznet.ch> Date: Sun, 20 Sep 2009 22:54:06 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: thunderbird port 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, 20 Sep 2009 20:54:09 -0000 Hi all, in case someone is interested.... http://lists.freebsd.org/pipermail/freebsd-gecko/2009-September/000341.html Thanks, Andreas From owner-freebsd-ppc@FreeBSD.ORG Mon Sep 21 11:07:02 2009 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 30DF41065694 for ; Mon, 21 Sep 2009 11:07:02 +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 1F3A68FC2A for ; Mon, 21 Sep 2009 11:07:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8LB72Db030384 for ; Mon, 21 Sep 2009 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8LB71VB030379 for freebsd-ppc@FreeBSD.org; Mon, 21 Sep 2009 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Sep 2009 11:07:01 GMT Message-Id: <200909211107.n8LB71VB030379@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, 21 Sep 2009 11:07:02 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] Sound stutter after switching ttys o power/133383 ppc firefox thr_kill crash with heavy vm load o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer a power/121407 ppc [panic] Won't boot up; strange error message. o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 8 problems total. From owner-freebsd-ppc@FreeBSD.ORG Mon Sep 21 11:13:36 2009 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 C49F310656A4; Mon, 21 Sep 2009 11:13:36 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 752048FC18; Mon, 21 Sep 2009 11:13:36 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id n8LBDZtN066695; Mon, 21 Sep 2009 07:13:35 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id n8LBDZCI066682; Mon, 21 Sep 2009 11:13:35 GMT (envelope-from tinderbox@freebsd.org) Date: Mon, 21 Sep 2009 11:13:35 GMT Message-Id: <200909211113.n8LBDZCI066682@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk 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: Mon, 21 Sep 2009 11:13:36 -0000 TB --- 2009-09-21 09:58:13 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-09-21 09:58:13 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-09-21 09:58:13 - cleaning the object tree TB --- 2009-09-21 09:58:40 - cvsupping the source tree TB --- 2009-09-21 09:58:40 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-09-21 09:59:34 - building world TB --- 2009-09-21 09:59:34 - MAKEOBJDIRPREFIX=/obj TB --- 2009-09-21 09:59:34 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-09-21 09:59:34 - TARGET=powerpc TB --- 2009-09-21 09:59:34 - TARGET_ARCH=powerpc TB --- 2009-09-21 09:59:34 - TZ=UTC TB --- 2009-09-21 09:59:34 - __MAKE_CONF=/dev/null TB --- 2009-09-21 09:59:34 - cd /src TB --- 2009-09-21 09:59:34 - /usr/bin/make -B buildworld >>> World build started on Mon Sep 21 09:59:35 UTC 2009 >>> 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 Mon Sep 21 11:13:23 UTC 2009 TB --- 2009-09-21 11:13:23 - generating LINT kernel config TB --- 2009-09-21 11:13:23 - cd /src/sys/powerpc/conf TB --- 2009-09-21 11:13:23 - /usr/bin/make -B LINT TB --- 2009-09-21 11:13:23 - building LINT kernel TB --- 2009-09-21 11:13:23 - MAKEOBJDIRPREFIX=/obj TB --- 2009-09-21 11:13:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-09-21 11:13:23 - TARGET=powerpc TB --- 2009-09-21 11:13:23 - TARGET_ARCH=powerpc TB --- 2009-09-21 11:13:23 - TZ=UTC TB --- 2009-09-21 11:13:23 - __MAKE_CONF=/dev/null TB --- 2009-09-21 11:13:23 - cd /src TB --- 2009-09-21 11:13:23 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon Sep 21 11:13:23 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree [...] rm -f @ machine rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> wlan_xauth (cleandir) rm -f export_syms wlan_xauth.ko wlan_xauth.kld ieee80211_xauth.o opt_wlan.h rm -f @ machine rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> x86bios (cleandir) cd: can't cd to /src/sys/modules/x86bios *** Error code 2 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-09-21 11:13:35 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-09-21 11:13:35 - ERROR: failed to build lint kernel TB --- 2009-09-21 11:13:35 - 2760.70 user 403.52 system 4521.91 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Mon Sep 21 19:30:02 2009 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 315DF106566B; Mon, 21 Sep 2009 19:30:02 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id C34158FC1E; Mon, 21 Sep 2009 19:30:01 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id n8LJU0Vb022579; Mon, 21 Sep 2009 15:30:00 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id n8LJU0eI022552; Mon, 21 Sep 2009 19:30:00 GMT (envelope-from tinderbox@freebsd.org) Date: Mon, 21 Sep 2009 19:30:00 GMT Message-Id: <200909211930.n8LJU0eI022552@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk 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: Mon, 21 Sep 2009 19:30:02 -0000 TB --- 2009-09-21 18:08:06 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-09-21 18:08:06 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-09-21 18:08:06 - cleaning the object tree TB --- 2009-09-21 18:08:21 - cvsupping the source tree TB --- 2009-09-21 18:08:21 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-09-21 18:09:07 - building world TB --- 2009-09-21 18:09:07 - MAKEOBJDIRPREFIX=/obj TB --- 2009-09-21 18:09:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-09-21 18:09:07 - TARGET=powerpc TB --- 2009-09-21 18:09:07 - TARGET_ARCH=powerpc TB --- 2009-09-21 18:09:07 - TZ=UTC TB --- 2009-09-21 18:09:07 - __MAKE_CONF=/dev/null TB --- 2009-09-21 18:09:07 - cd /src TB --- 2009-09-21 18:09:07 - /usr/bin/make -B buildworld >>> World build started on Mon Sep 21 18:09:08 UTC 2009 >>> 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 Mon Sep 21 19:18:44 UTC 2009 TB --- 2009-09-21 19:18:44 - generating LINT kernel config TB --- 2009-09-21 19:18:44 - cd /src/sys/powerpc/conf TB --- 2009-09-21 19:18:44 - /usr/bin/make -B LINT TB --- 2009-09-21 19:18:45 - building LINT kernel TB --- 2009-09-21 19:18:45 - MAKEOBJDIRPREFIX=/obj TB --- 2009-09-21 19:18:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-09-21 19:18:45 - TARGET=powerpc TB --- 2009-09-21 19:18:45 - TARGET_ARCH=powerpc TB --- 2009-09-21 19:18:45 - TZ=UTC TB --- 2009-09-21 19:18:45 - __MAKE_CONF=/dev/null TB --- 2009-09-21 19:18:45 - cd /src TB --- 2009-09-21 19:18:45 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon Sep 21 19:18:45 UTC 2009 >>> 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/dev/x86bios/x86bios.c:80: warning: nested extern declaration of 'outw' /src/sys/dev/x86bios/x86bios.c: In function 'vm86_emu_outl': /src/sys/dev/x86bios/x86bios.c:88: warning: implicit declaration of function 'outl' /src/sys/dev/x86bios/x86bios.c:88: warning: nested extern declaration of 'outl' /src/sys/dev/x86bios/x86bios.c: In function 'x86bios_init': /src/sys/dev/x86bios/x86bios.c:158: warning: implicit declaration of function 'pmap_mapbios' /src/sys/dev/x86bios/x86bios.c:158: warning: nested extern declaration of 'pmap_mapbios' /src/sys/dev/x86bios/x86bios.c:158: warning: assignment makes pointer from integer without a cast *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-09-21 19:30:00 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-09-21 19:30:00 - ERROR: failed to build lint kernel TB --- 2009-09-21 19:30:00 - 3311.39 user 460.29 system 4913.95 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Wed Sep 23 15:41:22 2009 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 4A04D1065676 for ; Wed, 23 Sep 2009 15:41:22 +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 D81B08FC22 for ; Wed, 23 Sep 2009 15:41:21 +0000 (UTC) Received: from dtony-lxp.hq.netapp.com (c-71-237-65-109.hsd1.co.comcast.net [71.237.65.109]) by dommail.onthenet.com.au (MOS 4.1.6-GA) with ESMTP id ACX41066 (AUTH peterg@ptree32.com.au); Thu, 24 Sep 2009 01:40:19 +1000 Message-ID: <4ABA415F.9060800@freebsd.org> Date: Wed, 23 Sep 2009 09:40:15 -0600 From: Peter Grehan User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Andreas Tobler References: <4AB6966E.60808@fgznet.ch> In-Reply-To: <4AB6966E.60808@fgznet.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML Subject: Re: thunderbird port 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: Wed, 23 Sep 2009 15:41:22 -0000 > in case someone is interested.... Certainly am ! I'll give it a try. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Wed Sep 23 21:05:02 2009 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 62802106566B for ; Wed, 23 Sep 2009 21:05:02 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id DAADA8FC0C for ; Wed, 23 Sep 2009 21:05:01 +0000 (UTC) Received: from deuterium.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id n8NL4xQ2098632; Wed, 23 Sep 2009 23:04:59 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <4ABA8D7B.8070706@fgznet.ch> Date: Wed, 23 Sep 2009 23:04:59 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Peter Grehan References: <4AB6966E.60808@fgznet.ch> <4ABA415F.9060800@freebsd.org> In-Reply-To: <4ABA415F.9060800@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML Subject: Re: thunderbird port 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: Wed, 23 Sep 2009 21:05:02 -0000 Hi Peter, Peter Grehan wrote: >> in case someone is interested.... > > Certainly am ! I'll give it a try. Please follow the thread, http://lists.freebsd.org/pipermail/freebsd-gecko/2009-September/000350.html The bsd.gecko.mk is not needed for this build if you apply the above patch to the toplevel Makefile in thunderbird. Btw, firefox35 should also build and run. Already committed to ports by beat. Thanks, Andreas From owner-freebsd-ppc@FreeBSD.ORG Fri Sep 25 13:07:03 2009 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 1B65010656A3 for ; Fri, 25 Sep 2009 13:07:03 +0000 (UTC) (envelope-from ross@grinz.com) Received: from mail.boomhaus.com (emerson.grinz.com [64.219.233.251]) by mx1.freebsd.org (Postfix) with ESMTP id CD1F18FC25 for ; Fri, 25 Sep 2009 13:07:02 +0000 (UTC) Received: from [192.168.2.2] (cpe-66-25-201-82.sw.res.rr.com [66.25.201.82]) by mail.boomhaus.com (Postfix) with ESMTPSA id 260F1E8C5 for ; Fri, 25 Sep 2009 07:38:05 -0500 (CDT) Message-ID: <4ABCBCBC.30309@grinz.com> Date: Fri, 25 Sep 2009 07:51:08 -0500 From: Ross Gohlke User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707) MIME-Version: 1.0 To: FreeBSD PowerPC References: <48DD91A4.2060306@freebsd.org> <491B18F3.4010900@grinz.com> In-Reply-To: <491B18F3.4010900@grinz.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: OpenFirmware settings on running system 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, 25 Sep 2009 13:07:03 -0000 It's time for my annual attempt at a working SMP Xserve. (http://lists.freebsd.org/pipermail/freebsd-ppc/2008-November/003362.html) So far so good: % dmesg ... FreeBSD 8.0-BETA2 #0: Sun Sep 20 19:58:58 CDT 2009 root@rorty:/usr/obj/usr/src/sys/GENERIC_TUNED cpu0: Motorola PowerPC 7455 revision 2.1, 1000.06 MHz cpu0: HID0 8450c0bc real memory = 2135805952 (2036 MB) avail memory = 2068119552 (1972 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0: dev=ff87f908 (BSP) cpu1: dev=ff880bc8 ... I have a boot-ready mirror on the second drive. I would like to be able to change Open Firmware's boot-device setting while the system is running. % nvram -p nvram: /dev/powermac_nvram: No such file or directory I do have a custom kernel, but powermac_nvram is defined in GENERIC, and I did not override it. Here are my kernel configurations. ## /usr/src/sys/powerpc/conf/GENERIC_TUNED include GENERIC ident GENERIC_TUNED include GENERIC_STRIPPED include NOTES_STRIPPED include PF maxusers 256 options SMP # Symmetric MultiProcessor Kernel options EXT2FS # ext2/3fs ## /usr/src/sys/powerpc/conf/GENERIC (unedited) ... device powermac_nvram # Open Firmware configuration NVRAM ... ## /usr/src/sys/powerpc/conf/GENERIC_STRIPPED (only contains overrides of GENERIC) nomakeoptions DEBUG #Build kernel with gdb(1) debug symbols nooptions KTRACE #ktrace(1) syscall trace support nooptions STACK #stack(9) support nooptions AUDIT # Security event auditing nooptions KDB #Enable the kernel debugger nooptions DDB #Support DDB nooptions INVARIANTS #Enable calls of extra sanity checking nooptions INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS nooptions WITNESS #Enable checks to detect deadlocks and cycles nooptions WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed nodevice atapifd # ATAPI floppy drives nodevice atapist # ATAPI tape drives nodevice sa # Sequential Access (tape etc) nodevice dc # DEC/Intel 21143 and various workalikes nodevice fxp # Intel EtherExpress PRO/100B (82557, 82558) nodevice ulpt # Printer nodevice urio # Diamond Rio 500 MP3 player nodevice aue # ADMtek USB Ethernet nodevice axe # ASIX Electronics USB Ethernet nodevice cdce # Generic USB over Ethernet nodevice cue # CATC USB Ethernet nodevice kue # Kawasaki LSI USB Ethernet nomakeoptions DEBUG #Build kernel with gdb(1) debug symbols nooptions KTRACE #ktrace(1) syscall trace support nooptions STACK #stack(9) support nooptions AUDIT # Security event auditing nooptions KDB #Enable the kernel debugger nooptions DDB #Support DDB nooptions INVARIANTS #Enable calls of extra sanity checking nooptions INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS nooptions WITNESS #Enable checks to detect deadlocks and cycles nooptions WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed nodevice atapifd # ATAPI floppy drives nodevice atapist # ATAPI tape drives nodevice sa # Sequential Access (tape etc) nodevice dc # DEC/Intel 21143 and various workalikes nodevice fxp # Intel EtherExpress PRO/100B (82557, 82558) nodevice ulpt # Printer nodevice urio # Diamond Rio 500 MP3 player nodevice aue # ADMtek USB Ethernet nodevice axe # ASIX Electronics USB Ethernet nodevice cdce # Generic USB over Ethernet nodevice cue # CATC USB Ethernet nodevice kue # Kawasaki LSI USB Ethernet ## /usr/src/sys/powerpc/conf/NOTES_STRIPPED nodevice fdc nodevice ppc nodevice splash # when splash works enable *_saver nodevice blank_saver nodevice daemon_saver nodevice dragon_saver nodevice fade_saver nodevice fire_saver nodevice green_saver nodevice logo_saver nodevice rain_saver nodevice snake_saver nodevice star_saver nodevice warp_saver nodevice daemon_saver nodevice star_saver nodevice snake_saver # isa nodevice pcii nodevice tnt4882 # sound nodevice snd_cmi # wants gdb_cur nooption PPC_DEBUG nooption PPC_PROBE_CHIPSET nooption SC_NO_MODE_CHANGE nooption UKBD_DFLT_KEYMAP ## /usr/src/sys/powerpc/conf/PF device pf device pflog device pfsync options ALTQ options ALTQ_CBQ # Class Bases Queuing (CBQ) options ALTQ_RED # Random Early Detection (RED) options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) options ALTQ_PRIQ # Priority Queuing (PRIQ) #options ALTQ_NOPCC # Required for SMP build How can I edit OF boot-device setting while running? Great work! The system is running smooth and fast right now, though not doing much... yet. Thanks, Ross Gohlke From owner-freebsd-ppc@FreeBSD.ORG Sat Sep 26 15:20:02 2009 Return-Path: Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9A311065692 for ; Sat, 26 Sep 2009 15:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B6C6C8FC0C for ; Sat, 26 Sep 2009 15:20:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8QFK2Rf073291 for ; Sat, 26 Sep 2009 15:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8QFK28T073290; Sat, 26 Sep 2009 15:20:02 GMT (envelope-from gnats) Resent-Date: Sat, 26 Sep 2009 15:20:02 GMT Resent-Message-Id: <200909261520.n8QFK28T073290@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ppc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Justin Hibbits Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEE541065676 for ; Sat, 26 Sep 2009 15:14:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 9E2FA8FC19 for ; Sat, 26 Sep 2009 15:14:15 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8QFEFYg065304 for ; Sat, 26 Sep 2009 15:14:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n8QFEFGK065301; Sat, 26 Sep 2009 15:14:15 GMT (envelope-from nobody) Message-Id: <200909261514.n8QFEFGK065301@www.freebsd.org> Date: Sat, 26 Sep 2009 15:14:15 GMT From: Justin Hibbits To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: powerpc/139154: Patch for Altivec sysctl 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: Sat, 26 Sep 2009 15:20:03 -0000 >Number: 139154 >Category: powerpc >Synopsis: Patch for Altivec sysctl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ppc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 26 15:20:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Justin Hibbits >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD narn.knownspace 9.0-CURRENT FreeBSD 9.0-CURRENT #24 r197331M: Sun Sep 20 22:08:18 EDT 2009 root@narn.knownspace:/usr/obj/usr/src/sys/NARN powerpc >Description: The attached patch adds a 'machdep.altivec' sysctl, similar to OpenBSD's. This is necessary for ports that use altivec conditionally, including x264, the inspiration for this patch. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: powerpc/cpu.c =================================================================== --- powerpc/cpu.c (revision 197331) +++ powerpc/cpu.c (working copy) @@ -67,6 +67,7 @@ #include #include +#include #include #include #include @@ -110,7 +111,9 @@ }; static char model[64]; +static int ppc_altivec; SYSCTL_STRING(_hw, HW_MODEL, model, CTLFLAG_RD, model, 0, ""); +SYSCTL_INT(_machdep, CPU_ALTIVEC, altivec, CTLFLAG_RD, &ppc_altivec, 0, ""); register_t l2cr_config = 0; register_t l3cr_config = 0; @@ -288,6 +291,24 @@ break; } + switch (vers) { + case MPC7400: + case MPC7450: + case MPC7455: + case MPC7457: + case MPC7447A: + case MPC7448: + case MPC7410: + case IBM970: + case IBM970FX: + case IBM970MP: + case IBM970GX: + ppc_altivec=1; + break; + default: + ppc_altivec=0; + } + printf("cpu%d: HID0 %b\n", cpuid, hid0, bitmask); } Index: include/cpu.h =================================================================== --- include/cpu.h (revision 197331) +++ include/cpu.h (working copy) @@ -49,6 +49,7 @@ * CTL_MACHDEP definitions. */ #define CPU_CACHELINE 1 +#define CPU_ALTIVEC 2 static __inline u_int64_t get_cyclecount(void) >Release-Note: >Audit-Trail: >Unformatted: