Bug 10652 - alpha: Radeon PCI ROM unavailable through sysfs
Summary: alpha: Radeon PCI ROM unavailable through sysfs
Status: CLOSED OBSOLETE
Alias: None
Product: Drivers
Classification: Unclassified
Component: PCI (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Richard Henderson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-08 15:34 UTC by Matt Turner
Modified: 2012-05-21 15:21 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.24
Tree: Mainline
Regression: No


Attachments
kernel config (28.34 KB, text/plain)
2008-05-08 15:39 UTC, Matt Turner
Details

Description Matt Turner 2008-05-08 15:34:11 UTC
Distribution: Gentoo
Hardware Environment: Alphaserver DS20L, Radeon X1550 PCI

Problem Description:

Access to the VGA BIOS ROM on my Alphaserver DS20L with a Radeon X1550
PCI does not work. The ROM located at /sys/bus/pci/devices/<pciid>/rom
is blank.

Before starting X, I issue the following commands from the said directory.

echo 1 > enable
echo 1 > rom

rom is empty at this point, which causes X to fail to load when
started. See FreeDesktop bug 15699 for X logs using radeon and
radeonhd drivers.

Only after 'priming' the rom file will X (with radeonhd) load correctly. To prime it, I issue 'cat rom > /dev/null'.
Comment 1 Matt Turner 2008-05-08 15:39:20 UTC
Created attachment 16076 [details]
kernel config
Comment 2 Matt Turner 2008-06-11 11:00:33 UTC
I believe this bug is a symptom of the same problem as in bug 10893. Please reassign to the appropriate place.
Comment 3 Jesse Barnes 2008-06-12 12:53:55 UTC
AFAIK you shouldn't need to do the "echo 1 > enable"; the X driver should take care of that for you (though maybe some versions of libpciaccess don't?).  The fact that you have to read it fully before it becomes available is weird though, alpha must handle the resources required by drivers/pci/rom.c differently than other platforms...
Comment 4 Matt Turner 2008-06-12 12:58:08 UTC
> AFAIK you shouldn't need to do the "echo 1 > enable"; the X driver should
> take
> care of that for you (though maybe some versions of libpciaccess don't?). 
> The
> fact that you have to read it fully before it becomes available is weird
> though, alpha must handle the resources required by drivers/pci/rom.c
> differently than other platforms...

Yes, it is very strange. Also, the version of X I'm using doesn't use libpciaccess (per bug 10893).

Oddly enough, when I put a Radeon 9100 in, I don't experience any of these problems and don't have to jump through hoops to make X start up. It only happens on my X1550.

Note You need to log in before you can comment on or make changes to this bug.