Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2004 07:10:33 -0600 (CST)
From:      David Fleck <david.fleck@mchsi.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: agp error with Radeon 7500 disables DRI
Message-ID:  <20040113070701.J602@grond.sourballs.org>
In-Reply-To: <20040111202325.W424@grond.sourballs.org>
References:  <20040111202325.W424@grond.sourballs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
To answer my own question, it turns out that (for my system, at least) the
agp.ko module *must not be preloaded* with loader.conf.  Commenting
agp_load="YES" out of /boot/loader.conf fixed all three problems listed
here.

On Sun, 11 Jan 2004, David Fleck wrote:
> 4.9-RELEASE-p1.
>
> At boot, the agp module appears to load OK:
>
> # dmesg | grep agp
> Preloaded elf module "agp.ko" at 0xc03d336c.
> agp0: <VIA Generic host to PCI bridge> mem 0xe0000000-0xe7ffffff at device
> 0.0 on pci0
> agp0: allocating GATT for aperture of size 256M
>
> However, when starting X, the kernel spits out this message:
>
> /kernel: error: [drm:radeon_unlock] *ERROR* Process 265 using kernel
> context 0
>
> There is no such process when I look, of course...  the relevant section
> of the XFree86 log is:
>
> (II) RADEON(0): [drm] created "radeon" driver at busid "PCI:1:0:0"
> (II) RADEON(0): [drm] added 8192 byte SAREA at 0xc22ce000
> (II) RADEON(0): [drm] mapped SAREA 0xc22ce000 to 0x28279000
> (II) RADEON(0): [drm] framebuffer handle = 0xd8000000
> (II) RADEON(0): [drm] added 1 reserved context for kernel
> (WW) RADEON(0): [agp] AGP not available
> (II) RADEON(0): [drm] removed 1 reserved context for kernel
> (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc22ce000 at
> 0x28279000
> (II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)
>
> I'm assuming there's some relationship between (a) the kernel warning
> message, (b) the 'AGP not available' message, and (c) the fact that DRI
> doesn't work anymore (it did before I upgraded from 4.6.2 to 4.9).  Can
> anyone think of where to look to figure this out?

--
David Fleck
david.fleck@mchsi.com



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