Failed to open DRM device
Luca Tettamanti
kronos.it at gmail.com
Mon Oct 25 08:59:37 PDT 2010
On Mon, Oct 25, 2010 at 5:32 PM, Alex Deucher <alexdeucher at gmail.com> wrote:
> On Mon, Oct 25, 2010 at 4:53 AM, Zhang Weiwu <zhangweiwu at realss.com> wrote:
>> Hello. Ubuntu 10.10 64-bit Desktop, with two Radeon cards on it.
>>
>> yuliansu at Andalusia:~$ lspci | grep VGA
>> 01:00.0 VGA compatible controller: ATI Technologies Inc RV530LE [Radeon X1600]
>> 02:00.0 VGA compatible controller: ATI Technologies Inc Device 7290 (rev 9a)
>>
>>
>> Half of the time X could start, half fail. When it fail, Xorg.0.log look
>> like this:
>>
>> [ 17.082] (II) RADEON(0): PCIE card detected
>> [ 17.082] (II) RADEON(0): KMS Color Tiling: enabled
>> [ 17.082] drmOpenDevice: node name is /dev/dri/card0
>> [ 17.090] drmOpenByBusid: Searching for BusID pci:0000:01:00.0
>> [ 17.090] drmOpenDevice: node name is /dev/dri/card0
>> [ 17.095] drmOpenByBusid: drmOpenMinor returns -1
>> [ 17.095] drmOpenDevice: node name is /dev/dri/card1
>> [ 17.100] drmOpenByBusid: drmOpenMinor returns -1
>> ...
>> [ 17.201] drmOpenDevice: node name is /dev/dri/card1
>> [ 17.201] drmOpenDevice: open result is -1, (No such device)
>> [ 17.201] drmOpenDevice: open result is -1, (No such device)
>> [ 17.201] drmOpenDevice: Open failed
>> [ 17.201] drmOpenDevice: node name is /dev/dri/card2
>> ...
>> [ 17.283] drmOpenDevice: node name is /dev/dri/card15
>> [ 17.290] (EE) RADEON(0): [drm] Failed to open DRM device for pci:0000:01:00.0: No such file or directory
>> [ 17.290] (EE) RADEON(0): Kernel modesetting setup failed
>>
>>
>>
>> A check at /dev/dri is like this:
>>
>> yuliansu at Andalusia:~$ ls -lh /dev/dri/
>> total 0
>> crw-rw---- 1 root video 226, 64 2010-10-25 16:06 controlD64
>>
>>
>> Kernel dmesg showed various error message on drm as well as radeon
>> module. I don't know which line is significant, thus have to attach the
>> full dmesg to this email.
>>
>> Full xorg.0.log is at the bottom of this email. I put it to the content
>> of the email because other googlers might look for error message in
>> Xorg.0.log to reach this message post. Please trim when reply. Thanks.
>>
>>
>> What do you think is my problem and how to fix it so X always starts on
>> boot? Thanks in advance.
>
> The drm is not able to access the rom on your secondary card so it's
> not able to initialize it. From your dmesg:
> [ 16.705425] radeon 0000:02:00.0: Invalid ROM contents
> [ 16.705469] radeon 0000:02:00.0: Invalid ROM contents
> [ 16.705480] [drm:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM
I guess that the OP wants to known why sometimes DRM/KMS is not
initialized even on the primary card.
Zhang, is radeon module loaded *before* X is started?
Luca
More information about the xorg-driver-ati
mailing list