Bad compiling
I've been trying to compile my Mandrake kernel to add PPPoE support, but every time I replace the old kernel file with the new one and reboot, it doesn't work. It will load everything right, but instead of going into the graphic log-on, it flashes a text-based log-on, immediately blanks the screen, then flashes the logon (now screwed up) for a split sec, then blanks the screen again. It does this once a sec until I hit ctrl-alt-del, and then it stops flashing and goes into the reboot. It's done this on the 2.4.18 and Mandrake's 2.4.28 (I think that's the version it says), and both do this. ANy help for a :newbie: ?
|
Sounds like you've missed something in the config. Try using the .config file from your old kernel and just change the PPPoE section.
|
Did you rerun lilo after replacing the kernel image file?
|
I've done everything according to the kernel info, including rerunning lilo. It never runs aurora and it never activates the X system... I've never had a compilation NOT do this to me, including when replacing the original kernel with itself... I've checked every part of the config, but there isn't anything on how to setup how it boots... anyone else have this problem?
|
Mandrake 8.x's gcc 2.96 compiles the kernel incorrectly:(
|
Not being daft, but you did do make modules && make modules_install, didn't you? The number of times I've forgotten to do this important step...
|
I did exactly as the readme said:make xconfig, make dep, make clean, make bzImage, make modules, make modules_install. all worked (no fatal erros, altough some of the code gave warnings). I used the old .config, and aurora popped up, but it spit out something about IP Virtual Server not being setup correctly, something about not finding some USB stuff (which I made sure was included), and then stuck on the text logon again (as per my first description). normally it shows it for a bit, changes res 2-3 times(my monitor turns off and back on when changing res) and then goes into the X logon.
|
Downgrade gcc.
|
Quote:
|
2.95.3 or egcs 1.1.2 (preferred) are good ones
egcs 1.1.2 is linus torvalds' recommendation i know the url of a egcs 1.1.2 rpm if u want it |
Doh I forgot the egcs 1.1.2 rpm url so heres how to downgrade to 2.95.3:
Remove the old RPMs with: rpm -e gcc-g77 rpm -e gcc-c++ rpm -e gcc rpm -e cpp rpm -e libstdc++ --nodeps rpm -e libstdc++-devel --nodeps rpm -e libstdc++-compat --nodeps Then load these RPMs (in this order): http://www.kernel.org/pub/linux/deve...503.1.i386.rpm http://www.kernel.org/pub/linux/deve...503.1.i386.rpm http://www.kernel.org/pub/linux/deve...503.1.i386.rpm http://www.kernel.org/pub/linux/deve...503.1.i386.rpm http://www.kernel.org/pub/linux/deve...503.1.i386.rpm http://www.kernel.org/pub/linux/deve...503.1.i386.rpm http://www.kernel.org/pub/linux/deve...503.1.i386.rpm Then check with gcc -v |
All times are GMT -5. The time now is 08:35 AM. |