Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[solved] Missing firmware for network adapter

Need help with peripherals or devices?
Post Reply
Message
Author
wvxvw
Posts: 29
Joined: 2012-03-24 22:12

[solved] Missing firmware for network adapter

#1 Post by wvxvw »

Hi, I believe that I understood this message correctly:
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169
I've tried to install firmware-linux package, but the warning is still there (right after install). I'm not familiar with the problem or even with its nature, so, please be patient and explain in more details if you answer :)

I've found this problem by looking the messages log, where there was the line:
r8169 0000:07:00.0: eth0: unable to load firmware patch rtl_nic/rtl8168e-1.fw (-2)
Then I read in another place that the firmware-linux package is meant to contain the said patch, but it looks like it's not there. Where is it?
Last edited by wvxvw on 2012-08-06 09:39, edited 1 time in total.

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: Missing firmware for network adapter

#2 Post by 4D696B65 »

You will need firmware-realtek from backports or upgrade to wheezy.
http://packages.debian.org/squeeze-back ... re-realtek

wvxvw
Posts: 29
Joined: 2012-03-24 22:12

Re: Missing firmware for network adapter

#3 Post by wvxvw »

Thanks, this fixes it!

rbeldua
Posts: 1
Joined: 2013-01-16 17:25

Re: Missing firmware for network adapter

#4 Post by rbeldua »

wvxvw wrote:Thanks, this fixes it!

Hi..am new to linux, could you post pls how to fix this error. thanks in advance :wink:

darmach
Posts: 3
Joined: 2014-07-28 11:15

Re: [solved] Missing firmware for network adapter

#5 Post by darmach »

Hello,
same for me. I get :

Code: Select all

[   18.245462] r8169 0000:03:00.0 eth0: unable to load firmware patch rtl_nic/rtl8168g-2.fw (-2)
On jessie.

How to solve that one on jessie?

User avatar
stevepusser
Posts: 12932
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: [solved] Missing firmware for network adapter

#6 Post by stevepusser »

By doing the same thing--enable nonfree and installing firmware-realtek, or directly downloading and installing the deb package. https://packages.debian.org/jessie/firmware-realtek
MX Linux packager and developer

re00k
Posts: 3
Joined: 2024-04-19 16:03
Has thanked: 2 times

Re: [solved] Missing firmware for network adapter

#7 Post by re00k »

Hi,
It's years later and i got bitten right now by the same scenario:
In a new Debian stable (Bookworm) installation i had updated to the latest and fixed Kernel 6.1.85-1.
Afterwards, i tried suspend and resume, and the network didn't come up again.
Same after a reboot.
In the syslogs i found
r8169: ... firmware ... rtl8168g-2.fw failed to load
And right you were, the package firmware-realtek was missing.
Got it elsewhere from the repository and transferred by USBstick,
copied to /var/cache/apt/archives and aptitude got it directly on the next try.
On the next reboot, i still read in the logs
... r8169_apply_firmware failed: -110
... PHY r8169-0-700:00: phy_poll_reset failed: -110
On the next reboot, i tried a live Distro from USB stick, which failed to boot, also citing error -110 about the stick.
On the third reboot i was prepared to go back to the Kernel 6.1.76-1 from before, via USBstick.
But now, both firmware load and PHY reset worked without a hitch and the net came up.
The ONE thing i had changed was to install firmware-realtek,
Possibly saved the day with your information, you did, sir!

Aki
Global Moderator
Global Moderator
Posts: 3082
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 417 times

Re: [solved] Missing firmware for network adapter

#8 Post by Aki »

re00k wrote: 2024-04-19 17:32 In the syslogs i found

Code: Select all

r8169: ... firmware ... rtl8168g-2.fw failed to load
In a new Debian stable (Bookworm) installation
[..]
And right you were, the package firmware-realtek was missing.
Got it elsewhere from the repository and transferred by USBstick,
copied to /var/cache/apt/archives and aptitude got it directly on the next try.
This is a rather unconventional way of installing packages. This is not the way to do it. You need to download it from the Debian repositories and then install it; a possible shortcut could be:

