Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2001 17:01:04 +1300
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        Alexander Volk <volk@nalog.khv.ru>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: /dev/agpgart not configured
Message-ID:  <20010105170104.A66704@itouchnz.itouch>
In-Reply-To: <000901c076bc$1ddc7410$03000059@volk>; from volk@nalog.khv.ru on Fri, Jan 05, 2001 at 12:06:21PM %2B1000
References:  <000901c076bc$1ddc7410$03000059@volk>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonathan.chen@itouch.co.nz>
----------------------------------------------------------------------
                                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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010105170104.A66704>