Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get Firmware to work
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
jazzbassoon
n00b
n00b


Joined: 16 Aug 2014
Posts: 19

PostPosted: Sat Jan 25, 2020 6:28 am    Post subject: Can't get Firmware to work Reply with quote

Hello,
I'm fairly new to gentoo, and think I made a rookie mistake of not reading the depclean list very carefully. I think I accidentally deleted the linux-firmware package. As a result, my internet not so mysteriously stopped working, as did USB drives. So I tried copying over the lib/firmware directory from an arch live cd, but that didn't solve it. I downloaded the tar file for linux-firmware and put it in my distfiles and emerged it, but it gave all sorts of file collision messages. So I unmerged it and then remerged it. But when I try and modprobe iwlwifi it still tells me no suitable firmware is found, even after restarts and rebuilding the kernel. Any ideas on what to try next?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jan 25, 2020 1:12 pm    Post subject: Reply with quote

jazzbassoon,

When portage installs something it keeps a list of all the files it installed in its database.
When you deleted /lib/firmware, portage didn't know, so the repeated emerge caused your file collision errors.

Please put your dmesg output onto a pastebin site. If you don't have networking you will need to save it to your filesystem, then post it after rebooting with working internet, or save it to a USB drive to move it around. I need to see the firmware loading fail and where that happens in relationship to root being mounted and later, remounted.

The output of
Code:
lspci -nnk
would be good too.

linux-firmware is not used used for USB drives, at least, I've not met any yet, so that's a separate problem.
_________________
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
jazzbassoon
n00b
n00b


Joined: 16 Aug 2014
Posts: 19

PostPosted: Sat Jan 25, 2020 6:25 pm    Post subject: Reply with quote

Well I figured it out. Turns out it was kernel config related. I booted to my old kernel again after having emerged firmware and it was all working there. Turns out in the kernel upgrade I made the wifi not a module, and missed an XHCI USB option. Now I have wifi and USB! Touchpad mouse doesn't work, but I'm sure that's also kernel config related.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6351

PostPosted: Sat Jan 25, 2020 7:39 pm    Post subject: Reply with quote

If you make the wifi built in, you usually need to make its firmware files built in too. The latter is good practice in any case because it'd provide some safety against accidentally removing files your network needs to work.
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