Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 1999 18:06:48 -0500 (EST)
From:      ck@adsu.bellsouth.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   i386/9280: rc.i386 (attempts to) load lkm screensaver, not kld
Message-ID:  <199901022306.SAA00751@oreo.adsu.bellsouth.com>

next in thread | raw e-mail | index | archive | help


>Number:         9280
>Category:       i386
>Synopsis:       rc.i386 (attempts to) load lkm screensaver, not kld
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan  2 15:10:01 PST 1999
>Last-Modified:
>Originator:     Christian Kuhtz
>Organization:
BellSouth Corporation
>Release:        FreeBSD 3.0-CURRENT i386 (CVSup 010299)
>Environment:

None

>Description:

mod instead of kld is used to load screensaver

>How-To-Repeat:

select screensaver in rc.conf, run rc.i386 on 3.0-current 

>Fix:
	
rc.i386.lkm is the broken rc.i386
rc.i386.kld is the kld'ed screensaver rc.i386

--(snippitysnap)---------------------------------------------------------------
--- rc.i386.lkm Sat Jan  2 17:55:55 1999
+++ rc.i386.kld Sat Jan  2 17:56:14 1999
@@ -94,8 +94,8 @@
 # screen saver
 if [ "X${saver}" != X"NO" ] ; then
        echo -n ' screensaver'
-       modstat | grep -q _saver || \
-               modload -u -o /tmp/saver_mod -q /lkm/${saver}_saver_mod.o
+       kldstat | grep -q _saver || \
+               kldload ${saver}_saver.ko
 fi
 
 # mouse daemon
--(snappitysnip)---------------------------------------------------------------

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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