From: Konstantin Lepikhov <lakostis@altlinux.org>
To: devel-kernel@lists.altlinux.org
Subject: Re: [d-kernel] Q: kernel modules for 7.x
Date: Wed, 21 Oct 2026 09:07:36 +0200
Message-ID: <athkuJ91V4S4NWtv@lks.home> (raw)
In-Reply-To: <ate2ianRrcYqg9cu@iv-work>
Hi Ivan!
On 10/21/2026, at 11:01:07 AM you wrote:
> On Tue, Oct 20, 2026 at 04:26:59PM +0200, Konstantin Lepikhov wrote:
> > On 05/28/2026, at 08:32:30 AM you wrote:
> >
> > > Hi Andrew!
> > >
> > > On 05/27/2026, at 11:00:54 PM you wrote:
> > >
> > > > 27.05.2026 13:14, Konstantin Lepikhov пишет:
> > > > > Пробовал, не помогает:
> > > > >
> > > > > ❯ fgrep '/proc' kernel-modules-bcmwl.spec
> > > > > BuildRequires: /proc
> > > > > ...
> > > > > error: objtool [signal.c:75]: read_stack_limit: fopen failed: No such file or directory
> > > > Странно, у меня получилось: https://git.altlinux.org/tasks/419386/
> > > > TESTED kernel-modules.git=sisyphus/kernel-modules-drbd9-7.0-9.3.2-alt1
> > > >
> > > > @@ -25,6 +25,7 @@ BuildRequires(pre): kernel-headers-modules-@kflavour@
> > > > BuildRequires: kernel-headers-modules-%flavour = %kepoch%kversion-%krelease
> > > > BuildRequires: kernel-source-%module_name = %module_version
> > > > BuildRequires: coccinelle >= 1.0.8
> > > > +BuildRequires: /proc
> > > > Requires: dmsetup
> > > У вас получилось, потому что сборочница знает про этот флаг. Для локальной
> > > сборки нужно передавать --mountpoints=/proc и выходит, это нужно делать в
> > > требованиях пакета kernel-build-tools, а не каждого модуля.
> > как обычно все покудахатали и благополучно забыли о проблеме[1]. Править
> > каждый template - это путь сотрудников ООО, им за это деньги платят, а
> > себе я проблему решил в своем kernel-build-tools[2]. Хотите забирайте или
> > нет, но без этого исправления смысла в сборке 7.x пока мало.
> >
> > 1. https://git.altlinux.org/tasks/437876/build/400/x86_64/log
> > 2. https://git.altlinux.org/gitoskop/#/people/lakostis/packages/kernel-build-tools.git/-/commit/b77816c426faa7f5f5f10b067173c8dbe24326ad
>
> Согласен, проблему лучше решать дистрибутивно, спасибо что напомнили.
>
> Однако по-моему более правильным подходом будет расставлять
> Requires: /proc во все пакеты, которым /proc требуется для работы.
> В данной ситуации это пакет, содержащий тот самый ядерный objtool,
> которому теперь для работы требуется /proc, то есть
> kernel-headers-modules-7.3.
Тоже вариант. Судя по ошибкам сборки, это требование еще и arch specific,
/proc нужен только под x86_64. В общем, ждем исправления тогда.
--
WBR et al.
next prev parent reply other threads:[~2026-10-21 7:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-27 8:51 Konstantin Lepikhov
2026-05-27 10:00 ` Ivan A. Melnikov
2026-05-27 10:14 ` Konstantin Lepikhov
2026-05-27 20:00 ` Andrew A. Vasilyev
2026-05-28 6:32 ` Konstantin Lepikhov
2026-05-28 6:37 ` Anton Midyukov
2026-05-28 6:46 ` Konstantin Lepikhov
2026-05-28 7:32 ` iv
2026-05-28 8:09 ` Konstantin Lepikhov
2026-05-28 8:46 ` iv
2026-05-28 9:02 ` Konstantin Lepikhov
2026-05-28 10:36 ` Konstantin Lepikhov
2026-05-29 10:08 ` Ivan A. Melnikov
2026-06-02 8:34 ` Gleb Fotengauer-Malinovskiy
2026-06-02 11:16 ` [d-kernel] hsh --known-mountpoints Dmitry V. Levin
2026-06-03 8:57 ` Alexey V. Vissarionov
2026-06-03 9:04 ` Sergey V Turchin
2026-06-03 17:54 ` [d-kernel] Q: kernel modules for 7.x Konstantin Lepikhov
2026-10-20 14:26 ` Konstantin Lepikhov
2026-10-21 7:01 ` Ivan A. Melnikov
2026-10-21 7:07 ` Konstantin Lepikhov [this message]
2026-10-21 7:43 ` Alexey V. Vissarionov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=athkuJ91V4S4NWtv@lks.home \
--to=lakostis@altlinux.org \
--cc=devel-kernel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux kernel packages development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
public-inbox-index devel-kernel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git