Mailing List archive

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

[vdr] Re: nvram-wakeup problems



On Sat, 11 May 2002, Nikolaus Isele (NI) wrote:

NI>
NI> > If nvram  is not in the kernel, but a module, you have to do
NI> > a "make modules
NI> > modules_install"
NI>
NI> I tried it, but then there happens errors........

what kind of errors?

NI> How can i find out if nvram is a module or it is in the kernel?

make menuconfig

go to character devices

<M> /dev/nvram support
   means that the driver is configured as a module

<*> /dev/nvram support
   means that the driver is configured to be compiled into the kernel


if it's a module, you have to do
  make modules
this will actually compile all the selected modules (or recompile the
modified ones)
  make modules_install
this wil actually copy all the driver files (like nvram.o) to the right
positions.
after that you have to reload the driver:
  rmmod nvram
  modprobe nvram
should do the trick.


if the driver is compiled into the kernel, you need to do e.g.
  make bzImage
which will recompile your kernel.
after that you have to copy the newly created kernel to the directory
where all your kernels are (on SuSE 7.3 this should be /boot)
reconfigure lilo.conf, run lilo to recognize the new kernel and then
reboot your system with the new kernel.


I think, for a newbie it is easier to use the first method, e.g. to
compile it as a module. and don't forget to read
  /usr/src/linux/README
  /usr/src/linux/Documentation/modules.txt
  man modprobe

hope it helps

c ya
        Sergei
--
--------------------------------------------------------------------
         eMail:       Sergei.Haller@math.uni-giessen.de
--------------------------------------------------------------------
Be careful of reading health books, you might die of a misprint.
                -- Mark Twain





Home | Main Index | Thread Index