Make-initrd development discussion
 help / color / mirror / Atom feed
From: Konstantin Lepikhov <lakostis@unsafe.ru>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] Two words about initramfs size
Date: Fri, 4 Jun 2021 14:21:25 +0200
Message-ID: <YLoaxYIjk4/UHhRq@lks.home> (raw)
In-Reply-To: <20210604084452.u6nbkvgwebobc3pu@example.org>

Hi Alexey!

On 06/04/2021, at 10:44:52 AM you wrote:

> On Fri, Jun 04, 2021 at 10:27:50AM +0200, Konstantin Lepikhov wrote:
> > Hi Alexey!
> > 
> > On 06/04/2021, at 10:15:13 AM you wrote:
> > 
> > <skip>
> > > > > * guess-drm положил i915 модуль, который является очень тяжёлым и тянет за
> > > > >   собой много жирных firmware.
> > > > > 
> > > > А нужен ли guess-drm на стадии initramfs? Если это для KMS то модули можно
> > > > загрузить и после монтирования rootfs.
> > > 
> > > Насколько я помню drm нужен для plymouth. Раньше в последнем было
> > > добавление drivers/gpu/drm/, drm, drm_kms_helper, что было криво.
> > > 
> > > Похоже нужно переделать guess-drm в фичу и просить её только из тех мест,
> > > где drm нужен.
> > да, так будет правильно. В контексте i915 - *_guc и *_huc firmware нужны
> > для декодирования видео, т.е. их отсутствие не должно влиять на работу
> > KMS.
> 
> Я тоже думал, а нельзя ли понять какая именно firmware нужна. Но я ещё не
> дошёл до такого уровня дзена )) 
Еще одна потенциальная проблема запихивания drm/gpu модулей в initramfs -
в случае обновления kernel-modules (например, nvidia) эти модули не будут
обновлены в initramfs и при перезагрузке мы получим отсутствие 3d и вообще
невозможность использования графического режима. Так что я за отключение
этих guess drm по-умолчанию, или хотя бы сделать какой-нибудь blacklist
для них.

-- 
WBR et al.


  reply	other threads:[~2021-06-04 12:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-03 16:17 Alexey Gladkov
2021-06-04  7:46 ` Konstantin Lepikhov
2021-06-04  8:15   ` Alexey Gladkov
2021-06-04  8:27     ` Konstantin Lepikhov
2021-06-04  8:44       ` Alexey Gladkov
2021-06-04 12:21         ` Konstantin Lepikhov [this message]
2021-06-04 12:44           ` Alexey Gladkov
2021-06-04 13:54           ` Alexey Gladkov
2021-06-04 15:21             ` Konstantin Lepikhov
2021-06-04 15:43               ` Alexey Gladkov

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=YLoaxYIjk4/UHhRq@lks.home \
    --to=lakostis@unsafe.ru \
    --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