Skip to contentSkip to conversation

failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64

DISCUSSION acrux 4 participants 9 messages Jan 29, 2012 – Jan 30, 2012

lore
Share & tools
lore

acrux

author
#0 lore raw

hi all,
i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL V5600 on my YDL Powerstation and i'm obliged to use the old OpenFirmware fb.

That's from my dmesg [1]:

[...]
vgaarb: device added: PCI:0000:f1:00.0,decodes=io+mem,owns=none,locks=none
vgaarb: loaded
vgaarb: bridge control possible 0000:f1:00.0
[...]
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
[drm] initializing kernel modesetting (RV630 0x1002:0x958C 0x1002:0x0B02). radeon 0000:f1:00.0: Using 32-bit DMA via iommu
[drm] register mmio base: 0xE8000000
[drm] register mmio size: 65536
radeon 0000:f1:00.0: Invalid ROM contents
radeon 0000:f1:00.0: Expecting atombios for R600 GPU
radeon 0000:f1:00.0: Fatal error during GPU init
[drm] radeon: finishing device.
[TTM] Memory type 2 has not been initialized.
radeon: probe of 0000:f1:00.0 failed with error -22

This is about the video card:

root@radio:~# lspci
0000:f0:0b.0 PCI bridge: Apple Computer Inc. CPC945 PCIe Bridge
0000:f1:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV630GL [FireGL v5600]
0001:00:01.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-X bridge (rev b0)
0001:00:02.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-X bridge (rev b0)
0001:00:03.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev b0)
0001:00:04.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev b0)
0001:00:05.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev b0)
0001:00:06.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev b0)
0001:00:07.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8111 PCI (rev 07)
0001:00:08.0 ISA bridge: Advanced Micro Devices [AMD] AMD-8111 LPC (rev 05)
0001:00:08.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE (rev 03)
0001:01:01.0 RAID bus controller: IBM Obsidian chipset SCSI controller (rev 01)
0001:02:04.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5780 Gigabit Ethernet (rev 10)
0001:02:04.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5780 Gigabit Ethernet (rev 10)
0001:07:00.0 USB controller: Advanced Micro Devices [AMD] AMD-8111 USB OHCI (rev 0b)
0001:07:00.1 USB controller: Advanced Micro Devices [AMD] AMD-8111 USB OHCI (rev 0b)
0001:07:02.0 Serial controller: Exar Corp. XR17C/D152 Dual PCI UART (rev 02)
root@radio:~# lspci  -nn|grep VGA
0000:f1:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI RV630GL [FireGL v5600] [1002:958c]

0000:f1:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV630GL [FireGL v5600] (prog-if 00 [VGA controller])
Subsystem: Advanced Micro Devices [AMD] nee ATI Device 0b02
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 16
Region 0: Memory at c0000000 (64-bit, prefetchable) [size=256M]
Region 2: Memory at e8000000 (64-bit, non-prefetchable) [size=64K]
Region 4: I/O ports at 1000 [size=256]
Expansion ROM at e8020000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <64ns, L1 <1us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel modules: radeon

thanks for your help,
--nico

[1] http://cruxppc.org/~acrux/dmesg-kms

Signature · 1 line
acrux <[email protected]>
#1 lore raw
Quoted 7 lines · acrux

hi all,
i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL V5600 on my YDL Powerstation and i'm obliged to use the old OpenFirmware fb.

That's from my dmesg [1]:

Quoted 15 lines

[...]
vgaarb: device added: PCI:0000:f1:00.0,decodes=io+mem,owns=none,locks=none
vgaarb: loaded
vgaarb: bridge control possible 0000:f1:00.0
[...]
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
[drm] initializing kernel modesetting (RV630 0x1002:0x958C 0x1002:0x0B02). radeon 0000:f1:00.0: Using 32-bit DMA via iommu
[drm] register mmio base: 0xE8000000
[drm] register mmio size: 65536
radeon 0000:f1:00.0: Invalid ROM contents
radeon 0000:f1:00.0: Expecting atombios for R600 GPU
radeon 0000:f1:00.0: Fatal error during GPU init

Looks like there's a problem retrieving the card's ROM contents. Does rebuilding the kernel with CONFIG_VGA_ARB disabled make a difference?

Signature · 6 lines
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
author
#2 lore raw
Quoted 24 lines · On Mon, 30 Jan 2012 10:34:03 +0100 Michel Dänzer <[email protected]> wrote:
Quoted 7 lines · acrux

