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

Issue 672751 link

Starred by 2 users

Issue metadata

Status: Verified
Owner: ----
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Netboot Install Shim cannot connect to the network

Project Member Reported by youcheng@google.com, Dec 9 2016

Issue description

OS Version: ToT

Steps to reproduce the problem:
1. Fash netboot firmware
2. Put netboot kernel in TFTP server
3. Boot into netboot install shim

What is the expected behavior?
Can perform ethernet operations.

What went wrong?
Fail to load USB ethernet module, thus no networking features.

In https://chromium-review.googlesource.com/#/c/414668/, a proper modprobe was put into initramfs.
However, we still can't use modprobe to load any module.
Modprobe just exits without error messages, even with verbose options.
 
Description: Show this description
Cc: hungte@chromium.org chuntsen@chromium.org youcheng@chromium.org
Components: Factory
Labels: -Via-Wizard-Other
Can you add lsm.module_locking=0 into kernel command line?
Are you able to see the console (and the menu)?
What do you see on dmesg when it tries to bring up network?

Try to press space in menu startup so it won't enter netboot automatically so you can debug...
P.S: how do you know modprobe exists without error messages? Does lsmod work?
Project Member

Comment 5 by bugdroid1@chromium.org, Dec 27 2016

Labels: merge-merged-factory-gru-9017.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/initramfs/+/9ca671261791cc8d4099175f4acee20dafd1a4f1

commit 9ca671261791cc8d4099175f4acee20dafd1a4f1
Author: Hung-Te Lin <hungte@chromium.org>
Date: Tue Dec 27 02:43:26 2016

factory_netboot: Use kmod for modprobe with all dependency files.

Current modprobe is based on kmod and needs dependency files in
/lib/modules/*/modules.*. To support loading USB ethernet dongles, we
should fix the module loading path by providing required files.

BUG= chromium:672751 ,chrome-os-partner:61315 
TEST=Manually verified on Gru.

Change-Id: I13852a1a05f567194c50e3c4b868b4cc27c06233
Reviewed-on: https://chromium-review.googlesource.com/422799
Reviewed-by: Youcheng Syu <youcheng@google.com>
Commit-Queue: Youcheng Syu <youcheng@google.com>
Tested-by: Youcheng Syu <youcheng@google.com>

[modify] https://crrev.com/9ca671261791cc8d4099175f4acee20dafd1a4f1/factory_netboot/Makefile
[modify] https://crrev.com/9ca671261791cc8d4099175f4acee20dafd1a4f1/factory_netboot/kotree.sh

Status: Verified (was: Unconfirmed)
Project Member

Comment 7 by bugdroid1@chromium.org, Dec 27 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/initramfs/+/af9eb2d5bff8f25f7dc3234b1086fb5d9952ec44

commit af9eb2d5bff8f25f7dc3234b1086fb5d9952ec44
Author: Hung-Te Lin <hungte@chromium.org>
Date: Tue Dec 27 02:43:26 2016

factory_netboot: Use kmod for modprobe with all dependency files.

Current modprobe is based on kmod and needs dependency files in
/lib/modules/*/modules.*. To support loading USB ethernet dongles, we
should fix the module loading path by providing required files.

BUG= chromium:672751 ,chrome-os-partner:61315
TEST=Manually verified on Gru.

Change-Id: I13852a1a05f567194c50e3c4b868b4cc27c06233
Reviewed-on: https://chromium-review.googlesource.com/424275
Commit-Ready: Hung-Te Lin <hungte@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Youcheng Syu <youcheng@google.com>

[modify] https://crrev.com/af9eb2d5bff8f25f7dc3234b1086fb5d9952ec44/factory_netboot/Makefile
[modify] https://crrev.com/af9eb2d5bff8f25f7dc3234b1086fb5d9952ec44/factory_netboot/kotree.sh

Project Member

Comment 8 by bugdroid1@chromium.org, Dec 28 2016

Labels: merge-merged-factory-reef-8811.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/initramfs/+/e15e0dec47266f668594d59b280050b6dd77c121

commit e15e0dec47266f668594d59b280050b6dd77c121
Author: Hung-Te Lin <hungte@chromium.org>
Date: Tue Dec 27 02:43:26 2016

factory_netboot: Use kmod for modprobe with all dependency files.

Current modprobe is based on kmod and needs dependency files in
/lib/modules/*/modules.*. To support loading USB ethernet dongles, we
should fix the module loading path by providing required files.

BUG= chromium:672751 ,chrome-os-partner:61315
TEST=Manually verified on Gru.

Change-Id: I13852a1a05f567194c50e3c4b868b4cc27c06233
Reviewed-on: https://chromium-review.googlesource.com/424275
Commit-Ready: Hung-Te Lin <hungte@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Youcheng Syu <youcheng@google.com>
(cherry picked from commit af9eb2d5bff8f25f7dc3234b1086fb5d9952ec44)
Reviewed-on: https://chromium-review.googlesource.com/422802
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>

[modify] https://crrev.com/e15e0dec47266f668594d59b280050b6dd77c121/factory_netboot/Makefile
[modify] https://crrev.com/e15e0dec47266f668594d59b280050b6dd77c121/factory_netboot/kotree.sh

Sign in to add a comment