[Openchrome-users] [openChrome] #417: Unable to map mmio BAR. Argument list too long (7)

Luc Verhaegen libv
Mon Oct 24 06:18:21 PDT 2011


On Mon, Oct 24, 2011 at 12:18:20PM -0000, OpenChrome Trac wrote:
> #417: Unable to map mmio BAR. Argument list too long (7)
> -----------------------+----------------------------------------------------
>   Reporter:  brian     |       Owner:  somebody
>       Type:  defect    |      Status:  closed  
>   Priority:  critical  |   Milestone:          
>  Component:  xdriver   |     Version:  0.2.904 
> Resolution:  wontfix   |    Keywords:          
>   Blocking:            |   Blockedby:          
> -----------------------+----------------------------------------------------
> Changes (by brian):
> 
>  * cc: brian@? (added)
> 
> 
> Comment:
> 
>  Replying to [comment:3 schlobinux]:
>  >
>  > No, it was not a known issue.
> 
>  Perhaps adding a hint in the Xorg log where the reported error is printed
>  that lowering memory might help would be useful to future victims.
> 
>  > This is a limitation of PCI, and it will need TTM support to work
>  properly. There's nothing that can be done about that currently.
> 
>  OK.  Fair enough.  But shouldn't that mean leaving this ticket open until
>  that work is done and this issue is properly resolved?
> 
>  > You shouldn't notice any performance regression.
> 
>  Great news, thanx!
> 
> -- 
> Ticket URL: <http://www.openchrome.org/trac/ticket/417#comment:4>
> openChrome <http://www.openchrome.org/>
> The openChrome project

Here's an idea.. Why doesn't openchrome try to only map 256MB?

if (size > (256 << 10)) {
	xf86DrvMsg(..., "Only mapping the accessible first 256MB of %dMB 
available videoram.\n", size >> 10);
	size = 256 << 10;
}

This worked fine for radeonhd late july 2007, where i for the first time 
dealt with 1GB cards.

You'd think that users would be happier with a working X, and a small 
note stating "we can only use 256MB", over a failing X, and someone 
stating: "somewhere, over the rainbow, we might have some infrastructure 
implemented which can actually use that much memory".

Luc Verhaegen.




More information about the Openchrome-users mailing list