Date: Sat, 20 Sep 2014 03:23:08 -0700 From: Mark Millard <markmi@dsl-only.net> To: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> 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>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A8ACCB7-A7D2-460E-93DF-4AF5064D1F42>