LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-21-2008, 06:52 PM   #1
parent's_basement
Member
 
Registered: Dec 2006
Location: Berkeley, CA. Over-priced apartment
Distribution: Debian/XFCE/Cinnamon
Posts: 121

Rep: Reputation: 17
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
 
Old 11-21-2008, 07:07 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
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?
 
Old 11-21-2008, 07:18 PM   #3
parent's_basement
Member
 
Registered: Dec 2006
Location: Berkeley, CA. Over-priced apartment
Distribution: Debian/XFCE/Cinnamon
Posts: 121

Original Poster
Rep: Reputation: 17
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
 
Old 11-21-2008, 07:24 PM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting "taints kernel" message even after having "Dual BSD/GPL" license nikhil_no_1 Linux - Kernel 3 12-06-2010 12:29 PM
Installed kernel-devel and source for i686; didn't create directory "build" itsonlyme Linux - Kernel 3 04-05-2007 09:08 AM
kernel build says build is "dirty"? Quakeboy02 Debian 3 12-18-2006 11:24 PM
perl install error: Can't locate object method "new" via package "Module::Build::Vers powah Linux - Software 0 10-24-2006 01:57 PM
Common problems explained: "kernel panic - not syncing", "unable to mount..." sundialsvcs Linux - Newbie 2 03-01-2006 12:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration