Skip to contentSkip to conversation

update_udev_hwdb always cannot removed the build issues.

DISCUSSION shi 1 participant 2 messages Apr 30, 2020 – May 13, 2020

lore
Share & tools
lore

shi

author
#0 lore raw

Dear OpenBmc,
I meet this issues and stuck me for a long times. please support me if u have some clue.

1. update_udev_hwdb error popup

for me I just find the kernel configuration files which is .config, then has the problems.

Then I just recover the .config files in the tmp directory, but still has the same issues.

shilaimao@shilaimao-VirtualBox:~/bmc/romulus-bmc/openbmc/build$ bitbake obmc-phosphor-image

Loading cache: 100% |############################################################################| Time: 0:00:04

Loaded 3902 entries from dependency cache.

Parsing recipes: 100% |##########################################################################| Time: 0:00:02

Parsing of 2592 .bb files complete (2591 cached, 1 parsed). 3903 targets, 355 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION = "1.44.0"

BUILD_SYS = "x86_64-linux"

NATIVELSBSTRING = "ubuntu-18.04"

TARGET_SYS = "arm-openbmc-linux-gnueabi"

MACHINE = "romulus"

DISTRO = "openbmc-phosphor"

DISTRO_VERSION = "0.1.0"

TUNE_FEATURES = "arm thumb arm1176jzs"

TARGET_FPU = "soft"

meta

meta-oe

meta-networking

meta-perl

meta-python

meta-phosphor

meta-aspeed

meta-openpower

meta-romulus = "master:e9ef3f1331a85e990fc568b0e9038036a666d25e"

Initialising tasks: 100% |#######################################################################| Time: 0:00:07

Sstate summary: Wanted 38 Found 15 Missed 23 Current 1477 (39% match, 98% complete)

NOTE: Executing Tasks

NOTE: Setscene tasks completed

ERROR: obmc-phosphor-initramfs-1.0-r0 do_rootfs: The postinstall intercept hook 'update_udev_hwdb' failed, details in /home/shilaimao/bmc/romulus-bmc/openbmc/build/tmp/work/romulus-openbmc-linux-gnueabi/obmc-phosphor-initramfs/1.0-r0/temp/log.do_rootfs

ERROR: Logfile of failure stored in: /home/shilaimao/bmc/romulus-bmc/openbmc/build/tmp/work/romulus-openbmc-linux-gnueabi/obmc-phosphor-initramfs/1.0-r0/temp/log.do_rootfs.18419

ERROR: Task (/home/shilaimao/bmc/romulus-bmc/openbmc/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb:do_rootfs) failed with exit code '1'

NOTE: Tasks Summary: Attempted 2221 tasks of which 2218 didn't need to be rerun and 1 failed.

Summary: 1 task failed:

/home/shilaimao/bmc/romulus-bmc/openbmc/meta-phosphor/recipes-phosphor/images/obmc-phosphor-initramfs.bb:do_rootfs

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

2. Clean not work

obmc-phosphor-image :1.0-r0

obmc-phosphor-initfs :1.0-r1

obmc-phosphor-initramfs :1.0-r0

shilaimao@shilaimao-VirtualBox:~/bmc/romulus-bmc/openbmc$ bitbake -s | grep image

aspeed-image-initramfs :1.0-r0

aspeed-image-norootfs :1.0-r0

build-appliance-image :15.0.0-r0

core-image-base :1.0-r0

core-image-clutter :1.0-r0

core-image-full-cmdline :1.0-r0

core-image-kernel-dev :1.0-r0

core-image-minimal :1.0-r0

core-image-minimal-dev :1.0-r0

core-image-minimal-mtdutils :1.0-r0

core-image-sato :1.0-r0

core-image-sato-dev :1.0-r0

core-image-sato-ptest-fast :1.0-r0

core-image-sato-sdk :1.0-r0

core-image-sato-sdk-ptest :1.0-r0

core-image-testmaster :1.0-r0

imagemagick :7.0.9_13-r0

imagemagick-native :7.0.9_13-r0

libsdl-image :1.2.12-r0

libsdl2-image :2.0.5-r0

meta-networking-image :1.0-r0

meta-networking-image-base :1.0-r0

meta-oe-image :1.0-r0

meta-oe-image-base :1.0-r0

meta-oe-ptest-image :1.0-r0

meta-perl-image :1.0-r0

meta-perl-ptest-image :1.0-r0

meta-python-image :1.0-r0

meta-python-image-base :1.0-r0

meta-python-ptest-image :1.0-r0

obmc-phosphor-image :1.0-r0

ovmf-shell-image :1.0-r0

phosphor-image-signing :1.0-r1

bitbkae *image -c clean; that is clean all the image not work;

3. removed the build still not work

I just removed all the build info, only keep the download module still used. Then following the openbmc command https://github.com/openbmc/openbmc, redo it. Still has the same issues.

Why do_rootfs has this issue, would u please help me on this. if u have times, please help me on this!

thanks
steven

author
#1 lore raw

how to use obmc-phosphor-image-evb-ast2500.tar.gz on evb board

Dear openbmc,

now I use the openbmc public image to test on my evb board. the fitImag rootfs used aspeed-image-initramfs-evb-ast2500.cpio.xz.

but for obmc-phosphor-image-evb-ast2500-20200511083309.rootfs.tar.gz not used! I unzip the obmc-phosphor-image-evb-ast2500-20200511083309.rootfs.tar.gz and find many feature here. now I want to used this rootfs. but when I used it as the rootfs to replace aspeed-image-initramfs-evb-ast2500.cpio.xz. Then it can not boot up anymore!

So would u please tell me how to use the obmc-phosphor-image-evb-ast2500-20200511083309.rootfs.tar.gz. Or just give me some clue on this!

Thanks
Steven