kernel, stage2: Fix network boot for yt6801 cards #24

Closed
iv wants to merge 1 commit from iv/mkimage-profiles:yt6801-again into next
Contributor

In the latest update (1.0.31), kernel-modules-yt6801-*
moved the module from drivers/net/ethernet to updates/.
This broke network boot for yt6801 cards, as the module
didn't match any pattern in stage2-net modlist anymore,
and thus was not added into the initrd image.

To address this issue, the responsibility of adding
the module to initrd is moved from use/kenrel/net to
a separate target in stage2 feature, which now comes
with its own modlist. This target is used for regular
images on loongarch64, as yt6801 network cards are
arguably not that widespread on other architectures.

In the latest update (1.0.31), kernel-modules-yt6801-* moved the module from drivers/net/ethernet to updates/. This broke network boot for yt6801 cards, as the module didn't match any pattern in stage2-net modlist anymore, and thus was not added into the initrd image. To address this issue, the responsibility of adding the module to initrd is moved from use/kenrel/net to a separate target in stage2 feature, which now comes with its own modlist. This target is used for regular images on loongarch64, as yt6801 network cards are arguably not that widespread on other architectures.
In the latest update (1.0.31), kernel-modules-yt6801-*
moved the module from drivers/net/ethernet to updates/.
This broke network boot for yt6801 cards, as the module
didn't match any pattern in stage2-net modlist anymore,
and thus was not added into the initrd image.

To address this issue, the responsibility of adding
the module to initrd is moved from use/kenrel/net to
a separate target in stage2 feature, which now comes
with its own modlist. This target is used for regular
images on loongarch64, as yt6801 network cards are
arguably not that widespread on other architectures.

Signed-off-by: Ivan A. Melnikov <iv@altlinux.org>
Owner

Так а зачем он был перенесён в updates?

Так а зачем он был перенесён в updates?
Author
Contributor

Так решил мейнтейнер модуля. Подумал что это правильно, с учётом того, что в 7.0 yt6801.ko есть в mainline, но кажется пока менее фичастый. А о том, что путь имеет значение для кого-то кроме depmod и modprobe он не подумал.

Так решил мейнтейнер модуля. Подумал что это правильно, с учётом того, что в 7.0 `yt6801.ko` есть в mainline, но кажется пока менее фичастый. А о том, что путь имеет значение для кого-то кроме depmod и modprobe он не подумал.
Owner

@iv wrote in #24 (comment):

Так решил мейнтейнер модуля. Подумал что это правильно, с учётом того, что в 7.0 yt6801.ko есть в mainline, но кажется пока менее фичастый. А о том, что путь имеет значение для кого-то кроме depmod и modprobe он не подумал.

Очевидно, что для более старых ядер модуль не должен быть в updates. А начиная с 7.0 его просто не нужно собирать.

@iv wrote in https://altlinux.space/mkimage-profiles/mkimage-profiles/pulls/24#issuecomment-40792: > Так решил мейнтейнер модуля. Подумал что это правильно, с учётом того, что в 7.0 `yt6801.ko` есть в mainline, но кажется пока менее фичастый. А о том, что путь имеет значение для кого-то кроме depmod и modprobe он не подумал. Очевидно, что для более старых ядер модуль не должен быть в updates. А начиная с 7.0 его просто не нужно собирать.
Owner

Считаю это багой, которую нужно исправить в пакете, а не в профиле сборки.
Отклонено.

Считаю это багой, которую нужно исправить в пакете, а не в профиле сборки. Отклонено.
antohami closed this pull request 2026-04-02 18:31:25 +03:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mkimage-profiles/mkimage-profiles!24
No description provided.