PowerMac + Radeon startup crash: PCI resource problem w/ Linux 2.6 (long)

Albrecht Dreß albrecht.dress at arcor.de
Sat Dec 18 10:37:55 PST 2004


Hi,

trying harder to track down the problem that I can't get the Radeon card  
working on my Mac with Linux kernel 2.6.x, I think I got a little closer  
to the source, but now I need the help of the *real* gurus...

My hardware is
* Powermac G4 "Silver" 800 MHz
* Radeon RV200 QW [Radeon 7500]
* Formac Gallery 1740 Flat Panel Display

In short, XOrg 6.8.1 with Ben's radeon patches applied seems to run fine  
with kernel 2.4.25-ben1. Running it under 2.6.9 (a self-compiled one from  
the sources coming with Yellowdog Linux 4), I always get the error message  
"no screens found" upon startup.

Adding tons of debug messages, I could verify that the reason for this  
error is the routine xf86RegisterResources() returning a non-NULL list of  
apparently failed resources:

<snip>
(II) Failed Resources after driver initialization for Entity: 0
        [0] 0   0       0x00000400 - 0x000004ff (0x100) IX[B]
(II) xf86RegisterResources() returns 0x10702590
</snip>

which in turn makes RADEONPreInit fail.

The interesting difference in comparison to 2.4.25-ben1 is that *earlier*  
I see a note in that X log file

<snip>
(II) LoadModule: "radeon"
(II) Reloading /usr/X11R6/lib/modules/drivers/radeon_drv.o
(WW) ****INVALID IO ALLOCATION**** b: 0x400 e: 0x4ff correcting^G
(II) window:
        [0] -1  0       0x00000000 - 0x00ffffff (0x1000000) IX[B]
</snip>

which is missing for 2.6.9, but now xf86RegisterResources() returns NULL  
and the rest of the startup succeeds.

Both log files as well as the lspci outputs for both kernel versions are  
attached (tar.bz2).

I have no idea if this is a kernel or a x.org issue, but I hope that least  
in one of the lists (sorry for cross-posting...) a real guru (Ben?!?)  
listens and has some wisdom for me.

Thanks in advance,

Cheers, Albrecht.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
       Phone (+49) 228 6199571  -  mailto:albrecht.dress at arcor.de
_________________________________________________________________________

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xorg-mac-problem.tar.bz2
Type: application/x-bzip-compressed-tar
Size: 8886 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20041218/3d8259ee/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20041218/3d8259ee/attachment.pgp>


More information about the xorg mailing list