Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Aug 08, 2002 12:42 pm    Post subject: Kernel problems Reply with quote

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
Tux's lil' helper


Joined: 08 Aug 2002
Posts: 146
Location: The Netherlands, Breda

PostPosted: Thu Aug 08, 2002 1:26 pm    Post subject: Reply with quote

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 :wink:
_________________
All things considerring! I'm considerring to...never mind!
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Aug 08, 2002 1:36 pm    Post subject: Reply with quote

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






PostPosted: Thu Aug 08, 2002 1:36 pm    Post subject: Reply with quote

i mean make.conf i had those flags
Back to top
Guest






PostPosted: Thu Aug 08, 2002 2:00 pm    Post subject: Reply with quote

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
Tux's lil' helper


Joined: 08 Aug 2002
Posts: 146
Location: The Netherlands, Breda

PostPosted: Fri Aug 09, 2002 6:18 am    Post subject: Reply with quote

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
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Aug 09, 2002 1:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum