Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Confused on kernel compilation [SOLVED]
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
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1477
Location: /uk/sheffield

PostPosted: Thu Oct 01, 2009 1:41 pm    Post subject: Confused on kernel compilation [SOLVED] Reply with quote

Hi All,

Built a new system last night and am going through my first amd64 install using the amd64 minimal install CD.

Just compiled the kernel and am told...

Code:

Kernel: arch/x86/boot/bzImage is ready  (#1)


...I would have expected it to have been compiled into the appropriate folder i.e. arch/x86_64/boot/bzImage ?

Any reason why this isn't the case? Has my kernel genuinely been built as 64-bit?

Not set much up yet, but heres the /etc.make.conf

Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=core2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"

# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"

# Gentoo sync and mirrors
#SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://gentoo.virginmedia.com http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"

# Masked Packages
ACCEPT_KEYWORDS="~amd64"

# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="a52 aac acpi alsa bash-completion bluetooth cdda cddb cdr cups dbus -doc dvd dvdr emacs gnome gtk id3tag jpeg -kde mmx mp3 mpeg offensive ogg opengl oss pdf perl png qt4 sdl spell sqlite sse sse2 ssh tiff truetype usb vorbis win32codecs X xulrunner"

# Default emerge options/features
EMERGE_DEFAULT_OPTS="--verbose --alphabetical --keep-going"
FEATURES="parallel-fetch ccache"

# Keyboard and Mouse
INPUT_DEVICES="keyboard mouse evdev"

# Video Cards
VIDEO_CARDS="nvidia"

# Linguas
LINGUAS="en_GB"


Clarification/insight/explanations great welcome :)

slack
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth


Last edited by slackline on Thu Oct 01, 2009 3:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Thu Oct 01, 2009 2:40 pm    Post subject: Reply with quote

The solution is about 2 years back....

IIRC in 2.6.24 they merged x86 and x86_64 again to reduce redundant code.
So yes, you have built a 64-bit kernel, but the original lies with the x86 tree. there should be a soft link in x86_64...

hope that clears it up

cheers
V.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1477
Location: /uk/sheffield

PostPosted: Thu Oct 01, 2009 3:16 pm    Post subject: Reply with quote

No, thats great thanks, I did check for symbolic links between the two but nada.

This is the first x86_64 system I've built, in fact its my first new computer (bar NAS's) since 2001!! :oops:

Cheers for the sanity check, much appreciated :D

slack
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Thu Oct 01, 2009 7:26 pm    Post subject: Reply with quote

what you can do to verify - uname -a
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1477
Location: /uk/sheffield

PostPosted: Fri Oct 02, 2009 1:31 pm    Post subject: Reply with quote

Veldrin wrote:
what you can do to verify - uname -a


Yeah, I'm familiar with that unfortunately at present I can't yet boot my new kernel to test it!

Going to try sorting that out this weekend (currently installing stuff under a chroot'd env over ssh from work 8) )
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
Back to top
View user's profile Send private message
jfp
Guru
Guru


Joined: 08 Jul 2007
Posts: 326
Location: Virginia, USA

PostPosted: Fri Oct 02, 2009 3:43 pm    Post subject: Reply with quote

Code:
zippy boot # ll
total 8
drwxr-xr-x 2 root root 4096 2009-10-01 16:29 .
drwxr-xr-x 3 root root 4096 2009-10-01 16:10 ..
lrwxrwxrwx 1 root root   22 2009-10-01 16:29 bzImage -> ../../x86/boot/bzImage
zippy boot # pwd
/usr/src/linux/arch/x86_64/boot
zippy boot #

_________________
jfp
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1477
Location: /uk/sheffield

PostPosted: Sun Oct 04, 2009 7:43 am    Post subject: Reply with quote

jfp wrote:
Code:
zippy boot # ll
total 8
drwxr-xr-x 2 root root 4096 2009-10-01 16:29 .
drwxr-xr-x 3 root root 4096 2009-10-01 16:10 ..
lrwxrwxrwx 1 root root   22 2009-10-01 16:29 bzImage -> ../../x86/boot/bzImage
zippy boot # pwd
/usr/src/linux/arch/x86_64/boot
zippy boot #


Ahh, I'd checked to see if the directory was sym linked, not the file itself!
_________________
"Science is what we understand well enough to explain to a computer.  Art is everything else we do." - Donald Knuth
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