radeonfb cannot map FB

6 messages, 3 authors, 2009-08-27 · open the first message on its own page

radeonfb cannot map FB

From: Rui Santos <hidden>
Date: 2009-08-24 20:08:32

Dear Benjamin Herrenschmidt, dear mailing list subscribers,

     I'm trying to load radeonfb for an RV100 QY chipset. Whatever I
type in the modprobe I always get:
       radeonfb (0000:01:0c.0): cannot map FB
       radeonfb: probe of 0000:01:0c.0 failed with error -5

    I've tried latest 2.6.27.x and 2.6.30.x kernels. This a secondary
video card that I would like to connect a monitor to. The first video
card is an Intel 915G, which is working with vesafb.

    Here is the output of lspci -vvv
    01:0c.0 VGA compatible controller: ATI Technologies Inc Radeon RV100
QY [Radeon 7000/VE] (prog-if 00 [VGA controller])
            Subsystem: ATI Technologies Inc Device 013b
            Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B- DisINTx-
            Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
            Interrupt: pin A routed to IRQ 18
            Region 0: Memory at d8000000 (32-bit, prefetchable) [size=128M]
            Region 1: I/O ports at dc00 [size=256]
            Region 2: Memory at fdee0000 (32-bit, non-prefetchable)
[size=64K]
            [virtual] Expansion ROM at fde00000 [disabled] [size=128K]
            Capabilities: [50] Power Management version 2
                    Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                    Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
            Kernel modules: radeonfb

    Can you or anyone give a hint on what I might be doing wrong:
modprobe radeonfb mode_option=800x600-16 panel_yres=600
    Or could this be some kind of hardware issue ?

    Thanks a lot for your help,

Regards,

Rui Santos
http://www.ruisantos.com/

Veni, vidi, Linux!



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

Re: radeonfb cannot map FB

From: Alex Deucher <hidden>
Date: 2009-08-24 20:21:00

On Mon, Aug 24, 2009 at 3:45 PM, Rui Santos[off-list ref] wrote:
Dear Benjamin Herrenschmidt, dear mailing list subscribers,

    I'm trying to load radeonfb for an RV100 QY chipset. Whatever I
type in the modprobe I always get:
      radeonfb (0000:01:0c.0): cannot map FB
      radeonfb: probe of 0000:01:0c.0 failed with error -5

   I've tried latest 2.6.27.x and 2.6.30.x kernels. This a secondary
video card that I would like to connect a monitor to. The first video
card is an Intel 915G, which is working with vesafb.

   Here is the output of lspci -vvv
   01:0c.0 VGA compatible controller: ATI Technologies Inc Radeon RV100
QY [Radeon 7000/VE] (prog-if 00 [VGA controller])
           Subsystem: ATI Technologies Inc Device 013b
           Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B- DisINTx-
           Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
quoted
TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
           Interrupt: pin A routed to IRQ 18
           Region 0: Memory at d8000000 (32-bit, prefetchable) [size=128M]
           Region 1: I/O ports at dc00 [size=256]
           Region 2: Memory at fdee0000 (32-bit, non-prefetchable)
[size=64K]
           [virtual] Expansion ROM at fde00000 [disabled] [size=128K]
           Capabilities: [50] Power Management version 2
                   Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                   Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
           Kernel modules: radeonfb

   Can you or anyone give a hint on what I might be doing wrong:
modprobe radeonfb mode_option=800x600-16 panel_yres=600
   Or could this be some kind of hardware issue ?
radeonfb doesn't currently have any code to post secondary x86 cards
so they won't work unless they have been posted by the system bios.

Alex

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

Re: radeonfb cannot map FB

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2009-08-26 09:55:06

On Mon, 2009-08-24 at 20:45 +0100, Rui Santos wrote:
Dear Benjamin Herrenschmidt, dear mailing list subscribers,

     I'm trying to load radeonfb for an RV100 QY chipset. Whatever I
type in the modprobe I always get:
       radeonfb (0000:01:0c.0): cannot map FB
       radeonfb: probe of 0000:01:0c.0 failed with error -5
I suspect your BIOS isn't initializing the secondary card, radeonfb is
thus unable to use it.

However, you probably don't need radeonfb. X.org should be able to get
it going as a secondary just fine, but your text consoles will have to
remain on the intel.

In the long run (though it might already work with latest upstream), the
new radeon KMS should be able to initialize those.

Cheers,
Ben.
    I've tried latest 2.6.27.x and 2.6.30.x kernels. This a secondary
video card that I would like to connect a monitor to. The first video
card is an Intel 915G, which is working with vesafb.

    Here is the output of lspci -vvv
    01:0c.0 VGA compatible controller: ATI Technologies Inc Radeon RV100
QY [Radeon 7000/VE] (prog-if 00 [VGA controller])
            Subsystem: ATI Technologies Inc Device 013b
            Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B- DisINTx-
            Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
quoted
TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
            Interrupt: pin A routed to IRQ 18
            Region 0: Memory at d8000000 (32-bit, prefetchable) [size=128M]
            Region 1: I/O ports at dc00 [size=256]
            Region 2: Memory at fdee0000 (32-bit, non-prefetchable)
[size=64K]
            [virtual] Expansion ROM at fde00000 [disabled] [size=128K]
            Capabilities: [50] Power Management version 2
                    Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                    Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
            Kernel modules: radeonfb

    Can you or anyone give a hint on what I might be doing wrong:
modprobe radeonfb mode_option=800x600-16 panel_yres=600
    Or could this be some kind of hardware issue ?

    Thanks a lot for your help,

