From owner-freebsd-ppc@FreeBSD.ORG Sun Mar 8 02:50:15 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 B63F51065675; Sun, 8 Mar 2009 02:50:15 +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 8B5F98FC0C; Sun, 8 Mar 2009 02:50:15 +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 n282oCeu015424; Sat, 7 Mar 2009 21:50:12 -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 n282oCsn095393; Sat, 7 Mar 2009 21:50:12 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id 53DA11B5060; Sat, 7 Mar 2009 21:50:12 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090308025012.53DA11B5060@freebsd-stable.sentex.ca> Date: Sat, 7 Mar 2009 21:50:12 -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: Sun, 08 Mar 2009 02:50:16 -0000 TB --- 2009-03-08 01:42:02 - tinderbox 2.6 running on freebsd-stable.sentex.ca TB --- 2009-03-08 01:42:02 - starting RELENG_7 tinderbox run for powerpc/powerpc TB --- 2009-03-08 01:42:02 - cleaning the object tree TB --- 2009-03-08 01:42:25 - cvsupping the source tree TB --- 2009-03-08 01:42:25 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7/powerpc/powerpc/supfile TB --- 2009-03-08 01:42:33 - building world TB --- 2009-03-08 01:42:33 - MAKEOBJDIRPREFIX=/obj TB --- 2009-03-08 01:42:33 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-03-08 01:42:33 - TARGET=powerpc TB --- 2009-03-08 01:42:33 - TARGET_ARCH=powerpc TB --- 2009-03-08 01:42:33 - TZ=UTC TB --- 2009-03-08 01:42:33 - __MAKE_CONF=/dev/null TB --- 2009-03-08 01:42:33 - cd /src TB --- 2009-03-08 01:42:33 - /usr/bin/make -B buildworld >>> World build started on Sun Mar 8 01:42:34 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 Sun Mar 8 02:48:04 UTC 2009 TB --- 2009-03-08 02:48:04 - generating LINT kernel config TB --- 2009-03-08 02:48:04 - cd /src/sys/powerpc/conf TB --- 2009-03-08 02:48:04 - /usr/bin/make -B LINT TB --- 2009-03-08 02:48:04 - building LINT kernel TB --- 2009-03-08 02:48:04 - MAKEOBJDIRPREFIX=/obj TB --- 2009-03-08 02:48:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-03-08 02:48:04 - TARGET=powerpc TB --- 2009-03-08 02:48:04 - TARGET_ARCH=powerpc TB --- 2009-03-08 02:48:04 - TZ=UTC TB --- 2009-03-08 02:48:04 - __MAKE_CONF=/dev/null TB --- 2009-03-08 02:48:04 - cd /src TB --- 2009-03-08 02:48:04 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Mar 8 02:48:04 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 -------------------------------------------------------------- cd /obj/powerpc/src/sys/LINT; MAKEOBJDIRPREFIX=/obj/powerpc MACHINE_ARCH=powerpc MACHINE=powerpc CPUTYPE= GROFF_BIN_PATH=/obj/powerpc/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/obj/powerpc/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/obj/powerpc/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/obj/powerpc/src/tmp VERSION="FreeBSD 7.0-BETA2 i386 700055" INSTALL="sh /src/tools/install.sh" PATH=/obj/powerpc/src/tmp/legacy/usr/sbin:/obj/powerpc/src/tmp/legacy/usr/bin:/obj/powerpc/src/tmp/legacy/usr/games:/obj/powerpc/src/tmp/usr/sbin:/obj/powerpc/src/tmp/usr/bin:/obj/powerpc/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=1 /usr/bin/make KERNEL=kernel all -DNO_MODULES_OBJ cc -c -x assembler-with-cpp -DLOCORE -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 -mno-altivec -ffreestanding -Werror /src/sys/powerpc/powerpc/locore.S /src/sys/powerpc/powerpc/trap_subr.S: Assembler messages: /src/sys/powerpc/powerpc/trap_subr.S:522: Error: undefined symbol `TMPSTKSZ' in operation /src/sys/powerpc/powerpc/trap_subr.S:523: Error: undefined symbol `TMPSTKSZ' in operation *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-03-08 02:50:12 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-03-08 02:50:12 - ERROR: failed to build lint kernel TB --- 2009-03-08 02:50:12 - 3423.20 user 347.83 system 4089.30 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sun Mar 8 13:30:04 2009 Return-Path: Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2801B1065678 for ; Sun, 8 Mar 2009 13:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DE1EE8FC1C for ; Sun, 8 Mar 2009 13:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n28DU3XE040685 for ; Sun, 8 Mar 2009 13:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n28DU3iu040682; Sun, 8 Mar 2009 13:30:03 GMT (envelope-from gnats) Resent-Date: Sun, 8 Mar 2009 13:30:03 GMT Resent-Message-Id: <200903081330.n28DU3iu040682@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ppc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, stas Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9298B106564A for ; Sun, 8 Mar 2009 13:28:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 809178FC13 for ; Sun, 8 Mar 2009 13:28:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n28DSr39048270 for ; Sun, 8 Mar 2009 13:28:53 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n28DSr1P048269; Sun, 8 Mar 2009 13:28:53 GMT (envelope-from nobody) Message-Id: <200903081328.n28DSr1P048269@www.freebsd.org> Date: Sun, 8 Mar 2009 13:28:53 GMT From: stas To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: powerpc/132411: Popup motherboard bios setup window when rebooting system and use raid controller 3ware 9650se X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2009 13:30:04 -0000 >Number: 132411 >Category: powerpc >Synopsis: Popup motherboard bios setup window when rebooting system and use raid controller 3ware 9650se >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ppc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 08 13:30:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: stas >Release: 7.1 7.0 >Organization: fortuna-99 >Environment: defaul setup >Description: Iam use freebsd 7.1 -release or freebsd 7.0-release and intel df43tf motherboard with 3ware 9650se raid controller. There is Popup motherboard setup window when iam reboot system (this window display only if iam press f2 in intel motherboad). Every reboot iam must press f10 key and sey "yes" that exit motherboad bios setup. This is not problem of motherboard or problem of controller beacuse when iam install microsoft windows problem not detected. >How-To-Repeat: every reboot >Fix: Fixing problem is use "standart" boot method when install freebsd 7.0 or 7.1 from live cd. If you choose "boot manager" or "none" in freebsd setup window, problem will be appear. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ppc@FreeBSD.ORG Sun Mar 8 14:46:20 2009 Return-Path: Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97A1E106566B; Sun, 8 Mar 2009 14:46:20 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6CAA38FC17; Sun, 8 Mar 2009 14:46:20 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n28EkKqp044321; Sun, 8 Mar 2009 14:46:20 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n28EkJAV044317; Sun, 8 Mar 2009 14:46:19 GMT (envelope-from gavin) Date: Sun, 8 Mar 2009 14:46:19 GMT Message-Id: <200903081446.n28EkJAV044317@freefall.freebsd.org> To: stasmus@mail.ru, gavin@FreeBSD.org, freebsd-ppc@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: i386/132411: Popup motherboard bios setup window when rebooting system and use raid controller 3ware 9650se X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2009 14:46:20 -0000 Synopsis: Popup motherboard bios setup window when rebooting system and use raid controller 3ware 9650se State-Changed-From-To: open->closed State-Changed-By: gavin State-Changed-When: Sun Mar 8 14:45:49 UTC 2009 State-Changed-Why: Close, duplicate of 132416 http://www.freebsd.org/cgi/query-pr.cgi?pr=132411 From owner-freebsd-ppc@FreeBSD.ORG Sun Mar 8 19:34: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 E8FC5106564A; Sun, 8 Mar 2009 19:34:43 +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 979498FC08; Sun, 8 Mar 2009 19:34:43 +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; Sun, 08 Mar 2009 12:06:43 -0400 id 00004717.49B3ED14.00000199 Date: Sun, 8 Mar 2009 12:07:16 -0400 From: Justin Hibbits To: Nathan Whitehorn Message-ID: <20090308160716.GA1065@narn.knownspace> References: <20090304091310.EQW86822@dommail.onthenet.com.au> <20090304215257.GA8306@narn.knownspace> <49AF223C.5010907@freebsd.org> <20090305125438.GB8306@narn.knownspace> <49B0712B.1090109@freebsd.org> <20090306120626.GA12461@narn.knownspace> <20090307145708.GA1128@narn.knownspace> <49B2E5EA.1030004@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <49B2E5EA.1030004@freebsd.org> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Peter Grehan , freebsd-ppc@freebsd.org Subject: Re: graphics on G4 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2009 19:34:44 -0000 On Sat, Mar 07, 2009 at 03:23:54PM -0600, Nathan Whitehorn wrote: > Justin Hibbits wrote: > > On Fri, Mar 06, 2009 at 07:06:26AM -0500, Justin Hibbits wrote: > >>>>> Did you ever discover whether writing to random bits of the framebuffer > >>>>> without ever having run X also causes this problem? > >>>>> -Nathan > >>>> Yes, I did perform that test, and it does cause the problem as well. For me it > >>>> hangs when starting a new process some time later, so can be tested somewhat > >>>> easily by performing a buildworld after doing the graphics test. > >>> My card, at least, has a framebuffer BAR that is 128 MB long, but only > >>> actually has 32 MB of graphics RAM. Writing anything to that 32 MB does > >>> not cause problems, but of course writing beyond that kills the machine, > >>> since that memory region does not actually exist. Is this true for yours > >>> as well? > >>> -Nathan > >> My card has 256MB of graphics RAM, and according to dmesg allocates that size > >> block, plus 64k in the 256MB region before it. I haven't yet tested what > >> address byte actually causes the crash, but that can be determined relatively > >> easily. What I'm guessing, though, is writing to anything past (end - 32k) will > >> cause the crash. I'll see if I can test this weekend. > >> > >> So, short answer to your question: it's not quite true for me, because it > >> happens when I write to what should be inside graphics RAM. > >> > >> - Justin > > > > Nathan- > > > > Attached is a simple program I wrote that just writes a straight line down the > > first column of the framebuffer. It reliably kills my system while running a > > 'make buildworld' within a few minutes of running this program. > > > > (Possibly) Relevant Details: > > > > ATI Radeon 9600PRO, 256MB edition. > > 1280x1024x8 framebuffer > > 1.25GiB RAM > > > > - Justin > > > > Thanks for the test. It looks like you've exposed a bug in how we mmap() > physical memory. It seems that if you try to write to the last page of > any mmap()ed physmem region, you get a panic in UMA. Using write(), on > the other hand, works just fine. > -Nathan Thanks for finding the actual problem. I'll be a welcome guinea pig for testing any patch for this. - Justin From owner-freebsd-ppc@FreeBSD.ORG Mon Mar 9 16:07: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 E677E106596C for ; Mon, 9 Mar 2009 16:07:39 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv4.vsi.ru (serv4.vsi.ru [80.82.32.19]) by mx1.freebsd.org (Postfix) with ESMTP id 4E4648FC48 for ; Mon, 9 Mar 2009 16:07:39 +0000 (UTC) (envelope-from alexf@vsi.ru) Received: from serv1 (serv1.vsi.ru [80.82.32.12]) by serv4.vsi.ru (8.13.8+Sun/8.13.8) with ESMTP id n29G7aW4010855 for ; Mon, 9 Mar 2009 19:07:36 +0300 (MSK) Date: Mon, 9 Mar 2009 19:07:36 +0300 (MSK) From: Aleksey V Fedorov X-X-Sender: alexf@serv1 To: freebsd-ppc@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: MPC85XX LBC UPM 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, 09 Mar 2009 16:07:43 -0000 Hi! Could somebody describe main idea of different LBC machines initialization? I see that only GPCM implemented and used now. I need UPM for CF ata disk. I can program UPM in particular device driver, but how to deal with LBC code in lbc.c? Which part of UPM programming and initialization must be done in LBC code and which part in particular driver code? What is the main concept? -- From owner-freebsd-ppc@FreeBSD.ORG Mon Mar 9 17:09:36 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 D1BE21065673 for ; Mon, 9 Mar 2009 17:09:36 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout011.mac.com (asmtpout011.mac.com [17.148.16.86]) by mx1.freebsd.org (Postfix) with ESMTP id BA5698FC0A for ; Mon, 9 Mar 2009 17:09:36 +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 dpham-t61.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp011.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KG9000OI0ZCGP20@asmtp011.mac.com> for freebsd-ppc@freebsd.org; Mon, 09 Mar 2009 10:09:13 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.7400:2.4.4,1.2.40,4.0.166 definitions=2009-03-09_05:2009-03-05, 2009-03-09, 2009-03-09 signatures=0 Message-id: From: Marcel Moolenaar To: Aleksey V Fedorov In-reply-to: Date: Mon, 09 Mar 2009 10:09:12 -0700 References: X-Mailer: Apple Mail (2.930.3) Cc: freebsd-ppc@freebsd.org Subject: Re: MPC85XX LBC UPM 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, 09 Mar 2009 17:09:38 -0000 On Mar 9, 2009, at 9:07 AM, Aleksey V Fedorov wrote: > > Hi! > > Could somebody describe main idea of different LBC machines > initialization? I see that only GPCM implemented and used now. > I need UPM for CF ata disk. I can program UPM in particular > device driver, but how to deal with LBC code in lbc.c? Which > part of UPM programming and initialization must be done in LBC > code and which part in particular driver code? What is the main > concept? Given that the GPCM, UPM and SDRAM modes cannot operate concurrently (they share the same external pins), you probably want the UPM programming to be done in the LBC driver. There you can also deal with serialization. With 8 possible devices, you can treat the LBC state machines as a resource that you can allocate and release. This can be done by adding a resource type: SYS_RES_LBCSM /* LBC state machine. */ After you allocate a state machine you need to activate it before you can use it. After use you deactivate the resource. This facilitates serialization. It also helps the LBC driver to setup whatever needs to be setup for use by the corresponding state machine (i.e. for SDRAM you want a particular I/O memory region to be enabled and mapped so that you have direct-access to the SDRAM). In order to do reads or writes, you may need to add a special LBC interface (alongside the driver interface or the bus interface) so that the driver can handshake with the LBC about the transaction. This is to setup DMA engines. In any case: consider configurations that can actually be tested and implement for that. Even if it's limited in certain respects. FYI, -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ppc@FreeBSD.ORG Mon Mar 9 17:15:12 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 807221065694 for ; Mon, 9 Mar 2009 17:15:12 +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 B90098FC14 for ; Mon, 9 Mar 2009 17:15:10 +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 n29HFAUD045352 for ; Mon, 9 Mar 2009 17:15:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n29HFAhT045348 for freebsd-ppc@FreeBSD.org; Mon, 9 Mar 2009 17:15:10 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 9 Mar 2009 17:15:10 GMT Message-Id: <200903091715.n29HFAhT045348@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, 09 Mar 2009 17:15:15 -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 Tue Mar 10 19:41:10 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 C453110656BB; Tue, 10 Mar 2009 19:41:10 +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 8266D8FC2C; Tue, 10 Mar 2009 19:41:10 +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 n2AJf6sk029615; Tue, 10 Mar 2009 15:41:06 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id n2AJf6VU035120; Tue, 10 Mar 2009 15:41:06 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id DDC667302F; Tue, 10 Mar 2009 14:41:05 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090310194105.DDC667302F@freebsd-current.sentex.ca> Date: Tue, 10 Mar 2009 14:41:05 -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: [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, 10 Mar 2009 19:41:11 -0000 TB --- 2009-03-10 18:11:40 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-03-10 18:11:40 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-03-10 18:11:40 - cleaning the object tree TB --- 2009-03-10 18:12:18 - cvsupping the source tree TB --- 2009-03-10 18:12:18 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-03-10 18:12:27 - building world TB --- 2009-03-10 18:12:27 - MAKEOBJDIRPREFIX=/obj TB --- 2009-03-10 18:12:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-03-10 18:12:27 - TARGET=powerpc TB --- 2009-03-10 18:12:27 - TARGET_ARCH=powerpc TB --- 2009-03-10 18:12:27 - TZ=UTC TB --- 2009-03-10 18:12:27 - __MAKE_CONF=/dev/null TB --- 2009-03-10 18:12:27 - cd /src TB --- 2009-03-10 18:12:27 - /usr/bin/make -B buildworld >>> World build started on Tue Mar 10 18:12:28 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 Mar 10 19:36:00 UTC 2009 TB --- 2009-03-10 19:36:00 - generating LINT kernel config TB --- 2009-03-10 19:36:00 - cd /src/sys/powerpc/conf TB --- 2009-03-10 19:36:00 - /usr/bin/make -B LINT TB --- 2009-03-10 19:36:00 - building LINT kernel TB --- 2009-03-10 19:36:00 - MAKEOBJDIRPREFIX=/obj TB --- 2009-03-10 19:36:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-03-10 19:36:00 - TARGET=powerpc TB --- 2009-03-10 19:36:00 - TARGET_ARCH=powerpc TB --- 2009-03-10 19:36:00 - TZ=UTC TB --- 2009-03-10 19:36:00 - __MAKE_CONF=/dev/null TB --- 2009-03-10 19:36:00 - cd /src TB --- 2009-03-10 19:36:00 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Mar 10 19:36:00 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 -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 -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/bktr/bktr_os.c 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 -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/bktr/bktr_tuner.c 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 -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/bktr/msp34xx.c 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 -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/buslogic/bt.c 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 -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/buslogic/bt_pci.c 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 -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/cardbus/cardbus.c cc1: warnings being treated as errors /src/sys/dev/cardbus/cardbus.c:86: warning: 'cardbus_write_ivar' declared 'static' but never defined *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-03-10 19:41:05 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-03-10 19:41:05 - ERROR: failed to build lint kernel TB --- 2009-03-10 19:41:05 - 4273.91 user 396.10 system 5365.09 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Wed Mar 11 03:22:27 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 317791065670; Wed, 11 Mar 2009 03:22:27 +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 F3F078FC1C; Wed, 11 Mar 2009 03:22:26 +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 <0KGB00602O1EJU00@smtpauth2.wiscmail.wisc.edu>; Tue, 10 Mar 2009 22:22:26 -0500 (CDT) 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 <0KGB005ITO1BCQ00@smtpauth2.wiscmail.wisc.edu>; Tue, 10 Mar 2009 22:22:24 -0500 (CDT) Date: Tue, 10 Mar 2009 22:23:43 -0500 From: Nathan Whitehorn In-reply-to: <20090308160716.GA1065@narn.knownspace> To: Justin Hibbits Message-id: <49B72EBF.9010001@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.154.1.172 X-Spam-PmxInfo: Server=avs-12, Version=5.5.1.360522, Antispam-Engine: 2.6.1.350677, Antispam-Data: 2009.3.11.30716, SenderIP=99.154.1.172 References: <20090304091310.EQW86822@dommail.onthenet.com.au> <20090304215257.GA8306@narn.knownspace> <49AF223C.5010907@freebsd.org> <20090305125438.GB8306@narn.knownspace> <49B0712B.1090109@freebsd.org> <20090306120626.GA12461@narn.knownspace> <20090307145708.GA1128@narn.knownspace> <49B2E5EA.1030004@freebsd.org> <20090308160716.GA1065@narn.knownspace> User-Agent: Thunderbird 2.0.0.19 (X11/20090126) Cc: Peter Grehan , freebsd-ppc@freebsd.org Subject: Re: graphics on G4 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, 11 Mar 2009 03:22:27 -0000 Justin Hibbits wrote: > On Sat, Mar 07, 2009 at 03:23:54PM -0600, Nathan Whitehorn wrote: >> Justin Hibbits wrote: >>> On Fri, Mar 06, 2009 at 07:06:26AM -0500, Justin Hibbits wrote: >>>>>>> Did you ever discover whether writing to random bits of the framebuffer >>>>>>> without ever having run X also causes this problem? >>>>>>> -Nathan >>>>>> Yes, I did perform that test, and it does cause the problem as well. For me it >>>>>> hangs when starting a new process some time later, so can be tested somewhat >>>>>> easily by performing a buildworld after doing the graphics test. >>>>> My card, at least, has a framebuffer BAR that is 128 MB long, but only >>>>> actually has 32 MB of graphics RAM. Writing anything to that 32 MB does >>>>> not cause problems, but of course writing beyond that kills the machine, >>>>> since that memory region does not actually exist. Is this true for yours >>>>> as well? >>>>> -Nathan >>>> My card has 256MB of graphics RAM, and according to dmesg allocates that size >>>> block, plus 64k in the 256MB region before it. I haven't yet tested what >>>> address byte actually causes the crash, but that can be determined relatively >>>> easily. What I'm guessing, though, is writing to anything past (end - 32k) will >>>> cause the crash. I'll see if I can test this weekend. >>>> >>>> So, short answer to your question: it's not quite true for me, because it >>>> happens when I write to what should be inside graphics RAM. >>>> >>>> - Justin >>> Nathan- >>> >>> Attached is a simple program I wrote that just writes a straight line down the >>> first column of the framebuffer. It reliably kills my system while running a >>> 'make buildworld' within a few minutes of running this program. >>> >>> (Possibly) Relevant Details: >>> >>> ATI Radeon 9600PRO, 256MB edition. >>> 1280x1024x8 framebuffer >>> 1.25GiB RAM >>> >>> - Justin >>> >> Thanks for the test. It looks like you've exposed a bug in how we mmap() >> physical memory. It seems that if you try to write to the last page of >> any mmap()ed physmem region, you get a panic in UMA. Using write(), on >> the other hand, works just fine. >> -Nathan > > Thanks for finding the actual problem. I'll be a welcome guinea pig for testing > any patch for this. Let me know if SVN revision 189675 (changes to powerpc/aim/mmu_oea.c) solves your problem. It fixes the test program on my G4 iBook. Apparently trying to unmap mmaped physical memory regions caused the fictitious pages created by the VM to be deallocated from the wrong UMA zone, which was panicing the kernel. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Thu Mar 12 02: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 1EC42106566C; Thu, 12 Mar 2009 02:06:57 +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 C1EC28FC14; Thu, 12 Mar 2009 02:06:56 +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; Wed, 11 Mar 2009 22:06:55 -0400 id 00005C40.49B86E3F.0000375F Date: Wed, 11 Mar 2009 22:07:31 -0400 From: Justin Hibbits To: Nathan Whitehorn Message-ID: <20090312020731.GA28704@narn.knownspace> References: <20090304091310.EQW86822@dommail.onthenet.com.au> <20090304215257.GA8306@narn.knownspace> <49AF223C.5010907@freebsd.org> <20090305125438.GB8306@narn.knownspace> <49B0712B.1090109@freebsd.org> <20090306120626.GA12461@narn.knownspace> <20090307145708.GA1128@narn.knownspace> <49B2E5EA.1030004@freebsd.org> <20090308160716.GA1065@narn.knownspace> <49B72EBF.9010001@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <49B72EBF.9010001@freebsd.org> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Peter Grehan , freebsd-ppc@freebsd.org Subject: Re: graphics on G4 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, 12 Mar 2009 02:06:57 -0000 On Tue, Mar 10, 2009 at 10:23:43PM -0500, Nathan Whitehorn wrote: > Justin Hibbits wrote: > > On Sat, Mar 07, 2009 at 03:23:54PM -0600, Nathan Whitehorn wrote: > >> Justin Hibbits wrote: > >>> On Fri, Mar 06, 2009 at 07:06:26AM -0500, Justin Hibbits wrote: > >>>>>>> Did you ever discover whether writing to random bits of the framebuffer > >>>>>>> without ever having run X also causes this problem? > >>>>>>> -Nathan > >>>>>> Yes, I did perform that test, and it does cause the problem as well. For me it > >>>>>> hangs when starting a new process some time later, so can be tested somewhat > >>>>>> easily by performing a buildworld after doing the graphics test. > >>>>> My card, at least, has a framebuffer BAR that is 128 MB long, but only > >>>>> actually has 32 MB of graphics RAM. Writing anything to that 32 MB does > >>>>> not cause problems, but of course writing beyond that kills the machine, > >>>>> since that memory region does not actually exist. Is this true for yours > >>>>> as well? > >>>>> -Nathan > >>>> My card has 256MB of graphics RAM, and according to dmesg allocates that size > >>>> block, plus 64k in the 256MB region before it. I haven't yet tested what > >>>> address byte actually causes the crash, but that can be determined relatively > >>>> easily. What I'm guessing, though, is writing to anything past (end - 32k) will > >>>> cause the crash. I'll see if I can test this weekend. > >>>> > >>>> So, short answer to your question: it's not quite true for me, because it > >>>> happens when I write to what should be inside graphics RAM. > >>>> > >>>> - Justin > >>> Nathan- > >>> > >>> Attached is a simple program I wrote that just writes a straight line down the > >>> first column of the framebuffer. It reliably kills my system while running a > >>> 'make buildworld' within a few minutes of running this program. > >>> > >>> (Possibly) Relevant Details: > >>> > >>> ATI Radeon 9600PRO, 256MB edition. > >>> 1280x1024x8 framebuffer > >>> 1.25GiB RAM > >>> > >>> - Justin > >>> > >> Thanks for the test. It looks like you've exposed a bug in how we mmap() > >> physical memory. It seems that if you try to write to the last page of > >> any mmap()ed physmem region, you get a panic in UMA. Using write(), on > >> the other hand, works just fine. > >> -Nathan > > > > Thanks for finding the actual problem. I'll be a welcome guinea pig for testing > > any patch for this. > > Let me know if SVN revision 189675 (changes to powerpc/aim/mmu_oea.c) > solves your problem. It fixes the test program on my G4 iBook. > Apparently trying to unmap mmaped physical memory regions caused the > fictitious pages created by the VM to be deallocated from the wrong UMA > zone, which was panicing the kernel. > -Nathan It seems to have fixed it. The machine's been up for about an hour now, running a make buildworld, and I've run in parallel a couple port builds, and started X a few times, and it hasn't crashed yet. Thanks for the fix, now all I need is DRI and I'll have everything I need for a good workstation. - Justin From owner-freebsd-ppc@FreeBSD.ORG Fri Mar 13 19:39:47 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 901E1106566B for ; Fri, 13 Mar 2009 19:39:47 +0000 (UTC) (envelope-from ssefick@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id 4D3498FC12 for ; Fri, 13 Mar 2009 19:39:47 +0000 (UTC) (envelope-from ssefick@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so267945ywb.13 for ; Fri, 13 Mar 2009 12:39:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=r5H39HVx2DUZ03YRQpHUrz4LPEiEsr0cZZlz7iVn4Hg=; b=WFKfcvcl3JrUBgqee65uRjH0CUl2jglUAKRxxAOA4q4wOurg0hF06U//yEXEXieTRX inFPvBUCrnS2IizDS4WRrJidRc+BBn+FcKnNwMyzh1Jpf8Cwr9xaZlrCY6NY2XqCdkSB Q3QepTwnZSQOxFeIieyj+GAVY9XkwEtD6ZFjM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=PfHSSkCvyzRDI5VQ+S4G+d8I0uP8FC9n/1Uw0HFB7/YDJPyj+8aG9x1dNSuD1eWI43 nis9guDqhSoe/QT6yIsXo6XYCTyMHKShMO2XYV6mhKVM6c7/LMT6eZ4q4M5sf4yCw+fo q4/jWlS2DR/yoPx6TJe/C+ip8n0k3+lr53B60= MIME-Version: 1.0 Received: by 10.150.57.17 with SMTP id f17mr2698954yba.136.1236971656928; Fri, 13 Mar 2009 12:14:16 -0700 (PDT) Date: Fri, 13 Mar 2009 15:14:16 -0400 Message-ID: From: stephen sefick To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Broadcom 4306 rev 3 ibook 933mhz ibook 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, 13 Mar 2009 19:39:47 -0000 I would like to install BSD onto my ibook, but I would like to know if it is possible to have the wireless card work. I have been searching around the internet and have found no answers except that one person on the openbsd mainling list has an ibook where the wireless card used to work. I have debian installed on the computer right now so anything that could make this question easier I can try and get that information. thanks for any help, -- Stephen Sefick Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods. We are mammals, and have not exhausted the annoying little problems of being mammals. -K. Mullis From owner-freebsd-ppc@FreeBSD.ORG Sat Mar 14 09:36:50 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 5E7AC1065670; Sat, 14 Mar 2009 09:36:50 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from mail09.syd.optusnet.com.au (mail09.syd.optusnet.com.au [211.29.132.190]) by mx1.freebsd.org (Postfix) with ESMTP id EB2C88FC15; Sat, 14 Mar 2009 09:36:49 +0000 (UTC) (envelope-from horst@sxemacs.org) Received: from [211.30.92.171] (c211-30-92-171.farfl2.nsw.optusnet.com.au [211.30.92.171]) (authenticated sender horst.burkhardt) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n2E9akpl020929; Sat, 14 Mar 2009 20:36:47 +1100 From: Horst =?ISO-8859-1?Q?G=FCnther?= Burkhardt III To: Alexander Best In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-ACM6vzwov1JWu12o0MgI" Date: Sat, 14 Mar 2009 20:36:46 +1100 Message-Id: <1237023406.13391.1.camel@horst-tla> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Cc: freebsd-current@freebsd.org, FreeBSD PowerPC ML Subject: Re: interrupt storm with dvd-drive 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, 14 Mar 2009 09:36:50 -0000 --=-ACM6vzwov1JWu12o0MgI Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2009-03-13 at 21:13 +0100, Alexander Best wrote: > hi there, >=20 > i was trying to create an iso from a cd. i tried both dd and recoverdisk. > unfortunately during the very last read i get the following warnings: >=20 {...} > acd0: FAILURE - READ_BIG timed out >=20 > during the interrupt storm the whole system freezes. what's strange about= this > is that this only happens with recorded cds. when i use dd or recoverdisk= with > a retail cd i'm having no problems at all. i tested this with cds that go= t > recorded under freebsd (using burncd) as well as with cds recorded under > windows. the results is the same (being the interrupt storm). the problem > however does NOT exist with DVD or DVD-/+R's! only with CD-Rs! >=20 > this is the controller i'm using: >=20 > port > 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f mem > 0xf8000000-0xf8001fff irq 19 at device 0.0 on pci3 >=20 > the drive is pata: >=20 > DVDR at ata4-slave UDMA33 This might be related to an issue I'm trying to eliminate atm, I'm trying it now. Basically I get the same minus the interrupt storm messages trying to boot a freebsd cd on my mac. I'll take a look. -- Horst. --=-ACM6vzwov1JWu12o0MgI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEABECAAYFAkm7eq4ACgkQRtTtv0BbTe5P4gCgn+Xa0r8VQwlJy07LbgyZ7BZp neAAn1Yf1DGH7yHeFEA+Vs3p/IPsPWLt =/3RR -----END PGP SIGNATURE----- --=-ACM6vzwov1JWu12o0MgI-- From owner-freebsd-ppc@FreeBSD.ORG Sat Mar 14 18:50:39 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 6B8BF10656BD; Sat, 14 Mar 2009 18:50:39 +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 3CEBD8FC1D; Sat, 14 Mar 2009 18:50:39 +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 n2EIoYXD064094; Sat, 14 Mar 2009 14:50:34 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n2EIoYGP075654; Sat, 14 Mar 2009 14:50:34 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 8F0F07302F; Sat, 14 Mar 2009 13:50:34 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090314185034.8F0F07302F@freebsd-current.sentex.ca> Date: Sat, 14 Mar 2009 13:50:34 -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, 14 Mar 2009 18:50:41 -0000 TB --- 2009-03-14 17:13:55 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-03-14 17:13:55 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2009-03-14 17:13:55 - cleaning the object tree TB --- 2009-03-14 17:14:26 - cvsupping the source tree TB --- 2009-03-14 17:14:26 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2009-03-14 17:14:34 - building world TB --- 2009-03-14 17:14:34 - MAKEOBJDIRPREFIX=/obj TB --- 2009-03-14 17:14:34 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-03-14 17:14:34 - TARGET=powerpc TB --- 2009-03-14 17:14:34 - TARGET_ARCH=powerpc TB --- 2009-03-14 17:14:34 - TZ=UTC TB --- 2009-03-14 17:14:34 - __MAKE_CONF=/dev/null TB --- 2009-03-14 17:14:34 - cd /src TB --- 2009-03-14 17:14:34 - /usr/bin/make -B buildworld >>> World build started on Sat Mar 14 17:14:37 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 Sat Mar 14 18:38:09 UTC 2009 TB --- 2009-03-14 18:38:09 - generating LINT kernel config TB --- 2009-03-14 18:38:09 - cd /src/sys/powerpc/conf TB --- 2009-03-14 18:38:09 - /usr/bin/make -B LINT TB --- 2009-03-14 18:38:09 - building LINT kernel TB --- 2009-03-14 18:38:09 - MAKEOBJDIRPREFIX=/obj TB --- 2009-03-14 18:38:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-03-14 18:38:09 - TARGET=powerpc TB --- 2009-03-14 18:38:09 - TARGET_ARCH=powerpc TB --- 2009-03-14 18:38:09 - TZ=UTC TB --- 2009-03-14 18:38:09 - __MAKE_CONF=/dev/null TB --- 2009-03-14 18:38:09 - cd /src TB --- 2009-03-14 18:38:09 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Mar 14 18:38:09 UTC 2009 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] /src/sys/netinet/sctp_indata.c: In function 'sctp_handle_sack': /src/sys/netinet/sctp_indata.c:5708: error: 'struct sctp_data_chunkrec' has no member named 'fwd_tsn_cnt' /src/sys/netinet/sctp_indata.c:5709: error: 'struct sctp_data_chunkrec' has no member named 'fwd_tsn_cnt' /src/sys/netinet/sctp_indata.c:5711: error: 'struct sctp_data_chunkrec' has no member named 'fwd_tsn_cnt' /src/sys/netinet/sctp_indata.c: In function 'sctp_handle_nr_sack': /src/sys/netinet/sctp_indata.c:8285: error: 'struct sctp_data_chunkrec' has no member named 'fwd_tsn_cnt' /src/sys/netinet/sctp_indata.c:8286: error: 'struct sctp_data_chunkrec' has no member named 'fwd_tsn_cnt' /src/sys/netinet/sctp_indata.c:8288: error: 'struct sctp_data_chunkrec' has no member named 'fwd_tsn_cnt' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-03-14 18:50:34 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-03-14 18:50:34 - ERROR: failed to build lint kernel TB --- 2009-03-14 18:50:34 - 4655.10 user 408.26 system 5798.62 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat Mar 14 20:30: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 A9A401065677 for ; Sat, 14 Mar 2009 20:30: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 7DA228FC17 for ; Sat, 14 Mar 2009 20:30:33 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8; 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 <0KGI00F02JMWW400@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sat, 14 Mar 2009 15:30:32 -0500 (CDT) Received: from comporellon.tachypleus.net ([76.201.154.7]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPSA id <0KGI0066QJMVKR40@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sat, 14 Mar 2009 15:30:32 -0500 (CDT) Date: Sat, 14 Mar 2009 15:30:31 -0500 From: Nathan Whitehorn In-reply-to: To: stephen sefick Message-id: <49BC13E7.2030503@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.201.154.7 X-Spam-PmxInfo: Server=avs-14, Version=5.5.1.360522, Antispam-Engine: 2.6.1.350677, Antispam-Data: 2009.3.14.201921, SenderIP=76.201.154.7 References: User-Agent: Thunderbird 2.0.0.19 (X11/20090314) Cc: freebsd-ppc@freebsd.org Subject: Re: Broadcom 4306 rev 3 ibook 933mhz ibook 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, 14 Mar 2009 20:30:33 -0000 stephen sefick wrote: > I would like to install BSD onto my ibook, but I would like to know if > it is possible to have the wireless card work. I have been searching > around the internet and have found no answers except that one person > on the openbsd mainling list has an ibook where the wireless card used > to work. I have debian installed on the computer right now so > anything that could make this question easier I can try and get that > information. > thanks for any help, > > There is currently some experimental code in a Perforce repository for this, but the person who wrote it originally stopped working on it. It works well enough on my G4 iBook, but is still a little raw. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Sat Mar 14 20:40:10 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 93B0A1065673 for ; Sat, 14 Mar 2009 20:40:10 +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 2D06A8FC1E for ; Sat, 14 Mar 2009 20:40:09 +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 n2EKe6hr085512 for ; Sat, 14 Mar 2009 21:40:07 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <49BC1626.70106@fgznet.ch> Date: Sat, 14 Mar 2009 21:40:06 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: FreeBSD PowerPC ML 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 Subject: cross build world on amd64 install on ppc 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, 14 Mar 2009 20:40:10 -0000 Hi all, I learned that building a kernel for powerpc on amd64 is straight forward: make -j4 buildlernel TARGET_ARCH=powerpc KERNCONF=GENERIC make installkernel TARGET_ARCH=powerpc KERNCONF=GENERIC DESTDIR=/tmp Then I tar this kernel and scp it to the powerpc machine. Fine. I do this because building a kernel on amd64 takes 4' while on my ppc box it takes about one hour. Now I'd like to do the same for 'buildworld'. I have taken the approach to nfs export the /usr/src and the /usr/obj from the amd64 to the powerpc machine. Here I fail when try to do 'make installkernel'. The 'install' binary is an ELF 64-bit LSB executable, x86-64. Yes, this does not work on powerpc :) First, is this possible to do a buildkernel/buildworld on an amd64 for powerpc and then install it on powerpc? Is the nfs approach dead wrong? If it is possible to do a cross buildworld how do I install it on the ppc machine? Thanks for any pointers. Andreas From owner-freebsd-ppc@FreeBSD.ORG Sat Mar 14 21:33:07 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 DECAD106564A for ; Sat, 14 Mar 2009 21:33:07 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout015.mac.com (asmtpout015.mac.com [17.148.16.90]) by mx1.freebsd.org (Postfix) with ESMTP id CC07F8FC0C for ; Sat, 14 Mar 2009 21:33:07 +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 ovautrin-t431.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp015.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KGI007UZMJ6SL30@asmtp015.mac.com> for freebsd-ppc@freebsd.org; Sat, 14 Mar 2009 14:33:07 -0700 (PDT) Message-id: <59998CAE-B90C-4038-A6C8-52C3EB35987E@mac.com> From: Marcel Moolenaar To: Andreas Tobler In-reply-to: <49BC1626.70106@fgznet.ch> Date: Sat, 14 Mar 2009 14:33:05 -0700 References: <49BC1626.70106@fgznet.ch> X-Mailer: Apple Mail (2.930.3) Cc: FreeBSD PowerPC ML Subject: Re: cross build world on amd64 install on ppc 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, 14 Mar 2009 21:33:08 -0000 On Mar 14, 2009, at 1:40 PM, Andreas Tobler wrote: > make -j4 buildlernel TARGET_ARCH=powerpc KERNCONF=GENERIC > make installkernel TARGET_ARCH=powerpc KERNCONF=GENERIC DESTDIR=/tmp > > Now I'd like to do the same for 'buildworld'. make buildworld TARGET_ARCH... make installworld TARGET_ARCH... DESTDIR... > I have taken the approach to nfs export the /usr/src and the /usr/ > obj from the amd64 to the powerpc machine. You can NFS export DESTDIR and mount that on your powerpc machine. > First, is this possible to do a buildkernel/buildworld on an amd64 > for powerpc and then install it on powerpc? Indirectly yes. > Is the nfs approach dead wrong? No, but there are gotchas. For one, a cross build uses /usr/obj/${TARGET_ARCH} as the root of the object tree, whereas a native build simply uses /usr/obj. This needs to be compensated for. Also, as part of a buildworld we build host tools. These you need to build on your powerpc. One way is to do a buildworld on your powerpc machine after doing it on your amd64, making sure that the object tree is shared. This should avoid rebuilding on your powerpc, while making sure the prerequisites are dealt with. > If it is possible to do a cross buildworld how do I install it on > the ppc machine? I think the easiest approach is to do an installworld on your amd64 and mount that on your powerpc machine. You can use rsync to sync your powerpc /. Alternatives are tar, cp -R, etc... It would be great if we can improve the process so that you can build on machine X and install on machine Y, by sharing usr and obj trees. -- Marcel Moolenaar xcllnt@mac.com