hi all,
i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL V5600 on my YDL Powerstation and i'm obliged to use the old OpenFirmware fb.

That's from my dmesg [1]:

Quoted 15 lines

[...]
vgaarb: device added: PCI:0000:f1:00.0,decodes=io+mem,owns=none,locks=none
vgaarb: loaded
vgaarb: bridge control possible 0000:f1:00.0
[...]
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
[drm] initializing kernel modesetting (RV630 0x1002:0x958C 0x1002:0x0B02). radeon 0000:f1:00.0: Using 32-bit DMA via iommu
[drm] register mmio base: 0xE8000000
[drm] register mmio size: 65536
radeon 0000:f1:00.0: Invalid ROM contents
radeon 0000:f1:00.0: Expecting atombios for R600 GPU
radeon 0000:f1:00.0: Fatal error during GPU init

Quoted 4 lines

Looks like there's a problem retrieving the card's ROM contents. Does rebuilding the kernel with CONFIG_VGA_ARB disabled make a difference?

hi Michel,
thanks for your help but i'm unable to disable VGA_ARB 'cause it's automatically enabled. Can you suggest me a way to disable it?
Here my kernel config: http://cruxppc.org/~acrux/config-kms

best,
--nico

Signature · 1 line
acrux <[email protected]>
#3 lore raw

2012/1/30 acrux <[email protected]>:

Quoted 32 lines
Quoted 24 lines · On Mon, 30 Jan 2012 10:34:03 +0100 Michel Dänzer <[email protected]> wrote:
Quoted 7 lines · acrux

hi all,
i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL V5600 on my YDL Powerstation and i'm obliged to use the old OpenFirmware fb.

That's from my dmesg [1]:

Quoted 15 lines

[...]
vgaarb: device added: PCI:0000:f1:00.0,decodes=io+mem,owns=none,locks=none
vgaarb: loaded
vgaarb: bridge control possible 0000:f1:00.0
[...]
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
[drm] initializing kernel modesetting (RV630 0x1002:0x958C 0x1002:0x0B02). radeon 0000:f1:00.0: Using 32-bit DMA via iommu
[drm] register mmio base: 0xE8000000
[drm] register mmio size: 65536
radeon 0000:f1:00.0: Invalid ROM contents
radeon 0000:f1:00.0: Expecting atombios for R600 GPU
radeon 0000:f1:00.0: Fatal error during GPU init

Quoted 4 lines

Looks like there's a problem retrieving the card's ROM contents. Does rebuilding the kernel with CONFIG_VGA_ARB disabled make a difference?

Quoted 5 lines

hi Michel,
thanks for your help but i'm unable to disable VGA_ARB 'cause it's automatically enabled. Can you suggest me a way to disable it?
Here my kernel config: http://cruxppc.org/~acrux/config-kms

Also make sure you enable PCI quirks.

Alex

Quoted 8 lines

best,
--nico
--
acrux <[email protected]>
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

author
#4 lore raw

On Mon, 30 Jan 2012 08:58:28 -0500
Alex Deucher <[email protected]> wrote:

_omissis__

Quoted 9 lines
Quoted 6 lines

hi Michel,
thanks for your help but i'm unable to disable VGA_ARB 'cause it's automatically enabled. Can you suggest me a way to disable it?
Here my kernel config: http://cruxppc.org/~acrux/config-kms

Also make sure you enable PCI quirks.

