From owner-freebsd-questions Thu Jan 4 20: 1:30 2001 From owner-freebsd-questions@FreeBSD.ORG Thu Jan 4 20:01:28 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id CE40A37B400 for ; Thu, 4 Jan 2001 20:01:27 -0800 (PST) Received: (from jonc@localhost) by itouch.co.nz (8.11.1/8.11.1) id f05414h72373; Fri, 5 Jan 2001 17:01:04 +1300 (NZDT) (envelope-from jonc) Date: Fri, 5 Jan 2001 17:01:04 +1300 From: Jonathan Chen To: Alexander Volk Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /dev/agpgart not configured Message-ID: <20010105170104.A66704@itouchnz.itouch> References: <000901c076bc$1ddc7410$03000059@volk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000901c076bc$1ddc7410$03000059@volk>; from volk@nalog.khv.ru on Fri, Jan 05, 2001 at 12:06:21PM +1000 Sender: jonc@itouch.co.nz Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jan 05, 2001 at 12:06:21PM +1000, Alexander Volk wrote: > At start Xfree86 - 4.0.2_2 on the FreeBSD 4.2 there is an error: > Unable to open /dev/agpgart (Device not configured) > How to load agpgart in a kernel ? Have a executable script file in /usr/local/etc/rc.d to load the agp kld. Here's a sample of kldload.sh: ---------------------------------------------------------------------- #!/bin/sh # # Load various klds # KOLIST="agp.ko" case $1 in start) KLDCMD="kldload" ;; stop) KLDCMD="kldunload" ;; *) echo "usage: `basename $0` {start|stop}" >&2 exit 64 ;; esac for i in ${KOLIST} do ${KLDCMD} ${i} && echo -n "${i} " done ---------------------------------------------------------------------- Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Don't worry about avoiding temptation, as you grow older, it starts avoiding you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message