127 Commits

Author SHA1 Message Date
Zeckmathederg
f186938ff0 Merge branch 'trunk' into multilib 2026-05-03 13:02:53 -06:00
Xi Ruoyao
b43686931a kernel: drop the "Configuring Linux Module Load Order" section
The kernel itself already guarantees the order of [eou]hci_hcd since
Linux 3.13 (12 years ago!).

Link: https://git.kernel.org/torvalds/c/05c92da0c52494ca
2026-05-03 16:05:39 +08:00
Zeckmathederg
b67bea305c Provide OpenRC support.
This doesn't replace Systemd or SysVinit rendering options.

When going through, I discovered some issues with the main OpenRC branch
which I fixed along the way. There is a UEFI issue I'm embarresed I
didn't notice yet, which was a /boot/efi entry in the /etc/fstab
section. So I will resolve that soon here.
2026-04-06 21:09:52 -06:00
Zeckmathederg
3a2fa67b9e Merge branch 'trunk' into multilib 2026-04-05 15:06:35 -06:00
Douglas R. Reno
695d81369a grub-efi and kernel: minor text tweaks 2026-04-05 10:52:12 -05:00
Xi Ruoyao
0aa1933a09 kernel: discourage PARTITION_ADVANCED
It's not so harmful as EXPERT but still let's not imply people to use
overly "low-level" control.
2026-04-05 20:06:10 +08:00
Zeckmathederg
c076c72d9d Merge branch 'trunk' into multilib 2026-04-04 20:24:39 -06:00
Zeckmathederg
ab6e014a2d Removed x32-bit support for ML.
In most cases, there is no need for x32-bit support unless the main
architecture being used is x32-bit support, not 64-bit. Please read the
x32-bit removal announcement for more information if curious.
2026-03-19 16:46:02 -06:00
Zeckmathederg
6339c03ad7 kernel: Add and include UEFI kernel options. 2026-02-02 21:20:33 -07:00
Xi Ruoyao
d3ecbdde9a Revert "loongarch: kernel: strip modules"
This reverts commit 28a9647e86.

Wrong branch. 🤡.
2026-02-01 03:17:23 +08:00
Xi Ruoyao
28a9647e86 loongarch: kernel: strip modules
Well, I don't think this is the correct solution (IMO the loader should
just ignore debug sections) and I cannot reproduce it at all on all
other architectures.  But maybe it's simply because the debug symbol is
too large on LoongArch.

Make it "at least work" anyway.
2026-02-01 03:08:07 +08:00
Zeckmathederg
9f82551670 Merge branch 'trunk' into multilib 2026-01-27 10:33:54 -07:00
Xi Ruoyao
e3bd8b4a05 kernel: add HIGHMEM4G for 32-bit
Without this in 32-bit kernel you can only use ~800 MiB of RAM.  Sigh.
2026-01-15 15:14:38 +08:00
Zeckmathederg
89c2182186 Linux: Use kernel XML files for ml. 2025-11-14 16:09:17 -07:00
Thomas Trepl
1373397bab Revert "Use linux kernel patch file"
This reverts commit 959aa89f8b.

LFS project has decided to not go base-patch.  Therefore ML branch
reverts from the PoC back to what core LFS does.
2025-09-04 09:26:01 +02:00
Thomas Trepl
959aa89f8b Use linux kernel patch file 2025-08-13 04:03:19 +02:00
Thomas Trepl
6cf303878d Merge trunk 2025-08-10 01:15:49 +02:00
Xi Ruoyao
77533bafc7 kernel: Drop HIGHMEM64G and regenerate
The upstream kernel has dropped it because real 32-bit hardware almost
never has RAM > 4 GiB.  The users running 32-bit software on 64-bit
hardware should really switch to MLFS now.

