View previous topic :: View next topic |
Author |
Message |
Gentoopc Guru
Joined: 25 Dec 2017 Posts: 413
|
Posted: Tue Aug 16, 2022 9:59 pm Post subject: kernel and CPU |
|
|
[solution ]Hi guys... how can I find out that the kernel supports my processor? for example, 4.19.255. where to watch?
Last edited by Gentoopc on Tue Aug 23, 2022 12:17 am; edited 1 time in total |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Tue Aug 16, 2022 11:02 pm Post subject: |
|
|
Please be a little bit more verbose. What exactly do you want to know? Which processor/machine do you have?
Do you want to know whether you can compile a kernel for your processor? Or do you have a compiled kernel and want to know whether it supports your processor? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Wed Aug 17, 2022 11:51 am Post subject: |
|
|
Gentoopc,
The kernel, gcc and glibc are the first packages ported to a new architecture.
That means the answer to your question as asked is almost certainly yes.
The kernel supports Code: | $ ls /usr/src/linux/arch/
alpha arm64 hexagon m68k nios2 powerpc sh x86
arc csky ia64 microblaze openrisc riscv sparc x86_64
arm h8300 mips parisc s390 um xtensa |
They are architecture families. Which CPU do you have? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Gentoopc Guru
Joined: 25 Dec 2017 Posts: 413
|
Posted: Thu Aug 18, 2022 12:26 am Post subject: |
|
|
mike155 wrote: | Please be a little bit more verbose. What exactly do you want to know? Which processor/machine do you have?
Do you want to know whether you can compile a kernel for your processor? Or do you have a compiled kernel and want to know whether it supports your processor? |
I want to buy a new processor. and I want to understand if this old core is capable of supporting the new processor. I want to get accurate information from the system or kernel. the whole problem is that the new kernel version cannot be installed. only 4.19.255. |
|
Back to top |
|
|
Gentoopc Guru
Joined: 25 Dec 2017 Posts: 413
|
Posted: Thu Aug 18, 2022 12:34 am Post subject: |
|
|
NeddySeagoon wrote: | Gentoopc,
They are architecture families. Which CPU do you have? |
I don't have a CPU yet. I want to get information from the kernel which processors the kernel supports. I want to get information from the kernel which processors the kernel supports and based on this make a choice |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5372 Location: Bavaria
|
Posted: Thu Aug 18, 2022 3:22 am Post subject: |
|
|
Gentoopc wrote: | [...]} the whole problem is that the new kernel version cannot be installed. only 4.19.255. |
4.19.255 is not old - just 7 day old (from today). It is the latest version of 4.19-series. Gentoo stable version of 4.19 is 4.19.250. If you want to install .255 I recommend to read my article:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Selecting_a_convenient_kernel_version
Keep in mind: 4.19 is a LTS long term support kernel. EOL end of live is 12/2024 -> https://www.kernel.org/category/releases.html
You can buy every processor of one of Linux supported architectures; see above post from @Neddy
Maybe you dont want to buy a s390 you can buy every new Intel or AMD; dont buy a very old processor (< 10 years) |
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1227 Location: Massachusetts USA
|
Posted: Thu Aug 18, 2022 3:24 am Post subject: |
|
|
Are you buying a new computer or a new CPU to insert into an existing computer? |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2687
|
Posted: Thu Aug 18, 2022 8:28 am Post subject: |
|
|
Gentoopc wrote: | NeddySeagoon wrote: | Gentoopc,
They are architecture families. Which CPU do you have? |
I don't have a CPU yet. I want to get information from the kernel which processors the kernel supports. I want to get information from the kernel which processors the kernel supports and based on this make a choice |
What's your current CPU? What motherboard do you have? Do you intend to replace the MB too? If you just swap in newer CPU into the same motherboard, it almost certainly will be supported as newer processors include the older processors instruction set(most of the time). Especially when it is one and the same platform.
Regards,
Georgi |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3999
|
Posted: Thu Aug 18, 2022 10:02 am Post subject: |
|
|
Gentoopc,
Linux distro support # CPU families, e.g. x86/amd64, ARM, Powerpc...
This may vary among distros.
Most CPU families have # architectures, e.g. x32 and x64 for the x86/amd64 family.
Within a CPU family, standard kernel may support CPU flavoring to be defined in: Code: | Main menu │
│ -> Processor type and features | In Gentoo USE=experimental in sys-kernel/gentoo-sources may extend the above to a better fine grained definition, e.g. Code: | │ │( ) AMD Opteron/Athlon64/Hammer/K8
│ │( ) AMD Opteron/Athlon64/Hammer/K8 with SSE3
│ │( ) AMD 61xx/7x50/PhenomX3/X4/II/K10
│ │( ) AMD Barcelona
│ │( ) AMD Bobcat
│ │( ) AMD Jaguar
│ │( ) AMD Bulldozer
│ │( ) AMD Piledriver
│ │( ) AMD Steamroller
│ │( ) AMD Excavator
│ │( ) AMD Zen
│ │( ) AMD Zen 2
│ │( ) AMD Zen 3
│ │( ) Intel P4 / older Netburst based Xeon
│ │( ) Intel Core 2
│ │( ) Intel Atom
│ │( ) Intel Nehalem
│ │( ) Intel Westmere
│ │( ) Intel Silvermont
│ │( ) Intel Goldmont
│ │( ) Intel Goldmont Plus
│ │( ) Intel Sandy Bridge
│ │( ) Intel Ivy Bridge
│ │( ) Intel Haswell
│ │( ) Intel Broadwell
│ │(X) Intel Skylake
│ │( ) Intel Skylake X
│ │( ) Intel Cannon Lake
│ │( ) Intel Ice Lake
... | Hoping to help clarifying yout query...
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
Gentoopc Guru
Joined: 25 Dec 2017 Posts: 413
|
Posted: Sat Aug 20, 2022 12:21 am Post subject: |
|
|
|
|
Back to top |
|
|
Gentoopc Guru
Joined: 25 Dec 2017 Posts: 413
|
Posted: Sat Aug 20, 2022 12:22 am Post subject: |
|
|
CaptainBlood wrote: |
Thanks
| |
|
Back to top |
|
|
Gentoopc Guru
Joined: 25 Dec 2017 Posts: 413
|
Posted: Sat Aug 20, 2022 12:33 am Post subject: |
|
|
jburns wrote: | Are you buying a new computer or a new CPU to insert into an existing computer? |
I do not know everything can change. but the information about is supported CPUs I will always need it |
|
Back to top |
|
|
Gentoopc Guru
Joined: 25 Dec 2017 Posts: 413
|
Posted: Sat Aug 20, 2022 12:41 am Post subject: |
|
|
logrusx wrote: | If you just swap in newer CPU into the same motherboard, it almost certainly will be supported as newer processors include the older processors instruction set(most of the time).
Georgi |
I do not know how поведет себя kernel with new CPU. I have little knowledge. so I decided to take the information from the kernel to be sure |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2687
|
Posted: Sat Aug 20, 2022 6:11 am Post subject: |
|
|
Gentoopc wrote: | logrusx wrote: | If you just swap in newer CPU into the same motherboard, it almost certainly will be supported as newer processors include the older processors instruction set(most of the time).
Georgi |
I do not know how поведет себя kernel with new CPU. I have little knowledge. so I decided to take the information from the kernel to be sure |
Use gentoo-kernel-bin then. It's compiled for the widest possible support of hardware there is out there.
Regards
Georgi
p.s. I almost don't understand Russian. Maybe you meant you don't know how to configure your kernel. Don't worry about that for now. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Sat Aug 20, 2022 1:54 pm Post subject: |
|
|
Gentoopc,
If the system you want to buy is in mass production, the kernel supports it.
It even supports a few CPUs that are not readily available yet.
The bigger question is, is this a new build or an upgrade to an existing system?
In either case, you need to choose compatible parts.
e.g. If you already have a motherboard and RAM, choose a CPU that the motherboard supports.
If its a new build, the choice of CPU will limit the range of compatible motherboards and RAM. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|