sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ra_ma
Post subject: How can I build working headers for a 2.6.24.4 Custom Kernel  PostPosted: 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?
 
 View user's profile Send private message  
Reply with quote Back to top
towo|
Post subject: RE: How can I build working headers for a 2.6.24.4 Custom Ke  PostPosted: 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.

_________________
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
ra_ma
Post subject: I need headers to use the image on 2 other PCs  PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
slh
Post subject: RE: I need headers to use the image on 2 other PCs  PostPosted: Apr 03, 2008 - 01:35 PM



Joined: Nov 25, 2006
Posts: 2570

Status: Offline
You can't, it's as simple as that:
#446879
#451919
#461228
#466572
#468492
 
 View user's profile Send private message  
Reply with quote Back to top
ra_ma
Post subject: Workaround  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
Gotblade
Post subject: RE: Workaround  PostPosted: 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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio