Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Gentoo Linux Kernel Compile Trouble



patrick.niessen@example.com wrote:

> - No obvious error message, but after grub tries to boot the new
> bzImage the PC just reboots.  

You're building the kernel for the wrong processor type. I don't
remember what the default is, but try 'head -40 /usr/src/linux/.config'
to see which architecture it is being built for. The output will look
something like this:

#
# Processor type and features
#
CONFIG_LOLAT=y
# CONFIG_LOLAT_SYSCTL is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M586MMX31 is not set
# CONFIG_M686 is not set
# CONFIG_MPPRO31 is not set
# CONFIG_M68631 is not set
CONFIG_MPENTIUMIII=y
# CONFIG_MPENTIUMIII31 is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MPENTIUM431 is not set
# CONFIG_MK6 is not set
# CONFIG_MK6231 is not set
# CONFIG_MK7 is not set

That's where your march=i686 is coming from, most likely. 'make
menuconfig', change the processor type to an appropriate value and
recompile.

Cheers
Ulrich Plate

Attachment: pgp00111.pgp
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links