LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-28-2002, 08:13 PM   #1
Borommakot
LQ Newbie
 
Registered: Jul 2002
Location: Austin, TX
Distribution: Mandrake 8.1 Gaming
Posts: 7

Rep: Reputation: 0
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 ?
 
Old 07-28-2002, 08:41 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Sounds like you've missed something in the config. Try using the .config file from your old kernel and just change the PPPoE section.
 
Old 07-28-2002, 08:45 PM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Did you rerun lilo after replacing the kernel image file?
 
Old 07-29-2002, 12:48 AM   #4
Borommakot
LQ Newbie
 
Registered: Jul 2002
Location: Austin, TX
Distribution: Mandrake 8.1 Gaming
Posts: 7

Original Poster
Rep: Reputation: 0
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?
 
Old 07-29-2002, 12:58 AM   #5
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
Mandrake 8.x's gcc 2.96 compiles the kernel incorrectly
 
Old 07-29-2002, 05:32 PM   #6
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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...
 
Old 07-30-2002, 02:01 AM   #7
Borommakot
LQ Newbie
 
Registered: Jul 2002
Location: Austin, TX
Distribution: Mandrake 8.1 Gaming
Posts: 7

Original Poster
Rep: Reputation: 0
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.

Last edited by Borommakot; 07-30-2002 at 02:03 AM.
 
Old 07-30-2002, 03:11 AM   #8
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
Downgrade gcc.
 
Old 08-01-2002, 09:38 PM   #9
Borommakot
LQ Newbie
 
Registered: Jul 2002
Location: Austin, TX
Distribution: Mandrake 8.1 Gaming
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by rverlander
Downgrade gcc.
which version would you recomend? if you arre saying downgrade, methihnks that everything past gcc2.96 is bad news...
 
Old 08-02-2002, 12:16 AM   #10
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
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
 
Old 08-02-2002, 12:19 AM   #11
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

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


Reply



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
mount: wrong fs type, bad option, bad superblock on /dev/hdc3 Lordandmaker Linux - Hardware 15 06-05-2011 08:55 AM
mount: wrong fs type, bad option, bad superblock on /dev/cdrom, Adil_uk Linux - Hardware 9 02-16-2005 05:50 PM
mount: wrong fs type, bad option, bad superblock on /dev/sdb1 pmoreira Linux - Hardware 5 02-26-2004 10:31 AM
wrong fs type, bad option, bad superblock on /dev/hdb1, ldare Linux - Hardware 1 02-12-2004 09:03 PM
wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file sy TheCyberDude Linux - Software 1 02-11-2002 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:45 AM.

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