Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make install chooses wrong arch
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tripleHead
n00b
n00b


Joined: 12 Jan 2008
Posts: 14

PostPosted: Thu Dec 16, 2010 7:54 pm    Post subject: make install chooses wrong arch Reply with quote

Hello,

i haven't updated for a while and was still running a .29 kernel. After i updated udev and restarted the computer i noticed that udev doesn't work with such an old kernel. I started a live gentoo and installed a new kernel (not the genkernel). I also did an "make install". But the gentoo still refused to start. uname -a told me that i was still running an .29 kernel. I played around a bit and finally put the direkt pawth to the compiled kernel aka /usr/src/linux/arc/x86_64/bzImage. That worked and gentoo started.

After tha i changed to the kernel directory and did a new "make install". I noted a bzImage out of ./arch/x86 (without 64) was copied.

My questions are:
- Why is there a bzImage of the old kernel in x86? I always had the x86_64 architecture?
- Why does make install choose the x86 arch?


Thank you!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54831
Location: 56N 3W

PostPosted: Thu Dec 16, 2010 8:11 pm    Post subject: Reply with quote

tripleHead,

Around kernel 2.6.25 the i386 and x86_64 kernel trees were merged into x86.
At that time, arch/i386 and arch/x86_64 became symlinks to the merged source in x86.

The kernel configuration determines what sort of kernel you get. Your uname -a output will still show x86_64
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
tripleHead
n00b
n00b


Joined: 12 Jan 2008
Posts: 14

PostPosted: Thu Dec 16, 2010 10:42 pm    Post subject: Reply with quote

Thank you. Everything works fine now and the topic looks a little bit clearer now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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