Linux - GeneralThis 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.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: c-/ Unibar, Adelaide University, South Australia
Distribution: SuSE 9.1
Posts: 10
Rep:
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 2.6.11.11 from kernel.org (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 System.map 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".
anyway.
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?
Location: c-/ Unibar, Adelaide University, South Australia
Distribution: SuSE 9.1
Posts: 10
Original Poster
Rep:
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
rebooted.
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...)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.