Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge sys-kernel/linux-firmware error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
krypek
n00b
n00b


Joined: 09 Jan 2022
Posts: 13

PostPosted: Sun Jan 09, 2022 11:01 pm    Post subject: [SOLVED] emerge sys-kernel/linux-firmware error Reply with quote

Hi,[/code]
emerge --ask sys-kernel/linux-firmware throws an error.
I think it's essential become gentoo freezes at boot.
Here's the error:
Code:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "sys-kernel/linux-firmware" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/linux-firmware-99999999::gentoo ( some not important text..)
(some more not important stuff)


I have an valid internet connection.
And maybe you have other suggestions how to fix the freeze at gentoo boot?

Any ideas?


Last edited by krypek on Mon Jan 10, 2022 8:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21635

PostPosted: Sun Jan 09, 2022 11:10 pm    Post subject: Reply with quote

The system should not freeze at boot over missing firmware. It could stall for up to 60 seconds per missing firmware file in some cases, but should eventually finish. Depending on what firmware you need, you might experience degraded functionality due to missing firmware. Some wireless cards are bad about working poorly or not at all if their firmware is missing.

If there had been an important reason to mask this, we should consider the reason before unmasking it. However, since the reason is not important, it should be fine to unmask it without considering the reason.

If you still need help, please post the full output of emerge --pretend --verbose sys-kernel/linux-firmware ; emerge --info.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Jan 09, 2022 11:26 pm    Post subject: Reply with quote

I'd ask why is live version requested, there are unmasked firmware versions in portage.

Code:
* sys-kernel/linux-firmware
     Available versions:  20201218^bstd 20210208^bstd 20210315^bstd 20210518^bstd 20210629^bstd 20210716^bstd 20210818^bstd 20210919^bstd 20211027^bstd 20211216^bstd **99999999*l^bstd {initramfs +redistributable savedconfig unknown-license}
     Homepage:            https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git
     Description:         Linux firmware files


Regarding freeze. How do you know it is freezing, not booting without outputting to the screen?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21635

PostPosted: Sun Jan 09, 2022 11:50 pm    Post subject: Reply with quote

OP probably does not accept the license. This would cause Portage to offer every version, starting with the live version, and every version would be marked as masked. (See ACCEPT_LICENSE='-*' emerge --pretend --verbose --nodeps sys-kernel/linux-firmware.) However, as the mask reason was not important, we cannot be sure.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Mon Jan 10, 2022 12:57 am    Post subject: Reply with quote

Oh I see now. I want to do it, whatever the obstacles are and whatever conditions are not met. Laurel & Hardy running Gentoo.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
krypek
n00b
n00b


Joined: 09 Jan 2022
Posts: 13

PostPosted: Mon Jan 10, 2022 2:09 pm    Post subject: Reply with quote

emerge --info output: https://pastebin.com/xU8gh5bV

emerge --pretend --verbose sys-kernel/linux-firmware output: https://pastebin.com/q0cvMwQC

Tried unmasking the package, still not emerging. You can give me a guide on how to unmask it, becouse internet guides didn't work.

On boot, the os is 'freezing' becouse the screen just freezes and nothing new is drawing. Like a screenshot. Tried waiting, didn't work.

Tried
Quote:
ACCEPT_LICENSE='-*' emerge --pretend --verbose --nodeps sys-kernel/linux-firmware
it kinda worked, didn't throw an error, but didn't install either. It threw a very short output.
After that, normal
Quote:
emerge --ask sys-kernel/linux-firmware
still throws an error.

Ddin't find anything working on internet.
The main problem isn't sys-kernel/linux-firmware not installing, its gentoo freezing at boot.
One time it freezes at setting local time, another time at mounting disks, today it got suck on something else.
Its like this all the time, no keyboard inputs work:
https://imgur.com/a/Rw3zigG

Don't focus on what it got stuck on on the image above, because it
frequently changes.

Booting into recovery mode does the same.

I don't want to reinstall gentoo again.
Thanks for your time
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54244
Location: 56N 3W

PostPosted: Mon Jan 10, 2022 2:55 pm    Post subject: Reply with quote

krypek,

Code:
linux-fw-redistrutable no-source-code license(s))


You need to accept those licences. After you have read them.
If you find that they are not acceptable, sys-kernel/linux-firmware cannot be installed.

