Fujitsu P7010 drm problems.

John Baldwin jhb at freebsd.org
Tue Jan 3 13:39:49 PST 2006


On Tuesday 03 January 2006 04:19 pm, Peter Ankerstål wrote:
> On Tue, 3 Jan 2006 13:00:07 -0500
>
> John Baldwin <jhb at freebsd.org> wrote:
> > On Sunday 01 January 2006 03:43 pm, Peter Ankerstål wrote:
> > > I want to enable direct renering on my Fujitsu Siemens P7010PM but when
> > > I include the i915drm to the kernel I get the following messages at
> > > boot-time:
> > >
> > > drmsub0: <Intel i852GM/i855GM GMCH> port 0x2430-0x2437 mem
> > > 0xd8000000-0xdfffffff ,0xd0000000-0xd007ffff irq 11 at device 2.0 on
> > > pci0 error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't
> > > initialize AGP. device_attach: drmsub0 attach returned 12
> > > drmsub1: <Intel i852GM/i855GM GMCH> mem
> > > 0xe0000000-0xe7ffffff,0xd0080000-0xd00ff fff at device 2.1 on pci0
> > > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't
> > > initialize AGP. device_attach: drmsub1 attach returned 12
> > >
> > > Huh, really? THIS is the message I get when I don't have the i915drm in
> > > the kernel:
> > >
> > > agp0: <Intel 82855GME (855GME GMCH) SVGA controller> port 0x2430-0x2437
> > > mem 0xd8000000-0xdfffffff,0xd0000000-0xd007ffff irq 11 at device 2.0 on
> > > pci0 detected 8060k stolen memory
> > > aperture size is 128M
> > >
> > > So, what I want to do is to "steal" more memory to enable drm and dri.
> > > What could be the problem?
> >
> > This is fixed in HEAD.  I think the quick hack that might work is to
> > change the i915_drm.c file to attach to drmsub rather than pci in the
> > DRIVER_MODULE() line.
>
> I fixed that one and now I get this in xorg.log:
>
> 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
> [drm] failed to load kernel module "i915"
> (II) I810(0): [drm] drmOpen failed
> (EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

That part I don't know.  You can try asking anholt at .  I thought he might have 
merged all the fixes back to RELENG_6 already though.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-mobile mailing list