Subject: Re: LKM's...
To: Tobias Beal <tbeal41@maine.maine.edu>
From: Brad Salai <bsalai@servtech.com>
List: port-mac68k
Date: 05/04/1997 18:52:46
tobias,

I didn't use modload, because recent etc/rc has a line that looks at rc.lkm
which looks at lkm.conf:

# load any kernel modules specified in /etc/lkm.conf
if [ X"$lkm_init" != XNO -a -f /etc/rc.lkm ]; then
        . /etc/rc.lkm
fi

but if you don't want to reboot, and if you don't want the lkm loaded if you have
to reboot for some other reason, then modload will work. I decided to to with the auto
loading.

You are right, you have to do a madedev lkm in /dev, and maybe some other
stuff that I don't remember, but if you don't have everything ready, there
will be a helpful error message to remind you.

It was, as you say, a real pain to get running. It has been a couple of months,
so the pain has faded, but, if I can do it, you can. I don't have any experience
at all with this stuff, I just nibbled away at the errors until it worked.

Brad

> Hi Brad-
> 
> Thanks for your response.  You didn't use modload to load your module?  I
> thought that was necessary.  At any rate, either I'm in way over my head on
> this one or something is not right with my system-  I'm getting a little
> sick of error after error at this point!  I tried messing around with some
> of the stuff you sent me, to no avail.   I did start with the man entries-
> they make it look alot easier than it turns out to be.  Don't you have to
> do something with /dev/lkm too?  I hate to be negative-  but then, I'm sure
> you've got some idea of how frustrating this stuff can be.  I'm about to
> give up (and yet, I know the solution is going to be so simple...)  Maybe
> I'll just have to wait until someone comes out with a real color kernel...
> :)
> Thanks again,
> 
> Tobias
> 
>