You are not logged in.
Hi all there,
I´m new here but not new to Archlinux and general linux. Also I´m not new to kernel manual configuration and compilation. I run some Gentoo Linux machines with manually configured kernels and they all work well.
But now I wan´t to compile a kernel from kernel.org for an archlinux system and follow the instructions on the wiki page: https://wiki.archlinux.org/title/Kernel … ompilation
But it wouldn´t be boot. I can start it from GRUB but with the Message "Loading Linux linux6.7-rc5-me-it ..." it begins to stuck and nothing more comes onto the screen. (And yes, I´ve disabled 'quiet' in GRUB
)
Can anyone help me?
Offline
Following what in https://wiki.archlinux.org/title/Kernel … figuration ?
Do you get more output when booting
1. the multi-user.target
2. along "nomodeset"
3. and https://wiki.archlinux.org/title/Genera … l_messages ?
Offline
Yes, I´ve followed what is written there and it´s not the first kernel that I configure manually.
How I boot the "multi-user.target" ?
And "nomodeset" says me nothing
But the debug messages I can try
Thanks for the first support ![]()
Offline
How I boot the "multi-user.target" ?
On-the-fly edit your boot stanza via the BootLoader's menu (eg.: press e on GRUB), then:
Alternatively, append one of the following kernel parameters to your boot loader:
systemd.unit=multi-user.target (which roughly corresponds to the old runlevel 3),
systemd.unit=rescue.target (which roughly corresponds to the old runlevel 1).
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Following what in https://wiki.archlinux.org/title/Kernel … figuration ?
Do you get more output when booting
So, I´ve tested various things by adding "debug" or "ignore_loglevel" or "nomodeset"...
Nothing print out messages.![]()
Last edited by m-electronics (2024-01-10 08:23:55)
Offline
d.ALT: I tryed to boot with runlevel 1 nothing happends.
Offline
So, I´ve tested various things by adding "debug" or "ignore_loglevel" or "nomodeset"...
Nothing print out messages.
Last edited by m-electronics (2024-01-10 08:23:03)
Offline
Yes, I´ve followed what is written there and it´s not the first kernel that I configure manually.
The wiki explains
1. how to use the archlinux kernel config
2. various ways to manually alter the configuration
*What* did you do *exactly*?
Can you boot the kernel when you just re-use the arch config?
Offline
I´ve followed what is written there
This means, to me, you've gone through all the steps, which could lead to some conflicts in your configuration and installation.
Please do choose only one way and let us know what is it, eg.:
° only 2>2.1 (https://wiki.archlinux.org/title/Kernel … figuration) with NO olddefconfig and NO LSMOD=
+
° only 4>4.3>4.3.1 (https://wiki.archlinux.org/title/Kernel … set_method).
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Yes, I´ve followed what is written there and it´s not the first kernel that I configure manually.
The wiki explains
1. how to use the archlinux kernel config
2. various ways to manually alter the configuration*What* did you do *exactly*?
Can you boot the kernel when you just re-use the arch config?
When I do that the kernel + modules size increase so much that I must use bigger hard drives. And I think it should work also with manual configuration. ![]()
What I do is to configure the kernel complete manually. And I don´t understand why it´s not work on Archlinux but with other linux distros?
Offline
m-electronics wrote:I´ve followed what is written there
Please do choose only one way and let us know what is it, eg.:
I don´t have copied the arch config from config.gz because then the kernel + module size increase so much that I must use bigger harddrives! That is not what I want to have ![]()
Offline
Yes, but not *your* manual configuration because you don't know what you're doing.
A regular kernel installation size is ~180MB incl. modules? Are you writing from the 90ies?
Start with the arch config and disable only modules and options you *know* for sure you won't need.
If you don't know, try to figure.
If you can't figure, leave it there.
Once you've a booting kernel you can try to trim it down but disabling stuff you *think* you might not need (but don't actually know) - if the new kernel fails to boot, restore them.
Offline
I´m not newbie in kernel configuration and I know what I do there.
Maybe it´s different on archlinux what I don´t know ![]()
Offline
A regular kernel installation size is ~180MB incl. modules? Are you writing from the 90ies?
On my disk it increases up to 20GB or more! Thats many storage space and I don´t understand that also.
Offline
The build result or the build dir (incl. temporary objects) or the sources git tree?
Before "make modules"?
Offline
The build dir
I mean before "make modules"
Last edited by m-electronics (2024-01-10 09:06:12)
Offline
"build", not "source"? How much is left after a "make clean" (before make modules)?
Offline
"build", not "source"? How much is left after a "make clean" (before make modules)?
I must compile again because I wan´t to "diff" the both kernel configurations what is different. Maybe I find there the failure ? ![]()
Offline
Certainly, but it's rather gonna be a needle in a haystack - there're 10.000+ config switches…
Offline
Certainly, but it's rather gonna be a needle in a haystack - there're 10.000+ config switches…
Yes, but I would understand why the kernel config that I use for Gentoo also with systemd not works for archlinux. And also with no error showing.
And when I compile the kernel with the archlinux config I don´t have what I want and I don´t have understand what is necessary in the kernel config for working with archlinux.
![]()
Offline
the kernel config that I use for Gentoo
Based on patched kernel?
gentoo-sources!=vanilla-sources
Last edited by d.ALT (2024-01-10 21:19:32)
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
With kernel from kernel.org.
What are vanilla sources?
Offline
m-electronics wrote:the kernel config that I use for Gentoo
Based on patched kernel?
gentoo-sources!=vanilla-sources
From kernel.org sources (that are the vanilla sources?)
Offline
I´m not newbie in kernel configuration and I know what I do there.
Maybe it´s different on archlinux what I don´t know
d.ALT wrote:m-electronics wrote:the kernel config that I use for Gentoo
Based on patched kernel?
gentoo-sources!=vanilla-sourcesFrom kernel.org sources (that are the vanilla sources?)
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
And now? What say this to me?
I´ve googled before and they say that the vanilla kernel is the kernel from kernel.org
Last edited by m-electronics (2024-01-12 16:14:13)
Offline