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-25-2004, 02:34 PM   #1
FuzzyDuc
LQ Newbie
 
Registered: Nov 2004
Location: Surrey, England
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Boot process stops after custom kernel build


I've got a Sarge install on my nForce2-based system. The stock 2.4 kernel works OK, as does the stock 2.6.8 kernel. However, when I try to build a customised kernel, the following occurs:

I create the kernel as usual

Code:
make-kpkg --append-to-version -htpc.1 kernel_image
and install it as usual

Code:
dpkg --install kernel-image-2.6.8-htpc.1.Custom1_i386.deb
(OK, I'm going from memory on the *exact* name I gave the image). This adds the entry to Grub quite happily, so I reboot, see the new kernel entry, and select it. However, the boot process doesn't get very far. After uncompressing the kernel, and examining the RAM map, I tget the following status messages:

Code:
511MB LOWMEM available
DMI 2.2 present
ACPI: RSDP (v000 Nvidia                                    ) @ 0x000f6b00
ACPI: RSDT (v001 Nvidia AWRDACPI 0x42303e31 AWRD 0x00000000) @ 0x1fff3000
and then stops with no further messages. If, as others have suggested, I add acpi=off to the boot process, then I get even less!

Code:
511MB LOWMEM available
DMI 2.2 present
Built 1 zonelists
Kernel command line: root = /dev/hda1 ro acpi=off
and again stops permanently.

Now given that the stock 2.6.8 kernel boots just fine, I'm surmising that I've removed something vital from the kernel configuration, but can't figure out what - diff'ing two 30K config files produces a huge list which would take days to go through adding stuff back in, compiling, rebooting etc, Does anyone have any suggestions?
 
Old 11-26-2004, 01:08 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
You could try just recompiling the stock kernel (eg. using the exact same config) to see if there is
something else wrong with your kernel installation process.
 
Old 11-27-2004, 03:51 AM   #3
FuzzyDuc
LQ Newbie
 
Registered: Nov 2004
Location: Surrey, England
Distribution: Debian
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by ToniT
You could try just recompiling the stock kernel (eg. using the exact same config) to see if there is
something else wrong with your kernel installation process.
Well blow me - it does exactly the same thing then as well. I copied the config file from the working stock 2.6.8 kernel from the /boot directory into /usr/src/linux, and loaded that. The exact commands I used after copying in the config file were:

Code:
cd /usr/src/linux/
make menuconfig
make-kpkg clean
make-kpkg --append-to-version  -stock.1 kernel_image

cd /usr/src/
dpkg --install  kernel-image-2.6.8-stock.1_10.00.Custom_i386.deb
This time the boot processes freezes terminally when it gets to the line

Code:
DMI 2.2 present
which as ToniT suggests, is a definite pointer that there is something wrong at compile-time, perhaps a package missing that the compiler neglects to mention. I installed kernel-source, libncurses5, and kernel-package. Anything obviously missing?
 
Old 11-28-2004, 06:47 AM   #4
FuzzyDuc
LQ Newbie
 
Registered: Nov 2004
Location: Surrey, England
Distribution: Debian
Posts: 3

Original Poster
Rep: Reputation: 0
So in the end I decided "Sod it", wiped the installation, installed afresh, compiled a new kernel, and this time the darn thing worked. Truly a Windows experience...
 
  


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
How to build MPPE support into custom linux kernel reddyl Suse/Novell 2 01-20-2006 08:38 AM
Slackware 10.1 installation with custom build kernel zWaR Slackware 5 08-09-2005 02:29 AM
New FAQ topic: Should I edit my kernel configuration?/Should I build a custom kernel? chort *BSD 10 09-10-2004 11:15 PM
What do i need to build custom kernel!! no noob_slacker Slackware 20 11-20-2003 07:57 PM
how to make modifications to a custom kernel build? h/w Linux - Newbie 2 11-09-2003 03:47 PM


All times are GMT -5. The time now is 06:25 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration