From owner-freebsd-ppc@FreeBSD.ORG Mon Sep 22 23:01:15 2014 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B14008F3 for ; Mon, 22 Sep 2014 23:01:15 +0000 (UTC) Received: from asp.reflexion.net (outbound-240.asp.reflexion.net [69.84.129.240]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46B806AC for ; Mon, 22 Sep 2014 23:01:14 +0000 (UTC) Received: (qmail 13543 invoked from network); 22 Sep 2014 23:01:07 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 22 Sep 2014 23:01:07 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v7.30.7) with SMTP; Mon, 22 Sep 2014 19:01:07 -0400 (EDT) Received: (qmail 970 invoked from network); 22 Sep 2014 23:01:06 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (DHE-RSA-AES256-SHA encrypted) SMTP; 22 Sep 2014 23:01:06 -0000 X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.8] (c-98-246-178-138.hsd1.or.comcast.net [98.246.178.138]) by iron2.pdx.net (Postfix) with ESMTPSA id 209B41C402B; Mon, 22 Sep 2014 16:01:01 -0700 (PDT) Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: 10.1-BETA2 "as distributed": PowerMac G4 (yes: 4) no boot hang with GeForce4 Ti 4600, so no hang without options DDB/GDB? From: Mark Millard In-Reply-To: Date: Mon, 22 Sep 2014 16:01:04 -0700 Message-Id: References: To: FreeBSD PowerPC ML X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Justin Hibbits X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 23:01:15 -0000 I tried installing 10.1-BETA2 directly from the 10.1-BETA2 MANIFEST and = *.txz files (via bsdinstall) to an SSD. The result booted the GeForce4 = Ti 4600 PowerMac G4 just fine. It appears that the additions of "options DDB" and "options GDB" to = GENERIC (and then doing buildworld kernel ...) may be what lead to the = boot time hang for the GeForce4 Ti 4600 video board based PowerMac G4. = The alternate is that WITH_DEBUG_FILES=3D, WITHOUT_CLANG=3D, WITH_DEBUG=3D= contributes or verbose_loading=3D"YES" in /boot/loader.conf does. Or = just building from source from a powerpc/GENERIC context (on a G5 = PowerMac) leads to the issue. At this point I've no clue why the GeForce4 Ti 4600 combined with any of = those alternatives leads to the hang. I may never know since the hang is = silent and rather early in the boot sequence. The radeon based PowerMac = G4's did not hang. Nor did the GeForce 7800 GT PowerMac G5's. =3D=3D=3D Mark Millard markmi at dsl-only.net On Sep 17, 2014, at 11:01 PM, Mark Millard = wrote: For FreeBSD 10.1-BETA1 the 1.4GHz Dual-processor PowerMac G4 (yep: 4) = with a NVIDIA GeForce4 Ti 4600 in it always hangs after: > GDB: no debug ports present > KDB: debugger backends: DDB > KDB: current backend: DDB without writing out the Copyright notice or anything else. The same SSD boots an ATI Radeon 9000/PRO If (AGP/PCI) PowerMac G4 of = the same PowerMac model just fine. (I give uname -a and build details = later.) The same SSD also boots a PowerMac G5 with a GeForce 7800 GT = video board just fine. Other than the SSD, video board, and memory, = there is only basic stock equipment in the PowerMacs. The two G4's match = for those details as well: only the video boards are different models = and the amounts of RAM match. And my older 10.1-PRERELEASE #0 r271215 boot SSD still boots the GeForce = Ti 4600 PowerMac G4 just fine. While the place for the boot-hang is suggestive, I've nothing beyond = that indicating any relationship to the random PowerMac G5 boot problem = at the same place in the display sequence. And on the G4 DDB is not reporting anything, unlike on the G5 when it = hangs there. Context for failed boots off the GeForce Ti 4600 PowerMac G4 (I've not = tried much variation from this so no claims of essential status for any = of it): > FreeBSD FBSDG4S1 10.1-BETA1 FreeBSD 10.1-BETA1 #1 r271610M: Wed Sep 17 = 21:47:20 PDT 2014 root@FBSDG4S1:/usr/obj/usr/src/sys/GENERIC = powerpc The "M" status of r271610M (now that I "make -j 8 buildworld kernel" = based on svn materials in /usr/src/) is from the GENERIC modification in = the modifications listed below. The non-default things are... A) Adding to /usr/src/sys/powerpc/conf/GENERIC: "options DDB" and = "options GDB". B) Having /etc/make.conf use WITH_DEBUG_FILES=3D, WITHOUT_CLANG=3D, = WITH_DEBUG=3D, as well as having a WRKDIRPREFIX=3D(path not listed = here). C) Having /boot/loader.conf with just: verbose_loading=3D"YES". Context for working boots of the same GeForce Ti 4600 PowerMac G4: > FreeBSD FBSDG4S0 10.1-PRERELEASE FreeBSD 10.1-PRERELEASE #0 r271215: = Sat Sep 6 23:56:15 PDT 2014 = root@FBSDG4S0:/usr/obj/usr/src/sys/GENERIC powerpc /usr/src/sys/powerpc/conf/GENERIC was not modified at all. (Thus no M = suffix on r271215.) But /etc/make.conf uses WITH_DEBUG_FILES=3D, WITHOUT_CLANG=3D, = WITH_DEBUG=3D, as well as having a WRKDIRPREFIX=3D(path not listed = here). /boot/loader.conf empty. =3D=3D=3D Mark Millard markmi at dsl-only.net