Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mpeg2] Re: BMK (KFIR) board under Linux



>      When I type make insmod the system tells that the
> modules are already loaded. Anyway, I have installed
> Linux again, this time I want to be sure that I do
> things write. I've extracted the microcode from the
> Win9x drivers and now according to the README files
> for the Linux drivers I have to go to the drives
> folder and type "make" and after that type "make
> insmod". For the first make I have to edit the
> Makefile and to specify the KERNEL_LOCATION. This is
> my first doubt, where is the folder for the kernel
> location, I know this could sound a bit stupid but I'm
> quite new with Linux.

Ahhh.  I was a newcomer once, I know what it's like.
I am not familiar with rpm based upgrades of the kernel or sources,
but here's the general plan:

It is standard now that the kernel be here:
/usr/src/linux

usually what most people do it put the kernel in /usr/src and symlink it:
kernel location:   /usr/src/linux-2.4.8
ln -s /usr/src/linux-2.4.8 /usr/src/linux

This creates a directory, 
/usr/src/linux
which really points to /usr/src/linux-2.4.8 but since all software reads
/usr/src/linux (as does the kfir stuff),  there is no problem.

Now you can change what kernel version you are using by deleting
the symlink, and pointing it to a newer source version.  So in this method,
you should never have to specify KERNEL_LOCATION, as it should always
be accessible in the default /usr/src/linux


>      Once I've done those two makes I expect the board
> to work (as it did the first time a few days ago) but
> what do I have to do to keep it working the next time
> I reboot the system?. How can I configure
> /etc/modules.conf to autoload the modules, as you have
> suggested?

This is a good question.  I myself have never bothered with it.
The information on how to configure /etc/modules.conf is on
the web - just search at google.

Does anyone perhaps already have the modules.conf lines?

Torsten




Home | Main Index | Thread Index