LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2003, 01:16 PM   #1
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Rep: Reputation: 30
kernel, compile, gcc, red hat 8.0


i would like to install the latest stable kernel on my red hat 8.0 machine. the read me file tells me i need 2.95.3 but i have gcc-3.2-7

is it possible to have both compilers installed at the same time? how can i do this?
 
Old 03-22-2003, 01:29 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
I have RH 8.0 with the standard gcc-3.2-7, and have made my own 2.4.18, .19, and .20 kernels. I haven't had any problems arise do to the compiler.
 
Old 03-22-2003, 01:39 PM   #3
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
cool thanks ill give it a try with my current compiler.

thanks,
AD
 
Old 03-22-2003, 08:45 PM   #4
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
would someone be kind enough to give me a good newbie link for compiling and installing your kernel. i am running redhat 8.0. i did my make dep && make clean && make bzImage && make modules && make modules_install. i copied the arch/i386/bootbzimage to my /boot and renamed it to vmlinuz.new and added it to my lilo.congig file. i also did my /sbin/lilo -v. i know im missing stuff just because in my /boot there are excutibles and other files that are not appearing for my new kernel. i read through the read me file that was supplied with the kernel and also my multi tool linux book and they both seem to be missing some important info it seems. i just need some good instructions so maybe someone has a good site to visit

thanks for any help,
AD
 
Old 03-22-2003, 09:16 PM   #5
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
You can check the RedHat documentation << HERE >>.

Or, the Linux Doc Project How-To << HERE >>.

RedHat includes the .config they compiled their stock kernel, and it's a great place to start. Should be in /boot as config-version_number. Load it into whatever make config you choose, and slice out all the items you know you won't need. They make it to support a great number of hardware items you'll never use.
 
Old 03-22-2003, 11:31 PM   #6
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
coooool, thanks ranger

AD
 
Old 03-23-2003, 12:54 PM   #7
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
after i do my make install i edited my lilo.config file to show my new kernel. http://www.schrock321.com/boot.png

here is my /boot it seems to be missing the excutible file that all the other kernel version have. http://www.schrock321.com/liloconfig.png

when i tried to boot into the new kernel i got a panic. what am i missing here?

thanks for any help,
AD
 
Old 03-23-2003, 05:45 PM   #8
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
It shouldn't be that you don't have a vmlinux-2.4.20... I think that's just an unzipped vmlinuz. Anyway, I don't have any for my custom kernels either, and they work.

Do to the size of the initrd-2.4.20.img, I'm just guessing that that might be it. All mine are 124 to 126 KB. I would try making a new initrd with the mkinitrd command. Man it to see what you need. Basic'ly, it's...

mkinitrd /boot/initrd-2.4.20.img 2.4.20
 
Old 03-24-2003, 12:29 AM   #9
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
well i starter over and im getting this error when i "make Â_modules"
not sure where to start here is the error im getting any ideas on where to look this up or anything?

AD


gcc -E -D__KERNEL__ -I/usr/src/linux-2.4.20/include -traditional -DCHIP=710 fake 7.c | grep -v '^#' | perl -s script_asm.pl -ncr710
script_asm.pl : Illegal combination of registers in line 72 : MOVE CTEST7 & 0x ef TO CTEST7
Either source and destination registers must be the same,
or either source or destination register must be SFBR.
make[2]: *** [sim710_d.h] Error 255
make[2]: Leaving directory `/usr/src/linux-2.4.20/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20/drivers'
make: *** [_mod_drivers] Error 2
[root@schrock321 linux]#
 
Old 03-24-2003, 01:12 PM   #10
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Sorry, I don't have any idea. Hopefully somebody else will come along who does.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9 Thetargos Red Hat 431 04-13-2007 05:19 AM
Vaio PCG-GRX550 kernel compile errors - Red Hat 9 spectrumver1 Linux - Laptop and Netbook 2 09-24-2004 07:19 AM
Compile 2.4.22 kernel - Red Hat Fedora - fs webamoeba Linux - Newbie 2 03-18-2004 11:15 AM
Red Hat 7.2 Kernel Compile Help sfeek Linux - Distributions 1 05-21-2002 09:39 AM
Mplayer, GCC and Red Hat 7.1 cyrille Linux - Newbie 7 04-26-2002 08:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:56 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