10.1-BETA1, PowerMac G5 using GENERIC64, Radeon X1950, Xorg 1.12.4_9, 1 with xfce4: no go so far...

Mark Millard markmi at dsl-only.net
Sat Sep 20 10:30:16 UTC 2014


I ended up with access to a "Chipset: "ATI Radeon X1950" (ChipID = 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] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[    43.705] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    43.705] (==) RADEON(0): Default visual is TrueColor
[    43.706] (II) RADEON(0): VGAAccess option set to FALSE, VGA module load skipped
[    43.706] (==) 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 = 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] 
Fatal server error:
[    43.706] no screens found
...

(with variations for the times on the left). Xorg was "===>  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 at FBSDG5S1:/usr/obj/usr/src/sys/GENERIC64  powerpc
$ more /etc/make.conf
WITH_DEBUG_FILES=
WITHOUT_CLANG=
WRKDIRPREFIX=/usr/obj/portswork
WITH_DEBUG=
$ svnlite diff /usr/src/sys
Index: /usr/src/sys/ddb/db_script.c
===================================================================
--- /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];
 
+	/* 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 = 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) == 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);
 }
 
 /*-
Index: /usr/src/sys/powerpc/conf/GENERIC
===================================================================
--- /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
 
 # Make an SMP-capable kernel by default
 options 	SMP			# Symmetric MultiProcessor Kernel
Index: /usr/src/sys/powerpc/conf/GENERIC64
===================================================================
--- /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
 
 # 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=" is just because clang's build has problems under "WITH_DEBUG_FILES=".

===
Mark Millard
markmi at dsl-only.net



More information about the freebsd-ppc mailing list