Bug 13531 - System will not boot after kernel recompilation
System will not boot after kernel recompilation
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
i386 Linux
high Severity high
: ---
: ---
Assigned To: Michael K. Johnson
Depends On:
  Show dependency treegraph
Reported: 2000-07-06 10:09 EDT by harry.heinisch
Modified: 2008-05-01 11:37 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-12-14 19:14:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description harry.heinisch 2000-07-06 10:09:44 EDT
When the kernel is compiled, boot process stops right after MD driver load 
message.  This problem occurs regardless of system type (happens on Compaq 

Steps to reproduce:
1. install RedHat 7.0 Beta2
2. compile the kernel
3. reboot the system
4. boot will stop after following message displays
   "md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12"
Comment 1 Bill Nottingham 2000-07-06 17:57:25 EDT
Yes. For now, don't compile the kernel with gcc-2.96.
Comment 2 John Cagle 2000-07-10 18:09:57 EDT
moved to beta3 since it still has GCC 2.96
Comment 3 Pekka Savola 2000-07-15 19:24:24 EDT
It seems that gcc is still used for kernel compilations, not kernelcc.  All
makefiles default to that, anyway.  Were the necessary changes to kernel sources
forgotten or is there some magic involved?

I tried getting around this by creating symlink from /usr/bin/gcc to
kernelcc, but somehow I think the new compiler was still being used; there
were a _lot_ off odd assembler warnings, for instance, and the system
wouldn't boot (did that remotely, no idea what broke).

Comment 4 Pekka Savola 2000-07-22 14:42:22 EDT
Still an issue in beta4.

Changing CC= (and HOSTCC=) to kgcc fixes this.

Comment 5 Michael K. Johnson 2000-08-01 17:40:16 EDT
The Pinstripe kernel srpm does this correctly now.
Comment 6 David Balažic 2001-02-07 12:25:39 EST
kernel-source-2.2.16-22.i386 , as shipped with RHL 7.0
defaults again to (g)cc

I changed CC in makefile to kgcc , but make dep still
used gcc. Then I also changed HOSTCC in Makefile to kgcc,
then it was OK ( kgcc was used instead of gcc )

Note You need to log in before you can comment on or make changes to this bug.