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

Re: Speaking of kernel modules versioning...




Brian,


I just noticed something (while looking at the recent patches in the 2.4.21-20.EL src.rpm). Many of the RH patches include this kind of structure (example taken from linux-2.4.21-nfs-updates.patch)

+#ifdef __GENKSYMS__ /* preserve KMI/ABI ksyms compatibility for mod linkage */
+	(something)
+#else
+	(something else)
+#endif

So perhaps all that's needed ( since both you and I are patching a RH kernel and not trying to run something completely diferent) is to modify our patches to the kernel's source so that they include the above structure at the relevant places..

I'll be trying to see if I can adapt the O1 latency patch(es) and see what results I'll get.

Regards,

,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
http://step.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ coyote NOSPAM4cojot name

They cannot scare me with their empty spaces
Between stars - on stars where no human race is
I have it in me so much nearer home
To scare myself with my own desert places.       - Robert Frost

On Thu, 2 Sep 2004, Brian Long wrote:

Did you ever get an answer to this?  We're patching -15.0.4 with the
32-bit UID fix for AMD64, but we like to keep our kernels the same
across the i386 and AMD64 architectures.  EMC Powerpath will load with
-15.0.4 but not with our -15.0.4.cisco.1 kernel.

Any ideas how we can fake EMC Powerpath into loading?  Is it the
MOD_VERSION or some such inside the kernel config?

/Brian/



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