Bug 6240
Summary: | Kernel compilation makefile fails | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | kerryjones |
Component: | kernel | Assignee: | Red Hat Documentation <docs> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.1 | CC: | cks-rhbugzilla |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-02-06 05:02:31 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
kerryjones
1999-10-22 13:57:32 UTC
I don't know if RedHat recommends 'make boot' these days, but the sequence I use is: # edit Makefile to change EXTRAVERSION as appropriate so one # doesn't overwrite the old working binary bits make clean # if desired run 'make menuconfig' or whatever to change the # configuration. If you don't change the config you MUST run make oldconfig # pick up the changed EXTRAVERSION make dep make bzImage && make modules make modules_install # remember the name it used for the # directory in /lib/modules; call it # KERNVER cp System.map /boot/System.map-KERNVER cp arch/i386/boot/bzImage /boot/vmlinuz-KERNVER # edit /etc/lilo.conf and run lilo. The old zImage boot image format that 'make boot' uses has a relatively low size limitation (for these days). bzImages let the kernel image be much bigger, and you want to use this method. cks wrote: +------- Additional Comments From cks.ca 10/23/99 01:14 +I don't know if RedHat recommends 'make boot' these days, but the +sequence I use is: + # edit Makefile to change EXTRAVERSION as appropriate so one doesn't + # overwrite the old working binary bits make clean if desired run ' + # make menuconfig' or whatever to change the configuration. If you + # don't change the config you MUST run make oldconfig pick up the + # changed EXTRAVERSION + # make dep + # make bzImage && make modules + # make modules_install # remember the name it used for the + # directory in /lib/modules; call it + # KERNVER + cp System.map /boot/System.map-KERNVER + cp arch/i386/boot/bzImage /boot/vmlinuz-KERNVER + # edit /etc/lilo.conf and run lilo. + + The old zImage boot image format that 'make boot' uses has a + relatively low size limitation (for these days). bzImages let + the kernel image be much bigger, and you want to use this method. + Kerry replies: Yes, Red Hat does recommend using "make boot". I do not have "bzImage" on my system, so unless I can track down a version somewhere, that's not an option. Thanks for your comments. Kerry Where can I get bzImage or bzImages? I haven't looked in the makefiles but hope incorporating it will be straightforward. That still does not solve the problem with making an initrd image (but I'd rather not make one to begin with.) I've finally gotten the new Linksys tulip driver compiled, installed, and sucessfully pinging another machine. I used the "test" version of their driver. I hit ctl-C when doing a "make modules" and saw how to compile modules. I am NOT good at reading makefiles and was unable to come up with the correct compilation command doing that. The compilation instructions on the Linksys web site are wrong, or wrong for Red Hat 6.1. I found last night that sound is not working (which is weird since I have a Sound Blaster)and still want to recompile my kernel in order to try getting that fixed. And suddenly, the sendmail daemon is taking forever to start when booting. Also, two more segmentation faults running linuxconf with Gnome last night. *Sigh* I'm taking a few days off from all this in order to get some rest. To make bzImages, just do 'make bzImage instead of make zImage', and install the resulting bzImage in the same way you would the resulting zImage; that's all. |