PDA

View Full Version : How to retreive old kernel headers?



mrcryo
19-Jan-2013, 20:07
We develop a product that includes our own kernel module, the product supports SLES11 and newer.
We ship our kernel module to SLES-customers as object-file to link it with dkms-system on customers systems.

As customers could have any of old kernel versions, we need all kernel headers for SLES11 to build our module. Could someone please help us to get them all.

Bob-O-Rama
20-Jan-2013, 00:00
Excuse the non-responsive question... why do you need that? What sort of module is this? Perhaps someone has an idea that will help you not need all that. I

The entire point of dkms is that you don't need any of that. You would write a shim that is rebuilt by dkms. That module would only care about the local system, for which the headers are available. Your core logic would be built in two flavors only based on architecture and talk to the shim KAPI which you manage. The shim abstracts the variable portions of the kernel interfaces and insulates your core logic from knowing / caring about it.

But to your question, I have no idea. A couple of us ( non-employee, volunteers who live in the forums ) are asking around.

But more details on the project would be good, meanwhile.

-- Bob

HvdHeuvel
21-Jan-2013, 16:25
Hi mrcryo


We develop a product that includes our own kernel module, the product supports SLES11 and newer.
We ship our kernel module to SLES-customers as object-file to link it with dkms-system on customers systems.

As customers could have any of old kernel versions, we need all kernel headers for SLES11 to build our module. Could someone please help us to get them all.

You can download any required kernel sources from our website.

But, whilst you refer to the 'dkms' process, are you aware that we have a more 'sophisticated' driver process on our hand than what dkms can do for you ?
It is called the "The Partner Linux Driver Program" and this [1] [2] [3] would be a great place to start reading up on the details off this program.

Additionally, in case you have additional questions on the topic, can you please send me a direct email ?
Please send it to "hvdheuvel [at] novell [dot] com" and I can bring you in contact with the correct SUSE people for this program.

Kindest regards
Hans

[1] https://www.suse.com/partners/linux-driver-program/
[2] http://www.novell.com/developer/partner_linux_driver.html
[3] http://www.novell.com/developer/partner_linux_driver_process_faq.html