Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2010 18:08:27 -0500
From:      inurneck <inurneck@gmail.com>
To:        freebsd-x11@freebsd.org
Subject:   Failed to change owner or group for file /dev/dri/card0! 2: No such file or directory
Message-ID:  <79b166921001271508o5b9995ebkcf7df4620ea2c36f@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello, I have a problem I am hoping we can get resolved together. It's
fairly straightforward. I have a dell poweredge 2400, which has onboard
video and it does not have the option to disable it in the bios. As you can
see from pciconf -lv below, this is causing freebsd to see that as well as
my radeon card I have installed, so when I attempted to configure and
implement DRM, instead of /dev/dri/card0, bsd is creating /dev/dri/card1
however xorg is looking for card0 does not see it  andskips DRM
initialization. Heres another thing thats weird about this. The onboard
video is also an ati rage which I have installed mach64drm, so why isnt it
at least creating card0 and card1? letting me use DRM on either of the
cards? I am going to paste some other things you may find useful to help me
before you have to ask.  ALso if i symlink /dev/card0 to card1 when i startx
the box shats and then reboots itself.

[129]daemon[/]: pciconf -lv
hostb0@pci0:0:0:0: class=0x060000 card=0x00000000 chip=0x00091166 rev=0x06
hdr=0x00
vendor = 'ServerWorks (Was: Reliance Computer Corp)'
device = 'AGP interface (NB6536 (CNB20-LE))'
class = bridge
subclass = HOST-PCI
hostb1@pci0:0:0:1: class=0x060000 card=0x00000000 chip=0x00091166 rev=0x06
hdr=0x00
vendor = 'ServerWorks (Was: Reliance Computer Corp)'
device = 'AGP interface (NB6536 (CNB20-LE))'
class = bridge
subclass = HOST-PCI
pcib1@pci0:0:2:0: class=0x060400 card=0x00000000 chip=0x09628086 rev=0x01
hdr=0x01
vendor = 'Intel Corporation'
device = 'i960RM/RN Microprocessor/Bridge (80960RM/RN)'
class = bridge
subclass = PCI-PCI
aac0@pci0:0:2:1: class=0x010400 card=0x00011028 chip=0x00011028 rev=0x01
hdr=0x00
vendor = 'Dell Computer Corporation'
device = 'Expandable RAID Controller (PERC) (SCSI) (PowerEdge 2 /Si)'
class = mass storage
subclass = RAID
pcm0@pci0:0:4:0: class=0x040100 card=0x00531102 chip=0x00041102 rev=0x03
hdr=0x00
vendor = 'Creative Technology LTD.'
device = 'Audigy Audio Processor (Creative SB Audigy 2 ZS (WDM))'
class = multimedia
subclass = audio
emujoy0@pci0:0:4:1: class=0x098000 card=0x00401102 chip=0x70031102 rev=0x03
hdr=0x00
vendor = 'Creative Technology LTD.'
device = 'Creative Labs SB Audigy MIDI/Game port (EMU10K2 (for Vista 32
bit))'
class = input device
none0@pci0:0:4:2: class=0x0c0010 card=0x00101102 chip=0x40011102 rev=0x01
hdr=0x00
vendor = 'Creative Technology LTD.'
device = 'Audigy IEEE1394a Firewire Controller (EMU10K1)'
class = serial bus
subclass = FireWire
fxp0@pci0:0:8:0: class=0x020000 card=0x009b1028 chip=0x12298086 rev=0x08
hdr=0x00
vendor = 'Intel Corporation'
device = '82550/1/7/8/9 EtherExpress PRO/100(B) Ethernet Adapter'
class = network
subclass = ethernet
vgapci0@pci0:0:14:0: class=0x030000 card=0x009b1028 chip=0x47591002 rev=0x7a
hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'm3d agp card on agp slot (215r2qzua21)'
class = display
subclass = VGA
isab0@pci0:0:15:0: class=0x060100 card=0x02001166 chip=0x02001166 rev=0x50
hdr=0x00
vendor = 'ServerWorks (Was: Reliance Computer Corp)'
device = 'PCI to ISA Bridge (OSB4)'
class = bridge
subclass = PCI-ISA
ohci0@pci0:0:15:2: class=0x0c0310 card=0x02201166 chip=0x02201166 rev=0x04
hdr=0x00
vendor = 'ServerWorks (Was: Reliance Computer Corp)'
device = 'OpenHCI Compliant USB Controller (OSB4)'
class = serial bus
subclass = USB
ahc0@pci0:1:6:0: class=0x010000 card=0x78809004 chip=0x80789004 rev=0x02
hdr=0x00
vendor = 'Adaptec Inc'
device = 'AIC-7880P Ultra/Ultra Wide SCSI Chipset'
class = mass storage
subclass = SCSI
vgapci1@pci0:2:6:0: class=0x030000 card=0x01221092 chip=0x59601002 rev=0x01
hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'Radeon 9200 Pro (RV280)'
class = display
subclass = VGA
vgapci2@pci0:2:6:1: class=0x038000 card=0x01231092 chip=0x59401002 rev=0x01
hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'www.ati.comRadeon 9200 Pro - Secondary (RV280)'
class = display


[131]daemon[/]: cd /dev/dri
[132]daemon[/dev/dri]: ls
card1
[133]daemon[/dev/dri]:


[134]daemon[/dev/dri]: cat /var/log/Xorg.0.log | grep card0
drmOpenDevice: node name is /dev/dri/card0
Failed to change owner or group for file /dev/dri/card0! 2: No such file or
directory
Failed to change owner or group for file /dev/dri/card0! 2: No such file or
directory
[135]daemon[/dev/dri]:



[135]daemon[/dev/dri]: dmesg | grep drm
drm1: <ATI Radeon RV280 9250> on vgapci1
vgapci1: child drm1 requested pci_enable_busmaster
info: [drm] Initialized radeon 1.31.0 20080613
[136]daemon[/dev/dri]:



drm1: <ATI Radeon RV280 9250> on vgapci1
vgapci1: child drm1 requested pci_enable_busmaster
vgapci2: <VGA-compatible display> mem
0xd0000000-0xd7ffffff,0xe7000000-0xe700ffff at device 6.1 on pci2
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
[137]daemon[/dev/dri]:


Thank you very much for any help as id like DRM usable ive been trying for
over a week.





-- 
I am my only local user and I cannot be trusted. This is a bad thing. Thing
is, with FreeBSD where there is a shell there is a way. Over the years I've
come to regard you as people I've met. I may be schizophrenic, but at least
I have each other, and only when I am alone am I truly together. Hans reiser
is still my hero, i'm not saying it's right, but I understand.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79b166921001271508o5b9995ebkcf7df4620ea2c36f>