netboot: kernel doesn't support nbd

Description

In recent master builds, the support for NBD devices has gone. This makes all netboot ops fail at initramfs step:

________________________________________________________________________________ ___ ________ _ __ __ __ __ / | / ____/ / / | / /__ / /_/ /_ ____ ____ / /_ / /| |/ / __/ / ______ / |/ / _ \/ __/ __ \/ __ \/ __ \/ __/ / ___ / /_/ / /___ /_____/ / /| / __/ /_/ /_/ / /_/ / /_/ / /_ /_/ |_\____/_____/ /_/ |_/\___/\__/_.___/\____/\____/\__/ ________________________________________________________________________________ /sbin/init[1]: starting initrd script /sbin/init[1]: mounting FS: proc /proc /sbin/init[1]: mounting FS: sysfs /sys /sbin/init[1]: mounting FS: devtmpfs /dev /sbin/init[1]: /dev (devtmpfs) already mounted /sbin/init[1]: mounting FS: devpts /dev/pts /sbin/init[1]: mounting FS: tmpfs /dev/shm /sbin/init[1]: mounting FS: tmpfs /tmp /sbin/init[1]: mounting FS: tmpfs /run /sbin/init[1]: NBD parameters: device /dev/nbd0, server 10.0.0.16:10809 /sbin/init[1]: mounting FS: smackfs /sys/fs/smackfs /sbin/init[1]: Starting NBD client nbd-client: can't open '/dev/nbd0': No such file or directory /sbin/init[1]: NBD client failed /sbin/init[1]: Retrying (5 trie(s) left)... [...] ... and reboot after 5 retries

In current master kernel on m3ulcb, CONFIG_BLK_DEV_NBD is not set. This may be related to layer reorg due to AGL profiles (https://lf-automotivelinux.atlassian.net/browse/SPEC-145#icft=SPEC-145)

Environment

None

Activity

Walt Miner 
July 2, 2018 at 12:02 AM

Close for FF RC1

Stephane Desneux 
June 5, 2018 at 1:44 PM

All upstream updates (Yocto project, kernel) will be done by Bruce.
Also cherry-picked the workaround to eel: https://gerrit.automotivelinux.org/gerrit/14187

Stephane Desneux 
June 5, 2018 at 1:25 PM

As mentioned by , the script should also be updated in the kernel: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/scripts/kconfig/merge_config.sh?h=v4.14.48

I asked Bruce Ashfield if he'd take care of that or not.

Stephane Desneux 
June 5, 2018 at 12:59 PM

patch sent upstream to Bruce Ashfield <bruce.ashfield@windriver.com> . Should be merged in the coming days in http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-tools/ (master)

Stephane Desneux 
June 5, 2018 at 10:06 AM

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Components

Affects versions

Priority

Created May 29, 2018 at 11:15 AM
Updated July 2, 2018 at 12:02 AM
Resolved June 5, 2018 at 1:44 PM

Flag notifications