From owner-freebsd-questions Thu Jan 4 20: 5:16 2001 From owner-freebsd-questions@FreeBSD.ORG Thu Jan 4 20:05:13 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from Mail6.sc.rr.com (fe6.southeast.rr.com [24.93.67.53]) by hub.freebsd.org (Postfix) with ESMTP id C6FC637B400 for ; Thu, 4 Jan 2001 20:05:12 -0800 (PST) Received: from sc.rr.com ([24.88.102.101]) by Mail6.sc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Thu, 4 Jan 2001 23:05:11 -0500 Received: (from dmaddox@localhost) by sc.rr.com (8.11.1/8.11.1) id f0545lj01310; Thu, 4 Jan 2001 23:05:47 -0500 (EST) (envelope-from dmaddox) Date: Thu, 4 Jan 2001 23:05:47 -0500 From: "Donald J . Maddox" To: Jonathan Chen Cc: Alexander Volk , freebsd-questions@FreeBSD.ORG Subject: Re: /dev/agpgart not configured Message-ID: <20010104230546.A1295@cae88-102-101.sc.rr.com> Reply-To: dmaddox@sc.rr.com Mail-Followup-To: Jonathan Chen , Alexander Volk , freebsd-questions@FreeBSD.ORG References: <000901c076bc$1ddc7410$03000059@volk> <20010105170104.A66704@itouchnz.itouch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010105170104.A66704@itouchnz.itouch>; from jonathan.chen@itouch.co.nz on Fri, Jan 05, 2001 at 05:01:04PM +1300 Return-Receipt-To: dmaddox@sc.rr.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Why would you do this, as opposed to having: agp_load="YES" in /boot/loader.conf? On Fri, Jan 05, 2001 at 05:01:04PM +1300, Jonathan Chen wrote: > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message