Make-initrd development discussion
 help / color / mirror / Atom feed
From: Alexey Gladkov <legion@kernel.org>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] Kernel 6.12.44-alt1+ и модуль nvme
Date: Sun, 9 Nov 2025 15:35:23 +0100
Message-ID: <aRCmq5IXJYkO0mV3@example.org> (raw)
In-Reply-To: <75971d55-d9ec-4030-a1cd-5cba6f3211d1@gmail.com>

On Fri, Nov 07, 2025 at 10:38:45PM +0300, Leonid Krivoshein wrote:
> Всем привет!
> 
> 
> Начиная с ядра 6.12.44 nvme стал загружаемым модулем:
> 
> 28 августа 2025 г. Kernel Bot 6.12.44-alt1
> - v6.12.44 (2025-08-28).
> - config: Build NVME as a module instead of built-in.
> 
> Теперь для загрузки помогает добавление в /etc/initrd.mk:
> 
> MODULES_ADD += nvme
> 
> Без этого система не грузится. Поможет ли вывод make-initrd -vvv отладке?

Всё ясно. Тут сразу пара проблем:

* В sysfs для рейда нет каталога slaves, в котором должны быть перечислены
  блочные устройства. Я не знаю почему так, но я нашёл другой API для
  поиска зависимостей.

* nvme имеют неожиданную структуру в sysfs. Зависимости рейда указывают в
  /sys/devices/virtual/nvme-subsystem/..., а не на настоящие устройства.

В master я сделал фиксы для обеих проблем. Пожалуйста проверь.

-- 
Rgrds, legion



  reply	other threads:[~2025-11-09 14:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-07 19:38 Leonid Krivoshein
2025-11-09 14:35 ` Alexey Gladkov [this message]
2025-11-09 21:53   ` Leonid Krivoshein

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=aRCmq5IXJYkO0mV3@example.org \
    --to=legion@kernel.org \
    --cc=make-initrd@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

Make-initrd development discussion

This inbox may be cloned and mirrored by anyone:

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

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


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