Code:
ACCEPT_LICENSE='-*'
turrn off all licences, so nothing can be installed.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
krypek
n00b
n00b


Joined: 09 Jan 2022
Posts: 13

PostPosted: Mon Jan 10, 2022 3:26 pm    Post subject: Reply with quote

Thank you!
changing portage make.conf to accept all licenses and

ACCEPT_LICENSE='*' ACCEPT_LICENSES='*' emerge --ask sys-kernel/linux-firmware
worked, gentoo is booting up!

Thread closed.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21635

PostPosted: Mon Jan 10, 2022 8:17 pm    Post subject: Reply with quote

krypek wrote:
emerge --pretend --verbose sys-kernel/linux-firmware output: https://pastebin.com/q0cvMwQC

Tried unmasking the package, still not emerging. You can give me a guide on how to unmask it, becouse internet guides didn't work.
When reporting a problem, please be more descriptive. For example, describe how you unmasked it. Tell which guides you followed. State whether the the error is exactly the same as before, or if you have a new problem that was exposed by the prior change.
krypek wrote:
On boot, the os is 'freezing' becouse the screen just freezes and nothing new is drawing.
When reporting this type of problem, describing the last content shown on the screen may yield better advice.
krypek wrote:
Tried
Quote:
ACCEPT_LICENSE='-*' emerge --pretend --verbose --nodeps sys-kernel/linux-firmware
it kinda worked, didn't throw an error, but didn't install either.
That was an aside to Jaglover, to elaborate on my theory. It is a --pretend operation, so it would not install anything even if there are no errors. Even so, it should have thrown the same errors, since it explicitly rejected all licenses.
krypek wrote:
It threw a very short output.
If I had meant that as a diagnostic request for the problem at hand, then your answer would not give me any actionable information here. I would have repeated my request, and we would go around again. Fortunately, in this case, that output was unnecessary.
krypek wrote:
After that, normal
Quote:
emerge --ask sys-kernel/linux-firmware
still throws an error.
You made no changes, so that is expected.
krypek wrote:
The main problem isn't sys-kernel/linux-firmware not installing, its gentoo freezing at boot.
Your opening post focused on the linux-firmware problem, and provided enough of a hint that we could attempt to address that. You seemed to believe fixing the linux-firmware problem would fix your boot issue, so focusing on linux-firmware first made sense.
krypek wrote:
One time it freezes at setting local time, another time at mounting disks, today it got suck on something else.
Its like this all the time, no keyboard inputs work:
https://imgur.com/a/Rw3zigG
That is a bit unusual. Please note that posting imgur links is often not a good way to get help, as imgur is unreliable. For me, your link shows:
Code:
 If you're seeing this message, that means JavaScript has been disabled on your browser, please enable JS to make Imgur work.
https://quantcast.mgr.consensu.org/
https://imgur.com/a/.concat(
https://imgur.com/choice/
https://imgur.com/
https://imgur.com/a/imgur.com
https://imgur.com/choice.js
https://imgur.com/a/text/javascript
https://imgur.com/a/2.0
https://connect.facebook.net/en_US/fbevents.js
https://imgur.com/a/Rw3zigG?reg
https://sb.scorecardresearch.com/cs/22489583/beacon.js
The error message about JavaScript is bogus. No actual images are present in the page. Consider using an image hosting service that actually shows images, or provide direct links to the image file on imgur.
krypek wrote:
I don't want to reinstall gentoo again.
Reinstalling is rarely the right solution on Gentoo. It is very hard to break a Gentoo system so completely that a reinstall is required.
krypek wrote:
changing portage make.conf to accept all licenses and
This is probably not what you want. Accepting all licenses, without reading them, may cause you problems later.
krypek wrote:
ACCEPT_LICENSE='*' ACCEPT_LICENSES='*' emerge --ask sys-kernel/linux-firmware
One of those is redundant, and if you set the proper value in make.conf, neither of those is needed on the command-line. Setting overrides on the command-line should only be done for brief experimentation. If a setting is important, persist it to the relevant configuration file, so that Portage applies it again in subsequent runs.
krypek wrote:
Thread closed.
If you are satisfied with the resolution, please edit the thread title to mark the thread as solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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