Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2005 07:45:31 -0600
From:      Jonathan Fosburgh <jonathan@fosburgh.org>
To:        freebsd-x11@freebsd.org
Subject:   Radeon DRI problems after system upgrade
Message-ID:  <200501100745.38490.jonathan@fosburgh.org>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I recently (this weekend) upgraded my aging P-III system to an AMD Athlon 64 
(still running the i386 version of FreeBSD) and DRI has stopped working.  I 
am running a recent 5.3-STABLE with Xorg 6.8.1 and the current graphics/dri 
from ports.  AGP is compiled into the kernel.  The chipset is SiS 755.  I 
receive the following error now when drm0 loads:

Jan  9 04:27:17 gw kernel: agp0: binding memory at bad offset 0
Jan  9 04:27:17 gw kernel: error: [drm:pid688:radeon_cp_init] *ERROR* 
radeon_cp_init called without lock held
Jan  9 04:27:17 gw kernel: error: [drm:pid688:radeon_unlock] *ERROR* Process 
688 using kernel context 0

From postings to mailing lists, this indicates that AGP is not loaded, but I 
made sure to build it statically into the kernel when I first noticed the 
problem.  Here are some particulars:

Jan  9 04:27:17 gw kernel: drm0: <ATI Radeon QY RV100 7000/VE> port 
0xd000-0xd0ff mem 0xe8020000-0xe802ffff,0xe0000000-0xe7ffffff irq 16 at 
device 0.0 on pci1
Jan  9 04:27:17 gw kernel: info: [drm] AGP at 0xd8000000 128MB
Jan  9 04:27:17 gw kernel: info: [drm] Initialized radeon 1.11.0 20020828 on 
minor 0


pciconf -lv reports the following for AGP:

agp0@pci0:0:0:  class=0x060000 card=0x18911019 chip=0x07551039 rev=0x01 
hdr=0x00
    vendor   = 'Silicon Integrated Systems (SiS)'
    device   = 'SiSM650? Host-to-PCI Bridge'
    class    = bridge
    subclass = HOST-PCI
and for drm0:

drm0@pci1:0:0:  class=0x030000 card=0x2081148c chip=0x51591002 rev=0x00 
hdr=0x00
    vendor   = 'ATI Technologies Inc.'
    device   = 'RV100 Radeon 7000 / Radeon VE'
    class    = display
    subclass = VGA


DRI used to work with this release of Xorg and the same -STABLE sources.  From 
old syslogs:

Dec 27 21:09:44 gw kernel: agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> 
mem 0xe4000000-0xe7ffffff at device 0.0 on pci0

Dec 27 21:10:00 gw kernel: drm0: <ATI Radeon QY RV100 7000/VE> port 
0xd800-0xd8ff mem 0xd7000000-0xd700ffff,0xd8000000-0xdfffffff irq 11 at 
device 0.0 on pci1
Dec 27 21:10:00 gw kernel: info: [drm] AGP at 0xe4000000 64MB
Dec 27 21:10:00 gw kernel: info: [drm] Initialized radeon 1.11.0 20020828 on 
minor 0


My only guess is that this has something to do with AGP support for this 
chipset.  Does anyone have a suggestion?


-- 
Jonathan Fosburgh
AIX and Storage Administrator
UT MD Anderson Cancer Center
Houston, TX

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBB4ocCqUvQmqp7omYRAr6/AKDGaOm1EdjMtiBl5krPay335WRy/wCgoQAS
COVA9neW4kEIA81eGDD8ids=
=dA1i
-----END PGP SIGNATURE-----

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