View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Thu Aug 08, 2002 12:42 pm Post subject: Kernel problems |
|
|
i switched my processor type from kernel menu to athlon tbird and now i can't compile my nvidia-kernel,how can fix this
i copied bzImage from /usr/src/linux/arch/i386/boot/bzImage is this the right one as i changed cpu type to athlon
shouldn't it be diffrent one than i386? |
|
Back to top |
|
|
nE0 Tux's lil' helper
Joined: 08 Aug 2002 Posts: 146 Location: The Netherlands, Breda
|
Posted: Thu Aug 08, 2002 1:26 pm Post subject: |
|
|
When you compiled a kernel, with the processor-type set to athlon, you should stil copy the /usr/src/linux/arch/i386/boot/bzImage to /boot/bzImage
This would only change if you would use a processor that is not based on the x86 instruction set. (For instance: an alpha / sparc / PPC)
But, when you recompiled your kernel, you should recompile the nvidia-kernel as well as the nvidia-glx
So, change your /etc/make.profile to set the CCFLAGS etc to support athlon procs, and re-emerge your nvidia-kernel and -glx.
If that does'nt work, I'm shuttin' up _________________ All things considerring! I'm considerring to...never mind! |
|
Back to top |
|
|
Guest
|
Posted: Thu Aug 08, 2002 1:36 pm Post subject: |
|
|
i settend flags to make.profile before even compiling kernel
i have only -march=athlon-tbird -O3 -pipe
shouldn't uname -a give other than i686 if kernel compiled succefully? |
|
Back to top |
|
|
Guest
|
Posted: Thu Aug 08, 2002 1:36 pm Post subject: |
|
|
i mean make.conf i had those flags |
|
Back to top |
|
|
Guest
|
Posted: Thu Aug 08, 2002 2:00 pm Post subject: |
|
|
ok now it works with diffrent kernel.
but uname does show i686 should it?
gentoo kernel must be broken or something.
as i tryed acpi too and it work's now |
|
Back to top |
|
|
nE0 Tux's lil' helper
Joined: 08 Aug 2002 Posts: 146 Location: The Netherlands, Breda
|
Posted: Fri Aug 09, 2002 6:18 am Post subject: |
|
|
An athlon is stil a x86 compatible processor.
Your kernel has been compiled for this processor, wich means that your kernel can now handle the optimizations for this processor.
uname -a will therefore show a i686 yes.
But, is everything is cool.. goodluck.. _________________ All things considerring! I'm considerring to...never mind! |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Aug 09, 2002 1:01 pm Post subject: |
|
|
nE0 wrote: | Your kernel has been compiled for this processor, wich means that your kernel can now handle the optimizations for this processor. |
Or, more accurately, the kernel is now optimized for that processor. If your kernel was compiled for i386 it will run on an Athlon and can be used with Athlon-optimized binaries. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
|