From nobody@FreeBSD.org  Thu Jan 26 18:03:53 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7117416A422
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 Jan 2006 18:03:53 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C5FB343D4C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 Jan 2006 18:03:52 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k0QI3qrb067508
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 26 Jan 2006 18:03:52 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k0QI3q3K067506;
	Thu, 26 Jan 2006 18:03:52 GMT
	(envelope-from nobody)
Message-Id: <200601261803.k0QI3q3K067506@www.freebsd.org>
Date: Thu, 26 Jan 2006 18:03:52 GMT
From: Julian Stecklina <der_julian@web.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: i915 drm module unuseable by X.org 6.9.0 for GM855
X-Send-Pr-Version: www-2.3

>Number:         92381
>Category:       kern
>Synopsis:       [drm] i915 drm module unuseable by X.org 6.9.0 for GM855
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    vwe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 26 18:10:02 GMT 2006
>Closed-Date:    Sun May 11 23:40:11 UTC 2008
>Last-Modified:  Sun May 11 23:40:11 UTC 2008
>Originator:     Julian Stecklina
>Release:        6-STABLE
>Organization:
>Environment:
FreeBSD dellbeast.localnet 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri Jan 20 06:14:20 CET 2006     blitz@dellbeast.localnet:/usr/obj/usr/src/sys/DELLBEAST  i386
>Description:
My Dell Inspiron 510m has a Intel GM855 graphics adaptor which is supposedly supported by the i915 kernel module since the update to the 2005-11-28 snapshot of DRM. I use the newly released X.org server 6.9.0.

The driver attaches:
drmsub1: <Intel i852GM/i855GM GMCH> mem 0xe8000000-0xefffffff,0xfaf00000-0xfaf7ffff at device 2.1 on pci0
info: [drm] AGP at 0xf0000000 128MB
info: [drm] Initialized i915 1.2.0 20041217

and I get a device node: /dev/dri/card1

Probably relevant parts from the Xorg.0.log
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 832 kB
(II) I810(0): VESA VBE OEM: Intel(r)852GM/852GME/855GM/855GME Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(r)852GM/852GME/855GM/855GME Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Allocated 128 kB for the ring buffer at 0x0
(II) I810(0): Allocating at least 256 scanlines for pixmap cache
(II) I810(0): Initial framebuffer allocation size: 10448 kByte
(II) I810(0): Allocated 4 kB for HW cursor at 0x7fff000 (0x18779000)
(WW) I810(0): xf86AllocateGARTMemory: allocation of 4 pages failed
        (Cannot allocate memory)
(EE) I810(0): Failed to allocate HW (ARGB) cursor space.
(II) I810(0): Allocated 4 kB for Overlay registers at 0x7ffe000 (0x17e5a000).
(II) I810(0): Allocated 64 kB for the scratch buffer at 0x7fee000
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1013
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:61:00.0
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1013
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: open result is -1, (No such file or directory)
..
>How-To-Repeat:
> startx
>Fix:
              
>Release-Note:
>Audit-Trail:

From: Julian Stecklina <der_julian@web.de>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/92381 : [drm] i915 drm module unuseable by X.org 6.9.0 for
 GM855
Date: Sun, 5 Feb 2006 16:01:36 +0100

 Hello,
 
 Solved by http://efficio.wh29.tu-dresden.de/static/drm3.patch
 
 Regards,
 -- 
 Julian Stecklina
 
 "I object to doing things that computers can do." - Olin Shivers
 
State-Changed-From-To: open->feedback 
State-Changed-By: vwe 
State-Changed-When: Sun May 11 21:22:22 UTC 2008 
State-Changed-Why:  

Julian: I found your issue untouched for quite some time. 
Please take our apologies for that. 
I'm wondering if your issue is solved by installing a manual 
patch or if it has been patched in FreeBSD CVS? 
Unfortunately I'm unable to check that as the URL you've filed 
is not accessible anymore. 


Responsible-Changed-From-To: freebsd-bugs->vwe 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Sun May 11 21:22:22 UTC 2008 
Responsible-Changed-Why:  

track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=92381 
State-Changed-From-To: feedback->closed 
State-Changed-By: vwe 
State-Changed-When: Sun May 11 23:39:27 UTC 2008 
State-Changed-Why:  

feedback provided; issue is now solved 
thanks for reporting, Julian! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=92381 
>Unformatted:
