Bug 93676

Summary: [agp] Yet another i915G drm/agp issue
Product: Base System Reporter: Jan Blaha <Jan.Blaha>
Component: kernAssignee: Eric Anholt <anholt>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.0-CURRENT   
Hardware: Any   
OS: Any   

Description Jan Blaha 2006-02-21 21:00:15 UTC
Attaching drm0 device yields following kernel error messages on recent -current system:

drm0: <Intel i915G> on vgapci0
[drm:pid0:drm_load]
[drm:pid0:drm_agp_init] agp_available = 0
error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize AGP.
[drm:pid0:drm_lastclose]
device_attach: drm0 attach returned 12

No drm nor agp devices appear in /dev.

Xorg is unable to open /dev/agpgart and allocate more than 8M of memory. Xv extension is off, direct rendering is disabled.

(EE) GARTInit: Unable to open /dev/agpgart (No such file or directory)
(WW) I810(0): /dev/agpgart is either not available, or no memory is available
for allocation.  Using pre-allocated memory only.

The problem is similar to http://www.freebsd.org/cgi/query-pr.cgi?pr=80396 but since that pr is closed and problem should be fixed in -current, there must be some difference.

Full system information is available on the uris:
http://freebsd.vyky.net/pciconf.txt
http://freebsd.vyky.net/dmesg.txt
http://freebsd.vyky.net/Xorg.0.log
http://freebsd.vyky.net/KERNEL.txt

How-To-Repeat: Boot os with described hardware and software configuration.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2006-08-31 19:16:57 UTC
Responsible Changed
From-To: freebsd-bugs->anholt

anholt has expressed an interest in agp PRs.
Comment 2 Eric Anholt freebsd_committer freebsd_triage 2006-09-01 04:56:17 UTC
State Changed
From-To: open->feedback

Proposed patch awaiting feedback.
Comment 3 Eric Anholt freebsd_committer freebsd_triage 2006-09-05 17:55:40 UTC
State Changed
From-To: feedback->patched

Committed to -current, MFC to follow.
Comment 4 Eric Anholt freebsd_committer freebsd_triage 2006-09-27 07:42:31 UTC
State Changed
From-To: patched->closed

Was closing wrong patched issue, but I'll be MFCing this in a moment as well.
Comment 5 Eric Anholt freebsd_committer freebsd_triage 2006-09-27 07:44:09 UTC
State Changed
From-To: closed->patched

Never mind, we're in freeze anyway.
Comment 6 Remko Lodder freebsd_committer freebsd_triage 2007-03-26 21:32:28 UTC
State Changed
From-To: patched->closed

I'll assume this got fixed already.