Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
r8169 firmware load failure
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
Jaglover
Watchman
Watchman


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

PostPosted: Thu Jun 09, 2016 12:46 am    Post subject: r8169 firmware load failure Reply with quote

Can someone tell me what's wrong here? The firmware is where it should be.
Code:
[   10.681670] r8169 0000:02:00.0 eth0: Invalid action 0x50595443
[   10.681685] r8169 0000:02:00.0 eth0: unable to load firmware patch rtl_nic/rtl8168h-2.fw (-22)

_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1725

PostPosted: Thu Jun 09, 2016 5:46 am    Post subject: Reply with quote

did you build the driver as built in or as a module? (If you built the driver in, you also need to build the firmware into the kernel too.)
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Thu Jun 09, 2016 10:47 am    Post subject: Reply with quote

It is built as module.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Thu Jun 09, 2016 5:37 pm    Post subject: Reply with quote

Jaglover,

Do you have /lib/firmware/rtl_nic/rtl8168h-2.fw ?
_________________
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
Jaglover
Watchman
Watchman


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

PostPosted: Thu Jun 09, 2016 10:05 pm    Post subject: Reply with quote

Neddy,

I certainly do, the error (-22) is not the same as not found (-2). I suspect the error in dmesg has something to do with it.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7198

PostPosted: Fri Jun 10, 2016 9:39 am    Post subject: Reply with quote

you might also just disable the firmware, my previous m/b nic was using a r8169 too but the card was running fine without any firmware.
i know many users report trouble with r8169 cards, but it seems not all cards are totally buggy.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


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

PostPosted: Fri Jun 10, 2016 9:49 am    Post subject: Reply with quote

Thanks for replies, I've switched to out of kernel r8168 driver as workaround.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
pierre.labastie
n00b
n00b


Joined: 29 Sep 2019
Posts: 1

PostPosted: Sun Sep 29, 2019 4:13 pm    Post subject: Reply with quote

I know this thread is somewhat old, but I found it because I had the exact same error:
Code:
Sep 28 21:46:46 turboli kernel: [    9.625227] r8169 0000:03:00.0: Invalid action 0x50595443
Sep 28 21:46:46 turboli kernel: [    9.625248] r8169 0000:03:00.0: Unable to load firmware rtl_nic/rtl8168g-2.fw (-22)

and I think I've understood the reason why this message is displayed: When loading a firmware blob, the kernel performs some checks to verify that the loaded file is indeed a firmware blob. But it was not in my case: what I have done is going to https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtl_nic, and then select "Save link as" by right clicking on the filename I needed. Problem is that doing that, you save an html file, not a firmware blob! What you need to do is click on the filename (this displays an hexdump of the file), then click on "(plain)' near the hash of the blob...
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