Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-08-2005, 03:30 AM   #1
Dr Croubie
LQ Newbie
Registered: Mar 2005
Location: c-/ Unibar, Adelaide University, South Australia
Distribution: SuSE 9.1
Posts: 10

Rep: Reputation: 0
Kernel Compilation issues

OK, so this is what happened (i don't know where the problem is, so i'll put in as much detail as possible):

I have suse 9.1, kernel 2.6.4-52 (that came with it). everything worked fine.
but i thought i would have a crack at compiling my own kernel.
so i downloaded kernel from (the cd didn't have kernel source on, so i got the latest).
following the directions in one of those (old) pocketbooks, i did all the usual:
make menuconfig
make dep && make clean
make bzImage
make modules
make modules_install
yada yada
but bzImage and in /boot/
update lilo.conf

and reboot the new kernel.

it got as far as "starting network services.. done" and hanged.
rebooted with my old kernel, and i noticed that the line after that one is "syslog services".
did "make menuconfig" a few more times, and i don't know what i changed, but now it gets to "loading linux2.6.11.11..." and hangs.

The weird thing is, rebooting with my old kernel works, but "smpppd" seems to be missing. whenever i try to start Kdial, i get a "smpppd may not be running, or broken" message. (and thus, no internet to be had).

So, to start with: can (& if so how can) i go back to the same configuration i had before trying the new kernel? then at least i can get on the net on lin, instead of switching between win for net and lin to recompile.

then: what debugging should i turn on and where should i look to find out the source of the non-bootage?
Old 06-08-2005, 03:48 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,708

Rep: Reputation: 1829Reputation: 1829Reputation: 1829Reputation: 1829Reputation: 1829Reputation: 1829Reputation: 1829Reputation: 1829Reputation: 1829Reputation: 1829Reputation: 1829
Copy the /boot/config-2.6.4-something to /usr/src/linux- as .config
cp /boot/config-2.6.4-something /usr/src/linux/.config
assuming you made the symlink /usr/src/linux -->/usr/src/linux-
and run:
make oldconfig
as first thing.
Old 06-08-2005, 03:51 AM   #3
Senior Member
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
And you don't need to run all the rest of the dep, clean, etc. options. That's 2.4 stuff.

The complete set of commands I run for a 2.6 kernel is:

make menuconfig (or oldconfig)
make modules_install

Than copy the bzImage & to /boot. That's all that's needed with 2.6
Old 06-09-2005, 05:40 AM   #4
Dr Croubie
LQ Newbie
Registered: Mar 2005
Location: c-/ Unibar, Adelaide University, South Australia
Distribution: SuSE 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
well, ok, now it's just being weird...

so i followed your directions, thanks guys:
copied the old config file,
did a make oldconfig.
recompiled (with just the make / make modules_install)
updated lilo

it got back to where it did before, hanging after "starting network services.. done"
so now:
where's the file that lists, in order, what boots (so i can find the module that's causing the problems)?
if logging is enabled (idk if it is), where do i find the log file?
anyone got any other ideas why it's hanging?

(and here's another weird one:
after i reset, load the old kernel, and it goes to prompt only, can't startx, can't shutdown, can't reboot, have to ctrl-alt-del to reset.
load the old kernel again. goes to KDE, but has no smpppd.
reboot old kernel again, goes to prompt again, no x etc.
reboot old kernel again, goes to KDE, and everything's normal.
but that's probably just because i'm rebooting so often...)


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
compilation issues aunquarra Linux - Newbie 1 11-19-2005 03:32 PM
linux compilation issues.. nkshirsagar Linux - General 0 12-07-2004 12:18 AM
Myth TV compilation issues (again! yay!) ikataii Linux - Software 2 10-28-2004 03:23 AM
MusEScore 0.1pre2 compilation issues stev160 Linux - Software 0 07-15-2004 09:59 AM
Kernel Compilation issues vinaypai Linux - General 7 06-26-2001 03:06 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:42 PM.

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