Hello,

I've got 2.2 on a freshly installed system.   I tried to compile alsa 
support and an ethernet driver for the Intel D945PLRN motherboard. 
The compilation went successfully.  However, when doing the "make 
install" for both the alsa and the ethernet drivers, the drivers 
installed themselves on a path indicating a wrong kernel.

Here's what I got:

[EMAIL PROTECTED] /lib/modules# pwd
/lib/modules
[EMAIL PROTECTED] /lib/modules# ls -l
total 1
drwxr-xr-x  3 root root  72 Sep  8 02:19 2.4.27-4tr/
drwxr-xr-x  4 root root 448 Sep  7 16:25 2.4.32-1tr/

A you can see, the install procedure made the 2.4.27-4 directory.   Of 
course, I've got a 2.4.32-1 kernel.
[EMAIL PROTECTED] /lib/modules# uname -a
Linux srv2.ph.eonmt.com 2.4.32-1tr #1 Wed Feb 8 12:58:36 GMT 2006 i686 
i686 i386 GNU/Linux
[EMAIL PROTECTED] /lib/modules# rpm -qa | grep kernel
kernel-doc-2.4.32-1tr
kernel-source-2.4.32-1tr
kernel-2.4.32-1tr
kernel-utils-2.4.32-1tr


The following files under /usr/include indicate a 2.4.27 kernel.  
[EMAIL PROTECTED] /usr/include# grep -ire 2.4.27 /usr/include
/usr/include/linux/version-up.h:#define UTS_RELEASE "2.4.27-4tr"
/usr/include/linux/version-BOOT.h:#define UTS_RELEASE "2.4.27-4trBOOT"
/usr/include/linux/version-smp.h:#define UTS_RELEASE "2.4.27-4trsmp"

This is supposed to be 2.4.32, right?

The files immediately above belong to linux-headers 2.4.27, as can be 
seen below.

[EMAIL PROTECTED] /usr/include# rpm -qi linux-headers
Name        : linux-headers                Relocations: (not relocateable)
Version     : 2.4.27                            Vendor: Comodo Trustix

Any points on how to compile my drivers properly?  Shall I submit a 
patch correcting the numbers on the include files, or is this correct?
If this is correct, how do you reconcile the differing kernel versions 
(which the drivers need for compilation)?

Thank you very much.

Best Regards,

Carlo Florendo
Astra Philippines Inc.
www.astra.ph












_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to