Code: Select all

wget http://ftp.us.debian.org/debian/pool/non-free-firmware/f/firmware-nonfree/firmware-realtek_20230210-5_all.deb
sudo dpkg -i firmware-realtek_20230210-5_all.deb
re00k wrote: 2024-04-19 17:32

Code: Select all

r8169: ... firmware ... rtl8168g-2.fw failed to load
On the next reboot, i still read in the logs

Code: Select all

... r8169_apply_firmware failed: -110
... PHY r8169-0-700:00: phy_poll_reset failed: -110
Is it possible that you have installed the wrong firmware?
re00k wrote: 2024-04-19 17:32 On the next reboot, i tried a live Distro from USB stick, which failed to boot, also citing error -110 about the stick.
What Live Distribution?
re00k wrote: 2024-04-19 17:32 On the third reboot i was prepared to go back to the Kernel 6.1.76-1 from before, via USBstick.
But now, both firmware load and PHY reset worked without a hitch and the net came up.
The ONE thing i had changed was to install firmware-realtek,
Possibly saved the day with your information, you did, sir!
Yes, it is possible that you have the wrong firmware installed. Open a new topic if you think you have a kernel problem.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

re00k
Posts: 3
Joined: 2024-04-19 16:03
Has thanked: 2 times

Re: [solved] Missing firmware for network adapter

#9 Post by re00k »

Aki wrote: 2024-04-20 07:22 This is a rather unconventional way of installing packages. This is not the way to do it. You need to download it from the Debian repositories and then install it; a possible shortcut could be:
Actually, i did.
My other machine doesn't have realtek LAN.
Therefore i got the package from the bookworm repository file
http://ftp.es.debian.org/debian/pool/no ... -5_all.deb

and transferred that to the disconnected machine into /var/cache/apt/archives,
so that aptitude had it available. Installed then without a hitch.
Aki wrote: 2024-04-20 07:22 Is it possible that you have installed the wrong firmware?
Well, the log specifically complained about
r8169: ... firmware ... rtl8168g-2.fw failed to load
and this is listed in the mentioned firmware-realtek's information page as pertaining to RTL8168G.
This seemed like a close relative and maybe a solution, also, this package up to now was not installed.
Aki wrote: 2024-04-20 07:22
re00k wrote: 2024-04-19 17:32 On the next reboot, i tried a live Distro from USB stick, which failed to boot, also citing error -110 about the stick.
What Live Distribution?
SparkyLinux stable AMD64, a Debian stable Bookworm modification.
https://sourceforge.net/projects/sparky ... o/download
the one i used to install the afflicted machine.
Sparky is based on Debian and uses Debian's repo's preferentially, adding their own repo's.
Sadly, USBsticks i bought in the last 2 years appear to suck.
regards, rec00k
Last edited by re00k on 2024-04-21 09:14, edited 2 times in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6593
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 502 times

Re: [solved] Missing firmware for network adapter

#10 Post by sunrat »

Sparky is a Debian derivative. Derivative topics are handled in Off-topic subforum.
You should post issues in Sparky forums - https://forum.sparkylinux.org/

Topic moved.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

re00k
Posts: 3
Joined: 2024-04-19 16:03
Has thanked: 2 times

Re: [solved] Missing firmware for network adapter

#11 Post by re00k »

Hi,
in principle you're right.
I was contributing to an existing thread, though, what i hoped would be an additional case description.
After my initial post, i was answering questions by @Aki
Thus not asking, but telling.
Best regards.

User avatar
sunrat
Administrator
Administrator
Posts: 6593
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 502 times

Re: [solved] Missing firmware for network adapter

#12 Post by sunrat »

re00k wrote: 2024-04-20 14:23 Hi,
in principle you're right.
I was contributing to an existing thread, though, what i hoped would be an additional case description.
After my initial post, i was answering questions by @Aki
Thus not asking, but telling.
Best regards.
Oops, my bad. Moved back to "Hardware".
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply