Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Arch Linux mkinitcpio: Possibly missing firmware for module

Problem

In Arch Linux mkinitcpio -p linux

shows

Possibly missing firmware for module: aic94xx
 Possibly missing firmware for module: wd719x

Solve

git clone https://aur.archlinux.org/aic94xx-firmware.git
cd aic94xx-firmware
makepkg -sri
git clone https://aur.archlinux.org/wd719x-firmware.git
cd wd719x-firmware
makepkg -sri

and then mkinitcpio -p linux again.

Reference

https://wiki.archlinux.org/index.php/Mkinitcpio

@technotherion

This comment has been minimized.

Copy link

@technotherion technotherion commented Feb 21, 2018

As a note to myself (and others) because I'm sure I'll be here again and will have forgotten a command or two.

Fresh arch install - "you can not install as root"

  1. make sure sudo, base-devel, and vim are installed
  2. useradd -m (user) then passwd (user)
  3. visudo
  4. Add the following line into the file: (user) ALL=(ALL) ALL
  5. Escape vim: Hit escape, then type :wq and enter.
  6. su (user) -
  7. try the gist instructions again, this time cloning the directory into your home folder.
@Tknott95

This comment has been minimized.

Copy link

@Tknott95 Tknott95 commented Aug 12, 2018

Will have fix on my ghub gists as well
yoaurt -S aic94xx-firmware wd719x-firmware

@rigred

This comment has been minimized.

Copy link

@rigred rigred commented Nov 8, 2018

Of importance is that this module is entirely unnecessary for most users.
It's simply a warning as these are commonly used modules for SAS/SCSI Disk Controllers in server hardware.

It's not recommended that you install these if you don't have such hardware in your system.
If you don't know what they are, don't install them.
Because if you did know what they are you'd know if you needed them to get your disks working.

@noraj

This comment has been minimized.

Copy link

@noraj noraj commented Jan 4, 2019

@rigred is totally right.

  • aic94xx-firmware: Adaptec SAS 44300, 48300, 58300 Sequencer Firmware for AIC94xx driver
  • wd719x-firmware: Driver for Western Digital WD7193, WD7197 and WD7296 SCSI cards

Most people won't have SAS/SCSI Disk Controllers, so just ignore those warnings and don't install those drivers.

Also RTFM Arch Wiki: Possibly missing firmware for module XXXX:

When initramfs are being rebuild after a kernel update, you might get these or similar warnings:

==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x 

These appear to any Arch Linux users, especially those who have not installed these firmware modules. If you do not use hardware which uses these firmwares you can safely ignore this message.

@Vrak

This comment has been minimized.

Copy link

@Vrak Vrak commented Mar 16, 2019

Can someone explain why we're seeing warnings about firmware for hardware that's not even installed?

@syaorandroid

This comment has been minimized.

Copy link

@syaorandroid syaorandroid commented Apr 22, 2019

I just execute the command: yaourt -S aic94xx-firmware wd719x-firmware, and it's all right!

@teethgrinder

This comment has been minimized.

Copy link

@teethgrinder teethgrinder commented Apr 22, 2019

@syaoandroid stop using yaourt , but it is not being developed anymore. https://itsfoss.com/best-aur-helpers/

@EgidioCaprino

This comment has been minimized.

Copy link

@EgidioCaprino EgidioCaprino commented Mar 14, 2020

Of importance is that this module is entirely unnecessary for most users.
It's simply a warning as these are commonly used modules for SAS/SCSI Disk Controllers in server hardware.

It's not recommended that you install these if you don't have such hardware in your system.
If you don't know what they are, don't install them.
Because if you did know what they are you'd know if you needed them to get your disks working.

Thank you 🙏

@codydg

This comment has been minimized.

Copy link

@codydg codydg commented Apr 21, 2020

Can someone explain why we're seeing warnings about firmware for hardware that's not even installed?

I would also like to know this. I've found myself at this page for two different arch installations on very different hardware, so it'd be nice to know why it thinks I need these drivers. I'm sure there are thousands more drivers that I don't need, so why does it warn about these 2? May expose a bug somewhere...

@NiklasBeierl

This comment has been minimized.

Copy link

@NiklasBeierl NiklasBeierl commented Apr 25, 2020

Can someone explain why we're seeing warnings about firmware for hardware that's not even installed?

I would also like to know this. I've found myself at this page for two different arch installations on very different hardware, so it'd be nice to know why it thinks I need these drivers. I'm sure there are thousands more drivers that I don't need, so why does it warn about these 2? May expose a bug somewhere...

Exactly my concern. Installing on Dell XPS 13 2 in 1 7390.

@gridley

This comment has been minimized.

Copy link

@gridley gridley commented May 26, 2020

Same here, would be nice if someone fixed the warnings.

@sci4me

This comment has been minimized.

Copy link

@sci4me sci4me commented Jun 19, 2020

Yeah I too would like to know why we would be getting these warnings on machines that don't have the hardware that firmware is for. And it's always those same two: wd719x and aic94xx. Am I crazy to label this as a bug? I mean, it's a false warning...

@Thomashighbaugh

This comment has been minimized.

Copy link

@Thomashighbaugh Thomashighbaugh commented Jun 22, 2020

I mean, it's a false warning...

Exactly what I am thinking here, especially because the number of users in need of the drivers in reality is smaller than the number of users alerted to the needs that makes it a false positive aka error/bug

@Isti115

This comment has been minimized.

Copy link

@Isti115 Isti115 commented Jun 24, 2020

Since reactions are not an options for gist comments, here is a textual +1 from me for removing these warnings, I think that they are confusing.

@asdiasx

This comment has been minimized.

Copy link

@asdiasx asdiasx commented Jun 27, 2020

Since reactions are not an options for gist comments, here is a textual +1 from me for removing these warnings, I think that they are confusing.

Same here! +1...

@kmanwar89

This comment has been minimized.

Copy link

@kmanwar89 kmanwar89 commented Sep 30, 2020

+1

@Starslayerx

This comment has been minimized.

Copy link

@Starslayerx Starslayerx commented Nov 1, 2020

+1

@jmelahman

This comment has been minimized.

Copy link

@jmelahman jmelahman commented Nov 28, 2020

When people say "ignore these" do they mean "ignore in your head" or is there a way to explicitly suppress warnings for individual modules?

I've since simply installed the necessary firmware (to my chagrin) so that I don't waste time re-discovering these can just be ignored next time.

@codydg

This comment has been minimized.

Copy link

@codydg codydg commented Nov 28, 2020

When people say "ignore these" do they mean "ignore in your head" or is there a way to explicitly suppress warnings for individual modules?

I've since simply installed the necessary firmware (to my chagrin) so that I don't waste time re-discovering these can just be ignored next time.

My understanding is they mean "ignore in your head" but if there is a way to suppress them without installing the drivers I'm unaware of it.

@cgcgcgcgcg

This comment has been minimized.

Copy link

@cgcgcgcgcg cgcgcgcgcg commented Jan 11, 2021

It is already mentioned above that these "missing firmwares" are of any use to servers that use SAS/SCSI Disk Controllers.
How many years ago you last used SAS/SCSI Disk Controllers?
For those above that +1 the others that installed the "missing firmwares" for never used hardware:
Congratulations, you played yourselves.

@Thomashighbaugh

This comment has been minimized.

Copy link

@Thomashighbaugh Thomashighbaugh commented Jan 11, 2021

It is already mentioned above that these "missing firmwares" are of any use to servers that use SAS/SCSI Disk Controllers.
How many years ago you last used SAS/SCSI Disk Controllers?
For those above that +1 the others that installed the "missing firmwares" for never used hardware:
Congratulations, you played yourselves.

I don't know that's its quite as serious as all that no one is going to see any significant reductions in functionality from the missing firmware being present on their system but you're dead on that it's essentially useless to the vast majority and that will only on become more true as time marches om

@cgcgcgcgcg

This comment has been minimized.

Copy link

@cgcgcgcgcg cgcgcgcgcg commented Jan 11, 2021

It is already mentioned above that these "missing firmwares" are of any use to servers that use SAS/SCSI Disk Controllers.
How many years ago you last used SAS/SCSI Disk Controllers?
For those above that +1 the others that installed the "missing firmwares" for never used hardware:
Congratulations, you played yourselves.

I don't know that's its quite as serious as all that no one is going to see any significant reductions in functionality from the missing firmware being present on their system but you're dead on that it's essentially useless to the vast majority and that will only on become more true as time marches om

This is a 2016 thread explaining that installing missing firmwares may make the warnings go away, but that doesn't make those firmwares work unless the related hardware is present.

Quote:
"You appear to have ignored all the advise offered in this thread up to this point.
The modules will not be loaded if the relevant hardware if not present on the system, presence or absence or the firmware will not change this."
https://bbs.archlinux.org/viewtopic.php?id=221076

@nmstoker

This comment has been minimized.

Copy link

@nmstoker nmstoker commented Feb 5, 2021

I suspect a lot of needless concern here stems from people conflating warnings and errors when they are distinct things. With a warning, consider if it applies and if not (as it won't for most people here in this case) or if you're not sure but have no specific observed problems, the simply carry on.

@cgcgcgcgcg

This comment has been minimized.

Copy link

@cgcgcgcgcg cgcgcgcgcg commented Feb 6, 2021

My point is simple:
A warning is just a warning -harmless.
If you install firmware(s) for hardware you don't even have, you open the door for them to interact with your system or installed software to create difficult to solve issues.

@codydg

This comment has been minimized.

Copy link

@codydg codydg commented Feb 7, 2021

Warnings aren't simply harmless, though, and they shouldn't be ignored (otherwise there's no point in printing them in the first place!). They are used when there may be a problem. For example, if you did have one of the Disk Controllers in question, it can be problematic if you don't have the proper drivers.

There may be thousands of drivers you don't need, and it would be pointless to warn about every one of them - so why does it warn about these two in particular? If we can fix it and prevent the unnecessary warning, users will no longer have to go searching online to understand the warning and determine if it's a problem.

If there's a solid reason why it cannot be fixed for these two drivers in particular, then we can either leave it as is, add to the warning to identify the hardware that the drivers are for, or maybe make a web page that lists drivers and their corresponding hardware.

@cgcgcgcgcg

This comment has been minimized.

Copy link

@cgcgcgcgcg cgcgcgcgcg commented Feb 8, 2021

@codydg Obviously you read nothing about those specific warnings above.
You "might" need those old SAS/SCSI Disk Controllers firmwares if you plan to use an old server.
The inevitable "Warnings" are there for the rest of us.
You like risking something not working in your system?
Sure, go ahead, install the firmwares, just to justify your OCD.

@codydg

This comment has been minimized.

Copy link

@codydg codydg commented Feb 8, 2021

@codydg Obviously you read nothing about those specific warnings above.
You "might" need those old SAS/SCSI Disk Controllers firmwares if you plan to use an old server.
The inevitable "Warnings" are there for the rest of us.
You like risking something not working in your system?
Sure, go ahead, install the firmwares, just to justify your OCD.

No need to be aggressive, I think you misunderstood my point. The warnings are not "inevitable". As I said, there are many drivers that it doesn't warn about. So I'm simply asking why it is that these two trigger a warning when none of the others do.

@cgcgcgcgcg

This comment has been minimized.

Copy link

@cgcgcgcgcg cgcgcgcgcg commented Feb 8, 2021

@codydg Obviously you read nothing about those specific warnings above.
You "might" need those old SAS/SCSI Disk Controllers firmwares if you plan to use an old server.
The inevitable "Warnings" are there for the rest of us.
You like risking something not working in your system?
Sure, go ahead, install the firmwares, just to justify your OCD.

No need to be aggressive, I think you misunderstood my point. The warnings are not "inevitable". As I said, there are many drivers that it doesn't warn about. So I'm simply asking why it is that these two trigger a warning when none of the others do.

No worries, I'm not aggressive, just in point.
These specific warnings are well known, and documented a lot in various places.
Of course, if you get a new warning, you should ask/discuss about it.
The reason -as mentioned above in the comments- is some servers need such SCSI firmwares to operate, while most of us don't use such SCSI hardware.
See this comment:
https://gist.github.com/imrvelj/c65cd5ca7f5505a65e59204f5a3f7a6d#gistcomment-2801492

@gridley

This comment has been minimized.

Copy link

@gridley gridley commented Feb 8, 2021

There may be thousands of drivers you don't need, and it would be pointless to warn about every one of them - so why does it warn about these two in particular? If we can fix it and prevent the unnecessary warning, users will no longer have to go searching online to understand the warning and determine if it's a problem.

@cgcgcgcgcg you're not really addressing this excellent point. Don't you think it's annoying to hit every arch user on earth with this warning when only a tiny fraction actually need the firmware? Why not warn that every other irrelevant piece of firmware on earth has also not been installed, if this irrelevant warning appears? What makes it different? Maybe it is impossible to detect if this hardware is actually present until this firmware is installed?

Imagine if gcc spat out some totally irrelevant warning every time you compiled a program. Wouldn't you want that to be fixed? It's just annoying...

@cgcgcgcgcg

This comment has been minimized.

Copy link

@cgcgcgcgcg cgcgcgcgcg commented Feb 8, 2021

There may be thousands of drivers you don't need, and it would be pointless to warn about every one of them - so why does it warn about these two in particular? If we can fix it and prevent the unnecessary warning, users will no longer have to go searching online to understand the warning and determine if it's a problem.

@cgcgcgcgcg you're not really addressing this excellent point. Don't you think it's annoying to hit every arch user on earth with this warning when only a tiny fraction actually need the firmware? Why not warn that every other irrelevant piece of firmware on earth has also not been installed, if this irrelevant warning appears? What makes it different? Maybe it is impossible to detect if this hardware is actually present until this firmware is installed?

Imagine if gcc spat out some totally irrelevant warning every time you compiled a program. Wouldn't you want that to be fixed? It's just annoying...

You answered yourself (some of us did too above).
Feel free to ask Kernel developers for more information.
Here are some useful links:
https://www.kernel.org/category/contact-us.html
https://kernelnewbies.org/

@jeffmikels

This comment has been minimized.

Copy link

@jeffmikels jeffmikels commented Feb 27, 2021

There should at least be an option in mkinitcpio to ignore specific firmware warnings... That way, the first time a user sees the warning, they can search the Arch Wiki and then once they know they don't need that firmware, they can change mkinitcpio.conf to suppress those specific warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment