john gennard wrote:
> Bob Proulx wrote:
> I have a self compiled kernel using 2.4.21 which was being

Should be fine too.  I just like using the package system for my
machines.  Just build the module with your kernel source and you
should be fine.

> Where I went wrong seems to be at the following point. I don't
> understand the command - is there a typo?

No typo.  It looks fine to me.

> >   tar xzf nvidia-kernel-src.tar.gz # /usr/src/modules/...
> 
> Very many thanks, Bob, for your detailed response - I should be 
> able to proceed when I understand the above line.

  tar xzf file.tar.gz

    x -- extract
    z -- gzip'd compressed
    f -- filename
    # a shell comment character.  The rest of the line is ignored.

'tar' is one of those commands that does not take options.  It takes
arguments since they are not optional.  'tar' must have a command.  So
there are no '-' required.  This is similar to 'ar' which 'tar'
follows.  A lot of the BSD based commands are like that.  Look at 'ps'
for another example.  Although you may put a '-' before the command if
you want and many people do.  It is ignored for tar.

That command will unpack the file into ./modules/nvidia-kernel-1.0.2880/
in your current directory.  The presence of files in modules will be
detected by make-kpkg which will build them as modules automatically.
This is an automated installer which will install the
NVIDIA_kernel-1.0-2880.tar.gz (partial) source directory.

If you are compiling the kernel yourself then you will need to handle
this yourself too.  I have been using make-kpkg to the point I have
forgotten how to do it otherwise.

Bob

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to