New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 682445 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Missing realtek firmware blob on panther

Project Member Reported by gabeblack@chromium.org, Jan 18 2017

Issue description

When booting on panther, I see the following messages in the kernel logs:

[   62.856925] r8169 0000:01:00.0 eth0: unable to load firmware patch rtl_nic/rtl8168g-1.fw (-2)
[   62.857312] udevd[90]: seq 998 '/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/wlan0' is taking a long time
[   62.857364] udevd[90]: seq 989 '/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/net/eth0' is taking a long time
[   62.860283] r8169 0000:01:00.0 eth0: link down
[   62.860335] r8169 0000:01:00.0 eth0: link down

I checked, and the rtl8168g-1.fw firmware blob is not installed on panther. When I make it available, the system comes up running the GVC app without getting stuck waiting for the network, and I can ssh into it much quicker. There are also no longer errors about the firmware in the kernel log.

I'm not sure if this blob should always be present on panther, or if my particular unit is special in some way. I'll put up some reviews, and we can figure that out there.
 
Cc: vapier@chromium.org
Cc: moch@chromium.org

Comment 3 by vapier@chromium.org, Jan 19 2017

Cc: bhthompson@chromium.org snanda@chromium.org
Components: OS>Kernel OS>Systems>Network
adding a few more people from peng/kernel team to comment

Comment 4 by snanda@chromium.org, Jan 19 2017

Cc: cernekee@chromium.org
Could this also be causing https://buganizer.corp.google.com/issues/34394866?
It could be. When the network didn't come up, the system seemed to give up after a while and go back to normal ChromeOS. I could then restart the app manually, and it would run fine. I don't have to do that once I made sure the firmware blob was available.

One thing that seems different, though, is that I pretty clearly saw mention of the firmware blob it wanted in the logs as the system came up, and I didn't see mention of that anywhere in the other bug. The network did eventually come up, but there was a delay of 45 seconds to a minute.
Owner: katierh@chromium.org
Status: Available (was: Started)
https://chromium-review.googlesource.com/#/c/430272/
https://chromium-review.googlesource.com/#/c/430231/
Cc: yueherngl@chromium.org
Owner: moch@chromium.org
Moch or YH - would one of you be able to drive the landing of this FW?

Comment 8 by moch@chromium.org, Jan 20 2017

Gabe, I see both CLs in c#6 abandoned. Are new/modified CLs in the works?
No new CLs are in the works.

Comment 10 by moch@chromium.org, Jan 24 2017

Any reason the previous CLs were abandoned? Can we just reuse those CLs - we can add the necessary LICENSE file.
I found out that I won't actually be able to join the team, and so stopped the work I was doing. Feel free to reuse the CLs.
Since I'll be moonlighting with the team for a little while, I'll work on getting this checked in. We do still need to figure out how far spread it should be, ie panther vs. guado vs. guado-cfm.
I wonder whether the machine I have is actually a panther, or if it's a guado who's firmware just claims that it's a panther. If it actually is a guado, it could be that things work without this firmware blob (off hand, I think it might), and this is actually just a firmware bug where the firmware reports the wrong type of device.

Comment 14 by moch@chromium.org, Jan 31 2017

HWID?
hardware_id: PANTHER G5F-34A-A6T
fwid: Google_Panther.4920.24.26
The guado image I'm using for other purposes seems to have a similar message, except that it wants rtl_nic/rtl8168g-2.fw (-2 instead of -1). It doesn't seem to get stuck like the panther image, but this is probably still worth fixing there too.

Comment 17 by moch@chromium.org, Jan 31 2017

Owner: gabeblack@chromium.org
Definitely looks like a Panther device.

Gabe, reassigning to you. lmk if I can help in anyway.
Well, we do still need to decide conclusively which machines we want to install that firmware on. Could you please take a look at CLs listed above and weigh in? I think at this point I'm fairly confident that that change is ok and that we want that blob on all panthers, but confirmation would be nice and I do still need a +2.

I'll put together some equivalent CLs for guado and add you as a reviewer.

Comment 19 by moch@chromium.org, Jan 31 2017

The blob should be included on all panthers (there was only a single realtek ethernet controller used across all SKUs)
would be nice to understand how this was working otherwise, but if we don't think including/using the firmware is a problem, maybe it's not worth figuring out considering the age of the device
when did this issue start showing up ?  in  issue 682578 , we've made some changes related to the udev upgrade that caused large delays on devices like lumpy where firmware was unavailable.  could you try the latest canary image and see if that works for panther too ?
It is believed that these "stuck for 1 minute" reports are all related to the udev change, and mka@ is on top of it.

Separately:

> if we don't think including/using the firmware is a problem, maybe it's not worth figuring out considering the age of the device

We have a question pending with Realtek about this.  Some zako devices are having intermittent, irreproducible wired connectivity issues (b/34394866).  We're wondering if there are any known errata that would be fixed by bundling the firmware blob.
Project Member

Comment 23 by bugdroid1@chromium.org, Mar 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/eb3bbd7667a0b3feaa11a35708636e8810c12af4

commit eb3bbd7667a0b3feaa11a35708636e8810c12af4
Author: Gabe Black <gabeblack@chromium.org>
Date: Wed Mar 01 09:26:47 2017

panther: Turn on the rtl_nic/rtl8168g-1.fw firmware blob.

Signed-off-by: gabeblack@google.com
BUG= chromium:682445 
TEST=Used cros deploy to update the linux-firmware package on panther.
Rebooted it and saw errors related to the firmware blob were gone, and the
network came up without a significant delay.

Change-Id: I2510f272e61097ec6aecc497bbdd7ffb8f2a759a
Reviewed-on: https://chromium-review.googlesource.com/430272
Commit-Ready: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Reviewed-by: Abhishek Bhardwaj <abhishekbh@google.com>
Reviewed-by: Mohammed Habibulla <moch@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/eb3bbd7667a0b3feaa11a35708636e8810c12af4/overlay-panther/make.conf

Project Member

Comment 24 by bugdroid1@chromium.org, Mar 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/fe66eab2744f0a074f190f5f0089a2169494cda6

commit fe66eab2744f0a074f190f5f0089a2169494cda6
Author: Gabe Black <gabeblack@chromium.org>
Date: Wed Mar 01 13:04:05 2017

kernel: Enable installing the rtl_nic/rtl8168g-1.fw firmware blob.

This blob is installed if the linux_firmware_rtl8168g-1 USE flag is set.

BUG= chromium:682445 
TEST=Used the linux_firmware_rtl8168g-1 USE flag to enable the firmware blob
on panther, and verified that it was installed successfully and the kernel on
that device could load it.
Signed-off-by: gabeblack@google.com

Change-Id: I672268c200209d29c3cfc33cb0bca3dc59681a1a
Reviewed-on: https://chromium-review.googlesource.com/430231
Commit-Ready: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/fe66eab2744f0a074f190f5f0089a2169494cda6/sys-kernel/linux-firmware/linux-firmware-9999.ebuild
[add] https://crrev.com/fe66eab2744f0a074f190f5f0089a2169494cda6/licenses/LICENCE.rtl_nic

Status: Fixed (was: Available)
The panther part of this should be resolved now. Other bugs can be filed for other systems, specifically guado and zako.
Cc: dchan@chromium.org twreid@chromium.org

Comment 27 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 29 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment