ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Afonin <asy@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Незапранированная перегенерация initrd
Date: Wed, 10 Mar 2021 14:17:35 +0400
Message-ID: <202103101417.35787.asy@altlinux.org> (raw)

Приветствую.

А кто знает, кто тут виновник, и почему? (p9, lilo)

# apt-get remove kernel-image-un-def
...
Cleaning up / removing...
1: kernel-image-un-def-1:5.10.15-alt1   ######################################################### [100%]
Added 4.9.194-std-def-alt0.M80P.1
Added 4.9.254-std-def-alt0.M80P.1
Added 4.9.255-std-def-alt0.M80P.1
Added 5.4.97-std-def-alt1  *
Added 5.4.93-std-def-alt1
The boot record of  /dev/md0  has been updated.
[00:00:00] Config file: /etc/initrd.mk
[00:00:01] Generating module dependencies on host ...
[00:00:06] Creating initrd image ...
[00:00:08] Putting modules ...
[00:00:09] Generating module dependencies in image ...
[00:00:09] Sorting sysvinit services ...
[00:00:10] Packing image to archive ...
[00:00:10] Writing build info files ...
[00:00:10] Compressing image ...
[00:00:17] Adding CPU microcode ...
[00:00:17] Used features:  add-modules buildinfo cleanup compress depmod-image devmapper kbd lvm mdadm network rdshell rootfs system-glibc ucode
[00:00:17] Packed modules: af_packet ahci crc16 crc32c_generic crc32c-intel crc-ccitt dm-bufio dm-mod dm-snapshot ext4 hid hid-generic ipv6 jbd2 libahci libata mbcache raid10 scsi_mod sd_mod
[00:00:17] Installing image ...
[00:00:17] Unpacked size: 34M
[00:00:17] Image size: 9,3M
[00:00:17] Removing work directory ...
[00:00:17] Image is saved as /boot/initrd-5.4.93-std-def-alt1.img

Added 4.9.194-std-def-alt0.M80P.1
Added 4.9.254-std-def-alt0.M80P.1
Added 4.9.255-std-def-alt0.M80P.1
Added 5.4.97-std-def-alt1  *
Added 5.4.93-std-def-alt1
The boot record of  /dev/md0  has been updated.
Done.

В свете https://bugzilla.altlinux.org/29831 у меня некоторые initrd
собраны с MODULES_ADD += raid1, и тут на тебе, без объявления войны
мне initrd без raid1 собрали (ну да, я MODULES_ADD += raid1 убрал 
в целях продолжения экспериментов). Кто виноват, и на кого баг вешать?

Я помню ещё из-за обновления микрокода была идея initrd пересобирать,
я там по этой же причине был против - не дело внезапно менять проверенный
initrd. Но ещё и логика переренерации непонятна в данномслучае: ядро по
умолчанию другое, и оно же загружено.

-- 
С уважением, Сергей Афонин.


             reply	other threads:[~2021-03-10 10:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-10 10:17 Sergey Afonin [this message]
2021-03-10 10:37 ` Alexey Gladkov
2021-03-10 11:28   ` Sergey Afonin
2021-03-11  8:28     ` Sergey Afonin
2022-11-26 12:57   ` Sergey Y. Afonin

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=202103101417.35787.asy@altlinux.org \
    --to=asy@altlinux.org \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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