View previous topic :: View next topic |
Author |
Message |
RIA77 Guru
Joined: 24 Feb 2016 Posts: 342
|
Posted: Tue Dec 20, 2022 6:14 pm Post subject: Any general advices ? Ryzen and make.conf and kernel config |
|
|
Hello, it's me again.
So can I start this way ?
Please help how to configure kernel in order to install Gentoo on AMD 5500u ?
Last time I probably (or probably not) turned off some "intel" stuff, and
Quote: | * Determining 'BEST' compression method for initramfs using kernel config '/usr/src/linux/linux-6.0.8-gentoo/.config' ...
* Checking if we can use 'XZ' compression ...
* Cannot use 'XZ' compression, kernel option 'CONFIG_RD_XZ' is not set!
* Checking if we can use 'LZMA' compression ...
* Cannot use 'LZMA' compression, kernel option 'CONFIG_RD_LZMA' is not set!
* Checking if we can use 'ZSTD' compression ...
* Cannot use 'ZSTD' compression, kernel option 'CONFIG_RD_ZSTD' is not set!
* Checking if we can use 'GZIP' compression ...
* Cannot use 'GZIP' compression, kernel option 'CONFIG_RD_GZIP' is not set!
* Checking if we can use 'BZIP2' compression ...
* Cannot use 'BZIP2' compression, kernel option 'CONFIG_RD_BZIP2' is not set!
* Checking if we can use 'LZO' compression ...
* Cannot use 'LZO' compression, the tool 'lzop' to compress initramfs was not found. Is app-arch/lzop installed?
* Checking if we can use 'LZ4' compression ...
* Cannot use 'LZ4' compression, the tool 'lz4' to compress initramfs was not found. Is app-arch/lz4 installed? |
How to avoid this mistake ?
What is safe regarding menuconfig to disable ?
Last time system just won't make images. Last time on intel cpu, I just can't install wifi modules.
I hope that this time will be better.
Any advices regarding make.conf ? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Tue Dec 20, 2022 7:33 pm Post subject: |
|
|
RIA77,
DIY Kernels still describes the correct method.
The kernel has got a lot bigger in the 17 years since that past was made, so you need a lot more coffee now :)
Some of the detail has changed too.
It will help you to configure a kernel if you understand the boot process at a high level.
The understanding will help with the what and the why.
Code: | * Checking if we can use 'XZ' compression ...
* Cannot use 'XZ' compression, kernel option 'CONFIG_RD_XZ' is not set! |
The kernel symbolmust be set to <*> for the kernel to read XZ compression ... and so on.
In make.conf, use
Set " Where X is the lowest of your thread count or
Set to whatever app-portage/cpuid2cpuflags tells you is right for your CPU.
If you want an all testing install, it mostly works but expect to pick up the pieces from time to time. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 342
|
Posted: Tue Dec 20, 2022 8:04 pm Post subject: |
|
|
I have 12 threads, should I set MAKEOPTS="-j12 ?
Is it too dangerous ?
16 gigabytes of ram.
Quote: | must be set to <*> for the kernel to read XZ compression ... and so on. |
Where can I find option for XZ in kernel ? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Tue Dec 20, 2022 8:13 pm Post subject: |
|
|
RIA77,
will be safe most of the time.
Bigger numbers will work less and less often.
Even at -j8 a few big packages may fail the RAM check, so you may want to tell portage to use a lower number of threads to build them.
You will know which ones when you find them.
Search for RD_XZ.
The CONFIG_ is not required. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
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
|
|