as you can read from my config it was already enabled (btw, it's automatically enabled too)

--nico

Signature · 1 line
acrux <[email protected]>
#5 lore raw
In reply to acrux
Quoted 31 lines · acrux
Quoted 24 lines · On Mon, 30 Jan 2012 10:34:03 +0100 Michel Dänzer <[email protected]> wrote:
Quoted 7 lines · acrux

hi all,
i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL V5600 on my YDL Powerstation and i'm obliged to use the old OpenFirmware fb.

That's from my dmesg [1]:

Quoted 15 lines

[...]
vgaarb: device added: PCI:0000:f1:00.0,decodes=io+mem,owns=none,locks=none
vgaarb: loaded
vgaarb: bridge control possible 0000:f1:00.0
[...]
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
[drm] initializing kernel modesetting (RV630 0x1002:0x958C 0x1002:0x0B02). radeon 0000:f1:00.0: Using 32-bit DMA via iommu
[drm] register mmio base: 0xE8000000
[drm] register mmio size: 65536
radeon 0000:f1:00.0: Invalid ROM contents
radeon 0000:f1:00.0: Expecting atombios for R600 GPU
radeon 0000:f1:00.0: Fatal error during GPU init

Quoted 4 lines

Looks like there's a problem retrieving the card's ROM contents. Does rebuilding the kernel with CONFIG_VGA_ARB disabled make a difference?

Quoted 4 lines

hi Michel,
thanks for your help but i'm unable to disable VGA_ARB 'cause it's automatically enabled. Can you suggest me a way to disable it?
Here my kernel config: http://cruxppc.org/~acrux/config-kms

Might be due to VGA_ARB_MAX_GPUS, which depends on VGA_ARB. Try removing that from .config as well.

If that still doesn't work, please describe how exactly you're trying to disable VGA_ARB.

Signature · 6 lines
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw
Quoted 11 lines · Michel Dänzer
Quoted 4 lines · acrux

hi Michel,
thanks for your help but i'm unable to disable VGA_ARB 'cause it's automatically enabled. Can you suggest me a way to disable it?
Here my kernel config: http://cruxppc.org/~acrux/config-kms

Might be due to VGA_ARB_MAX_GPUS, which depends on VGA_ARB. Try removing that from .config as well.

If that still doesn't work, please describe how exactly you're trying to disable VGA_ARB.

You need to enable CONFIG_EXPERT to be able to toggle VGA_ARB.

Andreas.

Signature · 7 lines
Andreas Schwab, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
author
#7 lore raw
Quoted 11 lines · On Mon, 30 Jan 2012 16:10:03 +0100 Andreas Schwab <[email protected]> wrote:
Quoted 9 lines · Michel Dänzer
Quoted 4 lines · acrux

hi Michel,
thanks for your help but i'm unable to disable VGA_ARB 'cause it's automatically enabled. Can you suggest me a way to disable it?
Here my kernel config: http://cruxppc.org/~acrux/config-kms

Might be due to VGA_ARB_MAX_GPUS, which depends on VGA_ARB. Try removing that from .config as well.

Quoted 7 lines
Quoted 2 lines

If that still doesn't work, please describe how exactly you're trying to disable VGA_ARB.

You need to enable CONFIG_EXPERT to be able to toggle VGA_ARB.

Andreas.

oh, shame on me! That was the trick. Thank you Andreas.

--nico

Signature · 1 line
acrux <[email protected]>
author
#8 lore raw
In reply to Michel Dänzer
Quoted 24 lines · On Mon, 30 Jan 2012 10:34:03 +0100 Michel Dänzer <[email protected]> wrote:
Quoted 7 lines · acrux

hi all,
i'm unable to have a working Radeon KMS framebuffer with an ATI FireGL V5600 on my YDL Powerstation and i'm obliged to use the old OpenFirmware fb.

That's from my dmesg [1]:

Quoted 15 lines

[...]
vgaarb: device added: PCI:0000:f1:00.0,decodes=io+mem,owns=none,locks=none
vgaarb: loaded
vgaarb: bridge control possible 0000:f1:00.0
[...]
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
[drm] initializing kernel modesetting (RV630 0x1002:0x958C 0x1002:0x0B02). radeon 0000:f1:00.0: Using 32-bit DMA via iommu
[drm] register mmio base: 0xE8000000
[drm] register mmio size: 65536
radeon 0000:f1:00.0: Invalid ROM contents
radeon 0000:f1:00.0: Expecting atombios for R600 GPU
radeon 0000:f1:00.0: Fatal error during GPU init

Quoted 4 lines

Looks like there's a problem retrieving the card's ROM contents. Does rebuilding the kernel with CONFIG_VGA_ARB disabled make a difference?

again without radeon kms and the problems is still here.. more a good numbers of straces for another different cause.
http://cruxppc.org/~acrux/config-kms2
http://cruxppc.org/~acrux/dmesg-kms2

[...]
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
[drm] initializing kernel modesetting (RV630 0x1002:0x958C 0x1002:0x0B02). radeon 0000:f1:00.0: Using 32-bit DMA via iommu
[drm] register mmio base: 0xE8000000
[drm] register mmio size: 65536
radeon 0000:f1:00.0: Invalid ROM contents
radeon 0000:f1:00.0: Expecting atombios for R600 GPU
radeon 0000:f1:00.0: Fatal error during GPU init
[drm] radeon: finishing device.
[TTM] Memory type 2 has not been initialized.
radeon: probe of 0000:f1:00.0 failed with error -22

best,
--nico

Signature · 1 line
acrux <[email protected]>