View previous topic :: View next topic |
Author |
Message |
Jaglover Watchman


Joined: 29 May 2005 Posts: 7328 Location: Saint Amant, Acadiana
|
Posted: Thu Jun 09, 2016 12:46 am Post subject: r8169 firmware load failure |
|
|
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 |
|
 |
ct85711 Veteran

Joined: 27 Sep 2005 Posts: 1725
|
Posted: Thu Jun 09, 2016 5:46 am Post subject: |
|
|
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 |
|
 |
Jaglover Watchman


Joined: 29 May 2005 Posts: 7328 Location: Saint Amant, Acadiana
|
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 44152 Location: 56N 3W
|
Posted: Thu Jun 09, 2016 5:37 pm Post subject: |
|
|
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 |
|
 |
Jaglover Watchman


Joined: 29 May 2005 Posts: 7328 Location: Saint Amant, Acadiana
|
Posted: Thu Jun 09, 2016 10:05 pm Post subject: |
|
|
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 |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7198
|
Posted: Fri Jun 10, 2016 9:39 am Post subject: |
|
|
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 |
|
 |
Jaglover Watchman


Joined: 29 May 2005 Posts: 7328 Location: Saint Amant, Acadiana
|
|
Back to top |
|
 |
pierre.labastie n00b

Joined: 29 Sep 2019 Posts: 1
|
Posted: Sun Sep 29, 2019 4:13 pm Post subject: |
|
|
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 |
|
 |
|