114 Commits

Author SHA1 Message Date
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
Xi Ruoyao
b177415824 Remove references to eudev 2023-07-18 13:07:01 +08:00
Thomas Trepl
9cdd53b560 Automatic merge of trunk into multilib 2023-07-16 00:30:10 +02:00
Pierre Labastie
31e62b94b6 Typo 2023-07-15 15:26:11 +02:00
Thomas Trepl
7b3d536d9e Automatic merge of trunk into multilib 2023-07-12 00:30:15 +02:00
Xi Ruoyao
f976691d53 kernel: Remove CONFIG_SYSFS_DEPRECATED
It's already removed from Linux 6.4.

Link: https://git.kernel.org/torvalds/linux/c/721da5cee9d4
2023-07-11 07:44:39 +08:00
Thomas Trepl
165314a9c1 Automatic merge of trunk into multilib 2023-06-08 00:30:09 +02:00
Pierre Labastie
6256b16baf Kernel: IPV6 only appears if TCP/IP selected
Report by wen zhang.
Also fix formatting.
2023-06-07 08:25:45 +02:00
Thomas Trepl
fef648d8d4 Automatic merge of trunk into multilib 2023-03-22 00:30:13 +01:00
Xi Ruoyao
d186249a44 kernel: [revision="systemd"] Disable CONFIG_PSI_DEFAULT_DISABLED
systemd-oomd needs PSI so it does not make sense to disable it by
default.
2023-03-21 15:38:56 +08:00
Thomas Trepl
b5b704a30c Automatic merge of trunk into multilib 2023-03-12 11:36:30 +01:00
Bruce Dubbs
c6fa6912e1 Update a link 2023-03-11 23:11:16 -06:00
Douglas R. Reno
681e11a0b6 Typos from rhubarbpieguy 2023-03-11 19:04:09 -06:00
Thomas Trepl
31e6ccb2cb Automatic merge of trunk into multilib 2023-03-12 00:30:15 +01:00