Subject: Re: intel 82815 chipset...
To: Giles Lean <giles@nemeton.com.au>
From: Alistair Crooks <agc@pkgsrc.org>
List: current-users
Date: 02/20/2001 09:46:59
On Tue, Feb 20, 2001 at 03:08:34PM +1100, Giles Lean wrote:
>
> > ftp://ftp.netbsd.org/pub/NetBSD/misc/agc/agpgart.?
> >
> > has the agpgart mods to make it work on 815s. Now if I could just find
> > my X server mods...
>
> Hi Alistair,
>
> Very helpful -- thanks. My desktop machine's video card died, so I
> pulled a server out of the cupboard and (except for the noise -- my
> desktop machine should be diskless!) am happy again.
>
> For the benefit of other lurkers and the mail archives, here are the
> steps I used to configure this.
I've just uploaded my i815-x11.tgz archive which I use to bootstrap
machines around here. I've been running with it since November, and
it works fine.
[7:40:28] agc@ws4 ~ 114 > tar tvzf i815-x11.tgz
drwxr-xr-x root/wheel 0 Nov 27 12:33 2000 lkm/
-rw-r--r-- root/wheel 8140 Nov 27 12:16 2000 lkm/agpgart.o
-rwxr-xr-x root/wheel 266 Nov 27 09:59 2000 lkm/agpgart_install
-rwxr-xr-x root/wheel 305143 Nov 27 12:33 2000 lkm/agpgart
-rw-r--r-- root/wheel 293 Nov 27 10:00 2000 etc/lkm.conf
-rwxr-xr-x root/wheel 4723 Nov 27 15:29 2000 etc/XF86Config
lrwxr-xr-x root/wheel 0 Nov 27 12:34 2000 usr/X11R6/bin/X -> XF86_SVGA.i810
-r-xr-xr-x root/wheel 3461172 Nov 27 15:16 2000 usr/X11R6/bin/XF86_SVGA.i810
[7:40:50] agc@ws4 ~ 115 >
(Ignore lkm/agpgart, it got in the archive sometime ago, I just never
took it out).
The archive is at:
ftp://ftp.netbsd.org/pub/NetBSD/misc/agc/i815-x11.tgz
> 0. (a) install agpgart.o in /usr/lkm
> (b) copy XF86_SVGA.i180 to /usr/X11R6/bin and make it executable
> (c) link /usr/X11R6/bin/X to /usr/X11R6/bin/F86_SVGA.i380
I prefer to install lkms into /lkm, so that, as long as I have a root
filesystem, I can load the lkm if I want. Handy, sometimes, and old
habits die hard.
> 1. Set lkm=YES in /etc/rc.conf if it is not already, and add agpgart.o
> to /etc/lkm.conf:
>
> agpgart.o - - /usr/local/sbin/mkdev_agpgart - AFTERMOUNT
>
> After rebooting, this message shows in dmesg:
>
> NetBSD AGP GART interface v0.03 (c) Jeff Hartmann
> -- Experimental distribution, only i810 enabled
> Got pages for a 64 megabyte mapping for the agp aperature.
> i810_configure
>
> 2. Create a postinstall script to be called from modload via
> /etc/lkm.conf to create /dev/agpgart. Until this is done starting
> X will fail because /dev/agpgart doesn't exist:
>
> (--) SVGA: Stat failed on /dev/agpgart: No such file or directory
>
> Fatal server error:
> couldn't get memory from gart module,
> and I810_UNSUPPORTED_GTT_FALLBACK not set.
>
> The script:
>
> #! /bin/sh
> # Called by modload(8) after loading agpgart.o
> rm -f /dev/agpgart
> mknod /dev/agpgart c $3 0
These two are in the archive I uploaded.
They've worked fine for me since November last year. I have it on 4 Compaq
Deskpro EN 200s.
Regards,
Alistair