Netboot Install Shim cannot connect to the network |
|||||
Issue descriptionOS 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.
,
Dec 9 2016
,
Dec 9 2016
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...
,
Dec 9 2016
P.S: how do you know modprobe exists without error messages? Does lsmod work?
,
Dec 27 2016
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
,
Dec 27 2016
,
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
,
Dec 28 2016
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 |
|||||
Comment 1 by youcheng@chromium.org
, Dec 9 2016