Single-board computer software development discussions
 help / color / mirror / Atom feed
From: Aleksey Novodvorsky <aen@basealt.ru>
To: Single-board computer software development discussions
	<devel-sbc@lists.altlinux.org>
Subject: Re: [devel-sbc] Не хватает модуля ядра на aarch64 для запуска LXD
Date: Sat, 1 May 2021 15:04:57 +0300
Message-ID: <CAGvFrt2uGUCdLAVTb0X+jkanrjx9cAjQCVoYViOt3c9vS3ROcA@mail.gmail.com> (raw)
In-Reply-To: <b7fec0a697f998501a74a787a304b6037a958986.camel@yandex.ru>

Добрый день!

сб, 1 мая 2021 г. в 12:56, Сергей Бессонов <aceler@yandex.ru>:
>
> Добрый день.
>
> Пытался завести LXD на малине 4 на P9.
>
> По инструкции: https://www.altlinux.org/LXD
> На x86_64 всё работает.
>
> На Aarch64 вылетает:
> Error: Failed to create network 'lxdbr0': Failed to run: iptables -w -t
> filter -I INPUT -i lxdbr0 -p udp --dport 67 -j ACCEPT -m comment --
> comment generated for LXD network lxdbr0: iptables v1.8.3 (legacy):
> Couldn't load match `comment':No such file or directory
>
> Try `iptables -h' or 'iptables --help' for more information.
>
> Возможность установки комментариев в iptables обеспечивается модулем
> xt_comment
>
> В x86_64 он есть:
>
> host-15 ~ # lsmod | grep comment
> xt_comment             16384  19
> x_tables               45056  10
> ip6table_filter,iptable_filter,xt_tcpudp,xt_CHECKSUM,xt_comment,ip6_tab
> les,ip_tables,ip6table_mangle,xt_MASQUERADE,iptable_mangle
>
> В aarch64 его нет:
> localhost ~ # lsmod | grep comment
> localhost ~ # modprobe xt_comment
> modprobe: FATAL: Module xt_comment not found in directory
> /lib/modules/5.4.83-rpi-def-alt
>
> Куда потерялся? )

У меня нет под рукой сейчас rpi4, но:
1. Синхронно и , по возможности, со схожей конфигйрацией собираются
ядра std-def (в p9 сейчас 5.4) и un-def (5.10) для всех архитктур,
кроме e2k*
2.  Ядра для rpi4 собираются отдельно, так как патчи для них так и не
стали совместимы с апстримными или кандидатами в апстрим. Это ядра
rpi-def (о котором Вы пишете, 5.4) и rpi-un (5.10). Для них общие
инструкции могут не годится.
3.  Мы переходим  в релизах 9 платформы (пока Workstation K для x86_64
и вчерашний многоархитектурный Simply) на ядра 5.10.
4. Ответ на Ваш вопрос даст мейнтейнер ядер rpi (jqt4@), но пока можно
попробовать rpi-un или un-def. Последнее не будет поддерживать rpi4
полностью, зато оно собирается синхронно на всех архитектрах, кроме
e2k*.

С праздниками!

Rgrds, Алексей

  reply	other threads:[~2021-05-01 12:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-01  9:56 Сергей Бессонов
2021-05-01 12:04 ` Aleksey Novodvorsky [this message]
2021-05-01 15:53   ` Сергей Бессонов
2021-05-10 12:19       ` Дмитрий Терехин
2021-05-12 20:56         ` Сергей Бессонов
2021-05-14  4:43           ` Ivan A. Melnikov
2021-05-19  7:30             ` Сергей Бессонов

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=CAGvFrt2uGUCdLAVTb0X+jkanrjx9cAjQCVoYViOt3c9vS3ROcA@mail.gmail.com \
    --to=aen@basealt.ru \
    --cc=devel-sbc@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

Single-board computer software development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-sbc/0 devel-sbc/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-sbc devel-sbc/ http://lore.altlinux.org/devel-sbc \
		devel-sbc@lists.altlinux.org devel-sbc@lists.altlinux.ru devel-sbc@lists.altlinux.com
	public-inbox-index devel-sbc

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-sbc


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git