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

Issue 662313 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Factory install shim reboot after select S(Shell) action on gru

Project Member Reported by chuntsen@chromium.org, Nov 4 2016

Issue description

Factory install shim reboot after select S(Shell) action on gru.

Install shim try to bring up network before open shell, and call bringup_network().
However, bringup_network() use "find" which Gru do not contain, and reboot after error.
 
Components: Factory
Labels: OS-Chrome
Slightly different.

find is now installed by sys-apps/findutils. Unfortunately factory shims didn't list that in package dependency.

So the bringup_network was actually not installing any modules - at least not for factory shims (I think it works on netboot images).

In the meantime there's a bug in Gru images. The kernel/drivers/net/wireless-*/mac80211_hwsim may cause reboot when we do modprobe.

As a result, what we should do is
 (1) fix find to make it always available
 (2) change the modprobe stuff so it won't touch modules not needed.

Project Member

Comment 2 by bugdroid1@chromium.org, Nov 7 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/factory_installer/+/9d9081718d89a7c257094f88406a2056718e55e3

commit 9d9081718d89a7c257094f88406a2056718e55e3
Author: chuntsen <chuntsen@google.com>
Date: Fri Nov 04 06:47:01 2016

Factory install shim: Fix the bug when trying to bring up network

Not every kernel modules can be loaded (mobprobe) successfully in
factory shim environment. We want to load only USB ethernet modules
for network bringup.

BUG= chromium:662313 
TEST=build install shim and open shell

Change-Id: I38227a65f8dab3f9456308710fcd56c7be997fb2
Reviewed-on: https://chromium-review.googlesource.com/407717
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: Chun-Tsen Kuo <chuntsen@chromium.org>
Commit-Queue: Chun-Tsen Kuo <chuntsen@chromium.org>

[modify] https://crrev.com/9d9081718d89a7c257094f88406a2056718e55e3/ping_shopfloor.sh

Status: Fixed (was: Started)
Project Member

Comment 4 by bugdroid1@chromium.org, Nov 7 2016

Labels: merge-merged-factory-gru-8652.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/factory_installer/+/8d598885e265b5beba23dfcfcd0af8ac3d1e73cf

commit 8d598885e265b5beba23dfcfcd0af8ac3d1e73cf
Author: chuntsen <chuntsen@google.com>
Date: Fri Nov 04 06:47:01 2016

Factory install shim: Fix the bug when trying to bring up network

Not every kernel modules can be loaded (mobprobe) successfully in
factory shim environment. We want to load only USB ethernet modules
for network bringup.

BUG= chromium:662313 
TEST=build install shim and open shell

Reviewed-on: https://chromium-review.googlesource.com/407717
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: Chun-Tsen Kuo <chuntsen@chromium.org>
Commit-Queue: Chun-Tsen Kuo <chuntsen@chromium.org>

(cherry picked from commit 9d9081718d89a7c257094f88406a2056718e55e3)

Change-Id: Idd3d2e6e9c0dec6fffc5738a68edcf151aff55ad
Reviewed-on: https://chromium-review.googlesource.com/408039
Reviewed-by: Chun-Tsen Kuo <chuntsen@chromium.org>
Commit-Queue: Chun-Tsen Kuo <chuntsen@chromium.org>
Tested-by: Chun-Tsen Kuo <chuntsen@chromium.org>

[modify] https://crrev.com/8d598885e265b5beba23dfcfcd0af8ac3d1e73cf/ping_shopfloor.sh

Comment 5 by dchan@google.com, Jan 21 2017

Labels: VerifyIn-57

Comment 6 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 7 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

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

Labels: VerifyIn-60

Comment 9 by dchan@chromium.org, Aug 1 2017

Labels: VerifyIn-61

Comment 10 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)

Sign in to add a comment