From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 23 09:32:06 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 0CC82106564A for ; Mon, 23 Feb 2009 09:32:06 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id C308D8FC13 for ; Mon, 23 Feb 2009 09:32:05 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id n1N9W3Wc006044; Mon, 23 Feb 2009 02:32:04 -0700 Message-ID: <49A26D11.5070007@semihalf.com> Date: Mon, 23 Feb 2009 10:32:01 +0100 From: Rafal Jaworowski Organization: Semihalf MIME-Version: 1.0 To: Aleksey V Fedorov References: <49A02FBA.2010103@semihalf.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Crosscomliling world 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, 23 Feb 2009 09:32:06 -0000 Aleksey V Fedorov wrote: >>> How to crosscomlile world for MPC8548 target on amd64 host? >>> I have powerpc-binutils and powerpc-gcc installed in >>> /usr/local/bin/powerpc-elf-eabi >>> Is there standard method to make crossbuild? >> >> Hi Aleksey, >> The regular way is the following: >> >> make buildworld TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 >> >> (This creates cross toolchain at the beginning of the build process) >> >> If you'd like to use cross toolchain other than the in-tree one, you >> need to >> tweak makefiles to point to your tools. > > buildworld compliled ok. > But how to build kernel only? For example: > > # cd /usr/current/src/sys/powerpc/conf > # config MPC85XX > Kernel build directory is ../compile/MPC85XX > Don't forget to do ``make cleandepend && make depend'' > # cd ../compile/MPC85XX > # make depend TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 Hm, the old method of building kernel aparently does not work, please try: make buildkernel TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 KERNCONF=MPC85XX Rafal From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 23 09:45:59 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 E7B781065677 for ; Mon, 23 Feb 2009 09:45:59 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id AAEA58FC12 for ; Mon, 23 Feb 2009 09:45:59 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id n1N9jrVl008931; Mon, 23 Feb 2009 02:45:54 -0700 Message-ID: <49A2704F.4060703@semihalf.com> Date: Mon, 23 Feb 2009 10:45:51 +0100 From: Rafal Jaworowski Organization: Semihalf MIME-Version: 1.0 To: Aleksey V Fedorov References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: boot process 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, 23 Feb 2009 09:46:01 -0000 Aleksey V Fedorov wrote: > I have RouterBoard RB1000 with MPC8548. This board has it's own > RouterBoot loader instead of U-Boot. This loader load linux kernel OK: *snip* > but FreeBSD does'not start. > > RouterBOOT booter 2.14 > > RouterBoard 1000 > > CPU frequency: 1333 MHz > Memory size: 512 MB > > Press any key within 2 seconds to enter setup.. > trying bootp protocol.................. OK > Got IP address: 88.83.197.247 > resolved mac address 00:14:4F:EA:FE:C5 > Gateway: 88.83.197.193 > transfer started ................................... transfer ok, > time=273.98s > setting up elf image... OK > jumping to kernel code > > and silence.. > > What is required to boot FreeBSD kernel? Is it possible to make > intermediate elf loader which will setup U-boot environment for > regular boot? I want to keep RouterBoot loader unchanged. The MPC85XX kernel will not work out of the box in such a set-up. It assumes that FreeBSD loader(8), which is run on top of firmware, will pass metadata to it. There are two ways to get the kernel running in your environment: 1. Adjust loader(8) to run on your firmware (this requires that the firmware exposes some API for the external world); I'm not sure if RouterBOOT has anything like this. 2. Hack e500_init() routine in the kernel to hard code some config data it normally gets from loader, like physical RAM size, memory regions number etc., CCSR base address, CCB clock frequency, maybe something more, see e500_init() for details. Rafal From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 23 10:46:30 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 83BD2106566C for ; Mon, 23 Feb 2009 10:46:30 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1.vsi.ru (serv1.vsi.ru [80.82.32.12]) by mx1.freebsd.org (Postfix) with ESMTP id E1C028FC13 for ; Mon, 23 Feb 2009 10:46:29 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1 (serv1 [80.82.32.12]) by serv1.vsi.ru (8.13.8+Sun/8.13.8) with ESMTP id n1NAkRQF014184; Mon, 23 Feb 2009 13:46:27 +0300 (MSK) Date: Mon, 23 Feb 2009 13:46:27 +0300 (MSK) From: Aleksey V Fedorov X-X-Sender: alexf@serv1 To: Rafal Jaworowski In-Reply-To: <49A2704F.4060703@semihalf.com> Message-ID: References: <49A2704F.4060703@semihalf.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ppc@freebsd.org Subject: Re: boot process 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, 23 Feb 2009 10:46:30 -0000 On Mon, 23 Feb 2009, Rafal Jaworowski wrote: > 1. Adjust loader(8) to run on your firmware (this requires that the firmware > exposes some API for the external world); I'm not sure if RouterBOOT has > anything like this. I think it is possible to implement all required API inside loader(8) itself based on u-boot code. Firmware will only provide config data. > 2. Hack e500_init() routine in the kernel to hard code some config data it > normally gets from loader, like physical RAM size, memory regions number etc., > CCSR base address, CCB clock frequency, maybe something more, see e500_init() > for details. I will try. Thanks. -- From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 23 11:04:43 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 11DED1065670 for ; Mon, 23 Feb 2009 11:04:43 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1.vsi.ru (serv1.vsi.ru [80.82.32.12]) by mx1.freebsd.org (Postfix) with ESMTP id 89F068FC17 for ; Mon, 23 Feb 2009 11:04:42 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1 (serv1 [80.82.32.12]) by serv1.vsi.ru (8.13.8+Sun/8.13.8) with ESMTP id n1NB4fWu014664; Mon, 23 Feb 2009 14:04:41 +0300 (MSK) Date: Mon, 23 Feb 2009 14:04:40 +0300 (MSK) From: Aleksey V Fedorov X-X-Sender: alexf@serv1 To: Rafal Jaworowski In-Reply-To: <49A2704F.4060703@semihalf.com> Message-ID: References: <49A2704F.4060703@semihalf.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ppc@freebsd.org Subject: Re: boot process 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, 23 Feb 2009 11:04:43 -0000 On Mon, 23 Feb 2009, Rafal Jaworowski wrote: > 2. Hack e500_init() routine in the kernel to hard code some config data it > normally gets from loader, like physical RAM size, memory regions number etc., > CCSR base address, CCB clock frequency, maybe something more, see e500_init() > for details. I see that CCSRBAR address is hardcoded in vmparam.h /* * Kernel CCSRBAR location. We make this the reset location. */ #define CCSRBAR_VA 0xfef00000 #define CCSRBAR_SIZE 0x00100000 Who change them: loader(8) or U-boot ? In Linux dts it's on another address: # grep CCSRBAR *.dts mpc8540ads.dts: reg = ; // CCSRBAR 1M mpc8541cds.dts: reg = ; // CCSRBAR 1M mpc8544ds.dts: reg = ; // CCSRBAR 1M mpc8548cds.dts: reg = ; // CCSRBAR 1M mpc8555cds.dts: reg = ; // CCSRBAR 1M -- From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 23 11:06:57 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 B54791065723 for ; Mon, 23 Feb 2009 11:06:57 +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 A101C8FC25 for ; Mon, 23 Feb 2009 11:06:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1NB6vFg055607 for ; Mon, 23 Feb 2009 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1NB6vcN055603 for freebsd-ppc@FreeBSD.org; Mon, 23 Feb 2009 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 23 Feb 2009 11:06:57 GMT Message-Id: <200902231106.n1NB6vcN055603@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, 23 Feb 2009 11:06:58 -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/131548 ppc ofw_syscons no longer supports 32-bit framebuffer o power/131490 ppc www/seamonkey refuses to build (issue with sed(1) on p a power/121407 ppc [panic] Won't boot up; strange error message. o power/112435 ppc [nexus] [patch] Update nexus children to use ofw_bus f o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 6 problems total. From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 23 13:47:39 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 B3DF8106564A for ; Mon, 23 Feb 2009 13:47:39 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id 754378FC19 for ; Mon, 23 Feb 2009 13:47:39 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id n1NDlbqV000390; Mon, 23 Feb 2009 06:47:38 -0700 Message-ID: <49A2A8F7.3070708@semihalf.com> Date: Mon, 23 Feb 2009 14:47:35 +0100 From: Rafal Jaworowski Organization: Semihalf MIME-Version: 1.0 To: Aleksey V Fedorov References: <49A2704F.4060703@semihalf.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: boot process 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, 23 Feb 2009 13:47:39 -0000 Aleksey V Fedorov wrote: > On Mon, 23 Feb 2009, Rafal Jaworowski wrote: > >> 1. Adjust loader(8) to run on your firmware (this requires that the >> firmware >> exposes some API for the external world); I'm not sure if RouterBOOT has >> anything like this. > > I think it is possible to implement all required API inside loader(8) > itself based on u-boot code. Firmware will only provide config data. Note that loader+libstand are not self reliant. Certain elementary operations (put/get char, send/receive packet, read block etc.) have to be provided by the underlying firmware in a programmatic way for this to work, and the question is whether your firmware is capable of this. Rafal From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 23 14:02:24 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 D21FB106566C for ; Mon, 23 Feb 2009 14:02:24 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id 92F8F8FC17 for ; Mon, 23 Feb 2009 14:02:24 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id n1NE2M2J005851; Mon, 23 Feb 2009 07:02:23 -0700 Message-ID: <49A2AC6D.80208@semihalf.com> Date: Mon, 23 Feb 2009 15:02:21 +0100 From: Rafal Jaworowski Organization: Semihalf MIME-Version: 1.0 To: Aleksey V Fedorov References: <49A2704F.4060703@semihalf.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: boot process 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, 23 Feb 2009 14:02:25 -0000 Aleksey V Fedorov wrote: > On Mon, 23 Feb 2009, Rafal Jaworowski wrote: > >> 2. Hack e500_init() routine in the kernel to hard code some config >> data it >> normally gets from loader, like physical RAM size, memory regions >> number etc., >> CCSR base address, CCB clock frequency, maybe something more, see >> e500_init() >> for details. > > > I see that CCSRBAR address is hardcoded in vmparam.h > > /* > * Kernel CCSRBAR location. We make this the reset location. > */ > #define CCSRBAR_VA 0xfef00000 This is the final virtual address the CCSR region gets remapped to by the kernel initialization code. It shouldn't be altered unless you really need to lay out the virtual map differently. > #define CCSRBAR_SIZE 0x00100000 > > Who change them: loader(8) or U-boot ? > In Linux dts it's on another address: > > # grep CCSRBAR *.dts > mpc8540ads.dts: reg = ; // CCSRBAR 1M > mpc8541cds.dts: reg = ; // CCSRBAR 1M > mpc8544ds.dts: reg = ; // CCSRBAR 1M > mpc8548cds.dts: reg = ; // CCSRBAR 1M > mpc8555cds.dts: reg = ; // CCSRBAR 1M What you have to provide manually for the e500_init() routine is the initial location of the CCSR range, as left by the firmware at the time it passed control to the kernel; based on this the init code remaps it into the final CCSR location (above). I don't recall if DTS exposes exactly this initial setting or the final, you need to verify how it's used by the Linux code. Rafal From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 23 20:41:08 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 044AA10656F4 for ; Mon, 23 Feb 2009 20:41:08 +0000 (UTC) (envelope-from bigguy_40@yahoo.com) Received: from web33102.mail.mud.yahoo.com (web33102.mail.mud.yahoo.com [209.191.69.132]) by mx1.freebsd.org (Postfix) with SMTP id A19788FC16 for ; Mon, 23 Feb 2009 20:41:07 +0000 (UTC) (envelope-from bigguy_40@yahoo.com) Received: (qmail 83772 invoked by uid 60001); 23 Feb 2009 20:14:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=qUhoii9K69SMWX6D9eHc8uvnsruB7MQ7uLUTdlCaVmVlpuAPeSpJjCB9Zt8/ntkcuQsMUK8cSyhC1bz24JqL5NxHBTfA9GxLvS9DaEb77Jy1Rk+2/BZHc/TLQ7QlG3wdYCXXOhcdy1ZNkxWOOWx0nXkr3vUkfe+lelKbNYwMIyM=; X-YMail-OSG: HGUBO3UVM1kTOI5QFz7u8nSm7pk4Hlu4NYz1RQb7NQZJFe7deoJbt90fA78Raglvf9FSZoryb1affTatD7C3KSAEj1S5WraaB7ivPuZnoELilICfOrVPeMaFsEWCrf9WMiwZRWKBpSoWhnJfr1UZ1eaeiFgrUr5Pl0tKwJBNLA.KcLFxF3P81DAGJ9Z9 Received: from [69.207.144.186] by web33102.mail.mud.yahoo.com via HTTP; Mon, 23 Feb 2009 12:14:26 PST X-Mailer: YahooMailWebService/0.7.289.1 Date: Mon, 23 Feb 2009 12:14:26 -0800 (PST) From: "Chris \"Bigguy\"" To: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <815182.83744.qm@web33102.mail.mud.yahoo.com> X-Mailman-Approved-At: Mon, 23 Feb 2009 20:42:55 +0000 Subject: freebsd-ppc on Power Mac G4 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bigguy_40@yahoo.com List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 20:41:09 -0000 I'd like to know if there are any coders working on getting freebsd-ppc bootable on a Power Mac. There is an issue involving Open Firmware being incompatible with the default filesystem. I'd like to help as a tester, as I'm not smart enough to code. Equipment: Power Mac G4 Digital Audio 533 MHz 1.25G RAM - Chris; Rochester, New York From owner-freebsd-ppc@FreeBSD.ORG Tue Feb 24 00:09:13 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 5E3A8106564A; Tue, 24 Feb 2009 00:09:13 +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 1D4CB8FC18; Tue, 24 Feb 2009 00:09:12 +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.3/8.14.3) with ESMTP id n1O09AkS016027; Mon, 23 Feb 2009 19:09:10 -0500 (EST) (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.3/8.14.3) with ESMTP id n1O09A3i058563; Mon, 23 Feb 2009 19:09:10 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 959767302F; Mon, 23 Feb 2009 19:09:10 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090224000910.959767302F@freebsd-current.sentex.ca> Date: Mon, 23 Feb 2009 19:09:10 -0500 (EST) X-Virus-Scanned: ClamAV 0.94.1/8983/Thu Feb 12 07:48:01 2009 clamav-milter version 0.94.2 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: Tue, 24 Feb 2009 00:09:14 -0000 TB --- 2009-02-23 22:43:34 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-02-23 22:43:34 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-02-23 22:43:34 - cleaning the object tree TB --- 2009-02-23 22:44:04 - cvsupping the source tree TB --- 2009-02-23 22:44:04 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-02-23 22:44:23 - building world TB --- 2009-02-23 22:44:23 - MAKEOBJDIRPREFIX=/obj TB --- 2009-02-23 22:44:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-02-23 22:44:23 - TARGET=powerpc TB --- 2009-02-23 22:44:23 - TARGET_ARCH=powerpc TB --- 2009-02-23 22:44:23 - TZ=UTC TB --- 2009-02-23 22:44:23 - __MAKE_CONF=/dev/null TB --- 2009-02-23 22:44:23 - cd /src TB --- 2009-02-23 22:44:23 - /usr/bin/make -B buildworld >>> World build started on Mon Feb 23 22:44:25 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 Tue Feb 24 00:09:10 UTC 2009 TB --- 2009-02-24 00:09:10 - generating LINT kernel config TB --- 2009-02-24 00:09:10 - cd /src/sys/powerpc/conf TB --- 2009-02-24 00:09:10 - /usr/bin/make -B LINT TB --- 2009-02-24 00:09:10 - building LINT kernel TB --- 2009-02-24 00:09:10 - MAKEOBJDIRPREFIX=/obj TB --- 2009-02-24 00:09:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-02-24 00:09:10 - TARGET=powerpc TB --- 2009-02-24 00:09:10 - TARGET_ARCH=powerpc TB --- 2009-02-24 00:09:10 - TZ=UTC TB --- 2009-02-24 00:09:10 - __MAKE_CONF=/dev/null TB --- 2009-02-24 00:09:10 - cd /src TB --- 2009-02-24 00:09:10 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Feb 24 00:09:10 UTC 2009 >>> stage 1: configuring the kernel [...] WARNING: kernel contains GPL contaminated emu10k1 headers WARNING: kernel contains GPL contaminated emu10kx headers WARNING: kernel contains GPL contaminated emu10kx headers WARNING: kernel contains GPL contaminated emu10kx headers WARNING: kernel contains GPL contaminated maestro3 headers WARNING: kernel contains GPL contaminated ext2fs filesystem WARNING: kernel contains GPL contaminated ReiserFS filesystem WARNING: kernel contains GPL contaminated xfs filesystem *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-02-24 00:09:10 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-02-24 00:09:10 - ERROR: failed to build lint kernel TB --- 2009-02-24 00:09:10 - 4070.04 user 372.20 system 5135.78 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Tue Feb 24 09:52:54 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 061491065680; Tue, 24 Feb 2009 09:52:54 +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 C2DDB8FC1E; Tue, 24 Feb 2009 09:52:53 +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.3/8.14.3) with ESMTP id n1O9qpFj093323; Tue, 24 Feb 2009 04:52:52 -0500 (EST) (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.3/8.14.3) with ESMTP id n1O9qpUk022691; Tue, 24 Feb 2009 04:52:51 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 91E487302F; Tue, 24 Feb 2009 04:52:51 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090224095251.91E487302F@freebsd-current.sentex.ca> Date: Tue, 24 Feb 2009 04:52:51 -0500 (EST) X-Virus-Scanned: ClamAV 0.94.1/8983/Thu Feb 12 07:48:01 2009 clamav-milter version 0.94.2 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: Tue, 24 Feb 2009 09:52:54 -0000 TB --- 2009-02-24 08:09:08 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-02-24 08:09:08 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-02-24 08:09:08 - cleaning the object tree TB --- 2009-02-24 08:09:26 - cvsupping the source tree TB --- 2009-02-24 08:09:26 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-02-24 08:09:39 - building world TB --- 2009-02-24 08:09:39 - MAKEOBJDIRPREFIX=/obj TB --- 2009-02-24 08:09:39 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-02-24 08:09:39 - TARGET=powerpc TB --- 2009-02-24 08:09:39 - TARGET_ARCH=powerpc TB --- 2009-02-24 08:09:39 - TZ=UTC TB --- 2009-02-24 08:09:39 - __MAKE_CONF=/dev/null TB --- 2009-02-24 08:09:39 - cd /src TB --- 2009-02-24 08:09:39 - /usr/bin/make -B buildworld >>> World build started on Tue Feb 24 08:09:42 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 Tue Feb 24 09:36:12 UTC 2009 TB --- 2009-02-24 09:36:12 - generating LINT kernel config TB --- 2009-02-24 09:36:12 - cd /src/sys/powerpc/conf TB --- 2009-02-24 09:36:12 - /usr/bin/make -B LINT TB --- 2009-02-24 09:36:12 - building LINT kernel TB --- 2009-02-24 09:36:12 - MAKEOBJDIRPREFIX=/obj TB --- 2009-02-24 09:36:12 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-02-24 09:36:12 - TARGET=powerpc TB --- 2009-02-24 09:36:12 - TARGET_ARCH=powerpc TB --- 2009-02-24 09:36:12 - TZ=UTC TB --- 2009-02-24 09:36:12 - __MAKE_CONF=/dev/null TB --- 2009-02-24 09:36:12 - cd /src TB --- 2009-02-24 09:36:12 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Feb 24 09:36:12 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 [...] cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/src/sys/modules/ath/../../dev/ath -I/src/sys/modules/ath/../../dev/ath/ath_hal -DHAVE_KERNEL_OPTION_HEADERS -include /obj/powerpc/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mlongcall -fno-omit-frame-pointer -I/obj/powerpc/src/sys/LINT -msoft-float -mno-altivec -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /src/sys/modules/ath/../../dev/ath/ath_hal/ar5416/ar5416_cal_adcgain.c cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/src/sys/modules/ath/../../dev/ath -I/src/sys/modules/ath/../../dev/ath/ath_hal -DHAVE_KERNEL_OPTION_HEADERS -include /obj/powerpc/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mlongcall -fno-omit-frame-pointer -I/obj/powerpc/src/sys/LINT -msoft-float -mno-altivec -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /src/sys/modules/ath/../../dev/ath/ath_hal/ar5416/ar5416_cal_adcdc.c cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/src/sys/modules/ath/../../dev/ath -I/src/sys/modules/ath/../../dev/ath/ath_hal -DHAVE_KERNEL_OPTION_HEADERS -include /obj/powerpc/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mlongcall -fno-omit-frame-pointer -I/obj/powerpc/src/sys/LINT -msoft-float -mno-altivec -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /src/sys/modules/ath/../../dev/ath/ath_hal/ar5416/ar5416_eeprom.c cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/src/sys/modules/ath/../../dev/ath -I/src/sys/modules/ath/../../dev/ath/ath_hal -DHAVE_KERNEL_OPTION_HEADERS -include /obj/powerpc/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mlongcall -fno-omit-frame-pointer -I/obj/powerpc/src/sys/LINT -msoft-float -mno-altivec -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /src/sys/modules/ath/../../dev/ath/ath_hal/ar5416/ar5416_gpio.c /src/sys/modules/ath/../../dev/ath/ath_hal/ar5416/ar5416_gpio.c: In function 'ar5416GpioCfgOutput': /src/sys/modules/ath/../../dev/ath/ath_hal/ar5416/ar5416_gpio.c:89: error: expected expression before 'do' /src/sys/modules/ath/../../dev/ath/ath_hal/ar5416/ar5416_gpio.c: In function 'ar5416GpioCfgInput': /src/sys/modules/ath/../../dev/ath/ath_hal/ar5416/ar5416_gpio.c:111: error: expected expression before 'do' *** Error code 1 Stop in /src/sys/modules/ath. *** Error code 1 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-02-24 09:52:51 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-02-24 09:52:51 - ERROR: failed to build lint kernel TB --- 2009-02-24 09:52:51 - 4893.03 user 419.69 system 6222.85 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Tue Feb 24 15:47:06 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 93AB6106566B for ; Tue, 24 Feb 2009 15:47:06 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1.vsi.ru (serv1.vsi.ru [80.82.32.12]) by mx1.freebsd.org (Postfix) with ESMTP id F12AA8FC12 for ; Tue, 24 Feb 2009 15:47:05 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1 (serv1 [80.82.32.12]) by serv1.vsi.ru (8.13.8+Sun/8.13.8) with ESMTP id n1OFl3Dm013738; Tue, 24 Feb 2009 18:47:03 +0300 (MSK) Date: Tue, 24 Feb 2009 18:47:02 +0300 (MSK) From: Aleksey V Fedorov X-X-Sender: alexf@serv1 To: Rafal Jaworowski In-Reply-To: <49A2704F.4060703@semihalf.com> Message-ID: References: <49A2704F.4060703@semihalf.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ppc@freebsd.org Subject: Re: boot process 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: Tue, 24 Feb 2009 15:47:06 -0000 Hi! On Mon, 23 Feb 2009, Rafal Jaworowski wrote: > 2. Hack e500_init() routine in the kernel to hard code some config data it > normally gets from loader, like physical RAM size, memory regions number etc., > CCSR base address, CCB clock frequency, maybe something more, see e500_init() > for details. What is regular method to allocate some piece of memory in e500_init() for unflatten device tree structures? Board loader provide pointer to to the device-tree block in r3(i.e. void *mdp argument of e500_init()). I can parse them, but where to store tree at this point? -- From owner-freebsd-ppc@FreeBSD.ORG Tue Feb 24 16:41:33 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 DFA0410656C1 for ; Tue, 24 Feb 2009 16:41:33 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id AFABB8FC26 for ; Tue, 24 Feb 2009 16:41:33 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) id <0KFK00402X18YH00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Tue, 24 Feb 2009 10:41:32 -0600 (CST) Received: from trantor.tachypleus.net (adsl-99-154-1-172.dsl.mdsnwi.sbcglobal.net [99.154.1.172]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPSA id <0KFK0001MX10UY40@smtpauth1.wiscmail.wisc.edu>; Tue, 24 Feb 2009 10:41:25 -0600 (CST) Date: Tue, 24 Feb 2009 10:42:17 -0600 From: Nathan Whitehorn In-reply-to: To: Aleksey V Fedorov Message-id: <49A42369.600@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.154.1.172 X-Spam-PmxInfo: Server=avs-11, Version=5.5.1.360522, Antispam-Engine: 2.6.1.350677, Antispam-Data: 2009.2.24.161024, SenderIP=99.154.1.172 References: <49A2704F.4060703@semihalf.com> User-Agent: Thunderbird 2.0.0.19 (X11/20090126) Cc: freebsd-ppc@freebsd.org Subject: Re: boot process 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: Tue, 24 Feb 2009 16:41:34 -0000 Aleksey V Fedorov wrote: > > Hi! > > On Mon, 23 Feb 2009, Rafal Jaworowski wrote: > >> 2. Hack e500_init() routine in the kernel to hard code some config >> data it >> normally gets from loader, like physical RAM size, memory regions >> number etc., >> CCSR base address, CCB clock frequency, maybe something more, see >> e500_init() >> for details. > > What is regular method to allocate some piece of memory in e500_init() > for unflatten device tree structures? Board loader provide pointer to to > the device-tree block in r3(i.e. void *mdp argument of e500_init()). > I can parse them, but where to store tree at this point? FreeBSD currently does not support the flattened device trees used by Linux. Instead, it uses a hardcoded set of board information, which will do fine as a temporary solution. If you wish to add support, I would suggest looking at how the PowerPC AIM code uses Open Firmware to obtain boot parameters, and also at the Open Firmware interface layer (as implemented, for example, in sys/dev/ofw/ofw_standard.c). This is something I've been meaning to do for some time in order to facilitate a Cell port. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Tue Feb 24 17: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 F362910656C6 for ; Tue, 24 Feb 2009 17:07:01 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1.vsi.ru (serv1.vsi.ru [80.82.32.12]) by mx1.freebsd.org (Postfix) with ESMTP id 763268FC0C for ; Tue, 24 Feb 2009 17:07:01 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1 (serv1 [80.82.32.12]) by serv1.vsi.ru (8.13.8+Sun/8.13.8) with ESMTP id n1OH6xgr016103; Tue, 24 Feb 2009 20:06:59 +0300 (MSK) Date: Tue, 24 Feb 2009 20:06:59 +0300 (MSK) From: Aleksey V Fedorov X-X-Sender: alexf@serv1 To: Nathan Whitehorn In-Reply-To: <49A42369.600@freebsd.org> Message-ID: References: <49A2704F.4060703@semihalf.com> <49A42369.600@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ppc@freebsd.org Subject: Re: boot process 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: Tue, 24 Feb 2009 17:07:02 -0000 On Tue, 24 Feb 2009, Nathan Whitehorn wrote: >> What is regular method to allocate some piece of memory in e500_init() for >> unflatten device tree structures? Board loader provide pointer to to the >> device-tree block in r3(i.e. void *mdp argument of e500_init()). >> I can parse them, but where to store tree at this point? > > FreeBSD currently does not support the flattened device trees used by Linux. > Instead, it uses a hardcoded set of board information, which will do fine as > a temporary solution. > > If you wish to add support, I would suggest looking at how the PowerPC AIM > code uses Open Firmware to obtain boot parameters, and also at the Open > Firmware interface layer (as implemented, for example, in > sys/dev/ofw/ofw_standard.c). This is something I've been meaning to do for > some time in order to facilitate a Cell port. I know how to obtain parameters. My question is how to store them at early boot? For example is it possible to store them in the rest of 16MB page after kernel and device-tree block? kernel start = 0xc0000100 kernel end = 0xc0528a18 device-tree block start = 0xc0800800 device-tree block end = 0xc080168e Is it safe to store unflatten device tree after 0xc080168e ? Is the rest of 16MB page retain unchaged or it can be used later? -- From owner-freebsd-ppc@FreeBSD.ORG Wed Feb 25 09:39:53 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 854F51065673 for ; Wed, 25 Feb 2009 09:39:53 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id 5F2788FC16 for ; Wed, 25 Feb 2009 09:39:53 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id n1P9dpD9028395; Wed, 25 Feb 2009 02:39:51 -0700 Message-ID: <49A511E5.1010705@semihalf.com> Date: Wed, 25 Feb 2009 10:39:49 +0100 From: Rafal Jaworowski Organization: Semihalf MIME-Version: 1.0 To: Aleksey V Fedorov References: <49A2704F.4060703@semihalf.com> <49A42369.600@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: boot process 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, 25 Feb 2009 09:39:53 -0000 Aleksey V Fedorov wrote: > On Tue, 24 Feb 2009, Nathan Whitehorn wrote: > >>> What is regular method to allocate some piece of memory in >>> e500_init() for unflatten device tree structures? Board loader >>> provide pointer to to the device-tree block in r3(i.e. void *mdp >>> argument of e500_init()). >>> I can parse them, but where to store tree at this point? >> >> FreeBSD currently does not support the flattened device trees used by >> Linux. Instead, it uses a hardcoded set of board information, which >> will do fine as a temporary solution. >> >> If you wish to add support, I would suggest looking at how the PowerPC >> AIM code uses Open Firmware to obtain boot parameters, and also at the >> Open Firmware interface layer (as implemented, for example, in >> sys/dev/ofw/ofw_standard.c). This is something I've been meaning to do >> for some time in order to facilitate a Cell port. > > I know how to obtain parameters. > My question is how to store them at early boot? > For example is it possible to store them in the rest of 16MB page > after kernel and device-tree block? > > kernel start = 0xc0000100 > kernel end = 0xc0528a18 > device-tree block start = 0xc0800800 > device-tree block end = 0xc080168e > > Is it safe to store unflatten device tree after 0xc080168e ? > Is the rest of 16MB page retain unchaged or it can be used later? I'm not sure where these device-tree addresses come from, but in general you have to be very careful about placing things at this early stage of kernel initialization. You cannot arbitrarily use some range, but need to carve out an area from the available region(s), so that it is not used for other purposes. There is a number of important data located after kernel [ELF] end, see mmu_booke_bootstrap() for details about the layout. Rafal From owner-freebsd-ppc@FreeBSD.ORG Wed Feb 25 16:21:06 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 D95361065674 for ; Wed, 25 Feb 2009 16:21:06 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id AE0128FC22 for ; Wed, 25 Feb 2009 16:21:06 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) id <0KFM00A1EQR6C400@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Wed, 25 Feb 2009 10:21:06 -0600 (CST) Received: from trantor.tachypleus.net (adsl-99-154-1-172.dsl.mdsnwi.sbcglobal.net [99.154.1.172]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPSA id <0KFM001S7QQW1X90@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Wed, 25 Feb 2009 10:20:57 -0600 (CST) Date: Wed, 25 Feb 2009 10:21:52 -0600 From: Nathan Whitehorn To: FreeBSD PowerPC ML Message-id: <49A57020.1080603@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.154.1.172 X-Spam-PmxInfo: Server=avs-11, Version=5.5.1.360522, Antispam-Engine: 2.6.1.350677, Antispam-Data: 2009.2.25.155236, SenderIP=99.154.1.172 User-Agent: Thunderbird 2.0.0.19 (X11/20090126) Subject: Brokenness in HEAD 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, 25 Feb 2009 16:21:07 -0000 Something seems to currently be quite broken in HEAD for PowerPC, at least on the AIM platform. I'm getting almost immediate panics all over the place in the kernel, usually indicating memory corruption somehow (faults on bogus addresses, illegal instructions, etc...). This is a heads-up to those thinking of updating systems or who might know what happened. The change is on order a week old, and I believe newer than the 20th. I have not done a full binary search yet, but it is not related to the following (checked by selective reversion of bits of the tree, or disabling bits): - USB code - ATA code - Anything in sys/powerpc (the Altivec import in particular) - Any changes to kernel compile flags or the contents of /usr/src/share/mk The panics seem to correlated with file system use (either UFS or NFS), but that may just be testing more code paths than a pure computational load. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Wed Feb 25 17:31:04 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 A2C6A1065670; Wed, 25 Feb 2009 17:31:04 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.freebsd.org (Postfix) with ESMTP id 78C2F8FC0C; Wed, 25 Feb 2009 17:31:04 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout5.cac.washington.edu (8.14.3+UW08.09/8.14.3+UW09.01) with ESMTP id n1PHV36o020740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 25 Feb 2009 09:31:04 -0800 X-Auth-Received: from [192.168.10.3] (adsl-99-147-148-174.dsl.pltn13.sbcglobal.net [99.147.148.174]) (authenticated authid=youshi10) by smtp.washington.edu (8.14.3+UW08.09/8.14.3+UW09.01) with ESMTP id n1PHV31W027584 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 25 Feb 2009 09:31:03 -0800 Message-Id: <11D16AB8-F705-4464-B35B-07A24E26B5E5@gmail.com> From: Garrett Cooper To: Nathan Whitehorn In-Reply-To: <49A57020.1080603@freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Wed, 25 Feb 2009 09:36:17 -0800 References: <49A57020.1080603@freebsd.org> X-Mailer: Apple Mail (2.930.3) X-PMX-Version: 5.5.0.356843, Antispam-Engine: 2.6.1.350677, Antispam-Data: 2009.2.25.171622 X-Uwash-Spam: Gauge=IIIIIII, Probability=8%, Report='FORGED_FROM_GMAIL 0.1, BODY_SIZE_1000_1099 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, __BOUNCE_CHALLENGE_SUBJ 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FRAUD_419_WEBMAIL 0, __FRAUD_419_WEBMAIL_FROM 0, __FROM_GMAIL 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Cc: FreeBSD PowerPC ML Subject: Re: Brokenness in HEAD 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, 25 Feb 2009 17:31:05 -0000 On Feb 25, 2009, at 8:21 AM, Nathan Whitehorn wrote: > Something seems to currently be quite broken in HEAD for PowerPC, at > least on the AIM platform. I'm getting almost immediate panics all > over the place in the kernel, usually indicating memory corruption > somehow (faults on bogus addresses, illegal instructions, etc...). > This is a heads-up to those thinking of updating systems or who > might know what happened. > > The change is on order a week old, and I believe newer than the > 20th. I have not done a full binary search yet, but it is not > related to the following (checked by selective reversion of bits of > the tree, or disabling bits): > - USB code > - ATA code > - Anything in sys/powerpc (the Altivec import in particular) > - Any changes to kernel compile flags or the contents of /usr/src/ > share/mk > > The panics seem to correlated with file system use (either UFS or > NFS), but that may just be testing more code paths than a pure > computational load. > -Nathan Could this be related to the USB4BSD changes? -Garrett From owner-freebsd-ppc@FreeBSD.ORG Wed Feb 25 18:31:14 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 8AC811065672 for ; Wed, 25 Feb 2009 18:31:14 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 5FB188FC27 for ; Wed, 25 Feb 2009 18:31:14 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 7C3DF5823D; Wed, 25 Feb 2009 12:31:13 -0600 (CST) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id jagV+REP97kJ; Wed, 25 Feb 2009 12:31:13 -0600 (CST) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-55-200.icecube.wisc.edu [172.16.55.200]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 563275823C; Wed, 25 Feb 2009 12:31:13 -0600 (CST) Message-ID: <49A58E70.4010001@freebsd.org> Date: Wed, 25 Feb 2009 12:31:12 -0600 From: Nathan Whitehorn User-Agent: Thunderbird 2.0.0.19 (X11/20090126) MIME-Version: 1.0 To: Garrett Cooper References: <49A57020.1080603@freebsd.org> <11D16AB8-F705-4464-B35B-07A24E26B5E5@gmail.com> In-Reply-To: <11D16AB8-F705-4464-B35B-07A24E26B5E5@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML Subject: Re: Brokenness in HEAD 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, 25 Feb 2009 18:31:14 -0000 Garrett Cooper wrote: > On Feb 25, 2009, at 8:21 AM, Nathan Whitehorn wrote: > >> Something seems to currently be quite broken in HEAD for PowerPC, at >> least on the AIM platform. I'm getting almost immediate panics all >> over the place in the kernel, usually indicating memory corruption >> somehow (faults on bogus addresses, illegal instructions, etc...). >> This is a heads-up to those thinking of updating systems or who might >> know what happened. >> >> The change is on order a week old, and I believe newer than the 20th. >> I have not done a full binary search yet, but it is not related to >> the following (checked by selective reversion of bits of the tree, or >> disabling bits): >> - USB code >> - ATA code >> - Anything in sys/powerpc (the Altivec import in particular) >> - Any changes to kernel compile flags or the contents of >> /usr/src/share/mk >> >> The panics seem to correlated with file system use (either UFS or >> NFS), but that may just be testing more code paths than a pure >> computational load. >> -Nathan > > Could this be related to the USB4BSD changes? > -Garrett I don't think so. Running a kernel with no USB in it still crashed, along with one with no ATA, which has also seen a lot of changes lately. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Wed Feb 25 19:28:54 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 DB8F61065674 for ; Wed, 25 Feb 2009 19:28:53 +0000 (UTC) (envelope-from jsarrett@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id A9C138FC14 for ; Wed, 25 Feb 2009 19:28:53 +0000 (UTC) (envelope-from jsarrett@gmail.com) Received: by wf-out-1314.google.com with SMTP id 27so162919wfd.7 for ; Wed, 25 Feb 2009 11:28:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=NDFPxruyvOrPvDy61I1eLIGy0PDaHA24nvGkHqWlSlg=; b=tJXry0qJeF8EjDNWqSB3R752DvrEadZXPQ/sKExdjRnPVXBQ79U0IEYVAaIA43DQD2 qUM5sRXihBw5gxNBRt4YspcNIcdrRvT2NfpC/wWWgvzouVXHq4frw2PZihYI7pZ/9hL8 1Zsc7velzm+c1sTM66xdHvTT2RkJnG34R4MwA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=gLR3CXh7woomWQbKN/KfYno7fsuOx11x2akR6vCdniP99lccHt6FUZW/Fg7hV74nIp I3uqXlBuCyzX2hjQ3h94u2XeR1vjPf5P1U02uJX/63AmfVvtgreztXB5f5jLskQ2+XYQ hHn/CO4nCofwWuBhtQ9LQO1Ue5RGUZJzN/vow= Received: by 10.142.105.13 with SMTP id d13mr182430wfc.196.1235588733307; Wed, 25 Feb 2009 11:05:33 -0800 (PST) Received: from sexy-bitch.amthinking.net ([208.49.99.3]) by mx.google.com with ESMTPS id 20sm10611418wfi.12.2009.02.25.11.05.32 (version=SSLv3 cipher=RC4-MD5); Wed, 25 Feb 2009 11:05:32 -0800 (PST) Message-ID: <49A5967A.9090302@gmail.com> Date: Wed, 25 Feb 2009 11:05:30 -0800 From: James Sarrett User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Nathan Whitehorn References: <49A57020.1080603@freebsd.org> <11D16AB8-F705-4464-B35B-07A24E26B5E5@gmail.com> <49A58E70.4010001@freebsd.org> In-Reply-To: <49A58E70.4010001@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML Subject: Re: Brokenness in HEAD 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, 25 Feb 2009 19:28:55 -0000 Dumb question, Did you make clean before rebuilding? this sounds like a classic linking problem. -James Nathan Whitehorn wrote: > Garrett Cooper wrote: >> On Feb 25, 2009, at 8:21 AM, Nathan Whitehorn wrote: >> >>> Something seems to currently be quite broken in HEAD for PowerPC, at >>> least on the AIM platform. I'm getting almost immediate panics all >>> over the place in the kernel, usually indicating memory corruption >>> somehow (faults on bogus addresses, illegal instructions, etc...). >>> This is a heads-up to those thinking of updating systems or who >>> might know what happened. >>> >>> The change is on order a week old, and I believe newer than the >>> 20th. I have not done a full binary search yet, but it is not >>> related to the following (checked by selective reversion of bits of >>> the tree, or disabling bits): >>> - USB code >>> - ATA code >>> - Anything in sys/powerpc (the Altivec import in particular) >>> - Any changes to kernel compile flags or the contents of >>> /usr/src/share/mk >>> >>> The panics seem to correlated with file system use (either UFS or >>> NFS), but that may just be testing more code paths than a pure >>> computational load. >>> -Nathan >> >> Could this be related to the USB4BSD changes? >> -Garrett > I don't think so. Running a kernel with no USB in it still crashed, > along with one with no ATA, which has also seen a lot of changes lately. > -Nathan > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" From owner-freebsd-ppc@FreeBSD.ORG Wed Feb 25 22:38:26 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 EB75A1065673; Wed, 25 Feb 2009 22:38:26 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by mx1.freebsd.org (Postfix) with ESMTP id D85F08FC25; Wed, 25 Feb 2009 22:38:26 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from renu-lt-x61.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KFN003OJ5FM0B90@asmtp020.mac.com>; Wed, 25 Feb 2009 13:38:10 -0800 (PST) Message-id: <0E097221-43AD-45C7-9293-1117E1FC68C5@mac.com> From: Marcel Moolenaar To: Nathan Whitehorn In-reply-to: <49A57020.1080603@freebsd.org> Date: Wed, 25 Feb 2009 13:38:10 -0800 References: <49A57020.1080603@freebsd.org> X-Mailer: Apple Mail (2.930.3) Cc: FreeBSD PowerPC ML Subject: Re: Brokenness in HEAD 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, 25 Feb 2009 22:38:27 -0000 On Feb 25, 2009, at 8:21 AM, Nathan Whitehorn wrote: > Something seems to currently be quite broken in HEAD for PowerPC, at > least on the AIM platform. I'm getting almost immediate panics all > over the place in the kernel, usually indicating memory corruption > somehow (faults on bogus addresses, illegal instructions, etc...). > This is a heads-up to those thinking of updating systems or who > might know what happened. > > The change is on order a week old, and I believe newer than the > 20th. I have not done a full binary search yet, but it is not > related to the following (checked by selective reversion of bits of > the tree, or disabling bits): > - USB code USB2 works on my G4 mini. I'm running rev 188699 on it... -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ppc@FreeBSD.ORG Wed Feb 25 22:43: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 BF6741065675 for ; Wed, 25 Feb 2009 22:43:22 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 960EE8FC0C for ; Wed, 25 Feb 2009 22:43:22 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 1A8985823C; Wed, 25 Feb 2009 16:43:22 -0600 (CST) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id Zmwdx3aHqthK; Wed, 25 Feb 2009 16:43:22 -0600 (CST) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-55-200.icecube.wisc.edu [172.16.55.200]) by mail.icecube.wisc.edu (Postfix) with ESMTP id F12FB5823A; Wed, 25 Feb 2009 16:43:21 -0600 (CST) Message-ID: <49A5C989.7010307@freebsd.org> Date: Wed, 25 Feb 2009 16:43:21 -0600 From: Nathan Whitehorn User-Agent: Thunderbird 2.0.0.19 (X11/20090126) MIME-Version: 1.0 To: Marcel Moolenaar , FreeBSD PowerPC ML References: <49A57020.1080603@freebsd.org> <0E097221-43AD-45C7-9293-1117E1FC68C5@mac.com> In-Reply-To: <0E097221-43AD-45C7-9293-1117E1FC68C5@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Brokenness in HEAD 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, 25 Feb 2009 22:43:23 -0000 Marcel Moolenaar wrote: > > On Feb 25, 2009, at 8:21 AM, Nathan Whitehorn wrote: > >> Something seems to currently be quite broken in HEAD for PowerPC, at >> least on the AIM platform. I'm getting almost immediate panics all >> over the place in the kernel, usually indicating memory corruption >> somehow (faults on bogus addresses, illegal instructions, etc...). >> This is a heads-up to those thinking of updating systems or who might >> know what happened. >> >> The change is on order a week old, and I believe newer than the 20th. >> I have not done a full binary search yet, but it is not related to >> the following (checked by selective reversion of bits of the tree, or >> disabling bits): >> - USB code > > USB2 works on my G4 mini. I'm running rev 188699 > on it... > Yep. Mine too. And the previous kernel I have that works, compiled Feb. 20, has USB2 and Altivec. The list was the list of things I know are not the problem, because my kernels panic with or without those components. I don't think I'll have time to track the problem down for a couple days, but I think it happened between r188860 and r189000, which doesn't leave too many candidates. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 26 17:55:07 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 B11E1106566C; Thu, 26 Feb 2009 17:55:07 +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 863FB8FC1E; Thu, 26 Feb 2009 17:55:07 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n1QHt5Lr058952; Thu, 26 Feb 2009 12:55:05 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id n1QHt5wK034681; Thu, 26 Feb 2009 12:55:05 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id E7E431B5060; Thu, 26 Feb 2009 12:55:04 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090226175504.E7E431B5060@freebsd-stable.sentex.ca> Date: Thu, 26 Feb 2009 12:55:04 -0500 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [releng_7 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: Thu, 26 Feb 2009 17:55:08 -0000 TB --- 2009-02-26 16:35:32 - tinderbox 2.6 running on freebsd-stable.sentex.ca TB --- 2009-02-26 16:35:32 - starting RELENG_7 tinderbox run for powerpc/powerpc TB --- 2009-02-26 16:35:32 - cleaning the object tree TB --- 2009-02-26 16:35:56 - cvsupping the source tree TB --- 2009-02-26 16:35:56 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7/powerpc/powerpc/supfile TB --- 2009-02-26 16:36:05 - building world TB --- 2009-02-26 16:36:05 - MAKEOBJDIRPREFIX=/obj TB --- 2009-02-26 16:36:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-02-26 16:36:05 - TARGET=powerpc TB --- 2009-02-26 16:36:05 - TARGET_ARCH=powerpc TB --- 2009-02-26 16:36:05 - TZ=UTC TB --- 2009-02-26 16:36:05 - __MAKE_CONF=/dev/null TB --- 2009-02-26 16:36:05 - cd /src TB --- 2009-02-26 16:36:05 - /usr/bin/make -B buildworld >>> World build started on Thu Feb 26 16:36:06 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 Thu Feb 26 17:42:38 UTC 2009 TB --- 2009-02-26 17:42:38 - generating LINT kernel config TB --- 2009-02-26 17:42:38 - cd /src/sys/powerpc/conf TB --- 2009-02-26 17:42:38 - /usr/bin/make -B LINT TB --- 2009-02-26 17:42:38 - building LINT kernel TB --- 2009-02-26 17:42:38 - MAKEOBJDIRPREFIX=/obj TB --- 2009-02-26 17:42:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-02-26 17:42:38 - TARGET=powerpc TB --- 2009-02-26 17:42:38 - TARGET_ARCH=powerpc TB --- 2009-02-26 17:42:38 - TZ=UTC TB --- 2009-02-26 17:42:38 - __MAKE_CONF=/dev/null TB --- 2009-02-26 17:42:38 - cd /src TB --- 2009-02-26 17:42:38 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Feb 26 17:42:38 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 [...] :> hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=/usr/bin/make sh /src/sys/conf/newvers.sh LINT cc -c -O2 -pipe -fno-strict-aliasing -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 -Werror vers.c linking kernel vm_map.o(.text+0x3938): In function `vm_map_find': : undefined reference to `pmap_align_superpage' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-02-26 17:55:04 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-02-26 17:55:04 - ERROR: failed to build lint kernel TB --- 2009-02-26 17:55:04 - 3990.27 user 374.40 system 4771.90 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 26 18:17:55 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 2AE5D1065670 for ; Thu, 26 Feb 2009 18:17:55 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1.vsi.ru (serv1.vsi.ru [80.82.32.12]) by mx1.freebsd.org (Postfix) with ESMTP id 864A28FC19 for ; Thu, 26 Feb 2009 18:17:54 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1 (serv1 [80.82.32.12]) by serv1.vsi.ru (8.13.8+Sun/8.13.8) with ESMTP id n1QIHpIb029822; Thu, 26 Feb 2009 21:17:52 +0300 (MSK) Date: Thu, 26 Feb 2009 21:17:51 +0300 (MSK) From: Aleksey V Fedorov X-X-Sender: alexf@serv1 To: Rafal Jaworowski In-Reply-To: <49A511E5.1010705@semihalf.com> Message-ID: References: <49A2704F.4060703@semihalf.com> <49A42369.600@freebsd.org> <49A511E5.1010705@semihalf.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ppc@freebsd.org Subject: Re: boot process 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: Thu, 26 Feb 2009 18:17:55 -0000 Hi! At this point I fill bootinfo from device-tree block. Next is to recreate boot environment passed by loader. Could you dump typical environment i.e. kern_envp on MPC85xx platform? -- From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 26 19:39:32 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 60AA11065676; Thu, 26 Feb 2009 19:39:32 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from forwards1.yandex.ru (forwards1.yandex.ru [77.88.60.125]) by mx1.freebsd.org (Postfix) with ESMTP id E6D8C8FC18; Thu, 26 Feb 2009 19:39:31 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from mxfront40.yandex.ru (mxfront40.yandex.ru [77.88.60.157]) by forwards1.yandex.ru (Yandex) with ESMTP id B6292D0553; Thu, 26 Feb 2009 22:26:35 +0300 (MSK) Received: from mx2.freebsd.org ([69.147.83.53]:14785 "EHLO mx2.freebsd.org" smtp-auth: TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S6309997AbZBZR4X for (+ 2 others); Thu, 26 Feb 2009 20:56:23 +0300 X-Yandex-TimeMark: 1235670982 X-Yandex-Spam: 2 X-Yandex-Front: mxfront40 Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 7B1DD1A43A0; Thu, 26 Feb 2009 17:55:25 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id A09F8106571B; Thu, 26 Feb 2009 17:55:24 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B11E1106566C; Thu, 26 Feb 2009 17:55:07 +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 863FB8FC1E; Thu, 26 Feb 2009 17:55:07 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n1QHt5Lr058952; Thu, 26 Feb 2009 12:55:05 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id n1QHt5wK034681; Thu, 26 Feb 2009 12:55:05 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id E7E431B5060; Thu, 26 Feb 2009 12:55:04 -0500 (EST) From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090226175504.E7E431B5060@freebsd-stable.sentex.ca> Date: Thu, 26 Feb 2009 12:55:04 -0500 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org Cc: Subject: [releng_7 tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 19:39:32 -0000 TB --- 2009-02-26 16:35:32 - tinderbox 2.6 running on freebsd-stable.sentex.ca TB --- 2009-02-26 16:35:32 - starting RELENG_7 tinderbox run for powerpc/powerpc TB --- 2009-02-26 16:35:32 - cleaning the object tree TB --- 2009-02-26 16:35:56 - cvsupping the source tree TB --- 2009-02-26 16:35:56 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7/powerpc/powerpc/supfile TB --- 2009-02-26 16:36:05 - building world TB --- 2009-02-26 16:36:05 - MAKEOBJDIRPREFIX=/obj TB --- 2009-02-26 16:36:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-02-26 16:36:05 - TARGET=powerpc TB --- 2009-02-26 16:36:05 - TARGET_ARCH=powerpc TB --- 2009-02-26 16:36:05 - TZ=UTC TB --- 2009-02-26 16:36:05 - __MAKE_CONF=/dev/null TB --- 2009-02-26 16:36:05 - cd /src TB --- 2009-02-26 16:36:05 - /usr/bin/make -B buildworld >>> World build started on Thu Feb 26 16:36:06 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 Thu Feb 26 17:42:38 UTC 2009 TB --- 2009-02-26 17:42:38 - generating LINT kernel config TB --- 2009-02-26 17:42:38 - cd /src/sys/powerpc/conf TB --- 2009-02-26 17:42:38 - /usr/bin/make -B LINT TB --- 2009-02-26 17:42:38 - building LINT kernel TB --- 2009-02-26 17:42:38 - MAKEOBJDIRPREFIX=/obj TB --- 2009-02-26 17:42:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-02-26 17:42:38 - TARGET=powerpc TB --- 2009-02-26 17:42:38 - TARGET_ARCH=powerpc TB --- 2009-02-26 17:42:38 - TZ=UTC TB --- 2009-02-26 17:42:38 - __MAKE_CONF=/dev/null TB --- 2009-02-26 17:42:38 - cd /src TB --- 2009-02-26 17:42:38 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Feb 26 17:42:38 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 [...] :> hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=/usr/bin/make sh /src/sys/conf/newvers.sh LINT cc -c -O2 -pipe -fno-strict-aliasing -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 -Werror vers.c linking kernel vm_map.o(.text+0x3938): In function `vm_map_find': : undefined reference to `pmap_align_superpage' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-02-26 17:55:04 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-02-26 17:55:04 - ERROR: failed to build lint kernel TB --- 2009-02-26 17:55:04 - 3990.27 user 374.40 system 4771.90 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7-powerpc-powerpc.full _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 26 19:40:28 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 B4FE910656C1 for ; Thu, 26 Feb 2009 19:40:28 +0000 (UTC) (envelope-from ananda.samaddar@vfemail.net) Received: from mail.vfemail.net (authorized.vfemail.net [69.11.239.67]) by mx1.freebsd.org (Postfix) with ESMTP id 4A27C8FC25 for ; Thu, 26 Feb 2009 19:40:28 +0000 (UTC) (envelope-from ananda.samaddar@vfemail.net) Received: (qmail 80622 invoked by uid 0); 26 Feb 2009 19:13:46 -0000 Received: by simscan 1.1.0 ppid: 80612, pid: 80617, t: 0.3706s scanners:none Received: from unknown (HELO ananda-desktop) (YW5hbmRhLnNhbWFkZGFyQHZmZW1haWwubmV0@NjkuMTEuMjM5LjY4) by mail.vfemail.net with ESMTPA; 26 Feb 2009 19:13:45 -0000 Date: Thu, 26 Feb 2009 19:13:42 +0000 From: Ananda Samaddar To: freebsd-ppc@freebsd.org Message-ID: <20090226191342.52d4a36b@ananda-desktop> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Questions about FreeBSD on a Mac Mini 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: Thu, 26 Feb 2009 19:40:29 -0000 hi all, I'm a prospective FreeBSD user and I've already done a bit of research on the website, docs and mailing lists. I do have a few questions, most of them are for confirmation rather than anything else so here goes: 1. It's not possible to use the installer to partition your disk as fdisk doesn't work is this true? 2. Open Firmware doesn't understand FreeBSD partitions so there's no reasonable way to boot an installed system is there? 3. Altivec is not supported so there'll be a performance hit when using FreeBSD? The above issues are quite serious impediments in my opinion so I hope I'm wrong on these issues. Please let me know what the situation is and how FreeBSD performs on PPC in general. thanks in advance, Ananda Samaddar From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 26 19:45:26 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 802EB10656C8; Thu, 26 Feb 2009 19:45:26 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from forwards3.yandex.ru (forwards3.yandex.ru [213.180.223.174]) by mx1.freebsd.org (Postfix) with ESMTP id D25878FC1D; Thu, 26 Feb 2009 19:45:25 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from mxfront69.yandex.ru (mxfront69.yandex.ru [213.180.223.89]) by forwards3.yandex.ru (Yandex) with ESMTP id 72ADC213168; Thu, 26 Feb 2009 22:40:41 +0300 (MSK) Received: from mx2.freebsd.org ([69.147.83.53]:49088 "EHLO mx2.freebsd.org" smtp-auth: TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S12800249AbZBZR4V for (+ 2 others); Thu, 26 Feb 2009 20:56:21 +0300 X-Yandex-TimeMark: 1235670981 X-Yandex-Spam: 2 X-Yandex-Front: mxfront69 Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 6E83C1A4374; Thu, 26 Feb 2009 17:55:25 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 830C01065753; Thu, 26 Feb 2009 17:55:24 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B11E1106566C; Thu, 26 Feb 2009 17:55:07 +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 863FB8FC1E; Thu, 26 Feb 2009 17:55:07 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n1QHt5Lr058952; Thu, 26 Feb 2009 12:55:05 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id n1QHt5wK034681; Thu, 26 Feb 2009 12:55:05 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id E7E431B5060; Thu, 26 Feb 2009 12:55:04 -0500 (EST) From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090226175504.E7E431B5060@freebsd-stable.sentex.ca> Date: Thu, 26 Feb 2009 12:55:04 -0500 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org Cc: Subject: [releng_7 tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 19:45:39 -0000 TB --- 2009-02-26 16:35:32 - tinderbox 2.6 running on freebsd-stable.sentex.ca TB --- 2009-02-26 16:35:32 - starting RELENG_7 tinderbox run for powerpc/powerpc TB --- 2009-02-26 16:35:32 - cleaning the object tree TB --- 2009-02-26 16:35:56 - cvsupping the source tree TB --- 2009-02-26 16:35:56 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7/powerpc/powerpc/supfile TB --- 2009-02-26 16:36:05 - building world TB --- 2009-02-26 16:36:05 - MAKEOBJDIRPREFIX=/obj TB --- 2009-02-26 16:36:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-02-26 16:36:05 - TARGET=powerpc TB --- 2009-02-26 16:36:05 - TARGET_ARCH=powerpc TB --- 2009-02-26 16:36:05 - TZ=UTC TB --- 2009-02-26 16:36:05 - __MAKE_CONF=/dev/null TB --- 2009-02-26 16:36:05 - cd /src TB --- 2009-02-26 16:36:05 - /usr/bin/make -B buildworld >>> World build started on Thu Feb 26 16:36:06 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 Thu Feb 26 17:42:38 UTC 2009 TB --- 2009-02-26 17:42:38 - generating LINT kernel config TB --- 2009-02-26 17:42:38 - cd /src/sys/powerpc/conf TB --- 2009-02-26 17:42:38 - /usr/bin/make -B LINT TB --- 2009-02-26 17:42:38 - building LINT kernel TB --- 2009-02-26 17:42:38 - MAKEOBJDIRPREFIX=/obj TB --- 2009-02-26 17:42:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-02-26 17:42:38 - TARGET=powerpc TB --- 2009-02-26 17:42:38 - TARGET_ARCH=powerpc TB --- 2009-02-26 17:42:38 - TZ=UTC TB --- 2009-02-26 17:42:38 - __MAKE_CONF=/dev/null TB --- 2009-02-26 17:42:38 - cd /src TB --- 2009-02-26 17:42:38 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Feb 26 17:42:38 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 [...] :> hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=/usr/bin/make sh /src/sys/conf/newvers.sh LINT cc -c -O2 -pipe -fno-strict-aliasing -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 -Werror vers.c linking kernel vm_map.o(.text+0x3938): In function `vm_map_find': : undefined reference to `pmap_align_superpage' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-02-26 17:55:04 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-02-26 17:55:04 - ERROR: failed to build lint kernel TB --- 2009-02-26 17:55:04 - 3990.27 user 374.40 system 4771.90 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7-powerpc-powerpc.full _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 26 19:46:41 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 49CF310656D0; Thu, 26 Feb 2009 19:46:41 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from forwards3.yandex.ru (forwards3.yandex.ru [213.180.223.174]) by mx1.freebsd.org (Postfix) with ESMTP id CC9D48FC13; Thu, 26 Feb 2009 19:46:40 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from mxfront60.yandex.ru (mxfront60.yandex.ru [213.180.223.90]) by forwards3.yandex.ru (Yandex) with ESMTP id DC2B519B132; Thu, 26 Feb 2009 22:42:50 +0300 (MSK) Received: from mx2.freebsd.org ([69.147.83.53]:19403 "EHLO mx2.freebsd.org" smtp-auth: TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S8012696AbZBZR5C for (+ 2 others); Thu, 26 Feb 2009 20:57:02 +0300 X-Yandex-TimeMark: 1235671022 X-Yandex-Spam: 2 X-Yandex-Front: mxfront60 Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 663AB1A4369; Thu, 26 Feb 2009 17:55:25 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 71F57106574F; Thu, 26 Feb 2009 17:55:24 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B11E1106566C; Thu, 26 Feb 2009 17:55:07 +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 863FB8FC1E; Thu, 26 Feb 2009 17:55:07 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n1QHt5Lr058952; Thu, 26 Feb 2009 12:55:05 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id n1QHt5wK034681; Thu, 26 Feb 2009 12:55:05 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id E7E431B5060; Thu, 26 Feb 2009 12:55:04 -0500 (EST) From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090226175504.E7E431B5060@freebsd-stable.sentex.ca> Date: Thu, 26 Feb 2009 12:55:04 -0500 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on clamscanner3 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org Cc: Subject: [releng_7 tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 19:46:44 -0000 TB --- 2009-02-26 16:35:32 - tinderbox 2.6 running on freebsd-stable.sentex.ca TB --- 2009-02-26 16:35:32 - starting RELENG_7 tinderbox run for powerpc/powerpc TB --- 2009-02-26 16:35:32 - cleaning the object tree TB --- 2009-02-26 16:35:56 - cvsupping the source tree TB --- 2009-02-26 16:35:56 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7/powerpc/powerpc/supfile TB --- 2009-02-26 16:36:05 - building world TB --- 2009-02-26 16:36:05 - MAKEOBJDIRPREFIX=/obj TB --- 2009-02-26 16:36:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-02-26 16:36:05 - TARGET=powerpc TB --- 2009-02-26 16:36:05 - TARGET_ARCH=powerpc TB --- 2009-02-26 16:36:05 - TZ=UTC TB --- 2009-02-26 16:36:05 - __MAKE_CONF=/dev/null TB --- 2009-02-26 16:36:05 - cd /src TB --- 2009-02-26 16:36:05 - /usr/bin/make -B buildworld >>> World build started on Thu Feb 26 16:36:06 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 Thu Feb 26 17:42:38 UTC 2009 TB --- 2009-02-26 17:42:38 - generating LINT kernel config TB --- 2009-02-26 17:42:38 - cd /src/sys/powerpc/conf TB --- 2009-02-26 17:42:38 - /usr/bin/make -B LINT TB --- 2009-02-26 17:42:38 - building LINT kernel TB --- 2009-02-26 17:42:38 - MAKEOBJDIRPREFIX=/obj TB --- 2009-02-26 17:42:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-02-26 17:42:38 - TARGET=powerpc TB --- 2009-02-26 17:42:38 - TARGET_ARCH=powerpc TB --- 2009-02-26 17:42:38 - TZ=UTC TB --- 2009-02-26 17:42:38 - __MAKE_CONF=/dev/null TB --- 2009-02-26 17:42:38 - cd /src TB --- 2009-02-26 17:42:38 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Feb 26 17:42:38 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 [...] :> hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=/usr/bin/make sh /src/sys/conf/newvers.sh LINT cc -c -O2 -pipe -fno-strict-aliasing -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 -Werror vers.c linking kernel vm_map.o(.text+0x3938): In function `vm_map_find': : undefined reference to `pmap_align_superpage' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-02-26 17:55:04 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-02-26 17:55:04 - ERROR: failed to build lint kernel TB --- 2009-02-26 17:55:04 - 3990.27 user 374.40 system 4771.90 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7-powerpc-powerpc.full _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 26 20:39:41 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 9A0CA1065670 for ; Thu, 26 Feb 2009 20:39:41 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail11.syd.optusnet.com.au (mail11.syd.optusnet.com.au [211.29.132.192]) by mx1.freebsd.org (Postfix) with ESMTP id 2FB918FC21 for ; Thu, 26 Feb 2009 20:39:40 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [220.237.124.212] (c220-237-124-212.farfl2.nsw.optusnet.com.au [220.237.124.212]) (authenticated sender horst.burkhardt) by mail11.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n1QKdcCP023708; Fri, 27 Feb 2009 07:39:39 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: Ananda Samaddar In-Reply-To: <20090226191342.52d4a36b@ananda-desktop> References: <20090226191342.52d4a36b@ananda-desktop> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-6IKgL8wmojQa022g3AtR" Date: Fri, 27 Feb 2009 07:40:01 +1100 Message-Id: <1235680801.14582.21.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Cc: FreeBSD PowerPC ML Subject: Re: Questions about FreeBSD on a Mac Mini 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: Thu, 26 Feb 2009 20:39:41 -0000 --=-6IKgL8wmojQa022g3AtR Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2009-02-26 at 19:13 +0000, Ananda Samaddar wrote: > hi all, >=20 > I'm a prospective FreeBSD user and I've already done a bit of research > on the website, docs and mailing lists. I do have a few questions, > most of them are for confirmation rather than anything else so here > goes: >=20 > 1. It's not possible to use the installer to partition your disk as > fdisk doesn't work is this true? The Mac OS X Disk Utility is ideal for this purpose, also the Debian Net Install CD or the Finnix PPC LiveCD. > 2. Open Firmware doesn't understand FreeBSD partitions so there's no > reasonable way to boot an installed system is there? You use a small HFS partition, just needs to be 512KB or so, to boot the UFS partition on. It's a little extra work to configure, but once it's done you just leave it alone and it works perfectly. > 3. Altivec is not supported so there'll be a performance hit when using > FreeBSD? 8.0-CURRENT as of a few days ago has AltiVec support in kernel, so that's no longer an issue if you're willing to be our guinea pig ;) > The above issues are quite serious impediments in my opinion so I hope > I'm wrong on these issues. Please let me know what the situation is > and how FreeBSD performs on PPC in general. In short, I think you'll find that while the issues you iterated above are slightly problematic, they are hardly insurmountable. I had a bit of trouble configuring FreeBSD the first time round, but it runs rock-solid on my Power Macintosh G4, and boots in fifteen seconds from OFW to login prompt using a custom kernel. FreeBSD performance on PowerPC is exactly the same as on any other platform of comparable computing power. A lot depends on what you want to do with it.=20 The only issue I've found, (or at least suspect, and Peter Grehan suspects I may be on to something), is that sed(1) can sometimes behave oddly, which can screw up makefiles that depend on it sometimes. But you're not likely to run across one of those until it's fixed, if you take your time to get acquainted with the wonderfully rich OS that is FreeBSD before you tinker ;) (my expressions are no longer regular) Happy BSD'ing!=20 -- Horst. --=-6IKgL8wmojQa022g3AtR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkmm/iEACgkQRtTtv0BbTe4B1gCdEkUM2ohzfqJC1LoSEl5nHp7h lJoAmQFKlIEamepq4oCDjQCQrGrlVj2J =jYoF -----END PGP SIGNATURE----- --=-6IKgL8wmojQa022g3AtR-- From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 26 21:21:43 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 C719D1065694 for ; Thu, 26 Feb 2009 21:21:43 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 589338FC12 for ; Thu, 26 Feb 2009 21:21:43 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 520663F129; Thu, 26 Feb 2009 21:04:53 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id n1QL4rsq054471; Thu, 26 Feb 2009 21:04:53 GMT (envelope-from phk@critter.freebsd.dk) To: Ananda Samaddar From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 26 Feb 2009 19:13:42 GMT." <20090226191342.52d4a36b@ananda-desktop> Date: Thu, 26 Feb 2009 21:04:53 +0000 Message-ID: <54470.1235682293@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: freebsd-ppc@freebsd.org Subject: Re: Questions about FreeBSD on a Mac Mini 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: Thu, 26 Feb 2009 21:21:44 -0000 In message <20090226191342.52d4a36b@ananda-desktop>, Ananda Samaddar writes: >hi all, > >I'm a prospective FreeBSD user and I've already done a bit of research >on the website, docs and mailing lists. I do have a few questions, >most of them are for confirmation rather than anything else so here >goes: I suspect you can use this procedure: http://wiki.freebsd.org/AppleMacbook -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 26 22:41: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 4E74B1065677 for ; Thu, 26 Feb 2009 22:41:02 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.freebsd.org (Postfix) with ESMTP id 0C5FC8FC16 for ; Thu, 26 Feb 2009 22:41:01 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0KFP00B0G08C3B60@osl1smout1.broadpark.no> for freebsd-ppc@freebsd.org; Thu, 26 Feb 2009 22:41:00 +0100 (CET) Received: from kg-work2.kg4.no ([80.203.109.110]) by osl1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0KFP009UF08BV180@osl1sminn1.broadpark.no> for freebsd-ppc@freebsd.org; Thu, 26 Feb 2009 22:40:59 +0100 (CET) Date: Thu, 26 Feb 2009 22:40:58 +0100 From: Torfinn Ingolfsen To: freebsd-ppc@freebsd.org Message-id: <20090226224058.de43b6f8.torfinn.ingolfsen@broadpark.no> In-reply-to: <54470.1235682293@critter.freebsd.dk> References: <20090226191342.52d4a36b@ananda-desktop> <54470.1235682293@critter.freebsd.dk> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: Questions about FreeBSD on a Mac Mini 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: Thu, 26 Feb 2009 22:41:02 -0000 On Thu, 26 Feb 2009 21:04:53 +0000 Poul-Henning Kamp wrote: > I suspect you can use this procedure: > > http://wiki.freebsd.org/AppleMacbook Well, that page mentions EFI, and MacBooks are Intel machines (as opposed to PowerBooks and IBooks) and since the OP asked about a PPC machine, I don't think this would work. Or am I wrong here? -- Rgds, Torfinn Ingolfsen From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 26 23:00:06 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 315E4106567D for ; Thu, 26 Feb 2009 23:00:06 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 079E18FC0C for ; Thu, 26 Feb 2009 23:00:05 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 05F485823D; Thu, 26 Feb 2009 17:00:05 -0600 (CST) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id VpLafbpM8Cbd; Thu, 26 Feb 2009 17:00:04 -0600 (CST) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-55-200.icecube.wisc.edu [172.16.55.200]) by mail.icecube.wisc.edu (Postfix) with ESMTP id DBB7E5823C; Thu, 26 Feb 2009 17:00:04 -0600 (CST) Message-ID: <49A71EF4.5090203@freebsd.org> Date: Thu, 26 Feb 2009 17:00:04 -0600 From: Nathan Whitehorn User-Agent: Thunderbird 2.0.0.19 (X11/20090126) MIME-Version: 1.0 To: Ananda Samaddar References: <20090226191342.52d4a36b@ananda-desktop> In-Reply-To: <20090226191342.52d4a36b@ananda-desktop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Questions about FreeBSD on a Mac Mini 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: Thu, 26 Feb 2009 23:00:07 -0000 Ananda Samaddar wrote: > hi all, > > I'm a prospective FreeBSD user and I've already done a bit of research > on the website, docs and mailing lists. I do have a few questions, > most of them are for confirmation rather than anything else so here > goes: > > 1. It's not possible to use the installer to partition your disk as > fdisk doesn't work is this true? > 2. Open Firmware doesn't understand FreeBSD partitions so there's no > reasonable way to boot an installed system is there? > > While the installer does not currently provide a partitioning mechanism or bootloader installation facility, the operating system itself does have this capability, and you can also do it by hand (e.g. from OS X). The gpart utility is capable of partioning APM disks from the command line, and there is a boot loader image (/boot/boot1.hfs) available on -CURRENT that you can dd to an extra 800 K partition to get a boot sector that OF will understand. You can also partition from OS X and copy the loader (/boot/loader) to an HFS partition at that time. > 3. Altivec is not supported so there'll be a performance hit when using > FreeBSD? > This is remedied in -CURRENT and will be merged to -STABLE in a week and a half, barring any reports of problems. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 27 00:05:37 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 115B5106566B for ; Fri, 27 Feb 2009 00:05:37 +0000 (UTC) (envelope-from ananda.samaddar@vfemail.net) Received: from mail.vfemail.net (authorized.vfemail.net [69.11.239.67]) by mx1.freebsd.org (Postfix) with ESMTP id 9BB978FC0C for ; Fri, 27 Feb 2009 00:05:31 +0000 (UTC) (envelope-from ananda.samaddar@vfemail.net) Received: (qmail 93526 invoked by uid 0); 27 Feb 2009 00:05:28 -0000 Received: by simscan 1.1.0 ppid: 93494, pid: 93523, t: 0.3049s scanners:none Received: from unknown (HELO ananda-desktop) (YW5hbmRhLnNhbWFkZGFyQHZmZW1haWwubmV0@NjkuMTEuMjM5LjY4) by mail.vfemail.net with ESMTPA; 27 Feb 2009 00:05:27 -0000 Date: Fri, 27 Feb 2009 00:05:26 +0000 From: Ananda Samaddar To: freebsd-ppc@freebsd.org Message-ID: <20090227000526.0e6e7d92@ananda-desktop> In-Reply-To: <49A71EF4.5090203@freebsd.org> References: <20090226191342.52d4a36b@ananda-desktop> <49A71EF4.5090203@freebsd.org> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Questions about FreeBSD on a Mac Mini 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, 27 Feb 2009 00:05:37 -0000 On Thu, 26 Feb 2009 17:00:04 -0600 Nathan Whitehorn wrote: > > > While the installer does not currently provide a partitioning > mechanism or bootloader installation facility, the operating system > itself does have this capability, and you can also do it by hand > (e.g. from OS X). The gpart utility is capable of partioning APM > disks from the command line, and there is a boot loader image > (/boot/boot1.hfs) available on -CURRENT that you can dd to an extra > 800 K partition to get a boot sector that OF will understand. You can > also partition from OS X and copy the loader (/boot/loader) to an HFS > partition at that time. I run Debian on an ibook already so I'm presuming it's similar thing to what they term a 'New World Boot partition' when you talk about a 'small partition'. Also can partitions that have been created under Linux be converted by the installer to UFS2? > This is remedied in -CURRENT and will be merged to -STABLE in a week > and a half, barring any reports of problems. So this will be merged into 7.0 as a compile time option for the kernel? Does the supplied GCC support Altivec and if so can ports be recompiled for Altivec support? thanks, Ananda From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 27 00:09:49 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 D729A106566B for ; Fri, 27 Feb 2009 00:09:49 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 9C0A78FC12 for ; Fri, 27 Feb 2009 00:09:49 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id E82FF5823D; Thu, 26 Feb 2009 18:09:48 -0600 (CST) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id G4H0Q+PIlTgl; Thu, 26 Feb 2009 18:09:48 -0600 (CST) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-55-200.icecube.wisc.edu [172.16.55.200]) by mail.icecube.wisc.edu (Postfix) with ESMTP id C76B25823C; Thu, 26 Feb 2009 18:09:48 -0600 (CST) Message-ID: <49A72F4C.9090803@freebsd.org> Date: Thu, 26 Feb 2009 18:09:48 -0600 From: Nathan Whitehorn User-Agent: Thunderbird 2.0.0.19 (X11/20090126) MIME-Version: 1.0 To: Ananda Samaddar References: <20090226191342.52d4a36b@ananda-desktop> <49A71EF4.5090203@freebsd.org> <20090227000526.0e6e7d92@ananda-desktop> In-Reply-To: <20090227000526.0e6e7d92@ananda-desktop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Questions about FreeBSD on a Mac Mini 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, 27 Feb 2009 00:09:50 -0000 Ananda Samaddar wrote: > On Thu, 26 Feb 2009 17:00:04 -0600 > Nathan Whitehorn wrote: > >> While the installer does not currently provide a partitioning >> mechanism or bootloader installation facility, the operating system >> itself does have this capability, and you can also do it by hand >> (e.g. from OS X). The gpart utility is capable of partioning APM >> disks from the command line, and there is a boot loader image >> (/boot/boot1.hfs) available on -CURRENT that you can dd to an extra >> 800 K partition to get a boot sector that OF will understand. You can >> also partition from OS X and copy the loader (/boot/loader) to an HFS >> partition at that time. >> > > I run Debian on an ibook already so I'm presuming it's similar thing to > what they term a 'New World Boot partition' when you talk about a > 'small partition'. Also can partitions that have been created under > Linux be converted by the installer to UFS2? > Yes, and yes. >> This is remedied in -CURRENT and will be merged to -STABLE in a week >> and a half, barring any reports of problems. >> > > So this will be merged into 7.0 as a compile time option for the > kernel? Does the supplied GCC support Altivec and if so can ports be > recompiled for Altivec support? > It will be in the kernel by default. The supplied gcc does support Altivec, and ports will use it if you set CPUTYPE=7450 or whatever Altivec-supporting CPU you have in /etc/make.conf. I'm currently running a world and all my ports built with Altivec on a G4 iBook very happily. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 27 00:15:48 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 AF847106566B for ; Fri, 27 Feb 2009 00:15:48 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 721318FC18 for ; Fri, 27 Feb 2009 00:15:48 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 1049F58241; Thu, 26 Feb 2009 18:15:48 -0600 (CST) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id svZ9lsqACEBq; Thu, 26 Feb 2009 18:15:47 -0600 (CST) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-55-200.icecube.wisc.edu [172.16.55.200]) by mail.icecube.wisc.edu (Postfix) with ESMTP id DDA375823C; Thu, 26 Feb 2009 18:15:47 -0600 (CST) Message-ID: <49A730B3.1030700@freebsd.org> Date: Thu, 26 Feb 2009 18:15:47 -0600 From: Nathan Whitehorn User-Agent: Thunderbird 2.0.0.19 (X11/20090126) MIME-Version: 1.0 To: Marcel Moolenaar , FreeBSD PowerPC ML References: <49A57020.1080603@freebsd.org> <0E097221-43AD-45C7-9293-1117E1FC68C5@mac.com> <49A5C989.7010307@freebsd.org> In-Reply-To: <49A5C989.7010307@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Brokenness in HEAD 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, 27 Feb 2009 00:15:48 -0000 Nathan Whitehorn wrote: > Marcel Moolenaar wrote: >> >> On Feb 25, 2009, at 8:21 AM, Nathan Whitehorn wrote: >> >>> Something seems to currently be quite broken in HEAD for PowerPC, at >>> least on the AIM platform. I'm getting almost immediate panics all >>> over the place in the kernel, usually indicating memory corruption >>> somehow (faults on bogus addresses, illegal instructions, etc...). >>> This is a heads-up to those thinking of updating systems or who >>> might know what happened. >>> >>> The change is on order a week old, and I believe newer than the >>> 20th. I have not done a full binary search yet, but it is not >>> related to the following (checked by selective reversion of bits of >>> the tree, or disabling bits): >>> - USB code >> >> USB2 works on my G4 mini. I'm running rev 188699 >> on it... >> > Yep. Mine too. And the previous kernel I have that works, compiled > Feb. 20, has USB2 and Altivec. The list was the list of things I know > are not the problem, because my kernels panic with or without those > components. I don't think I'll have time to track the problem down for > a couple days, but I think it happened between r188860 and r189000, > which doesn't leave too many candidates. Whatever this was, it seems to have gone again after completely wiping my local copy of the source tree and downloading a new one. Maybe I had some uncommitted hacks somewhere that I had forgotten about and were breaking things, or maybe that file system is giving out. Anyway, sorry for the (alarmist) noise. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 27 12:26: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 9E47D106568B for ; Fri, 27 Feb 2009 12:26:03 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id 3F2AA8FC18 for ; Fri, 27 Feb 2009 12:26:03 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id n1RCQ1m8028506; Fri, 27 Feb 2009 05:26:02 -0700 Message-ID: <49A7DBD7.7010103@semihalf.com> Date: Fri, 27 Feb 2009 13:25:59 +0100 From: Rafal Jaworowski Organization: Semihalf MIME-Version: 1.0 To: Aleksey V Fedorov References: <49A2704F.4060703@semihalf.com> <49A42369.600@freebsd.org> <49A511E5.1010705@semihalf.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: boot process 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, 27 Feb 2009 12:26:11 -0000 Aleksey V Fedorov wrote: > At this point I fill bootinfo from device-tree block. > Next is to recreate boot environment passed by loader. > Could you dump typical environment i.e. kern_envp on MPC85xx platform? Sure, below is the dump of my MPC8555CDS system, as seen from the running kernel: cds# kenv LINES="24" boot.netif.gateway="10.0.0.1" boot.netif.hwaddr="00:01:01:00:85:55" boot.netif.ip="10.0.0.61" boot.netif.netmask="255.255.0.0" boot.nfsroot.nfshandle="X0b5976484af8d75c0c00000049f2a30092cc301f000000000000000000000000X" boot.nfsroot.path="/nfsroot/mpc8555cds/" boot.nfsroot.server="10.0.0.201" bootfile="kernel" currdev="net0:" hw.uart.console="mm:0xfef04600" interpret="OK" kernel="kernel" kernel_options="" kernelname="boot/kernel/kernel-8-svn" loaddev="net0:" loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local" mac_ifoff="NO" module_path="/boot/kernel;/boot/modules" prompt="loader>" vfs.root.mountfrom="nfs:10.0.0.201:/nfsroot/mpc8555cds/" boot.netif.name="tsec0" The important item you should set manually is 'hw.uart.console' value (with your actual address of course). The rest are either automatically created, or are not critical for getting the kernel initially booting. Rafal From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 27 12:34:41 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 121DE1065674 for ; Fri, 27 Feb 2009 12:34:41 +0000 (UTC) (envelope-from nse@delfi-konsult.com) Received: from perseus.delfi-konsult.com (smtp.hoerhavegaard.dk [87.58.191.122]) by mx1.freebsd.org (Postfix) with ESMTP id CF3938FC27 for ; Fri, 27 Feb 2009 12:34:38 +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 716E55D82E for ; Fri, 27 Feb 2009 13:34:30 +0100 (CET) Message-Id: <34371109-F6D6-475F-9FF9-C242AA37E2E9@delfi-konsult.com> From: "Niels S. Eliasen" To: freebsd-ppc@freebsd.org X-Custom-Header: Yo! this is my X-Face Content-Type: multipart/mixed; boundary=Apple-Mail-388--267167280 Mime-Version: 1.0 (Apple Message framework v930.3) Date: Fri, 27 Feb 2009 13:34:30 +0100 X-Mailer: Apple Mail (2.930.3) Subject: Xorg and TiBook ? 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, 27 Feb 2009 12:34:41 -0000 --Apple-Mail-388--267167280 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi guys Any tips etc for making an "xorg.conf" on a TiBook 400Mhz ?? Ive tried both the "Xorg -configure" and xorgconfig, and "xorgconfig" gave me the best result.... But still I get the following errors: > (II) VESA: driver for VESA chipsets: vesa > (II) VGA: Generic VGA driver (version 4.1) for chipsets: generic > (WW) xf86EnableIO 5 > (II) xf86EnableIO: ffffffff > (WW) Can't map IO space! > (II) Primary Device is: PCI 00:10:0 > (EE) No devices detected. > > Fatal server error: > no screens found > the Xorg.log has been attached..... PS: the "freenx" port actually do compile when you remove the "386" dependencies .... ;-) kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett --Apple-Mail-388--267167280 Content-Disposition: attachment; filename=Xorg.0.log Content-Type: application/octet-stream; x-unix-mode=0644; name="Xorg.0.log" Content-Transfer-Encoding: 7bit X.Org X Server 1.4.2 Release Date: 11 June 2008 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.1-RELEASE powerpc Current Operating System: FreeBSD munin.delfi-konsult.com 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Sat Feb 14 12:54:02 CET 2009 root@munin.delfi-konsult.com:/usr/src/sys/powerpc/compile/munin powerpc Build Date: 27 January 2009 01:31:35PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 27 11:19:02 2009 (EE) Unable to locate/open config file (II) Loader magic: 0x19bcf54 (II) Module ABI versions: X.Org ANSI C Emulation: 0.3 X.Org Video Driver: 2.0 X.Org XInput driver : 2.0 X.Org Server Extension : 0.3 X.Org Font Renderer : 0.5 (II) Loader running on freebsd (II) LoadModule: "pcidata" (II) Loading /usr/local/lib/xorg/modules//libpcidata.so (II) Module pcidata: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org Video Driver, version 2.0 (--) Using syscons driver with X support (version 2.0) (--) using VT number 9 (WW) OS did not count PCI devices, guessing wildly (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:0b:0: chip 106b,0020 card 0000,0000 rev 00 class 06,00,00 hdr 00 (II) PCI: 00:10:0: chip 1002,4c46 card 1002,4c46 rev 02 class 03,00,00 hdr 00 (II) PCI: End of PCI scan (II) Host-to-PCI bridge: (II) Bus 0: bridge is at (0:11:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] (--) PCI:*(0:16:0) ATI Technologies Inc Rage Mobility M3 AGP 2x rev 2, Mem @ 0xb4000000/26, 0xb0000000/14, I/O @ 0x0400/8, BIOS @ 0xb0020000/17 New driver is "ati" (==) Using default built-in configuration (55 lines) (==) --- Start of built-in configuration --- Section "Module" Load "extmod" Load "dbe" Load "glx" Load "freetype" Load "type1" Load "record" Load "dri" EndSection Section "Monitor" Identifier "Builtin Default Monitor" EndSection Section "Device" Identifier "Builtin Default ati Device 0" Driver "ati" EndSection Section "Screen" Identifier "Builtin Default ati Screen 0" Device "Builtin Default ati Device 0" Monitor "Builtin Default Monitor" EndSection Section "Device" Identifier "Builtin Default fbdev Device 0" Driver "fbdev" EndSection Section "Screen" Identifier "Builtin Default fbdev Screen 0" Device "Builtin Default fbdev Device 0" Monitor "Builtin Default Monitor" EndSection Section "Device" Identifier "Builtin Default vesa Device 0" Driver "vesa" EndSection Section "Screen" Identifier "Builtin Default vesa Screen 0" Device "Builtin Default vesa Device 0" Monitor "Builtin Default Monitor" EndSection Section "Device" Identifier "Builtin Default vga Device 0" Driver "vga" EndSection Section "Screen" Identifier "Builtin Default vga Screen 0" Device "Builtin Default vga Device 0" Monitor "Builtin Default Monitor" EndSection Section "ServerLayout" Identifier "Builtin Default Layout" Screen "Builtin Default ati Screen 0" Screen "Builtin Default fbdev Screen 0" Screen "Builtin Default vesa Screen 0" Screen "Builtin Default vga Screen 0" EndSection (==) --- End of built-in configuration --- (==) ServerLayout "Builtin Default Layout" (**) |-->Screen "Builtin Default ati Screen 0" (0) (**) | |-->Monitor "Builtin Default Monitor" (**) | |-->Device "Builtin Default ati Device 0" (**) |-->Screen "Builtin Default fbdev Screen 0" (1) (**) | |-->Monitor "Builtin Default Monitor" (**) | |-->Device "Builtin Default fbdev Device 0" (**) |-->Screen "Builtin Default vesa Screen 0" (2) (**) | |-->Monitor "Builtin Default Monitor" (**) | |-->Device "Builtin Default vesa Device 0" (**) |-->Screen "Builtin Default vga Screen 0" (3) (**) | |-->Monitor "Builtin Default Monitor" (**) | |-->Device "Builtin Default vga Device 0" (==) Automatically adding devices (==) Automatically enabling devices (==) No FontPath specified. Using compiled-in default. (==) FontPath set to: /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/ (==) RgbPath set to "/usr/local/share/X11/rgb" (==) ModulePath set to "/usr/local/lib/xorg/modules" (==) |-->Input Device "" (==) |-->Input Device "" (==) The core pointer device wasn't specified explicitly in the layout. Using the default mouse configuration. (==) The core keyboard device wasn't specified explicitly in the layout. Using the default keyboard configuration. (II) Addressable bus resource ranges are [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] [1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B] (II) OS-reported resource ranges: [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] (II) Active PCI resource ranges: [0] -1 0 0xb0020000 - 0xb003ffff (0x20000) MX[B](B) [1] -1 0 0xb0000000 - 0xb0003fff (0x4000) MX[B](B) [2] -1 0 0xb4000000 - 0xb7ffffff (0x4000000) MX[B](B) [3] -1 0 0x00000400 - 0x000004ff (0x100) IX[B](B) (II) Active PCI resource ranges after removing overlaps: [0] -1 0 0xb0020000 - 0xb003ffff (0x20000) MX[B](B) [1] -1 0 0xb0000000 - 0xb0003fff (0x4000) MX[B](B) [2] -1 0 0xb4000000 - 0xb7ffffff (0x4000000) MX[B](B) [3] -1 0 0x00000400 - 0x000004ff (0x100) IX[B](B) (II) OS-reported resource ranges after removing overlaps with PCI: [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] (II) All system resource ranges: [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0xb0020000 - 0xb003ffff (0x20000) MX[B](B) [5] -1 0 0xb0000000 - 0xb0003fff (0x4000) MX[B](B) [6] -1 0 0xb4000000 - 0xb7ffffff (0x4000000) MX[B](B) [7] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [8] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] [9] -1 0 0x00000400 - 0x000004ff (0x100) IX[B](B) (II) "extmod" will be loaded. This was enabled by default and also specified in the config file. (II) "dbe" will be loaded. This was enabled by default and also specified in the config file. (II) "glx" will be loaded. This was enabled by default and also specified in the config file. (II) "freetype" will be loaded. This was enabled by default and also specified in the config file. (II) "type1" will be loaded. This was enabled by default and also specified in the config file. (II) "record" will be loaded. This was enabled by default and also specified in the config file. (II) "dri" will be loaded. This was enabled by default and also specified in the config file. (II) LoadModule: "extmod" (II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so (II) Module extmod: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 0.3 (II) Loading extension SHAPE (II) Loading extension MIT-SUNDRY-NONSTANDARD (II) Loading extension BIG-REQUESTS (II) Loading extension SYNC (II) Loading extension MIT-SCREEN-SAVER (II) Loading extension XC-MISC (II) Loading extension XFree86-VidModeExtension (II) Loading extension XFree86-Misc (II) Loading extension XFree86-DGA (II) Loading extension DPMS (II) Loading extension TOG-CUP (II) Loading extension Extended-Visual-Information (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation (II) Loading extension X-Resource (II) LoadModule: "dbe" (II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so (II) Module dbe: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 0.3 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "glx" (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.3 (==) AIGLX disabled (II) Loading extension GLX (II) LoadModule: "freetype" (II) Loading /usr/local/lib/xorg/modules/fonts//libfreetype.so (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project" compiled for 1.4.2, module version = 2.1.0 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.5 (II) Loading font FreeType (II) LoadModule: "type1" (II) Loading /usr/local/lib/xorg/modules/fonts//libtype1.so (II) Module type1: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.2 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.5 (II) Loading font Type1 (II) LoadModule: "record" (II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so (II) Module record: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.13.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 0.3 (II) Loading extension RECORD (II) LoadModule: "dri" (II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so (II) Module dri: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.3 (II) Loading extension XFree86-DRI (II) LoadModule: "ati" (II) Loading /usr/local/lib/xorg/modules/drivers//ati_drv.so (II) Module ati: vendor="X.Org Foundation" compiled for 1.4.2, module version = 6.9.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 2.0 (II) LoadModule: "r128" (II) Loading /usr/local/lib/xorg/modules/drivers//r128_drv.so (II) Module r128: vendor="X.Org Foundation" compiled for 1.4.2, module version = 6.8.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 2.0 (II) LoadModule: "fbdev" (WW) Warning, couldn't open module fbdev (II) UnloadModule: "fbdev" (EE) Failed to load module "fbdev" (module does not exist, 0) (II) LoadModule: "vesa" (II) Loading /usr/local/lib/xorg/modules/drivers//vesa_drv.so (II) Module vesa: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.3.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 2.0 (II) LoadModule: "vga" (II) Loading /usr/local/lib/xorg/modules/drivers//vga_drv.so (II) Module vga: vendor="X.Org Foundation" compiled for 1.4.2, module version = 4.1.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 2.0 (II) LoadModule: "mouse" (II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so (II) Module mouse: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.2.3 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 2.0 (II) LoadModule: "kbd" (II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so (II) Module kbd: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.2.2 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 2.0 (II) R128: Driver for ATI Rage 128 chipsets: ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3 LF (AGP), ATI Rage 128 Mobility M4 MF (AGP), ATI Rage 128 Mobility M4 ML (AGP), ATI Rage 128 Pro GL PA (PCI/AGP), ATI Rage 128 Pro GL PB (PCI/AGP), ATI Rage 128 Pro GL PC (PCI/AGP), ATI Rage 128 Pro GL PD (PCI), ATI Rage 128 Pro GL PE (PCI/AGP), ATI Rage 128 Pro GL PF (AGP), ATI Rage 128 Pro VR PG (PCI/AGP), ATI Rage 128 Pro VR PH (PCI/AGP), ATI Rage 128 Pro VR PI (PCI/AGP), ATI Rage 128 Pro VR PJ (PCI/AGP), ATI Rage 128 Pro VR PK (PCI/AGP), ATI Rage 128 Pro VR PL (PCI/AGP), ATI Rage 128 Pro VR PM (PCI/AGP), ATI Rage 128 Pro VR PN (PCI/AGP), ATI Rage 128 Pro VR PO (PCI/AGP), ATI Rage 128 Pro VR PP (PCI), ATI Rage 128 Pro VR PQ (PCI/AGP), ATI Rage 128 Pro VR PR (PCI), ATI Rage 128 Pro VR PS (PCI/AGP), ATI Rage 128 Pro VR PT (PCI/AGP), ATI Rage 128 Pro VR PU (PCI/AGP), ATI Rage 128 Pro VR PV (PCI/AGP), ATI Rage 128 Pro VR PW (PCI/AGP), ATI Rage 128 Pro VR PX (PCI/AGP), ATI Rage 128 GL RE (PCI), ATI Rage 128 GL RF (AGP), ATI Rage 128 RG (AGP), ATI Rage 128 VR RK (PCI), ATI Rage 128 VR RL (AGP), ATI Rage 128 4X SE (PCI/AGP), ATI Rage 128 4X SF (PCI/AGP), ATI Rage 128 4X SG (PCI/AGP), ATI Rage 128 4X SH (PCI/AGP), ATI Rage 128 4X SK (PCI/AGP), ATI Rage 128 4X SL (PCI/AGP), ATI Rage 128 4X SM (AGP), ATI Rage 128 4X SN (PCI/AGP), ATI Rage 128 Pro ULTRA TF (AGP), ATI Rage 128 Pro ULTRA TL (AGP), ATI Rage 128 Pro ULTRA TR (AGP), ATI Rage 128 Pro ULTRA TS (AGP?), ATI Rage 128 Pro ULTRA TT (AGP?), ATI Rage 128 Pro ULTRA TU (AGP?) (II) VESA: driver for VESA chipsets: vesa (II) VGA: Generic VGA driver (version 4.1) for chipsets: generic (WW) xf86EnableIO 5 (II) xf86EnableIO: ffffffff (WW) Can't map IO space! (II) Primary Device is: PCI 00:10:0 (EE) No devices detected. Fatal server error: no screens found --Apple-Mail-388--267167280 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit --Apple-Mail-388--267167280-- From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 27 15:09:42 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 7B283106571A for ; Fri, 27 Feb 2009 15:09:42 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1.vsi.ru (serv1.vsi.ru [80.82.32.12]) by mx1.freebsd.org (Postfix) with ESMTP id EEBC38FC1B for ; Fri, 27 Feb 2009 15:09:41 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1 (serv1 [80.82.32.12]) by serv1.vsi.ru (8.13.8+Sun/8.13.8) with ESMTP id n1RF9d52012336; Fri, 27 Feb 2009 18:09:40 +0300 (MSK) Date: Fri, 27 Feb 2009 18:09:39 +0300 (MSK) From: Aleksey V Fedorov X-X-Sender: alexf@serv1 To: Rafal Jaworowski In-Reply-To: <49A7DBD7.7010103@semihalf.com> Message-ID: References: <49A2704F.4060703@semihalf.com> <49A42369.600@freebsd.org> <49A511E5.1010705@semihalf.com> <49A7DBD7.7010103@semihalf.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ppc@freebsd.org Subject: Re: boot process 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, 27 Feb 2009 15:09:42 -0000 Hi! On Fri, 27 Feb 2009, Rafal Jaworowski wrote: > The important item you should set manually is 'hw.uart.console' value (with > your actual address of course). The rest are either automatically created, or > are not critical for getting the kernel initially booting. Thank you. Now kernel start to boot. transfer started .................................... transfer ok, time=283.76s setting up elf image... OK jumping to kernel code GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb L1 D-cache enabled L1 I-cache enabled Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #6: Fri Feb 27 17:59:20 MSK 2009 root@servd.vsi.ru:/usr/obj/powerpc/usr/current/src/sys/MPC85XX WARNING: WITNESS option enabled, expect reduced performance. Timecounter "decrementer" frequency 0 Hz quality 0 cpu0: Freescale e500v2 core revision 2.0 cpu0: HID0 80000000 real memory = 520077312 (495 MB) Physical memory chunk(s): 0x01000000 - 0x1f713fff, 510738432 bytes (124692 pages) avail memory = 508575744 (485 MB) random: mem: nfslock: pseudo-device null: nexus0: ocpbus0: on nexus0 ocpbus0: PORDEVSR=82b9ea67, PORDEVSR2=8f000079 and hang... Is it normal that "decrementer" frequency is 0 ? -- From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 27 16:22:51 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 7890F1065735 for ; Fri, 27 Feb 2009 16:22:51 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from semihalf.com (semihalf.com [206.130.101.55]) by mx1.freebsd.org (Postfix) with ESMTP id 4FDC08FC1F for ; Fri, 27 Feb 2009 16:22:51 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from mail.semihalf.com (mail.semihalf.com [83.15.139.206]) by semihalf.com (8.13.1/8.13.1) with ESMTP id n1RGMnJP023650; Fri, 27 Feb 2009 09:22:50 -0700 Message-ID: <49A81358.3080309@semihalf.com> Date: Fri, 27 Feb 2009 17:22:48 +0100 From: Rafal Jaworowski Organization: Semihalf MIME-Version: 1.0 To: Aleksey V Fedorov References: <49A2704F.4060703@semihalf.com> <49A42369.600@freebsd.org> <49A511E5.1010705@semihalf.com> <49A7DBD7.7010103@semihalf.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: boot process 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, 27 Feb 2009 16:22:51 -0000 ksey V Fedorov wrote: > Thank you. > Now kernel start to boot. Cool. > transfer started .................................... transfer ok, > time=283.76s > setting up elf image... OK > jumping to kernel code > GDB: no debug ports present > KDB: debugger backends: ddb > KDB: current backend: ddb > L1 D-cache enabled > L1 I-cache enabled > Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. > FreeBSD 8.0-CURRENT #6: Fri Feb 27 17:59:20 MSK 2009 > root@servd.vsi.ru:/usr/obj/powerpc/usr/current/src/sys/MPC85XX > WARNING: WITNESS option enabled, expect reduced performance. > Timecounter "decrementer" frequency 0 Hz quality 0 > cpu0: Freescale e500v2 core revision 2.0 > cpu0: HID0 80000000 > real memory = 520077312 (495 MB) > Physical memory chunk(s): > 0x01000000 - 0x1f713fff, 510738432 bytes (124692 pages) > avail memory = 508575744 (485 MB) > random: > mem: > nfslock: pseudo-device > null: > nexus0: > ocpbus0: on nexus0 > ocpbus0: PORDEVSR=82b9ea67, PORDEVSR2=8f000079 > > and hang... I quickly looked at the manual and noticed the 8548 has a different number of local access windows than the default 8. Please try to set law_max to 10 in ocpbus_probe(). Another thought: try not to instantiate LBC child (in ocpbus_attach() just comment out ocpbus_mk_child(dev, OCPBUS_DEVTYPE_LBC, 0)) and let me know if this changes anything. > Is it normal that "decrementer" frequency is 0 ? This isn't good, are you sure a proper value is given to decr_config()? Rafal From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 27 18:03:46 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 E4E4D1065670 for ; Fri, 27 Feb 2009 18:03:46 +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 7F61F8FC23 for ; Fri, 27 Feb 2009 18:03:45 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id n1RI3gS5044281; Fri, 27 Feb 2009 19:03:43 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <49A82AFE.1080209@fgznet.ch> Date: Fri, 27 Feb 2009 19:03:42 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: "Niels S. Eliasen" References: <34371109-F6D6-475F-9FF9-C242AA37E2E9@delfi-konsult.com> In-Reply-To: <34371109-F6D6-475F-9FF9-C242AA37E2E9@delfi-konsult.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: freebsd-ppc@freebsd.org Subject: Re: Xorg and TiBook ? 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, 27 Feb 2009 18:03:47 -0000 Niels S. Eliasen wrote: > Hi guys > > Any tips etc for making an "xorg.conf" on a TiBook 400Mhz ?? > > Ive tried both the "Xorg -configure" and xorgconfig, and "xorgconfig" > gave me the best result.... > But still I get the following errors: > >> (II) VESA: driver for VESA chipsets: vesa >> (II) VGA: Generic VGA driver (version 4.1) for chipsets: generic >> (WW) xf86EnableIO 5 >> (II) xf86EnableIO: ffffffff >> (WW) Can't map IO space! >> (II) Primary Device is: PCI 00:10:0 >> (EE) No devices detected. >> >> Fatal server error: >> no screens found Have you tried: sysctl hw.ofwfb.relax_mmap=1 or in: /etc/sysctl.conf hw.ofwfb.relax_mmap=1 It is mentioned on the wiki: http://wiki.freebsd.org//powerpc Andreas From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 27 18:49:16 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 6EC66106574E for ; Fri, 27 Feb 2009 18:49:16 +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 289838FC1B for ; Fri, 27 Feb 2009 18:49:16 +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 CE9595D82E; Fri, 27 Feb 2009 19:49:14 +0100 (CET) From: "Niels S. Eliasen" To: Andreas Tobler In-Reply-To: <49A82AFE.1080209@fgznet.ch> References: <34371109-F6D6-475F-9FF9-C242AA37E2E9@delfi-konsult.com> <49A82AFE.1080209@fgznet.ch> Message-Id: <558E7878-576B-46C1-9E4E-3329C6C037CC@delfi-konsult.com> X-Custom-Header: Yo! this is my X-Face Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Fri, 27 Feb 2009 19:49:13 +0100 X-Mailer: Apple Mail (2.930.3) Cc: freebsd-ppc@freebsd.org Subject: Re: Xorg and TiBook ? 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, 27 Feb 2009 18:49:16 -0000 Hi Andreas Den 27/02/2009 kl. 19.03 skrev Andreas Tobler: > Niels S. Eliasen wrote: >> Hi guys >> Any tips etc for making an "xorg.conf" on a TiBook 400Mhz ?? >> Ive tried both the "Xorg -configure" and xorgconfig, and >> "xorgconfig" gave me the best result.... >> But still I get the following errors: >>> (II) VESA: driver for VESA chipsets: vesa >>> (II) VGA: Generic VGA driver (version 4.1) for chipsets: generic >>> (WW) xf86EnableIO 5 >>> (II) xf86EnableIO: ffffffff >>> (WW) Can't map IO space! >>> (II) Primary Device is: PCI 00:10:0 >>> (EE) No devices detected. >>> >>> Fatal server error: >>> no screens found > > Have you tried: > > sysctl hw.ofwfb.relax_mmap=1 yep... no difference.... > > or in: > > /etc/sysctl.conf > hw.ofwfb.relax_mmap=1 > > It is mentioned on the wiki: http://wiki.freebsd.org//powerpc > > Andreas kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett From owner-freebsd-ppc@FreeBSD.ORG Sat Feb 28 01:22:58 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 AA8DE1065670; Sat, 28 Feb 2009 01:22:58 +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 7EC768FC0A; Sat, 28 Feb 2009 01:22:58 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n1S1MtXZ096248; Fri, 27 Feb 2009 20:22:56 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id n1S1MtYB043524; Fri, 27 Feb 2009 20:22:55 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 99E237302F; Fri, 27 Feb 2009 20:22:55 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090228012255.99E237302F@freebsd-current.sentex.ca> Date: Fri, 27 Feb 2009 20:22:55 -0500 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on clamscanner1 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: Sat, 28 Feb 2009 01:22:59 -0000 TB --- 2009-02-28 00:06:41 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-02-28 00:06:41 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-02-28 00:06:41 - cleaning the object tree TB --- 2009-02-28 00:07:12 - cvsupping the source tree TB --- 2009-02-28 00:07:12 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-02-28 00:07:22 - building world TB --- 2009-02-28 00:07:22 - MAKEOBJDIRPREFIX=/obj TB --- 2009-02-28 00:07:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-02-28 00:07:22 - TARGET=powerpc TB --- 2009-02-28 00:07:22 - TARGET_ARCH=powerpc TB --- 2009-02-28 00:07:22 - TZ=UTC TB --- 2009-02-28 00:07:22 - __MAKE_CONF=/dev/null TB --- 2009-02-28 00:07:22 - cd /src TB --- 2009-02-28 00:07:22 - /usr/bin/make -B buildworld >>> World build started on Sat Feb 28 00:07:23 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 [...] gzip -cn /src/usr.bin/from/from.1 > from.1.gz ===> usr.bin/fstat (all) cc -O2 -pipe -I/src/usr.bin/fstat/zfs/../../../sys/cddl/compat/opensolaris -I/src/usr.bin/fstat/zfs/../../../cddl/compat/opensolaris/include -I/src/usr.bin/fstat/zfs/../../../cddl/compat/opensolaris/lib/libumem -I/src/usr.bin/fstat/zfs/../../../cddl/contrib/opensolaris/lib/libzpool/common -I/src/usr.bin/fstat/zfs/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/src/usr.bin/fstat/zfs/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/usr.bin/fstat/zfs/../../../sys/cddl/contrib/opensolaris/uts/common/sys -I/src/usr.bin/fstat/zfs/../../../cddl/contrib/opensolaris/head -I/src/usr.bin/fstat/zfs/.. -DNEED_SOLARIS_BOOLEAN -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -c /src/usr.bin/fstat/zfs/../zfs.c cc -O2 -pipe -D_KVM_VNODE -DZFS -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /src/usr.bin/fstat/cd9660.c cc -O2 -pipe -D_KVM_VNODE -DZFS -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /src/usr.bin/fstat/fstat.c cc -O2 -pipe -D_KVM_VNODE -DZFS -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /src/usr.bin/fstat/msdosfs.c /src/usr.bin/fstat/msdosfs.c: In function 'msdosfs_filestat': /src/usr.bin/fstat/msdosfs.c:113: error: 'struct denode' has no member named 'de_dev' *** Error code 1 Stop in /src/usr.bin/fstat. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-02-28 01:22:55 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-02-28 01:22:55 - ERROR: failed to build world TB --- 2009-02-28 01:22:55 - 3642.77 user 344.51 system 4573.95 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat Feb 28 07:24:52 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 2B10A106564A; Sat, 28 Feb 2009 07:24:52 +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 F39248FC08; Sat, 28 Feb 2009 07:24:51 +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.3/8.14.3) with ESMTP id n1S7OjOn009457; Sat, 28 Feb 2009 02:24:45 -0500 (EST) (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.3/8.14.3) with ESMTP id n1S7OjAb047202; Sat, 28 Feb 2009 02:24:45 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 284977302F; Sat, 28 Feb 2009 02:24:45 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090228072445.284977302F@freebsd-current.sentex.ca> Date: Sat, 28 Feb 2009 02:24:45 -0500 (EST) X-Virus-Scanned: ClamAV 0.94.1/8983/Thu Feb 12 07:48:01 2009 clamav-milter version 0.94.2 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: Sat, 28 Feb 2009 07:24:53 -0000 TB --- 2009-02-28 06:08:59 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-02-28 06:08:59 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-02-28 06:08:59 - cleaning the object tree TB --- 2009-02-28 06:09:17 - cvsupping the source tree TB --- 2009-02-28 06:09:17 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-02-28 06:09:28 - building world TB --- 2009-02-28 06:09:28 - MAKEOBJDIRPREFIX=/obj TB --- 2009-02-28 06:09:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-02-28 06:09:28 - TARGET=powerpc TB --- 2009-02-28 06:09:28 - TARGET_ARCH=powerpc TB --- 2009-02-28 06:09:28 - TZ=UTC TB --- 2009-02-28 06:09:28 - __MAKE_CONF=/dev/null TB --- 2009-02-28 06:09:28 - cd /src TB --- 2009-02-28 06:09:28 - /usr/bin/make -B buildworld >>> World build started on Sat Feb 28 06:09:30 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 [...] gzip -cn /src/usr.bin/from/from.1 > from.1.gz ===> usr.bin/fstat (all) cc -O2 -pipe -I/src/usr.bin/fstat/zfs/../../../sys/cddl/compat/opensolaris -I/src/usr.bin/fstat/zfs/../../../cddl/compat/opensolaris/include -I/src/usr.bin/fstat/zfs/../../../cddl/compat/opensolaris/lib/libumem -I/src/usr.bin/fstat/zfs/../../../cddl/contrib/opensolaris/lib/libzpool/common -I/src/usr.bin/fstat/zfs/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/src/usr.bin/fstat/zfs/../../../sys/cddl/contrib/opensolaris/uts/common -I/src/usr.bin/fstat/zfs/../../../sys/cddl/contrib/opensolaris/uts/common/sys -I/src/usr.bin/fstat/zfs/../../../cddl/contrib/opensolaris/head -I/src/usr.bin/fstat/zfs/.. -DNEED_SOLARIS_BOOLEAN -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -c /src/usr.bin/fstat/zfs/../zfs.c cc -O2 -pipe -D_KVM_VNODE -DZFS -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /src/usr.bin/fstat/cd9660.c cc -O2 -pipe -D_KVM_VNODE -DZFS -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /src/usr.bin/fstat/fstat.c cc -O2 -pipe -D_KVM_VNODE -DZFS -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /src/usr.bin/fstat/msdosfs.c /src/usr.bin/fstat/msdosfs.c: In function 'msdosfs_filestat': /src/usr.bin/fstat/msdosfs.c:113: error: 'struct denode' has no member named 'de_dev' *** Error code 1 Stop in /src/usr.bin/fstat. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-02-28 07:24:44 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-02-28 07:24:44 - ERROR: failed to build world TB --- 2009-02-28 07:24:44 - 3643.66 user 339.96 system 4545.32 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat Feb 28 16:45:49 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 D3291106564A for ; Sat, 28 Feb 2009 16:45:49 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1.vsi.ru (serv1.vsi.ru [80.82.32.12]) by mx1.freebsd.org (Postfix) with ESMTP id 482968FC0C for ; Sat, 28 Feb 2009 16:45:49 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1 (serv1 [80.82.32.12]) by serv1.vsi.ru (8.13.8+Sun/8.13.8) with ESMTP id n1SGjkrg028643; Sat, 28 Feb 2009 19:45:46 +0300 (MSK) Date: Sat, 28 Feb 2009 19:45:46 +0300 (MSK) From: Aleksey V Fedorov X-X-Sender: alexf@serv1 To: Rafal Jaworowski In-Reply-To: <49A81358.3080309@semihalf.com> Message-ID: References: <49A2704F.4060703@semihalf.com> <49A42369.600@freebsd.org> <49A511E5.1010705@semihalf.com> <49A7DBD7.7010103@semihalf.com> <49A81358.3080309@semihalf.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ppc@freebsd.org Subject: Re: boot process 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, 28 Feb 2009 16:45:50 -0000 On Fri, 27 Feb 2009, Rafal Jaworowski wrote: > I quickly looked at the manual and noticed the 8548 has a different number of > local access windows than the default 8. Please try to set law_max to 10 in > ocpbus_probe(). I make this changes: Add in spr.h: #define SVR_MPC8548 0x8031 #define SVR_MPC8548E 0x8039 ocpbus_probe(): if (ver == SVR_MPC8572E || ver == SVR_MPC8572) law_max = 12; else if (ver == SVR_MPC8548E || ver == SVR_MPC8548) law_max = 10; else law_max = 8; cpu_reset(): if (ver == SVR_MPC8572E || ver == SVR_MPC8572 || ver == SVR_MPC8548E || ver == SVR_MPC8548) /* Systems with dedicated reset register */ ccsr_write4(OCP85XX_RSTCR, 2); else { law_getmax(): if (ver == SVR_MPC8572E || ver == SVR_MPC8572) return (12); else if (ver == SVR_MPC8548E || ver == SVR_MPC8548) return (10); else return (8); >> Is it normal that "decrementer" frequency is 0 ? > > This isn't good, are you sure a proper value is given to decr_config()? Hmm. With decr_config(0) kernel is booted, but with actual CCB clock 533000000 kernel silently hang somethere in kdb_init() or "data storage interrupt" occured. With decr_config(0) kernel boot look like this now: setting up elf image... OK jumping to kernel code GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb L1 D-cache enabled L1 I-cache enabled Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #13: Sat Feb 28 19:30:25 MSK 2009 root@servd.vsi.ru:/usr/obj/powerpc/usr/current/src/sys/MPC85XX Timecounter "decrementer" frequency 0 Hz quality 0 cpu0: Freescale e500v2 core revision 2.0 cpu0: HID0 80000000 real memory = 520077312 (495 MB) Physical memory chunk(s): 0x01000000 - 0x1f713fff, 510738432 bytes (124692 pages) avail memory = 508682240 (485 MB) null: random: nfslock: pseudo-device mem: nexus0: ocpbus0: on nexus0 ocpbus0: PORDEVSR=82b9ea67, PORDEVSR2=8f000079 uart0: iomem 0xfef04500-0xfef0450f irq 58 on ocpbus0 uart0: [FILTER] uart0: fast interrupt uart0: console (9600,n,8,1) uart1: iomem 0xfef04600-0xfef0460f irq 58 on ocpbus0 uart1: [FILTER] uart1: fast interrupt lbc0: iomem 0xfef05000-0xfef05fff on ocpbus0 Wiring VA=ff800000 to PA=ff800000 (size=400000), using TLB1[2] Wiring VA=ffc00000 to PA=ffc00000 (size=400000), using TLB1[3] Wiring VA=ff000000 to PA=ff000000 (size=400000), using TLB1[4] Wiring VA=ff400000 to PA=ff400000 (size=400000), using TLB1[5] tsec0: iomem 0xfef24000-0xfef24fff irq 45,46,50 on ocpbus0 miibus0: on tsec0 rgephy0: PHY 0 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto tsec0: bpf attached tsec0: Ethernet address: 00:0c:42:20:99:03 tsec0: [MPSAFE] tsec0: [ITHREAD] tsec0: [MPSAFE] tsec0: [ITHREAD] tsec0: [MPSAFE] tsec0: [ITHREAD] tsec1: iomem 0xfef25000-0xfef25fff irq 51,52,56 on ocpbus0 miibus1: on tsec1 rgephy1: PHY 1 on miibus1 rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto tsec1: bpf attached tsec1: Ethernet address: 00:0c:42:20:99:02 tsec1: [MPSAFE] tsec1: [ITHREAD] tsec1: [MPSAFE] tsec1: [ITHREAD] tsec1: [MPSAFE] tsec1: [ITHREAD] tsec2: iomem 0xfef26000-0xfef26fff irq 47,48,49 on ocpbus0 miibus2: on tsec2 rgephy2: PHY 2 on miibus2 rgephy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto tsec2: bpf attached tsec2: Ethernet address: 00:0c:42:20:99:01 tsec2: [MPSAFE] tsec2: [ITHREAD] tsec2: [MPSAFE] tsec2: [ITHREAD] tsec2: [MPSAFE] tsec2: [ITHREAD] tsec3: iomem 0xfef27000-0xfef27fff irq 53,54,55 on ocpbus0 miibus3: on tsec3 rgephy3: PHY 3 on miibus3 rgephy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto tsec3: bpf attached tsec3: Ethernet address: 00:0c:42:20:99:00 tsec3: [MPSAFE] tsec3: [ITHREAD] tsec3: [MPSAFE] tsec3: [ITHREAD] tsec3: [MPSAFE] tsec3: [ITHREAD] openpic0: iomem 0xfef40000-0xfef600b3 on ocpbus0 openpic0: Version 1.2, supports 1 CPUs and 80 irqs procfs registered Timecounters tick every 1.000 msec vlan: initialized, using hash tables with chaining lo0: bpf attached bootpc_init: wired to interface 'tsec0' Sending DHCP Discover packet from interface tsec0 (00:0c:42:20:99:03) tsec0: link state changed to DOWN -- Aleksey V. Fedorov AVF12-RIPE Phone: +7(4732)539880 Fax: +7(4732)531415 http://www.vsi.ru CenterTelecom Voronezh ISP http://isp.vsi.ru From owner-freebsd-ppc@FreeBSD.ORG Sat Feb 28 16:55:04 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 DD395106564A for ; Sat, 28 Feb 2009 16:55:04 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from beta.eecs.cwru.edu (beta.EECS.CWRU.Edu [129.22.150.110]) by mx1.freebsd.org (Postfix) with ESMTP id 2877B8FC13 for ; Sat, 28 Feb 2009 16:55:04 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from narn.knownspace ([::ffff:69.250.50.210]) (AUTH: PLAIN jrh29, TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by beta.eecs.cwru.edu with esmtp; Sat, 28 Feb 2009 11:55:00 -0500 id 00006FFC.49A96C64.00000B42 Date: Sat, 28 Feb 2009 11:55:33 -0500 From: Justin Hibbits To: freebsd-ppc@freebsd.org Message-ID: <20090228165533.GA1166@narn.knownspace> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Subject: No mixer with Snapper 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, 28 Feb 2009 16:55:06 -0000 After upgrading my kernel to one with the Snapper audio driver integrated, there is no longer a /dev/mixer, so mixer setting does not work. I have a DSP device, and sound does play, it's just very quiet. Output from sndstat is: FreeBSD Audio Driver (newpcm: 32bit 2007061600/powerpc) Installed devices: pcm0: at i2s [MPSAFE] (1p:1v/0r:0v channels default) Previously I was using Marco's AOA2 patch, which worked well, and had an adjustable mixer. - Justin From owner-freebsd-ppc@FreeBSD.ORG Sat Feb 28 17:56:13 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 3594C1065687 for ; Sat, 28 Feb 2009 17:56:13 +0000 (UTC) (envelope-from nwhitehorn@banshee.munuc.org) Received: from banshee.munuc.org (unknown [IPv6:2001:4978:11f:d600::d610]) by mx1.freebsd.org (Postfix) with ESMTP id ED9558FC0C for ; Sat, 28 Feb 2009 17:56:12 +0000 (UTC) (envelope-from nwhitehorn@banshee.munuc.org) Received: from nwhitehorn (helo=localhost) by banshee.munuc.org with local-esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LdTQ4-000Mbj-DM; Sat, 28 Feb 2009 11:56:12 -0600 Date: Sat, 28 Feb 2009 11:56:12 -0600 (CST) From: Nathan Whitehorn X-X-Sender: nwhitehorn@banshee.munuc.org To: Justin Hibbits In-Reply-To: <20090228165533.GA1166@narn.knownspace> Message-ID: References: <20090228165533.GA1166@narn.knownspace> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: Nathan Whitehorn X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: nwhitehorn@banshee.munuc.org X-SA-Exim-Scanned: No (on banshee.munuc.org); SAEximRunCond expanded to false Cc: freebsd-ppc@freebsd.org Subject: Re: No mixer with Snapper 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, 28 Feb 2009 17:56:14 -0000 Did you add device iicbus and device kiic to your kernel? They are required in order to get mixer support. -Nathan On Sat, 28 Feb 2009, Justin Hibbits wrote: > After upgrading my kernel to one with the Snapper audio driver integrated, there > is no longer a /dev/mixer, so mixer setting does not work. I have a DSP device, > and sound does play, it's just very quiet. Output from sndstat is: > > FreeBSD Audio Driver (newpcm: 32bit 2007061600/powerpc) > Installed devices: > pcm0: at i2s [MPSAFE] (1p:1v/0r:0v channels default) > > Previously I was using Marco's AOA2 patch, which worked well, and had an > adjustable mixer. > > - Justin > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > From owner-freebsd-ppc@FreeBSD.ORG Sat Feb 28 18:43:00 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 E43681065673 for ; Sat, 28 Feb 2009 18:43:00 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from beta.eecs.cwru.edu (beta.EECS.CWRU.Edu [129.22.150.110]) by mx1.freebsd.org (Postfix) with ESMTP id 995B68FC14 for ; Sat, 28 Feb 2009 18:43:00 +0000 (UTC) (envelope-from jrh29@alumni.cwru.edu) Received: from narn.knownspace ([::ffff:69.250.50.210]) (AUTH: PLAIN jrh29, TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by beta.eecs.cwru.edu with esmtp; Sat, 28 Feb 2009 13:42:59 -0500 id 0000747B.49A985B3.00000285 Date: Sat, 28 Feb 2009 13:43:34 -0500 From: Justin Hibbits To: Nathan Whitehorn Message-ID: <20090228184334.GB1166@narn.knownspace> References: <20090228165533.GA1166@narn.knownspace> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-ppc@freebsd.org Subject: Re: No mixer with Snapper 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, 28 Feb 2009 18:43:01 -0000 Yeah, I have both iicbus and kiic in the kernel. I'm using a slightly modified GENERIC, adding in device sound and device snd_ai2s. - Justin On Sat, Feb 28, 2009 at 11:56:12AM -0600, Nathan Whitehorn wrote: > Did you add device iicbus and device kiic to your kernel? They are > required in order to get mixer support. > -Nathan > > On Sat, 28 Feb 2009, Justin Hibbits wrote: > > > After upgrading my kernel to one with the Snapper audio driver integrated, there > > is no longer a /dev/mixer, so mixer setting does not work. I have a DSP device, > > and sound does play, it's just very quiet. Output from sndstat is: > > > > FreeBSD Audio Driver (newpcm: 32bit 2007061600/powerpc) > > Installed devices: > > pcm0: at i2s [MPSAFE] (1p:1v/0r:0v channels default) > > > > Previously I was using Marco's AOA2 patch, which worked well, and had an > > adjustable mixer. > > > > - Justin > > _______________________________________________ > > freebsd-ppc@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > >