LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-30-2023, 10:30 AM   #1
walecha
Member
 
Registered: Jan 2010
Location: Malang, +62
Distribution: slackware
Posts: 177

Rep: Reputation: 43
[current] mkinitrd false error in copying firmware


I'm using current with timestamp Wed Mar 29 20:56:21 UTC 2023

The problem with mkinitrd was if there are multiple firmware binaries from one module, say qla2xxx, then mkinitrd will throw error on copying with preserving permission of initrd-tree/lib/firmware directory (deleted nullified stderr):
Code:
cp: preserving permissions for ‘/boot/initrd-tree/lib/firmware’: No such file or directory
WARNING:  Could not find firmware "/lib/firmware/ql2500_fw.bin"
OK: /lib/firmware/ql2400_fw.bin added.
OK: /lib/firmware/ql2322_fw.bin added.
OK: /lib/firmware/ql2300_fw.bin added.
OK: /lib/firmware/ql2200_fw.bin added.
OK: /lib/firmware/ql2100_fw.bin added.
The firmware files itself were copied correctly, all of them.

Adding mkdir initrd-tree/lib/firmware before copying fix the issue.
 
Old 03-31-2023, 04:39 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,478

Rep: Reputation: 2357Reputation: 2357Reputation: 2357Reputation: 2357Reputation: 2357Reputation: 2357Reputation: 2357Reputation: 2357Reputation: 2357Reputation: 2357Reputation: 2357
That sounds like an error in the mkinitrd script or process. Report it?
 
Old 03-31-2023, 06:45 AM   #3
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,617

Rep: Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489Reputation: 3489
Quote:
Originally Posted by business_kid View Post
That sounds like an error in the mkinitrd script or process. Report it?
It's already a well know issue of mkinitrd.

The novelty element is that the OP found a fix for this issue with that "mkdir initrd-tree/lib/firmware" .

@walecha

Good catch! Indeed, that fixes the warning. Let's hope this will be added to -current.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Current64: mkinitrd-1.4.11-x86_64_22 - sbin/mkinitrd.orig burdi01 Slackware 5 04-17-2021 05:08 AM
[SOLVED] mkinitrd - Reports this firmware missing Gordie Slackware 4 01-21-2021 08:17 PM
[Slackware64 14.2] Loading error of ath10k firmware with latest kernel-firmware and latest kernel-huge pensador_13 Slackware 3 06-16-2018 12:31 PM
sudo mkinitrd -o /boot/initrd.img-2.6.32.9 2.6.32.9 sudo: mkinitrd: command not foun vishwas181 Linux - Newbie 1 02-27-2010 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration