Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Forum di discussione italiano
  • Search

Curiosità sul kernel x86_64

Tutte le discussioni direttamente correlabili all'informatica e/o a GNU/*nix.

Moderator: ago

Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
dev_null
n00b
n00b
User avatar
Posts: 6
Joined: Thu Apr 28, 2016 2:03 pm

Curiosità sul kernel x86_64

  • Quote

Post by dev_null » Mon May 02, 2016 2:22 pm

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: Select all

@localhost ~ $ ls /usr/src/linux/arch/x86_64
boot
Mentre questo è il contenuto di /usr/src/linux/arch/x86

Code: Select all

@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: Select all

@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.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

Re: Curiosità sul kernel x86_64

  • Quote

Post by fedeliallalinea » Mon May 02, 2016 3:16 pm

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.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
dev_null
n00b
n00b
User avatar
Posts: 6
Joined: Thu Apr 28, 2016 2:03 pm

  • Quote

Post by dev_null » Mon May 02, 2016 3:41 pm

Grazie mille :)
Senza deviazione dalla norma, il progresso non è possibile.
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Forum di discussione italiano”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic