xfs
[Top] [All Lists]

Re: kernel.h

To: Kris Verbeeck <kris.verbeeck@xxxxxxxxx>
Subject: Re: kernel.h
From: Dan Swartzendruber <dswartz@xxxxxxxxxx>
Date: Thu, 14 Jun 2001 15:05:35 -0400 (EDT)
Cc: <linux-xfs@xxxxxxxxxxx>
In-reply-to: <3B290BA1.78A041C@xxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Thu, 14 Jun 2001, Kris Verbeeck wrote:

> Hi,
>
> 1) After booting a linux 2.4.5 kernel with XFS support the
> kernel.h file contains the following lines:
>
>   /* Kernel type package kernel2.4.5-xfs-2.4.5-xfs is not
> installed2.4.5-xfs */
>
>   #ifndef __MODULE_KERNEL_package kernel2.4.5-xfs-2.4.5-xfs is not
> installed
>   #define __MODULE_KERNEL_package kernel2.4.5-xfs-2.4.5-xfs is not
> installed 1
>   #endif
>
> Why are they in there?  They are not valid C code.

it's bad practice, but harmless - self-documenting.

> 2) Another problem I have is when I want to recompile the
> NVidia kernel module for my GeForce 2 graphics adapter with
> this new patched kernel.  I get a lot of errors, where before
> with the unpatched kernel everything went alright.  A log
> of the make output is attached to this mail.
>
> Any ideas on this?  Haven't found anything in the FAQ's of
> either XFS or NVidia about this.

bad module versioning.  this is one of the reasons the first thing
i do in a kernel config is to disable module version checking.




<Prev in Thread] Current Thread [Next in Thread>