Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg pci busid confusion with width of domain field
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
ashu69
n00b
n00b


Joined: 09 Nov 2004
Posts: 45

PostPosted: Sat Apr 30, 2005 8:11 pm    Post subject: xorg pci busid confusion with width of domain field Reply with quote

Hi Folks,

I get the following error

(II) RADEON(0): [drm] drmSetBusid failed (5, pci:0001:01:00.0), Invalid argument

My card is actually at 0000:01:00.0, for some reason Xorg DRM is looking
at domain id 0001. I have tried specifying Busid is xorg.conf to be in the
format (0000:01:00.0) it expects but then Xorg doesn't even start.

I could have sworn i saw similar confusion with 2.6.6 before, but i can't seem
to find that thread. I am using 2.6.11-r6 right now.

Appreciate any help.

Thanks,
-a
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54174
Location: 56N 3W

PostPosted: Sat Apr 30, 2005 8:29 pm    Post subject: Reply with quote

ashu69,

If you only have one video card that the driver can apply to, comment the line out. Its not needed.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ashu69
n00b
n00b


Joined: 09 Nov 2004
Posts: 45

PostPosted: Sat Apr 30, 2005 8:45 pm    Post subject: Reply with quote

Hi Neddy,

I actually do have two cards, so gotta put the BusId thingie in xorg.conf.

Any idea about why xorg is looking for domain 0001 instead of 0000?

Thanks,
-a
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54174
Location: 56N 3W

PostPosted: Sat Apr 30, 2005 9:28 pm    Post subject: Reply with quote

ashu69,

What does your xorg.conf say?
Is it really being asked to look there?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ashu69
n00b
n00b


Joined: 09 Nov 2004
Posts: 45

PostPosted: Sat Apr 30, 2005 9:40 pm    Post subject: Reply with quote

Hi Ned,

Actually, i have a suspicion that the DRM part doesn't actually drive itself off-of the
xorg.conf setting, instead it does its own PCI scan.

But, for what it is worth, here is what the xorg.conf setting is in the driver
section:

Driver "radeon" # Have tried ati as well
BusID "PCI:1:0:0" # Have tried PCI:0000:1:0:0, PCI:0000:01:00.0" and various other combinations

Does that give you a clue? Thanks for looking at this. I really appreciate the help.

Regards,
-a
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54174
Location: 56N 3W

PostPosted: Sat Apr 30, 2005 10:40 pm    Post subject: Reply with quote

ashu69,

Looking in my /var/log/Xorg.0.log I see
Code:
(II) Primary Device is: PCI 03:00:0


A sample in my xorg.conf shows
Code:
#    BusID      "PCI:0:10:0"
which suggests the 0000 bit is not required and is confusing xorg.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ashu69
n00b
n00b


Joined: 09 Nov 2004
Posts: 45

PostPosted: Sat Apr 30, 2005 11:55 pm    Post subject: Reply with quote

Right. But i am not the one suppllying the 0000 field (the PCI domain),
xorg seems to be tacking it on all by itself, and gets is wrong (uses
0001 instead of 0000).

Here is ls /proc/bus/pci output on my system

# ls -l /proc/bus/pci
total 0
dr-xr-xr-x 2 root root 0 Apr 30 16:39 0000:00
dr-xr-xr-x 2 root root 0 Apr 30 16:39 0000:01
-r--r--r-- 1 root root 0 Apr 30 16:39 devices

Clearly, there is no 0001.

Clues?
-a
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54174
Location: 56N 3W

PostPosted: Sun May 01, 2005 9:10 am    Post subject: Reply with quote

ashu69,

Nobody has a 0001 PCI domain - its not used.

edit
Potental 'dirty hack' make symbolic links in
Code:
/proc/bus/pci
that point what X is looking for to what you have
e.g.
Code:
 ln -s /proc/bus/pci/0000:01 /proc/bus/pci/0001:01
and so on.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum