Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2007 17:44:12 +0200
From:      Alberto Rizzi <greenant@fastmail.fm>
To:        questions@freebsd.org
Subject:   Missing /dev/agpgart
Message-ID:  <4677F9CC.9070907@fastmail.fm>

next in thread | raw e-mail | index | archive | help
I have a motherboard with a via PT880 and an agp video card Radeon 9600XT

I'm using 6-STABLE with "device agp" in the kernel configuration file
but the system doesn't create /dev/agpgart device

#dmesg | grep agp
returns nothing

#kldstat -v | grep agp
		385 pci/agp_ali
		386 pci/agp_amd
		387 pci/agp_amd64
		388 pci/agp_ati
		389 pci/agp_i810
		390 pci/agp_intel
		391 pci/agp_nvidia
		392 pci/agp_sis
		393 pci/agp_via

#pciconv -lv
is at the end of the email

When I start the X server (both 6.9 and 7.2), radeon and drm modules get
loaded but there are errors in Xorg logs about missing /dev/agpgart

While Xorg is starting, I see these messages in /var/log/messages

May 26 15:02:24 hansolo kernel: error: [drm:pid877:radeon_cp_init]
*ERROR* radeon_cp_init called without lock held
May 26 15:02:24 hansolo kernel: error: [drm:pid877:drm_unlock] *ERROR*
Process 877 using kernel context 0

Xorg works without other problems, but without agp I can't use drm and
2D acceleration, but I have /dev/dri/card0


How can I solve the problem?


hostb0@pci0:0:0:	class=0x060000 card=0x02581849 chip=0x02581106 rev=0x00
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'PT880 CPU to PCI Bridge'
    class    = bridge
    subclass = HOST-PCI
hostb1@pci0:0:1:	class=0x060000 card=0x12581849 chip=0x12581106 rev=0x00
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'PT880 CPU to PCI Bridge'
    class    = bridge
    subclass = HOST-PCI
hostb2@pci0:0:2:	class=0x060000 card=0x22581849 chip=0x22581106 rev=0x00
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'PT880 CPU to PCI Bridge'
    class    = bridge
    subclass = HOST-PCI
hostb3@pci0:0:3:	class=0x060000 card=0x32581849 chip=0x32581106 rev=0x00
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'PT880 CPU-to-PCI Bridge'
    class    = bridge
    subclass = HOST-PCI
hostb4@pci0:0:4:	class=0x060000 card=0x42581849 chip=0x42581106 rev=0x00
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'PT880 CPU to PCI Bridge'
    class    = bridge
    subclass = HOST-PCI
hostb5@pci0:0:7:	class=0x060000 card=0x72581849 chip=0x72581106 rev=0x00
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'PT880 CPU to PCI Bridge'
    class    = bridge
    subclass = HOST-PCI
pcib1@pci0:1:0:	class=0x060400 card=0x00000070 chip=0xb1981106 rev=0x00
hdr=0x01
    vendor   = 'VIA Technologies Inc'
    device   = 'ProSavageDDR P4X600 CPU to AGP Bridge'
    class    = bridge
    subclass = PCI-PCI
rl0@pci0:12:0:	class=0x020000 card=0x813911f6 chip=0x813910ec rev=0x10
hdr=0x00
    vendor   = 'Realtek Semiconductor'
    device   = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
    class    = network
    subclass = ethernet
atapci0@pci0:15:0:	class=0x01018f card=0x31491849 chip=0x31491106
rev=0x80 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8237  VT6410 SATA RAID Controller'
    class    = mass storage
    subclass = ATA
atapci1@pci0:15:1:	class=0x01018a card=0x05711849 chip=0x05711106
rev=0x06 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxx EIDE Controller (All VIA Chipsets)'
    class    = mass storage
    subclass = ATA
uhci0@pci0:16:0:	class=0x0c0300 card=0x30381849 chip=0x30381106 rev=0x81
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
uhci1@pci0:16:1:	class=0x0c0300 card=0x30381849 chip=0x30381106 rev=0x81
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
uhci2@pci0:16:2:	class=0x0c0300 card=0x30381849 chip=0x30381106 rev=0x81
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
uhci3@pci0:16:3:	class=0x0c0300 card=0x30381849 chip=0x30381106 rev=0x81
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxxx UHCI USB 1.1 Controller (All VIA Chipsets)'
    class    = serial bus
    subclass = USB
ehci0@pci0:16:4:	class=0x0c0320 card=0x31041849 chip=0x31041106 rev=0x86
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT6202 USB 2.0 Enhanced Host Controller'
    class    = serial bus
    subclass = USB
isab0@pci0:17:0:	class=0x060100 card=0x32271849 chip=0x32271106 rev=0x00
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8237 PCI-to-ISA Bridge'
    class    = bridge
    subclass = PCI-ISA
pcm0@pci0:17:5:	class=0x040100 card=0x97611849 chip=0x30591106 rev=0x60
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8233/33A/8235/8237 AC97 Enhanced Audio Controller'
    class    = multimedia
    subclass = audio
vr0@pci0:18:0:	class=0x020000 card=0x30651849 chip=0x30651106 rev=0x78
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT6102 Rhine II PCI Fast Ethernet Controller'
    class    = network
    subclass = ethernet
none0@pci1:0:0:	class=0x030000 card=0x7c29174b chip=0x41521002 rev=0x00
hdr=0x00
    vendor   = 'ATI Technologies Inc'
    device   = 'Radeon 9600 XT (V350)'
    class    = display
    subclass = VGA
none1@pci1:0:1:	class=0x038000 card=0x7c28174b chip=0x41721002 rev=0x00
hdr=0x00
    vendor   = 'ATI Technologies Inc'
    device   = 'RV360 Radeon 9600 XT - Secondary'
    class    = display





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