All of lore.kernel.org
 help / color / mirror / Atom feed
* failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64
@ 2012-01-29 22:27 acrux
  2012-01-30  9:34 ` Michel Dänzer
  0 siblings, 1 reply; 9+ messages in thread
From: acrux @ 2012-01-29 22:27 UTC (permalink / raw)
  To: dri-devel

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
-- 
acrux <acrux_it@libero.it>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64
  2012-01-29 22:27 failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64 acrux
@ 2012-01-30  9:34 ` Michel Dänzer
  2012-01-30 13:03   ` acrux
  2012-01-30 15:55   ` acrux
  0 siblings, 2 replies; 9+ messages in thread
From: Michel Dänzer @ 2012-01-30  9:34 UTC (permalink / raw)
  To: acrux; +Cc: dri-devel

On Son, 2012-01-29 at 23:27 +0100, acrux wrote: 
> 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

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


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64
  2012-01-30  9:34 ` Michel Dänzer
@ 2012-01-30 13:03   ` acrux
  2012-01-30 13:58     ` Alex Deucher
  2012-01-30 14:57     ` Michel Dänzer
  2012-01-30 15:55   ` acrux
  1 sibling, 2 replies; 9+ messages in thread
From: acrux @ 2012-01-30 13:03 UTC (permalink / raw)
  To: Michel Dänzer; +Cc: dri-devel

On Mon, 30 Jan 2012 10:34:03 +0100
Michel Dänzer <michel@daenzer.net> wrote:

> On Son, 2012-01-29 at 23:27 +0100, acrux wrote: 
> > 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
> 
> 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
-- 
acrux <acrux_it@libero.it>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64
  2012-01-30 13:03   ` acrux
@ 2012-01-30 13:58     ` Alex Deucher
  2012-01-30 14:33       ` acrux
  2012-01-30 14:57     ` Michel Dänzer
  1 sibling, 1 reply; 9+ messages in thread
From: Alex Deucher @ 2012-01-30 13:58 UTC (permalink / raw)
  To: acrux; +Cc: Michel Dänzer, dri-devel

2012/1/30 acrux <acrux_it@libero.it>:
> On Mon, 30 Jan 2012 10:34:03 +0100
> Michel Dänzer <michel@daenzer.net> wrote:
>
>> On Son, 2012-01-29 at 23:27 +0100, acrux wrote:
>> > 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
>>
>> 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
>

Also make sure you enable PCI quirks.

Alex

> best,
> --nico
> --
> acrux <acrux_it@libero.it>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64
  2012-01-30 13:58     ` Alex Deucher
@ 2012-01-30 14:33       ` acrux
  0 siblings, 0 replies; 9+ messages in thread
From: acrux @ 2012-01-30 14:33 UTC (permalink / raw)
  To: Alex Deucher; +Cc: Michel Dänzer, dri-devel

On Mon, 30 Jan 2012 08:58:28 -0500
Alex Deucher <alexdeucher@gmail.com> wrote:

_omissis__
> >
> > 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
-- 
acrux <acrux_it@libero.it>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64
  2012-01-30 13:03   ` acrux
  2012-01-30 13:58     ` Alex Deucher
@ 2012-01-30 14:57     ` Michel Dänzer
  2012-01-30 15:10       ` Andreas Schwab
  1 sibling, 1 reply; 9+ messages in thread
From: Michel Dänzer @ 2012-01-30 14:57 UTC (permalink / raw)
  To: acrux; +Cc: dri-devel

On Mon, 2012-01-30 at 14:03 +0100, acrux wrote: 
> On Mon, 30 Jan 2012 10:34:03 +0100
> Michel Dänzer <michel@daenzer.net> wrote:
> > On Son, 2012-01-29 at 23:27 +0100, acrux wrote: 
> > > 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
> > 
> > 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

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.


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64
  2012-01-30 14:57     ` Michel Dänzer
@ 2012-01-30 15:10       ` Andreas Schwab
  2012-01-30 15:49         ` acrux
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Schwab @ 2012-01-30 15:10 UTC (permalink / raw)
  To: Michel Dänzer; +Cc: acrux, dri-devel

Michel Dänzer <michel@daenzer.net> writes:

> On Mon, 2012-01-30 at 14:03 +0100, acrux wrote: 
>> 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.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64
  2012-01-30 15:10       ` Andreas Schwab
@ 2012-01-30 15:49         ` acrux
  0 siblings, 0 replies; 9+ messages in thread
From: acrux @ 2012-01-30 15:49 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Michel Dänzer, dri-devel

On Mon, 30 Jan 2012 16:10:03 +0100
Andreas Schwab <schwab@linux-m68k.org> wrote:

> Michel Dänzer <michel@daenzer.net> writes:
> 
> > On Mon, 2012-01-30 at 14:03 +0100, acrux wrote: 
> >> 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.
> 

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

--nico
-- 
acrux <acrux_it@libero.it>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64
  2012-01-30  9:34 ` Michel Dänzer
  2012-01-30 13:03   ` acrux
@ 2012-01-30 15:55   ` acrux
  1 sibling, 0 replies; 9+ messages in thread
From: acrux @ 2012-01-30 15:55 UTC (permalink / raw)
  To: Michel Dänzer; +Cc: dri-devel

On Mon, 30 Jan 2012 10:34:03 +0100
Michel Dänzer <michel@daenzer.net> wrote:

> On Son, 2012-01-29 at 23:27 +0100, acrux wrote: 
> > 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
> 
> 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
-- 
acrux <acrux_it@libero.it>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-01-30 15:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-29 22:27 failure on linux-3.2 and radeon kms with a FireGL V5600 on PPC64 acrux
2012-01-30  9:34 ` Michel Dänzer
2012-01-30 13:03   ` acrux
2012-01-30 13:58     ` Alex Deucher
2012-01-30 14:33       ` acrux
2012-01-30 14:57     ` Michel Dänzer
2012-01-30 15:10       ` Andreas Schwab
2012-01-30 15:49         ` acrux
2012-01-30 15:55   ` acrux

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.