| Author |
Message |
|
|
Post subject: How can I build working headers for a 2.6.24.4 Custom Kernel
Posted: Apr 03, 2008 - 01:06 PM
|
|
Joined: Apr 01, 2008
Posts: 9
Status: Offline
|
|
Based on the slh config and linux-source-sidux-2.6.24-25, with my modification (bigmem support to use 4GB, which works without any problems incl. nvidia driver 171,06 and vmware modules for latest version) I have build kernel Image and headers packages. The Image works and compiles modules with the source. But the headers-package alone does not work - it is build with make-kpkg - like in a how to on this side, but it still has a wrong asm-i386 symlink etc.
How do I build a custom headers package - like the working packages in the slh versions? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: How can I build working headers for a 2.6.24.4 Custom Ke
Posted: Apr 03, 2008 - 01:16 PM
|
|

Joined: Nov 30, 2006
Posts: 1010
Location: Nimritz / Thüringen
Status: Offline
|
|
| U don't need headers, if u have configured full-source. |
_________________
|
| |
|
|
|
 |
|
|
Post subject: I need headers to use the image on 2 other PCs
Posted: Apr 03, 2008 - 01:27 PM
|
|
Joined: Apr 01, 2008
Posts: 9
Status: Offline
|
|
| I have build the custom kernel to solve different problems on 3 PCs with a sidux installation - and a copy of the configured source will work, but - not a very professional solution. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: I need headers to use the image on 2 other PCs
Posted: Apr 03, 2008 - 01:35 PM
|
|
Joined: Nov 25, 2006
Posts: 2570
Status: Offline
|
|
|
|
|
 |
|
|
Post subject: Workaround
Posted: Apr 03, 2008 - 04:13 PM
|
|
Joined: Apr 01, 2008
Posts: 9
Status: Offline
|
|
no solution but a "dirty" workaround that worked for me:
1. build and install the headers
2. replace the folders arch and include with the folders of the configured kernel
3. archiv folder with tar and use on other maschines with the kernel image
The only advantage is that these "headers" use 78MB unpacked and the configured kernel uses 339MB.
Nvidia modules 169.12 und vmware modules 80004 (but vmmon needs patching on 2.6.24)
compile and work fine this way |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Workaround
Posted: May 11, 2008 - 05:36 AM
|
|

Joined: Apr 01, 2008
Posts: 12
Status: Offline
|
|
I used this with 2.6.24.3
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers |
|
|
| |
|
|
|
 |
|
|