Kernel build: "I am confused by this discrepancy, and am halting."
Hello,
I'm trying to build a new kernel. I currently have the default kernel included when I recently installed the system (SID): 2.6.26 I'm trying to build kernel 2.6.27.1 and get the following error: debian:/usr/src/linux# make-kpkg --revision=linux-2.6.27.1 kernel_image kernel_headers I note that you are using the --revision flag with the value linux-2.6.27.1. However, the ./debian/changelog file exists, and has a different value 2.6. I am confused by this discrepancy, and am halting. I'm not sure what is happening. I don't remember getting this error on other SID systems when I've tried to do the same thing. Help Appreciated, pb |
From what source are you building? The kernel.org guys have 2.6.27.7 as latest stable release. If you build from the Debian source, did you apply all patches available?
|
Thanks for your response. This is a learning exercise for me- its been a while since I've installed a new kernel from scratch. I downloaded 2.6.27.1 from kernel.org so that I could try my hand at configuring it, building it, installing it and then patch it up to version 2.6.27.7 Hope this info helps.
Thanks Again, pb |
1. You need to start out with 'make-kpkg clean', then double-check to see that the 'timestamp' files no longer exist (I can't remember the names of these timestamp files now).
2. Create your config file; the best way is: - copy /boot/config-whatever to the source directory as .config - run 'make oldconfig' and configure the kernel - NOTE: 'make', *not* 'make-kpkg' - make a copy of that .config file somewhere else in case all your effort is ruined if you make a mistake and make-kpkg nukes the file 3. Invoke the config via make-kpkg - here you call "make-kpkg config" with all other options for revisions and so on; since you should already have done the config in (2), this should run through pretty quick and just generate a few config and timestamp files. 4. Invoke make-kpkg to build |
All times are GMT -5. The time now is 02:50 AM. |