Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Curiosità sul kernel x86_64
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
dev_null
n00b
n00b


Joined: 28 Apr 2016
Posts: 6

PostPosted: Mon May 02, 2016 2:22 pm    Post subject: Curiosità sul kernel x86_64 Reply with quote

Ciao a tutti.
Ho un processore Intel(R) Core(TM) i3 CPU 540 a 64bit e ho usato genkernel per compilare il kernel. Andando nella cartella /usr/src/linux/arch ho notato che in /usr/src/linux/arch/x86_64 c'è solo la cartella /boot che a sua volta contiene un collegamento a /usr/src/linux/arch/x86/bzImage. Perchè la cartella /usr/src/linux/arch/x86_64 è quasi vuota mentre /usr/src/linux/arch/x86 contiene la maggior parte dei file?
Questo è il contenuto di /usr/src/linux/arch/x86_64
Code:

@localhost ~ $ ls /usr/src/linux/arch/x86_64
boot

Mentre questo è il contenuto di /usr/src/linux/arch/x86
Code:

@localhost ~ $ ls /usr/src/linux/arch/x86
Kbuild         Makefile_32.cpu  entry    lib              oprofile   realmode
Kconfig        boot             ia32     math-emu         pci        tools
Kconfig.cpu    built-in.mod.c   include  mm               platform   um
Kconfig.debug  built-in.o       kernel   modules.builtin  power      video
Makefile       configs          kvm      modules.order    purgatory  xen
Makefile.um    crypto           lguest   net              ras

Con il comando 'uname -m' il sistema risulta a 64bit:
Code:

@localhost ~ $ uname -m
x86_64

Cosa significa? Ho sbagliato qualche opzione di compilazione? Il mio kernel è a 32 o 64bit? E' normale che sia così?
_________________
Senza deviazione dalla norma, il progresso non è possibile.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Mon May 02, 2016 3:16 pm    Post subject: Re: Curiosità sul kernel x86_64 Reply with quote

dev_null wrote:
Cosa significa? Ho sbagliato qualche opzione di compilazione? Il mio kernel è a 32 o 64bit? E' normale che sia così?

No hai fatto tutto corretto e il tuo kernel e' compilato in 64bit. Infatti la cartella arch/x86 e' fatta sia per i 32bit che per i 64bit.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
dev_null
n00b
n00b


Joined: 28 Apr 2016
Posts: 6

PostPosted: Mon May 02, 2016 3:41 pm    Post subject: Reply with quote

Grazie mille :)
_________________
Senza deviazione dalla norma, il progresso non è possibile.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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