Regards,

Rui Santos
http://www.ruisantos.com/

Veni, vidi, Linux!

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

Re: radeonfb cannot map FB

From: Rui Santos <hidden>
Date: 2009-08-27 11:05:36

Benjamin Herrenschmidt wrote:
On Mon, 2009-08-24 at 20:45 +0100, Rui Santos wrote:
  
quoted
Dear Benjamin Herrenschmidt, dear mailing list subscribers,

     I'm trying to load radeonfb for an RV100 QY chipset. Whatever I
type in the modprobe I always get:
       radeonfb (0000:01:0c.0): cannot map FB
       radeonfb: probe of 0000:01:0c.0 failed with error -5
    
I suspect your BIOS isn't initializing the secondary card, radeonfb is
thus unable to use it.

However, you probably don't need radeonfb. X.org should be able to get
it going as a secondary just fine, but your text consoles will have to
remain on the intel.

In the long run (though it might already work with latest upstream), the
new radeon KMS should be able to initialize those.
  
Hi Ben, sorry for the late reply ( Motherboard crash),

The system I'm trying to setup is an IBM SurePOS 500. It is supposed to
work on a FB console (no X) in order to play some Videos :)
I'm able to use a usb to vga in order to accomplish this but, using the
integrated Radeon was preferable.
So, you're saying that it is probably a BIOS related issue, not
initializing the secondary Video card. Is there anyway I can make sure
of it? If the BIOS is not initializing it properly, I may be able to
contact IBM about it.

Once again, thanks a lot for your help,
Cheers,
  
Regards,
Ben.
  
Rui
  
quoted
    I've tried latest 2.6.27.x and 2.6.30.x kernels. This a secondary
video card that I would like to connect a monitor to. The first video
card is an Intel 915G, which is working with vesafb.

    Here is the output of lspci -vvv
    01:0c.0 VGA compatible controller: ATI Technologies Inc Radeon RV100
QY [Radeon 7000/VE] (prog-if 00 [VGA controller])
            Subsystem: ATI Technologies Inc Device 013b
            Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B- DisINTx-
            Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium
    
quoted
TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
      
            Interrupt: pin A routed to IRQ 18
            Region 0: Memory at d8000000 (32-bit, prefetchable) [size=128M]
            Region 1: I/O ports at dc00 [size=256]
            Region 2: Memory at fdee0000 (32-bit, non-prefetchable)
[size=64K]
            [virtual] Expansion ROM at fde00000 [disabled] [size=128K]
            Capabilities: [50] Power Management version 2
                    Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                    Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
            Kernel modules: radeonfb

    Can you or anyone give a hint on what I might be doing wrong:
modprobe radeonfb mode_option=800x600-16 panel_yres=600
    Or could this be some kind of hardware issue ?

    Thanks a lot for your help,

Regards,

Rui Santos
http://www.ruisantos.com/

Veni, vidi, Linux!

    



  

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

Re: radeonfb cannot map FB

From: Alex Deucher <hidden>
Date: 2009-08-27 14:01:17

On Thu, Aug 27, 2009 at 7:04 AM, Rui Santos[off-list ref] wrote:
Benjamin Herrenschmidt wrote:
quoted
On Mon, 2009-08-24 at 20:45 +0100, Rui Santos wrote:
quoted
Dear Benjamin Herrenschmidt, dear mailing list subscribers,

     I'm trying to load radeonfb for an RV100 QY chipset. Whatever I
type in the modprobe I always get:
       radeonfb (0000:01:0c.0): cannot map FB
       radeonfb: probe of 0000:01:0c.0 failed with error -5
I suspect your BIOS isn't initializing the secondary card, radeonfb is
thus unable to use it.

However, you probably don't need radeonfb. X.org should be able to get
it going as a secondary just fine, but your text consoles will have to
remain on the intel.

In the long run (though it might already work with latest upstream), the
new radeon KMS should be able to initialize those.
Hi Ben, sorry for the late reply ( Motherboard crash),

The system I'm trying to setup is an IBM SurePOS 500. It is supposed to
work on a FB console (no X) in order to play some Videos :)
I'm able to use a usb to vga in order to accomplish this but, using the
integrated Radeon was preferable.
So, you're saying that it is probably a BIOS related issue, not
initializing the secondary Video card. Is there anyway I can make sure
of it? If the BIOS is not initializing it properly, I may be able to
contact IBM about it.
x86 bioses only post the primary VGA card.  For secondary cards you'll
either need to use a driver that can initialize the card itself, or
use something like vgaarb and vbetool to post the secondary card
before loading the driver.  If you would prefer to use the radeon
card, there may be an option in the bios to use the radeon card as the
primary rather than the integrated card, however, that would probably
make the integrated card unusable.

Alex

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

Re: radeonfb cannot map FB

From: Rui Santos <hidden>
Date: 2009-08-27 15:01:52

x86 bioses only post the primary VGA card.  For secondary cards you'll
either need to use a driver that can initialize the card itself, or
use something like vgaarb and vbetool to post the secondary card
before loading the driver.  If you would prefer to use the radeon
card, there may be an option in the bios to use the radeon card as the
primary rather than the integrated card, however, that would probably
make the integrated card unusable.

Alex
  
Hi Alex,

    There is no option similar to "Init Display first" on this BIOS.
Howerver both cards must be initialized. I'm trying a radeon kernel
modesetting approach. I'll also pursue vgaarb and vbetool options.
    Thanks a lot for the information ?

Regards,
Rui

  

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help