Regenerating the XML files also makes the prompt for X2APIC consistent
with the 6.15 kernel.
2025-08-07 09:37:44 +08:00
Thomas Trepl
3a9dbb9120 Automatic merge of trunk into multilib 2024-12-14 00:30:11 +01:00
Xi Ruoyao
d095cba8b6 kernel: Remove outdated note not to update kernel API headers
We now consider upgrading kernel API headers safe.
2024-12-13 12:48:43 +08:00
Xi Ruoyao
71df0cfa0f kernel: Note that make mrproper shouldn't be run for rebuild 2024-12-13 12:47:17 +08:00
Thomas Trepl
d95c68d0dc Automatic merge of trunk into multilib 2024-12-06 00:30:12 +01:00
Xi Ruoyao
79648bf770 kernel: Fix a typo (#5606) 2024-12-05 21:47:05 +08:00
Thomas Trepl
4ce87c4cba Merge 2024-12-05 10:32:10 +01:00
Xi Ruoyao
5ee35073fb drm-panic: kernel: Explain DRM panic settings 2024-12-01 18:54:14 +08:00
Xi Ruoyao
fdf21dccba drm-panic: kernel: Enable SimpleDRM
Currently on a LFS system booted via legacy BIOS (intead of UEFI), the
users can make two different configurations:

1. The DRM driver for the GPU is built as a module.  Then before the
   module is loaded (i.e. the root fs is properly mounted) the kernel
   messages are displayed via the VGA console.
2. The DRM driver for the GPU is built into the kernel image.  Then the
   kernel messages are displayed via the DRM-emulated framebuffer
   console since a very early stage (before the root fs is properly
   mounted).

When the system is booted via UEFI, we use SimpleDRM on the EFI
framebuffer for displaying kernel messages, thus it's always the case 2.

Both are not good for diagnostic in case the root fs cannot be mounted
properly (it's very frequent on lfs-support):

- With 1 the VGA console can only fit 80x24 characters, so the relevent
  information is often flushed away.
- With 2 the panic message is often displayed improperly when a DRM
  driver is running.

The "DRM panic" feature introduced since Linux 6.11 (but it'll only
become usable for LFS since Linux 6.12) can fix the case 2, while case
1 just cannot be fixed.  So start to make LFS booted via legacy BIOS
to use method 2 now, then we can enable DRM panic and fix this
long-standing issue.
2024-12-01 18:35:55 +08:00
Thomas Trepl
56a8f14782 Automatic merge of trunk into multilib 2024-10-26 00:30:14 +02:00
Bruce Dubbs
8a0ae36a91 Fix extra spacing around some xml tags. 2024-10-25 11:37:55 -05:00
Thomas Trepl
d9c8637857 Automatic merge of trunk into multilib 2024-06-23 00:30:20 +02:00
Xi Ruoyao
201aa93863 Move punctuation/comma into quotes for <xref>s
We are using American rule for punctuation/comma vs. quotes.  We've
fixed most cases but not <xref>s.
2024-06-22 11:43:31 +08:00
Thomas Trepl
4fb76f3edc Automatic merge of trunk into multilib 2024-02-28 00:30:19 +01:00
Bruce Dubbs
4e486a2efc Typo
(cherry picked from commit 0c06e1e048)
2024-02-27 20:48:40 +08:00
Thomas Trepl
31a18d0226 Automatic merge of trunk into multilib 2024-01-26 00:30:11 +01:00
Xi Ruoyao
ea93c117f2 treewide: Use <ulink> instead of <filename> for man pages
"gcc(1)" is really not a file name.

Use <ulink> and link to the online man page on
https://man.archlinux.org/ so the user can refer to the man pages more
easily.

The change is done via a sed command and long lines are wrapped
manually.
2024-01-26 01:59:06 +08:00
Thomas Trepl
5d2d864a97 Automatic merge of trunk into multilib 2024-01-19 00:30:10 +01:00
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Thomas Trepl
c4108e50ae Automatic merge of trunk into multilib 2023-12-06 00:30:10 +01:00
Xi Ruoyao
981b9fa6a1 kernel-config: Drop FB
In Linux 6.6 DRM_FBDEV_EMULATION no longer depends on FB, so we no
longer need to select FB (tested in a QEMU VM).

But if DRM is selected, we must select both DRM_FBDEV_EMULATION and
FRAMEBUFFER_CONSOLE or we'll see only blank screen.  And now
FRAMEBUFFER_CONSOLE is not selected by default, be warned!!
2023-12-05 14:58:29 +08:00
Thomas Trepl
c931e9dedd Automatic merge of trunk into multilib 2023-09-03 00:30:12 +02:00
Bruce Dubbs
3864d235cf Package updates and misc upates/typos.
Update to vim-1837.$
Update to zlib-1.3.$
Update to wheel-0.41.2 (Python Module).$
Update to util-linux-2.39.2.$
Update to sysvinit-3.08.$
Update to shadow-4.14.0.$
Update to Python-3.11.5.$
Update to procps-ng-4.0.4.$
Update to pkgconf-2.0.2.$
Update to mpfr-4.2.1.$
Update to kbd-2.6.2.$
Update to gzip-1.13.$
Update to coreutils-9.4.$
Specify the 'nobody-group' for systemd.$
Remove unused usb group.$
2023-09-02 08:54:55 -05:00
Xi Ruoyao
1ebfa8e664 pdf: Allow breaking pages in version-check and kernel configuration
They are very long <screen> or <note>.  By default they are attributed
"keep-together.within-column = always", override it to allow line break.

Fixes #5336.

Link: http://www.sagehill.net/docbookxsl/PageBreaking.html
2023-09-02 14:17:17 +08:00
Thomas Trepl
3ecf6ae99d Merge branch 'trunk' into multilib 2023-08-01 22:49:01 +02:00
Xi Ruoyao
70bf5512d9 kernel: Use new kernel configuration rendering method
Import kernel-config infrastructure from BLFS and use it for kernel
configuration.  Note that kernel-config.py is slightly different from
BLFS: we need role="nodump" for <screen> here.
2023-08-01 00:08:56 +08:00
Bruce Dubbs
2cf01ab702 Add some color to kernel options 2023-07-31 01:09:24 -05:00
Thomas Trepl
da2e8cba81 Automatic merge of trunk into multilib 2023-07-29 09:05:05 +02:00
Bruce Dubbs
83e616f79e Reformat kernel configuuration options.
A couple of the newer kernel options overflow past 80 columns on
the kernel page.  It's not optimal, but insert newlines for these
options.

Also reorder the options to to same ordeer as they appear in
menuconfig and add some blank lines between major setions for
clarity.
2023-07-28 23:14:10 -05:00
Xi Ruoyao
44674e4c92 sysv: Mount cgroup fs for memory pressure information early
Prepare for systemd-254 update.  See #5293 for details.
2023-07-28 19:59:01 +08:00
Thomas Trepl
b3d94f390c Automatic merge of trunk into multilib 2023-07-23 00:30:15 +02:00
Xi Ruoyao
0d824c5280 kernel: Simplify doc installation 2023-07-22 18:36:33 +08:00
Thomas Trepl
7d40eeb537 Merge upstream change of eudev->sysd.udev 2023-07-18 22:19:36 +02:00