Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dracut and firmware
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 931

PostPosted: Thu Jul 08, 2021 11:39 pm    Post subject: Dracut and firmware Reply with quote

Reviewing https://wiki.gentoo.org/wiki/Intel, I found that the Intel DMC firmware wasn't loading, exactly as shown under the "Installation" heading. Not a problem, I added it to the dracut config, rebuilt initramfs, and it's loading now, fine.

The interesting part is the other firmwares also included in the initrams.
Code:

lsinitrd initramfs.img|grep firmw
drwxr-xr-x   4 root     root            0 Jul  8 23:06 lib/firmware
drwxr-xr-x   2 root     root            0 Jul  8 23:06 lib/firmware/cis
-rw-r--r--   1 root     root          137 Jun 29 21:59 lib/firmware/cis/3CCFEM556.cis
-rw-r--r--   1 root     root          134 Jun 29 21:59 lib/firmware/cis/3CXEM556.cis
-rw-r--r--   1 root     root          109 Jun 29 21:59 lib/firmware/cis/COMpad2.cis
-rw-r--r--   1 root     root           76 Jun 29 21:59 lib/firmware/cis/COMpad4.cis
-rw-r--r--   1 root     root          136 Jun 29 21:59 lib/firmware/cis/DP83903.cis
-rw-r--r--   1 root     root          107 Jun 29 21:59 lib/firmware/cis/MT5634ZLX.cis
-rw-r--r--   1 root     root          210 Jun 29 21:59 lib/firmware/cis/PCMLM28.cis
-rw-r--r--   1 root     root           86 Jun 29 21:59 lib/firmware/cis/RS-COM-2P.cis
-rw-r--r--   1 root     root          122 Jun 29 21:59 lib/firmware/cis/SW_555_SER.cis
-rw-r--r--   1 root     root          140 Jun 29 21:59 lib/firmware/cis/SW_7xx_SER.cis
-rw-r--r--   1 root     root          132 Jun 29 21:59 lib/firmware/cis/SW_8xx_SER.cis
drwxr-xr-x   2 root     root            0 Jul  8 23:06 lib/firmware/i915
-rw-r--r--   1 root     root         8928 Jun 29 21:59 lib/firmware/i915/skl_dmc_ver1_27.bin

I'm surprised to see all these seemingly obsolete firmwares - 3COM, PCMCIA etc. Certainly quite unrelated to my actual hw.

How does dracut decide to include them? How can I stop it from doing that (I don't see an omit_items option)?
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 931

PostPosted: Mon Jul 12, 2021 10:12 pm    Post subject: Reply with quote

The answer is: these firmware files are loaded by the 8250/serial_cs driver, which for some reason is enabled in my kernel config.
Code:
# dmesg|grep -i serial
[    0.416887] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum