On 13/07/2009, at 12:53 AM, Stephane Louise wrote:
I am trying to set up a ATI Radeon X1900 MacEdition (PCIe) on my Quad G5 PowerMac.
Looking at your xorg.conf:
(--) RADEONHD(0): Detected an R580 on an unidentified card (II) RADEONHD(0): Mapped IO @ 0xf1000000 to 0xf7fbe000 (size 0x00010000) (II) RADEONHD(0): PCIE Card Detected (II) RADEONHD(0): Getting BIOS copy from legacy VBIOS location (EE) RADEONHD(0): Invalid BIOS length field
The above error is not an issue. It is to be expected on a PPC system as the BIOS at the legacy VBIOS location is only supported on x86/ amd64 and ia64 architectures according to comments in the Linux kernel source. So radeonhd then attempts to read the BIOS from the PCI ROM:
(II) RADEONHD(0): Getting BIOS copy from PCI ROM (II) Attempted to read BIOS 128KB from /sys/bus/pci/devices/0000:0a: 00.0/rom: got 0KB (EE) RADEONHD(0): Cannot read BIOS image
The above is your problem. Radeonhd couldn't read the PCI ROM to get the BIOS. If you examine the directory /sys/bus/pci/devices/0000:0a:00.0/ you should see an entry rom and its typically 131072 bytes long. The advice under question 10.18 on http://www.x.org/wiki/radeonhd might be appropriate. Just be aware that the boot option pci=rom is useless to you as it is only implemented on x86 kernels, but the echo 1 to the rom entry might get things going - but I would be surprised as the code in radeonhd, IIRC, does just that prior to reading the ROM. The other possibility is that you need to enable the PCI card. The radeonhd driver does not do that; it assumes the card has been enabled already. So I also suggest trying: echo 1 > /sys/bus/pci/devices/0000:0a:00.0/enable echo 1 > /sys/bus/pci/devices/0000:0a:00.0/rom I advise against the setpci commands as the one to set COMMAND=2 will probably do more damage than good. What version of the Xserver are your running? Related to question 10.18 mentioned above is quite a bit of discussion about detecting secondary cards (which is equivalent to a primary card on some architectures) in the Xserver bugzilla earlier this year. I know changes were made to the linux kernel and presumably changes have also been made in the Xserver as it was determined that the problems required fixes in all of the kernel, the Xserver and the video drivers. A recent Xserver might be necessary. Another option is to disable the AtomBIOS - I think you set the UseAtomBIOS option to off in the xorg.conf file. My understanding is that not using AtomBIOS is not supported so you're on your own with that one. Cheers Michael. -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org