From owner-freebsd-ppc@FreeBSD.ORG Sat Sep 20 10:30:16 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 35EA5D69 for ; Sat, 20 Sep 2014 10:30:16 +0000 (UTC) Received: from asp.reflexion.net (outbound-241.asp.reflexion.net [69.84.129.241]) (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 AE186A5A for ; Sat, 20 Sep 2014 10:30:14 +0000 (UTC) Received: (qmail 18040 invoked from network); 20 Sep 2014 10:23:32 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 20 Sep 2014 10:23:32 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v7.30.7) with SMTP; Sat, 20 Sep 2014 06:23:32 -0400 (EDT) Received: (qmail 23283 invoked from network); 20 Sep 2014 10:23:10 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (DHE-RSA-AES256-SHA encrypted) SMTP; 20 Sep 2014 10:23:10 -0000 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 0E7111C402B for ; Sat, 20 Sep 2014 03:23:08 -0700 (PDT) From: Mark Millard Subject: 10.1-BETA1, PowerMac G5 using GENERIC64, Radeon X1950, Xorg 1.12.4_9, 1 with xfce4: no go so far... Message-Id: <4A8ACCB7-A7D2-460E-93DF-4AF5064D1F42@dsl-only.net> Date: Sat, 20 Sep 2014 03:23:08 -0700 To: FreeBSD PowerPC ML Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) 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 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: Sat, 20 Sep 2014 10:30:16 -0000 I ended up with access to a "Chipset: "ATI Radeon X1950" (ChipID =3D = 0x7240)" Radeon to put in a PowerMac G5 Quad Core. The card works fine = in Mac OS X 10.5 on the same PowerMac. Previously the Quad Core G5 = configurations that I've had access to had NVIDIA GeForce 7800 GT's. = Xorg starts up fine for the same G5 with that original card. But for 10.1-BETA1 based on the xorg.conf that Xorg -configure produces = (and any variation that I've tried) all I get is: ... [ 43.705] (=3D=3D) RADEON(0): Depth 24, (--) framebuffer bpp 32 [ 43.705] (II) RADEON(0): Pixel depth =3D 24 bits stored in 4 bytes = (32 bpp pixmaps) [ 43.705] (=3D=3D) RADEON(0): Default visual is TrueColor [ 43.706] (II) RADEON(0): VGAAccess option set to FALSE, VGA module = load skipped [ 43.706] (=3D=3D) RADEON(0): RGB weight 888 [ 43.706] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC) [ 43.706] (--) RADEON(0): Chipset: "ATI Radeon X1950" (ChipID =3D = 0x7240) [ 43.706] (--) RADEON(0): Linear framebuffer at 0x0000000098000000 [ 43.706] (II) RADEON(0): PCI card detected [ 43.706] (WW) RADEON(0): Failed to read PCI ROM! [ 43.706] (II) RADEON(0): Attempting to read un-POSTed bios [ 43.706] (WW) RADEON(0): Failed to read PCI ROM! [ 43.706] (WW) RADEON(0): Unrecognized BIOS signature, BIOS data will = not be used [ 43.706] (II) UnloadModule: "radeon" [ 43.706] (EE) Screen(s) found, but none have a usable configuration. [ 43.706]=20 Fatal server error: [ 43.706] no screens found ... (with variations for the times on the left). Xorg was "=3D=3D=3D> = Installing for xorg-server-1.12.4_9,1" (just to show the version number = reported during portmaster). Things look normal leading up to the above. Context (not that I expect the diffs contribute to the above): $ uname -a FreeBSD FBSDG5M1 10.1-BETA1 FreeBSD 10.1-BETA1 #0 r271610M: Thu Sep 18 = 19:13:29 PDT 2014 root@FBSDG5S1:/usr/obj/usr/src/sys/GENERIC64 = powerpc $ more /etc/make.conf WITH_DEBUG_FILES=3D WITHOUT_CLANG=3D WRKDIRPREFIX=3D/usr/obj/portswork WITH_DEBUG=3D $ svnlite diff /usr/src/sys Index: /usr/src/sys/ddb/db_script.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/src/sys/ddb/db_script.c (revision 271610) +++ /usr/src/sys/ddb/db_script.c (working copy) @@ -319,10 +319,25 @@ { char scriptname[DB_MAXSCRIPTNAME]; =20 + /* HACK!!! : Additional lines to force a basic default script to = exist. + * Will dump information even if ddb input is not available for = early crash. + * Used to get more information about PowerMac G5 "before = Copyright" hangs. + */ + struct ddb_script *dsp =3D = db_script_lookup(DB_SCRIPT_KDBENTER_DEFAULT); + if (!dsp) db_script_set(DB_SCRIPT_KDBENTER_DEFAULT, "show = registers; bt"); + snprintf(scriptname, sizeof(scriptname), "%s.%s", DB_SCRIPT_KDBENTER_PREFIX, eventname); if (db_script_exec(scriptname, 0) =3D=3D ENOENT) (void)db_script_exec(DB_SCRIPT_KDBENTER_DEFAULT, 0); + + /* HACK!!! : Additional lines to always use the default script, + * even if scriptname existed and was executed. + * Will dump information even if ddb input is not available for = early crash. + * Used to get more information about PowerMac G5 "before = Copyright" hangs. + */ + else + (void)db_script_exec(DB_SCRIPT_KDBENTER_DEFAULT, 0); } =20 /*- Index: /usr/src/sys/powerpc/conf/GENERIC =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/src/sys/powerpc/conf/GENERIC (revision 271610) +++ /usr/src/sys/powerpc/conf/GENERIC (working copy) @@ -79,6 +79,8 @@ # Debugging support. Always need this: options KDB # Enable kernel debugger = support. options KDB_TRACE # Print a stack trace for a = panic. +options DDB +options GDB =20 # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor = Kernel Index: /usr/src/sys/powerpc/conf/GENERIC64 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/src/sys/powerpc/conf/GENERIC64 (revision 271610) +++ /usr/src/sys/powerpc/conf/GENERIC64 (working copy) @@ -76,6 +76,8 @@ # Debugging support. Always need this: options KDB # Enable kernel debugger = support. options KDB_TRACE # Print a stack trace for a = panic. +options DDB +options GDB =20 # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor = Kernel No modifications to the ports. I do config gcc to do a full bootstrap = and config having the control for setting the reverse scroll wheel = direction in xfce4. Otherwise the ports have the default configurations. The "WITHOUT_CLANG=3D" is just because clang's build has problems under = "WITH_DEBUG_FILES=3D". =3D=3D=3D Mark Millard markmi at dsl-only.net