Skip to contentSkip to conversation

Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #bitbake #dunfell #distro #yocto #qemu #linux #qemu #warning #toolchain

DISCUSSION Nikita Gupta 3 participants 16 messages Jul 17, 2022 – Aug 22, 2022

lore
Share & tools
lore
#0 lore raw

Hello All,
I was testing my core-image-minimal with test-suit and getting error like "need terminal to enter password and set-up tap interface" i am getting few error so i am not able to test my image . I have run following command in  order to test my image

*bitbake rpm busybox curl run-postinsts*
*bitbake package-index*
*bitbake core-image-minimal -c testimage -v

* I am getting following error after running last comand . I am also attaching log file here(see attached file )

ERROR: runqemu exited with code 1
ERROR: Output from runqemu:
runqemu - INFO - Continuing with the following parameters:
KERNEL: [/home/nikita/yoctoproject/poky/build/tmp/deploy/images/qemux86-64/bzImage--5.4.190+gitAUTOINC+6a12bea731_d9d6c6e0d0-r0-qemux86-64-20220501184705.bin]
MACHINE: [qemux86-64]
FSTYPE: [ext4]
ROOTFS: [/home/nikita/yoctoproject/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.ext4]
CONFFILE: [/home/nikita/yoctoproject/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.qemuboot.conf]

runqemu - INFO - Setting up tap interface under sudo
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
runqemu - ERROR - Setting up tap device failed:
Command '('sudo', '/home/nikita/yoctoproject/poky/scripts/runqemu-ifup', '1000', '1000', '/home/nikita/yoctoproject/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin')' returned non-zero exit status 1. Run runqemu-gen-tapdevs to manually create one.
runqemu - INFO - Cleaning up
[?7h
DEBUG: Sending SIGTERM to runqemu
Output from runqemu:

WARNING: Qemu ended unexpectedly, dump data from host is in /home/nikita/yoctoproject/poky/build/tmp/log/runtime-hostdump/202207171341_qemu
DEBUG: Sending SIGTERM to runqemu
DEBUG: Sending SIGTERM to runqemu
ERROR: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_testimage(d)
0003:
File: '/home/nikita/yoctoproject/poky/meta/classes/testimage.bbclass', lineno: 129, function: do_testimage
0125:    netstat -an
0126:}
0127:
0128:python do_testimage() {
*** 0129:    testimage_main(d)
0130:}
0131:
0132:addtask testimage
0133:do_testimage[nostamp] = "1"
File: '/home/nikita/yoctoproject/poky/meta/classes/testimage.bbclass', lineno: 374, function: testimage_main
0370:    orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception)
0371:    try:
0372:        # We need to check if runqemu ends unexpectedly
0373:        # or if the worker send us a SIGTERM
*** 0374:        tc.target.start(params=d.getVar("TEST_QEMUPARAMS"), runqemuparams=d.getVar("TEST_RUNQEMUPARAMS")) 0375:        import threading
0376:        try:
0377:            threading.Timer(int(d.getVar("TEST_OVERALL_TIMEOUT")), handle_test_timeout, (int(d.getVar("TEST_OVERALL_TIMEOUT")),)).start() 0378:        except ValueError:
File: '/home/nikita/yoctoproject/poky/meta/lib/oeqa/core/target/qemu.py', lineno: 67, function: start
0063:            if self.runner.server_ip:
0064:                self.server_ip = self.runner.server_ip
0065:        else:
0066:            self.stop()
*** 0067:            raise RuntimeError("FAILED to start qemu - check the task log and the boot log")
0068:
0069:    def stop(self):
0070:        self.runner.stop()
Exception: RuntimeError: FAILED to start qemu - check the task log and the boot log

DEBUG: Python function do_testimage finished

*If anyone can help then please do your help will be appreciated . Thanks in advance*

#1 lore raw

The key message is:

Command '('sudo',
'/home/nikita/yoctoproject/poky/scripts/runqemu-ifup', '1000', '1000', '/home/nikita/yoctoproject/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin')' returned non-zero exit status 1.
Run runqemu-gen-tapdevs to manually create one.

So you need to run the first command to create a single tap interface manually (and you need to know the root password). Or runqemu-gen-tapdevs will generate several.

Alex

Quoted 92 lines · Nikita Gupta

Hello All,
I was testing my core-image-minimal with test-suit and getting error like "need terminal to enter password and set-up tap interface" i am getting few error so i am not able to test my image . I have run following command in order to test my image

bitbake rpm busybox curl run-postinsts
bitbake package-index
bitbake core-image-minimal -c testimage -v

I am getting following error after running last comand . I am also attaching log file here(see attached file )

ERROR: runqemu exited with code 1
ERROR: Output from runqemu:
runqemu - INFO - Continuing with the following parameters:
KERNEL: [/home/nikita/yoctoproject/poky/build/tmp/deploy/images/qemux86-64/bzImage--5.4.190+gitAUTOINC+6a12bea731_d9d6c6e0d0-r0-qemux86-64-20220501184705.bin]
MACHINE: [qemux86-64]
FSTYPE: [ext4]
ROOTFS: [/home/nikita/yoctoproject/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.ext4]
CONFFILE: [/home/nikita/yoctoproject/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.qemuboot.conf]

runqemu - INFO - Setting up tap interface under sudo
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
runqemu - ERROR - Setting up tap device failed:
Command '('sudo', '/home/nikita/yoctoproject/poky/scripts/runqemu-ifup', '1000', '1000', '/home/nikita/yoctoproject/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin')' returned non-zero exit status 1. Run runqemu-gen-tapdevs to manually create one.
runqemu - INFO - Cleaning up
[?7h
DEBUG: Sending SIGTERM to runqemu
Output from runqemu:

WARNING: Qemu ended unexpectedly, dump data from host is in /home/nikita/yoctoproject/poky/build/tmp/log/runtime-hostdump/202207171341_qemu
DEBUG: Sending SIGTERM to runqemu
DEBUG: Sending SIGTERM to runqemu
ERROR: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>

     0001:
 *** 0002:do_testimage(d)
     0003:
File: '/home/nikita/yoctoproject/poky/meta/classes/testimage.bbclass', lineno: 129, function: do_testimage
     0125:    netstat -an
     0126:}
     0127:
     0128:python do_testimage() {
 *** 0129:    testimage_main(d)
     0130:}
     0131:
     0132:addtask testimage
     0133:do_testimage[nostamp] = "1"

File: '/home/nikita/yoctoproject/poky/meta/classes/testimage.bbclass', lineno: 374, function: testimage_main
0370: orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception)
0371: try:
0372: # We need to check if runqemu ends unexpectedly
0373: # or if the worker send us a SIGTERM

 *** 0374:        tc.target.start(params=d.getVar("TEST_QEMUPARAMS"), runqemuparams=d.getVar("TEST_RUNQEMUPARAMS"))
     0375:        import threading
     0376:        try:

0377: threading.Timer(int(d.getVar("TEST_OVERALL_TIMEOUT")), handle_test_timeout, (int(d.getVar("TEST_OVERALL_TIMEOUT")),)).start()
0378: except ValueError:
File: '/home/nikita/yoctoproject/poky/meta/lib/oeqa/core/target/qemu.py', lineno: 67, function: start
0063: if self.runner.server_ip:
0064: self.server_ip = self.runner.server_ip
0065: else:
0066: self.stop()
*** 0067: raise RuntimeError("FAILED to start qemu - check the task log and the boot log")

     0068:
     0069:    def stop(self):
     0070:        self.runner.stop()

Exception: RuntimeError: FAILED to start qemu - check the task log and the boot log

DEBUG: Python function do_testimage finished

If anyone can help then please do your help will be appreciated . Thanks in advance

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57556): https://lists.yoctoproject.org/g/yocto/message/57556
Mute This Topic: https://lists.yoctoproject.org/mt/92435401/1686489
Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux Mute #warning:https://lists.yoctoproject.org/g/yocto/mutehashtag/warning Mute #toolchain:https://lists.yoctoproject.org/g/yocto/mutehashtag/toolchain Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell Mute #distro:https://lists.yoctoproject.org/g/yocto/mutehashtag/distro Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Mute #qemu:https://lists.yoctoproject.org/g/yocto/mutehashtag/qemu Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Re: Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #linux #warning #toolchain #dunfell

Hello Alexander,

Thanks for your precious time .

I applied you suggestion and it worked and i setup tap interface with following command:

*sudo /home/nikita/yoctoproject/poky/scripts/runqemu-gen-tapdevs 1000 1000 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin
* but after that i am getting some warning like fail to start qemu and after that i am getting errors which is due to failure in starting qemu:

WARNING: core-image-minimal-1.0-r0 do_testimage: Last 25 lines of text:
[    2.372775] Key type asymmetric registered
[    2.375200] Asymmetric key parser 'x509' registered
[    2.389021] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    2.389290] io scheduler mq-deadline registered
[    2.389459] io scheduler kyber registered
[    2.389570] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    2.405464] ACPI: Power Button [PWRF]
[    2.659671] PCI Interrupt Link [LNKC] enabled at IRQ 10
[    3.142802] PCI Interrupt Link [LNKA] enabled at IRQ 10
[    3.146178] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.187185] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    3.229110] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    3.250602] Linux agpgart interface v0.103
[    3.258767] crng init done
[    3.262616] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 0: 0xfd000000 -> 0xfdffffff
[    3.266483] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 2: 0xfebd0000 -> 0xfebd0fff
[    3.267730] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console
[    3.270600] Console: switching to colour dummy device 80x25
[    3.274496] [drm] Found bochs VGA, ID 0xb0c0.
[    3.275895] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.
[    3.279874] [TTM] Zone  kernel: Available graphics memory: 116092 KiB
[    3.299694] [TTM] Initializing pool allocator
[    3.299943] [TTM] Initializing DMA pool allocator
[    3.300480] [drm] Found EDID data blob.
[    3.312971] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
WARNING: core-image-minimal-1.0-r0 do_testimage: Check full boot log: /home/nikita/yoctoproject/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testimage/qemu_boot_log.20220719154118
WARNING: core-image-minimal-1.0-r0 do_testimage: Qemu ended unexpectedly, dump data from host is in /home/nikita/yoctoproject/poky/build/tmp/log/runtime-hostdump/202207192111_qemu
WARNING: core-image-minimal-1.0-r0 do_testimage: qemu-system ended unexpectedly
Output from runqemu:
runqemu - ERROR - Failed to run qemu: X Error:  BadValue
Request Major code 130 (MIT-SHM)
Request Minor code 3 ()
Value 0x3bc
Error Serial #2663
Current Serial #2664

runqemu - INFO - Cleaning up

ERROR: core-image-minimal-1.0-r0 do_testimage: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_testimage(d)
0003:
File: '/home/nikita/yoctoproject/poky/meta/classes/testimage.bbclass', lineno: 129, function: do_testimage
0125:    netstat -an
0126:}
0127:
0128:python do_testimage() {
*** 0129:    testimage_main(d)
0130:}
0131:
0132:addtask testimage
0133:do_testimage[nostamp] = "1"
File: '/home/nikita/yoctoproject/poky/meta/classes/testimage.bbclass', lineno: 374, function: testimage_main
0370:    orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception)
0371:    try:
0372:        # We need to check if runqemu ends unexpectedly
0373:        # or if the worker send us a SIGTERM
*** 0374:        tc.target.start(params=d.getVar("TEST_QEMUPARAMS"), runqemuparams=d.getVar("TEST_RUNQEMUPARAMS")) 0375:        import threading
0376:        try:
0377:            threading.Timer(int(d.getVar("TEST_OVERALL_TIMEOUT")), handle_test_timeout, (int(d.getVar("TEST_OVERALL_TIMEOUT")),)).start() 0378:        except ValueError:
File: '/home/nikita/yoctoproject/poky/meta/lib/oeqa/core/target/qemu.py', lineno: 67, function: start
0063:            if self.runner.server_ip:
0064:                self.server_ip = self.runner.server_ip
0065:        else:
0066:            self.stop()
*** 0067:            raise RuntimeError("FAILED to start qemu - check the task log and the boot log")
0068:
0069:    def stop(self):
0070:        self.runner.stop()
Exception: RuntimeError: FAILED to start qemu - check the task log and the boot log

ERROR: Logfile of failure stored in: /home/nikita/yoctoproject/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_testimage.7780
ERROR: Task (/home/nikita/yoctoproject/poky/meta/recipes-core/images/core-image-minimal.bb:do_testimage) failed with exit code '1'

#3 lore raw

Re: [yocto] Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #linux #warning #toolchain #dunfell

You can try adding nographic option to runqemu if you do not need to see graphical output from your image.

Alex

Quoted 105 lines · Nikita Gupta

Hello Alexander,

Thanks for your precious time .

I applied you suggestion and it worked and i setup tap interface with following command:

sudo /home/nikita/yoctoproject/poky/scripts/runqemu-gen-tapdevs 1000 1000 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin but after that i am getting some warning like fail to start qemu and after that i am getting errors which is due to failure in starting qemu:

WARNING: core-image-minimal-1.0-r0 do_testimage: Last 25 lines of text:

[    2.372775] Key type asymmetric registered
[    2.375200] Asymmetric key parser 'x509' registered
[    2.389021] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    2.389290] io scheduler mq-deadline registered
[    2.389459] io scheduler kyber registered
[    2.389570] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    2.405464] ACPI: Power Button [PWRF]
[    2.659671] PCI Interrupt Link [LNKC] enabled at IRQ 10
[    3.142802] PCI Interrupt Link [LNKA] enabled at IRQ 10
[    3.146178] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.187185] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    3.229110] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    3.250602] Linux agpgart interface v0.103
[    3.258767] crng init done
[    3.262616] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 0: 0xfd000000 -> 0xfdffffff
[    3.266483] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 2: 0xfebd0000 -> 0xfebd0fff
[    3.267730] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console
[    3.270600] Console: switching to colour dummy device 80x25
[    3.274496] [drm] Found bochs VGA, ID 0xb0c0.
[    3.275895] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.
[    3.279874] [TTM] Zone  kernel: Available graphics memory: 116092 KiB
[    3.299694] [TTM] Initializing pool allocator
[    3.299943] [TTM] Initializing DMA pool allocator
[    3.300480] [drm] Found EDID data blob.
[    3.312971] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0

WARNING: core-image-minimal-1.0-r0 do_testimage: Check full boot log: /home/nikita/yoctoproject/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testimage/qemu_boot_log.20220719154118
WARNING: core-image-minimal-1.0-r0 do_testimage: Qemu ended unexpectedly, dump data from host is in /home/nikita/yoctoproject/poky/build/tmp/log/runtime-hostdump/202207192111_qemu
WARNING: core-image-minimal-1.0-r0 do_testimage: qemu-system ended unexpectedly
Output from runqemu:
runqemu - ERROR - Failed to run qemu: X Error: BadValue
Request Major code 130 (MIT-SHM)
Request Minor code 3 ()
Value 0x3bc
Error Serial #2663
Current Serial #2664

runqemu - INFO - Cleaning up

ERROR: core-image-minimal-1.0-r0 do_testimage: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>

     0001:
 *** 0002:do_testimage(d)
     0003:
File: '/home/nikita/yoctoproject/poky/meta/classes/testimage.bbclass', lineno: 129, function: do_testimage
     0125:    netstat -an
     0126:}
     0127:
     0128:python do_testimage() {
 *** 0129:    testimage_main(d)
     0130:}
     0131:
     0132:addtask testimage
     0133:do_testimage[nostamp] = "1"

File: '/home/nikita/yoctoproject/poky/meta/classes/testimage.bbclass', lineno: 374, function: testimage_main
0370: orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception)
0371: try:
0372: # We need to check if runqemu ends unexpectedly
0373: # or if the worker send us a SIGTERM

 *** 0374:        tc.target.start(params=d.getVar("TEST_QEMUPARAMS"), runqemuparams=d.getVar("TEST_RUNQEMUPARAMS"))
     0375:        import threading
     0376:        try:

0377: threading.Timer(int(d.getVar("TEST_OVERALL_TIMEOUT")), handle_test_timeout, (int(d.getVar("TEST_OVERALL_TIMEOUT")),)).start()
0378: except ValueError:
File: '/home/nikita/yoctoproject/poky/meta/lib/oeqa/core/target/qemu.py', lineno: 67, function: start
0063: if self.runner.server_ip:
0064: self.server_ip = self.runner.server_ip
0065: else:
0066: self.stop()
*** 0067: raise RuntimeError("FAILED to start qemu - check the task log and the boot log")

     0068:
     0069:    def stop(self):
     0070:        self.runner.stop()

Exception: RuntimeError: FAILED to start qemu - check the task log and the boot log

ERROR: Logfile of failure stored in: /home/nikita/yoctoproject/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_testimage.7780
ERROR: Task (/home/nikita/yoctoproject/poky/meta/recipes-core/images/core-image-minimal.bb:do_testimage) failed with exit code '1'

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57573): https://lists.yoctoproject.org/g/yocto/message/57573
Mute This Topic: https://lists.yoctoproject.org/mt/92435401/1686489
Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux Mute #warning:https://lists.yoctoproject.org/g/yocto/mutehashtag/warning Mute #toolchain:https://lists.yoctoproject.org/g/yocto/mutehashtag/toolchain Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

Re: [yocto] Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #linux #warning #toolchain #dunfell

Hello Alexander

Yes I have tried that already but i am getting same error.
If anyone could it would be great.

Thanks in advance

Quoted 146 lines · On Wed, Jul 20, 2022, 00:03 Alexander Kanavin <[email protected]> wrote:

You can try adding nographic option to runqemu if you do not need to see graphical output from your image.

Alex

Quoted 6 lines · Nikita Gupta

Hello Alexander,

Thanks for your precious time .

I applied you suggestion and it worked and i setup tap interface with

following command:

Quoted 2 lines

sudo /home/nikita/yoctoproject/poky/scripts/runqemu-gen-tapdevs 1000

1000 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin

Quoted 1 line

but after that i am getting some warning like fail to start qemu and

after that i am getting errors which is due to failure in starting qemu:

Quoted 5 lines

WARNING: core-image-minimal-1.0-r0 do_testimage: Last 25 lines of text:

[    2.372775] Key type asymmetric registered
[    2.375200] Asymmetric key parser 'x509' registered
[    2.389021] Block layer SCSI generic (bsg) driver version 0.4 loaded

(major 251)

Quoted 3 lines
[    2.389290] io scheduler mq-deadline registered
[    2.389459] io scheduler kyber registered
[    2.389570] input: Power Button as

/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0

Quoted 5 lines
[    2.405464] ACPI: Power Button [PWRF]
[    2.659671] PCI Interrupt Link [LNKC] enabled at IRQ 10
[    3.142802] PCI Interrupt Link [LNKA] enabled at IRQ 10
[    3.146178] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.187185] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200)

is a 16550A

Quoted 1 line
[    3.229110] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200)

is a 16550A

Quoted 3 lines
[    3.250602] Linux agpgart interface v0.103
[    3.258767] crng init done
[    3.262616] bochs-drm 0000:00:02.0:

remove_conflicting_pci_framebuffers: bar 0: 0xfd000000 -> 0xfdffffff

Quoted 1 line
[    3.266483] bochs-drm 0000:00:02.0:

remove_conflicting_pci_framebuffers: bar 2: 0xfebd0000 -> 0xfebd0fff

Quoted 4 lines
[    3.267730] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console
[    3.270600] Console: switching to colour dummy device 80x25
[    3.274496] [drm] Found bochs VGA, ID 0xb0c0.
[    3.275895] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @

0xfebd0000.

Quoted 5 lines
[    3.279874] [TTM] Zone  kernel: Available graphics memory: 116092 KiB
[    3.299694] [TTM] Initializing pool allocator
[    3.299943] [TTM] Initializing DMA pool allocator
[    3.300480] [drm] Found EDID data blob.
[    3.312971] [drm] Initialized bochs-drm 1.0.0 20130925 for

0000:00:02.0 on minor 0

Quoted 1 line

WARNING: core-image-minimal-1.0-r0 do_testimage: Check full boot log:

/home/nikita/yoctoproject/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testimage/qemu_boot_log.20220719154118

Quoted 1 line

WARNING: core-image-minimal-1.0-r0 do_testimage: Qemu ended

unexpectedly, dump data from host is in /home/nikita/yoctoproject/poky/build/tmp/log/runtime-hostdump/202207192111_qemu

Quoted 1 line

WARNING: core-image-minimal-1.0-r0 do_testimage: qemu-system ended

unexpectedly

Quoted 11 lines

Output from runqemu:
runqemu - ERROR - Failed to run qemu: X Error: BadValue
Request Major code 130 (MIT-SHM)
Request Minor code 3 ()
Value 0x3bc
Error Serial #2663
Current Serial #2664

runqemu - INFO - Cleaning up

ERROR: core-image-minimal-1.0-r0 do_testimage: Error executing a python

function in exec_func_python() autogenerated:

Quoted 2 lines

The stack trace of python calls that resulted in this exception/failure

was:

Quoted 5 lines

File: 'exec_func_python() autogenerated', lineno: 2, function: <module>

     0001:
 *** 0002:do_testimage(d)
     0003:

File: '/home/nikita/yoctoproject/poky/meta/classes/testimage.bbclass',

lineno: 129, function: do_testimage

Quoted 10 lines
     0125:    netstat -an
     0126:}
     0127:
     0128:python do_testimage() {
 *** 0129:    testimage_main(d)
     0130:}
     0131:
     0132:addtask testimage
     0133:do_testimage[nostamp] = "1"

File: '/home/nikita/yoctoproject/poky/meta/classes/testimage.bbclass',

lineno: 374, function: testimage_main

Quoted 1 line

0370: orig_sigterm_handler = signal.signal(signal.SIGTERM,

sigterm_exception)

Quoted 4 lines

0371: try:
0372: # We need to check if runqemu ends unexpectedly
0373: # or if the worker send us a SIGTERM
*** 0374: tc.target.start(params=d.getVar("TEST_QEMUPARAMS"),

runqemuparams=d.getVar("TEST_RUNQEMUPARAMS"))

Quoted 3 lines
     0375:        import threading
     0376:        try:
     0377:

threading.Timer(int(d.getVar("TEST_OVERALL_TIMEOUT")), handle_test_timeout, (int(d.getVar("TEST_OVERALL_TIMEOUT")),)).start()

Quoted 2 lines

0378: except ValueError:
File:

'/home/nikita/yoctoproject/poky/meta/lib/oeqa/core/target/qemu.py', lineno:
67, function: start

Quoted 5 lines

0063: if self.runner.server_ip:
0064: self.server_ip = self.runner.server_ip
0065: else:
0066: self.stop()
*** 0067: raise RuntimeError("FAILED to start qemu - check

the task log and the boot log")

Quoted 4 lines
     0068:
     0069:    def stop(self):
     0070:        self.runner.stop()

Exception: RuntimeError: FAILED to start qemu - check the task log and

the boot log

Quoted 2 lines

ERROR: Logfile of failure stored in:

/home/nikita/yoctoproject/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_testimage.7780

Quoted 1 line

ERROR: Task

(/home/nikita/yoctoproject/poky/meta/recipes-core/images/core-image-minimal.bb:do_testimage) failed with exit code '1'

Quoted 6 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#57573):

https://lists.yoctoproject.org/g/yocto/message/57573

Quoted 4 lines

Mute This Topic: https://lists.yoctoproject.org/mt/92435401/1686489
Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux Mute #warning:https://lists.yoctoproject.org/g/yocto/mutehashtag/warning Mute #toolchain:

https://lists.yoctoproject.org/g/yocto/mutehashtag/toolchain

Quoted 4 lines

Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw

Re: [yocto] Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #linux #warning #toolchain #dunfell

Can I see the output of 'env' please?

Alex

Quoted 125 lines · Nikita Gupta

Hello Alexander

Yes I have tried that already but i am getting same error.
If anyone could it would be great.

Thanks in advance

Quoted 101 lines · On Wed, Jul 20, 2022, 00:03 Alexander Kanavin <[email protected]> wrote:

You can try adding nographic option to runqemu if you do not need to see graphical output from your image.

Alex

Quoted 94 lines · Nikita Gupta

Hello Alexander,

Thanks for your precious time .

I applied you suggestion and it worked and i setup tap interface with following command:

sudo /home/nikita/yoctoproject/poky/scripts/runqemu-gen-tapdevs 1000 1000 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin but after that i am getting some warning like fail to start qemu and after that i am getting errors which is due to failure in starting qemu:

WARNING: core-image-minimal-1.0-r0 do_testimage: Last 25 lines of text:

[    2.372775] Key type asymmetric registered
[    2.375200] Asymmetric key parser 'x509' registered
[    2.389021] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    2.389290] io scheduler mq-deadline registered
[    2.389459] io scheduler kyber registered
[    2.389570] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    2.405464] ACPI: Power Button [PWRF]
[    2.659671] PCI Interrupt Link [LNKC] enabled at IRQ 10
[    3.142802] PCI Interrupt Link [LNKA] enabled at IRQ 10
[    3.146178] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.187185] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    3.229110] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    3.250602] Linux agpgart interface v0.103
[    3.258767] crng init done
[    3.262616] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 0: 0xfd000000 -> 0xfdffffff
[    3.266483] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 2: 0xfebd0000 -> 0xfebd0fff
[    3.267730] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console
[    3.270600] Console: switching to colour dummy device 80x25
[    3.274496] [drm] Found bochs VGA, ID 0xb0c0.
[    3.275895] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.
[    3.279874] [TTM] Zone  kernel: Available graphics memory: 116092 KiB
[    3.299694] [TTM] Initializing pool allocator
[    3.299943] [TTM] Initializing DMA pool allocator
[    3.300480] [drm] Found EDID data blob.
[    3.312971] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0

WARNING: core-image-minimal-1.0-r0 do_testimage: Check full boot log: /home/nikita/yoctoproject/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testimage/qemu_boot_log.20220719154118
WARNING: core-image-minimal-1.0-r0 do_testimage: Qemu ended unexpectedly, dump data from host is in /home/nikita/yoctoproject/poky/build/tmp/log/runtime-hostdump/202207192111_qemu
WARNING: core-image-minimal-1.0-r0 do_testimage: qemu-system ended unexpectedly
Output from runqemu:
runqemu - ERROR - Failed to run qemu: X Error: BadValue
Request Major code 130 (MIT-SHM)
Request Minor code 3 ()
Value 0x3bc
Error Serial #2663
Current Serial #2664

runqemu - INFO - Cleaning up

ERROR: core-image-minimal-1.0-r0 do_testimage: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>

     0001:
 *** 0002:do_testimage(d)
     0003:
File: '/home/nikita/yoctoproject/poky/meta/classes/testimage.bbclass', lineno: 129, function: do_testimage
     0125:    netstat -an
     0126:}
     0127:
     0128:python do_testimage() {
 *** 0129:    testimage_main(d)
     0130:}
     0131:
     0132:addtask testimage
     0133:do_testimage[nostamp] = "1"

File: '/home/nikita/yoctoproject/poky/meta/classes/testimage.bbclass', lineno: 374, function: testimage_main
0370: orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception)
0371: try:
0372: # We need to check if runqemu ends unexpectedly
0373: # or if the worker send us a SIGTERM

 *** 0374:        tc.target.start(params=d.getVar("TEST_QEMUPARAMS"), runqemuparams=d.getVar("TEST_RUNQEMUPARAMS"))
     0375:        import threading
     0376:        try:

0377: threading.Timer(int(d.getVar("TEST_OVERALL_TIMEOUT")), handle_test_timeout, (int(d.getVar("TEST_OVERALL_TIMEOUT")),)).start()
0378: except ValueError:
File: '/home/nikita/yoctoproject/poky/meta/lib/oeqa/core/target/qemu.py', lineno: 67, function: start
0063: if self.runner.server_ip:
0064: self.server_ip = self.runner.server_ip
0065: else:
0066: self.stop()
*** 0067: raise RuntimeError("FAILED to start qemu - check the task log and the boot log")

     0068:
     0069:    def stop(self):
     0070:        self.runner.stop()

Exception: RuntimeError: FAILED to start qemu - check the task log and the boot log

ERROR: Logfile of failure stored in: /home/nikita/yoctoproject/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_testimage.7780
ERROR: Task (/home/nikita/yoctoproject/poky/meta/recipes-core/images/core-image-minimal.bb:do_testimage) failed with exit code '1'

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57575): https://lists.yoctoproject.org/g/yocto/message/57575
Mute This Topic: https://lists.yoctoproject.org/mt/92435401/1686489
Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux Mute #warning:https://lists.yoctoproject.org/g/yocto/mutehashtag/warning Mute #toolchain:https://lists.yoctoproject.org/g/yocto/mutehashtag/toolchain Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw

Re: Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #linux #warning #toolchain #dunfell

In reply to Nikita Gupta

Hello Alexander

Please find the output of 'env' below .

SHELL=/bin/bash
SESSION_MANAGER=local/Linux:@/tmp/.ICE-unix/1288,unix/Linux:/tmp/.ICE-unix/1288
QT_ACCESSIBILITY=1
COLORTERM=truecolor
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
SSH_AGENT_LAUNCHER=gnome-keyring
XDG_MENU_PREFIX=gnome-
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LANGUAGE=en_IN:en
GNOME_SHELL_SESSION_MODE=ubuntu
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
XMODIFIERS=@im=ibus
DESKTOP_SESSION=ubuntu
GTK_MODULES=gail:atk-bridge
PWD=/home/nikita/yoctoproject/poky/build
LOGNAME=nikita
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=x11
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
SYSTEMD_EXEC_PID=1439
XAUTHORITY=/run/user/1000/gdm/Xauthority
WINDOWPATH=2
HOME=/home/nikita
USERNAME=nikita
IM_CONFIG_PHASE=1
LANG=en_IN LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
XDG_CURRENT_DESKTOP=ubuntu:GNOME
VTE_VERSION=6402
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/7cf77da7_bb58_4735_9e5a_bfd6073b4d65
BBPATH=/home/nikita/yoctoproject/poky/build
BB_ENV_EXTRAWHITE=ALL_PROXY BBPATH_EXTRA BB_LOGCONFIG BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy
LESSCLOSE=/usr/bin/lesspipe %s %s
XDG_SESSION_CLASS=user
TERM=xterm-256color
LESSOPEN=| /usr/bin/lesspipe %s
USER=nikita
GNOME_TERMINAL_SERVICE=:1.73
DISPLAY=:1
SHLVL=1
QT_IM_MODULE=ibus
XDG_RUNTIME_DIR=/run/user/1000
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
PATH=/home/nikita/yoctoproject/poky/scripts:/home/nikita/yoctoproject/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
GDMSESSION=ubuntu
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
BUILDDIR=/home/nikita/yoctoproject/poky/build
OLDPWD=/home/nikita/yoctoproject/poky
_=/usr/bin/env

#7 lore raw

Re: [yocto] Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #linux #warning #toolchain #dunfell

Can I also see the output of 'runqemu nographic' please?

Alex

Quoted 69 lines · Nikita Gupta

Hello Alexander

Please find the output of 'env' below .

SHELL=/bin/bash
SESSION_MANAGER=local/Linux:@/tmp/.ICE-unix/1288,unix/Linux:/tmp/.ICE-unix/1288
QT_ACCESSIBILITY=1
COLORTERM=truecolor
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
SSH_AGENT_LAUNCHER=gnome-keyring
XDG_MENU_PREFIX=gnome-
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LANGUAGE=en_IN:en
GNOME_SHELL_SESSION_MODE=ubuntu
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
XMODIFIERS=@im=ibus
DESKTOP_SESSION=ubuntu
GTK_MODULES=gail:atk-bridge
PWD=/home/nikita/yoctoproject/poky/build
LOGNAME=nikita
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=x11
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
SYSTEMD_EXEC_PID=1439
XAUTHORITY=/run/user/1000/gdm/Xauthority
WINDOWPATH=2
HOME=/home/nikita
USERNAME=nikita
IM_CONFIG_PHASE=1
LANG=en_IN LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
XDG_CURRENT_DESKTOP=ubuntu:GNOME
VTE_VERSION=6402
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/7cf77da7_bb58_4735_9e5a_bfd6073b4d65
BBPATH=/home/nikita/yoctoproject/poky/build
BB_ENV_EXTRAWHITE=ALL_PROXY BBPATH_EXTRA BB_LOGCONFIG BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy
LESSCLOSE=/usr/bin/lesspipe %s %s
XDG_SESSION_CLASS=user
TERM=xterm-256color
LESSOPEN=| /usr/bin/lesspipe %s
USER=nikita
GNOME_TERMINAL_SERVICE=:1.73
DISPLAY=:1
SHLVL=1
QT_IM_MODULE=ibus
XDG_RUNTIME_DIR=/run/user/1000
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
PATH=/home/nikita/yoctoproject/poky/scripts:/home/nikita/yoctoproject/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
GDMSESSION=ubuntu
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
BUILDDIR=/home/nikita/yoctoproject/poky/build
OLDPWD=/home/nikita/yoctoproject/poky
_=/usr/bin/env

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57593): https://lists.yoctoproject.org/g/yocto/message/57593
Mute This Topic: https://lists.yoctoproject.org/mt/92435401/1686489
Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux Mute #warning:https://lists.yoctoproject.org/g/yocto/mutehashtag/warning Mute #toolchain:https://lists.yoctoproject.org/g/yocto/mutehashtag/toolchain Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#8 lore raw

Re: Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #linux #warning #toolchain #dunfell

In reply to Nikita Gupta

Hello Alexander

I am putting some of lines of qemu output of nographic here .

[    0.053290] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.053300] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.053495] Using ACPI (MADT) for SMP configuration information
[    0.053544] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.053830] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.054483] [mem 0x10000000-0xfffbffff] available for PCI devices
[    0.054526] Booting paravirtualized kernel on bare hardware
[    0.054875] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910s [    0.055308] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
[    0.066824] percpu: Embedded 56 pages/cpu s191384 r8192 d29800 u2097152
[    0.068969] Built 1 zonelists, mobility grouping on.  Total pages: 64356
[    0.069155] Kernel command line: root=/dev/vda rw  console=ttyS0 mem=256M ip=192.168.7.2::192.168.7. [    0.135277] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [    0.135665] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.137117] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.140409] Memory: 232140K/261604K available (14340K kernel code, 1407K rwdata, 3196K rodata, 1612K) [    0.152763] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.153835] Kernel/User page tables isolation: enabled
[    0.155757] ftrace: allocating 41816 entries in 164 pages
[    0.232233] rcu: Preemptible hierarchical RCU implementation.
[    0.232365] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
[    0.232452] Tasks RCU enabled.
[    0.232526] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. [    0.232562] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.253797] NR_IRQS: 4352, nr_irqs: 256, preallocated irqs: 16
[    0.263911] random: get_random_bytes called from start_kernel+0x325/0x4db with crng_init=0 [    0.268071] Console: colour VGA+ 80x25
[    0.310885] printk: console [ttyS0] enabled
[    0.314617] ACPI: Core revision 20190816
[    0.323461] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns [    0.331315] APIC: Switch to symmetric I/O mode setup
[    0.375864] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.381414] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x185aca918fe, max_idle_ns:s [    0.383024] Calibrating delay loop (skipped), value calculated using timer frequency.. 3379.20 BogoM) [    0.385009] pid_max: default: 32768 minimum: 301
[    0.386726] LSM: Security Framework initializing
[    0.388807] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.388944] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [    0.415798] process: using mwait in idle threads
[    0.416144] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.416930] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.418102] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization [    0.419029] Spectre V2 : Mitigation: Retpolines
[    0.419928] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [    0.420958] Speculative Store Bypass: Vulnerable
[    0.421698] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.626147] random: fast init done
[    0.772307] Freeing SMP alternatives memory: 44K
[    0.879347] smpboot: CPU0: Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz (family: 0x6, model: 0xf,) [    0.887084] Performance Events: unsupported p6 CPU model 15 no PMU driver, software events only. [    0.889602] rcu: Hierarchical SRCU implementation.
[    0.894836] smp: Bringing up secondary CPUs ...
[    0.894970] smp: Brought up 1 node, 1 CPU
[    0.895954] smpboot: Max logical packages: 1
[    0.896451] smpboot: Total of 1 processors activated (3379.20 BogoMIPS)
[    0.909320] devtmpfs: initialized
[    0.921047] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191126044627s [    0.922081] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.924750] xor: measuring software checksum speed
[    0.935030]    prefetch64-sse:  2032.000 MB/sec
[    0.945932]    generic_sse:  2136.000 MB/sec
[    0.946519] xor: using function: generic_sse (2136.000 MB/sec)
[    0.947198] pinctrl core: initialized pinctrl subsystem
[    0.955770] NET: Registered protocol family 16
[    0.966246] cpuidle: using governor menu
[    0.967806] ACPI: bus type PCI registered
[    0.970419] PCI: Using configuration type 1 for base access
[    1.026186] raid6: sse2x4   gen()   492 MB/s
[    1.044095] raid6: sse2x4   xor()   261 MB/s
[    1.061027] raid6: sse2x2   gen()   523 MB/s
[    1.078256] raid6: sse2x2   xor()   259 MB/s
[    1.096030] raid6: sse2x1   gen()   425 MB/s
[    1.113986] raid6: sse2x1   xor()   246 MB/s
[    1.114936] raid6: using algorithm sse2x2 gen() 523 MB/s
[    1.115975] raid6: .... xor() 259 MB/s, rmw enabled
[    1.117147] raid6: using ssse3x2 recovery algorithm
[    1.119767] ACPI: Added _OSI(Module Device)
[    1.119947] ACPI: Added _OSI(Processor Device)
[    1.120422] ACPI: Added _OSI(3.0 _SCP Extensions)
[    1.120918] ACPI: Added _OSI(Processor Aggregator Device)
[    1.122005] ACPI: Added _OSI(Linux-Dell-Video)
[    1.122506] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    1.122922] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    1.140652] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    1.161811] ACPI: Interpreter enabled
[    1.163464] ACPI: (supports S0 S3 S5)
[    1.163979] ACPI: Using IOAPIC for interrupt routing
[    1.165261] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [    1.167766] ACPI: Enabled 2 GPEs in block 00 to 0F
[    1.207391] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    1.208367] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3] [    1.210180] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configurati. [    1.214285] PCI host bridge to bus 0000:00
[    1.215024] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    1.215968] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    1.216981] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    1.217926] pci_bus 0000:00: root bus resource [mem 0x10000000-0xfebfffff window]
[    1.218920] pci_bus 0000:00: root bus resource [mem 0x100000000-0x17fffffff window] [    1.220119] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.228162] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[    1.233048] pci 0000:00:01.1: reg 0x20: [io  0xc0e0-0xc0ef]
[    1.234367] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    1.235947] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    1.236934] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    1.237717] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    1.239483] pci 0000:00:01.2: [8086:7020] type 00 class 0x0c0300
[    1.241609] pci 0000:00:01.2: reg 0x20: [io  0xc080-0xc09f]
[    1.245137] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[    1.246990] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    1.248982] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    1.250849] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000
[    1.252532] pci 0000:00:02.0: reg 0x10: [mem 0xfd000000-0xfdffffff pref]
[    1.254439] pci 0000:00:02.0: reg 0x18: [mem 0xfebd0000-0xfebd0fff]
[    1.259319] pci 0000:00:02.0: reg 0x30: [mem 0xfebc0000-0xfebcffff pref]
[    1.261511] pci 0000:00:03.0: [1af4:1000] type 00 class 0x020000
[    1.262963] pci 0000:00:03.0: reg 0x10: [io  0xc0a0-0xc0bf]
[    1.264399] pci 0000:00:03.0: reg 0x14: [mem 0xfebd1000-0xfebd1fff]
[    1.267584] pci 0000:00:03.0: reg 0x20: [mem 0xfe000000-0xfe003fff 64bit pref]
[    1.269382] pci 0000:00:03.0: reg 0x30: [mem 0xfeb80000-0xfebbffff pref]
[    1.271515] pci 0000:00:04.0: [1af4:1005] type 00 class 0x00ff00
[    1.273410] pci 0000:00:04.0: reg 0x10: [io  0xc0c0-0xc0df]
[    1.276581] pci 0000:00:04.0: reg 0x20: [mem 0xfe004000-0xfe007fff 64bit pref]
[    1.278443] pci 0000:00:05.0: [1af4:1001] type 00 class 0x010000
[    1.279958] pci 0000:00:05.0: reg 0x10: [io  0xc000-0xc07f]
[    1.281211] pci 0000:00:05.0: reg 0x14: [mem 0xfebd2000-0xfebd2fff]
[    1.284515] pci 0000:00:05.0: reg 0x20: [mem 0xfe008000-0xfe00bfff 64bit pref]
[    1.294292] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    1.295942] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    1.297224] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    1.298272] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    1.299118] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    1.305368] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    1.305905] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none [    1.305970] pci 0000:00:02.0: vgaarb: bridge control possible
[    1.306637] vgaarb: loaded
[    1.308290] SCSI subsystem initialized
[    1.309565] ACPI: bus type USB registered
[    1.310261] usbcore: registered new interface driver usbfs
[    1.311172] usbcore: registered new interface driver hub
[    1.311974] usbcore: registered new device driver usb
[    1.314504] pps_core: LinuxPPS API ver. 1 registered
[    1.314975] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]> [    1.316037] PTP clock support registered
[    1.318393] PCI: Using ACPI for IRQ routing
[    1.332774] Bluetooth: Core ver 2.22
[    1.333104] NET: Registered protocol family 31
[    1.333949] Bluetooth: HCI device and connection manager initialized
[    1.335055] Bluetooth: HCI socket layer initialized
[    1.335724] Bluetooth: L2CAP socket layer initialized
[    1.336097] Bluetooth: SCO socket layer initialized
[    1.340083] hpet: 3 channels of 0 reserved for per-cpu timers
[    1.341256] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    1.342941] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[    1.349759] clocksource: Switched to clocksource tsc-early
[    1.783492] pnp: PnP ACPI init
[    1.789182] pnp: PnP ACPI: found 7 devices
[    1.807251] thermal_sys: Registered thermal governor 'step_wise'
[    1.807387] thermal_sys: Registered thermal governor 'user_space'
[    1.824442] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [    1.828445] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    1.830071] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    1.832002] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    1.833410] pci_bus 0000:00: resource 7 [mem 0x10000000-0xfebfffff window]
[    1.834741] pci_bus 0000:00: resource 8 [mem 0x100000000-0x17fffffff window]
[    1.837537] NET: Registered protocol family 2
[    1.839729] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.865735] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [    1.867608] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear) [    1.868746] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.869797] TCP: Hash tables configured (established 2048 bind 2048)
[    1.883744] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.884827] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.888819] NET: Registered protocol family 1
[    1.893298] RPC: Registered named UNIX socket transport module.
[    1.894880] RPC: Registered udp transport module.
[    1.895821] RPC: Registered tcp transport module.
[    1.896792] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.898265] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    1.899583] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    1.901234] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    1.914435] pci 0000:00:01.0: quirk_isa_dma_hangs+0x0/0x20 took 12838 usecs
[    2.135341] PCI Interrupt Link [LNKD] enabled at IRQ 11
[    2.341888] pci 0000:00:01.2: quirk_usb_early_handoff+0x0/0x650 took 415769 usecs
[    2.343275] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] [    2.345068] PCI: CLS 0 bytes, default 64
[    2.359823] check: Scanning for low memory corruption every 60 seconds
[    2.364056] Initialise system trusted keyrings
[    2.365862] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[    2.393568] NFS: Registering the id_resolver key type
[    2.394661] Key type id_resolver registered
[    2.395253] Key type id_legacy registered
[    2.398828] Key type cifs.idmap registered
[    2.426560] Key type asymmetric registered
[    2.427166] Asymmetric key parser 'x509' registered
[    2.427826] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    2.428763] io scheduler mq-deadline registered
[    2.429376] io scheduler kyber registered
[    2.443085] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    2.452480] ACPI: Power Button [PWRF]
[    2.636339] PCI Interrupt Link [LNKC] enabled at IRQ 10
[    3.043706] PCI Interrupt Link [LNKA] enabled at IRQ 10
[    3.046003] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.080365] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    3.115413] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    3.130219] Linux agpgart interface v0.103
[    3.132176] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 0: 0xfd000000 -> 0xfdfff [    3.141489] crng init done
3.142481] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 2: 0xfebd0000 -> 0xfebdf [    3.145663] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console
[    3.147438] Console: switching to colour dummy device 80x25
[    3.150326] [drm] Found bochs VGA, ID 0xb0c0.
[    3.150809] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.
[    3.152273] [TTM] Zone  kernel: Available graphics memory: 116092 KiB
[    3.153052] [TTM] Initializing pool allocator
[    3.153658] [TTM] Initializing DMA pool allocator
[    3.157316] [drm] Found EDID data blob.
[    3.162182] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
[    3.200140] fbcon: bochs-drmdrmfb (fb0) is primary device
[    3.232092] Console: switching to colour frame buffer device 128x48
[    3.247507] bochs-drm 0000:00:02.0: fb0: bochs-drmdrmfb frame buffer device
[    3.287157] brd: module loaded
[    3.338996] loop: module loaded
[    3.346707] virtio_blk virtio2: [vda] 23994 512-byte logical blocks (12.3 MB/11.7 MiB) [    3.389639] Uniform Multi-Platform E-IDE driver
[    3.390654] piix 0000:00:01.1: IDE controller (0x8086:0x7010 rev 0x00)
[    3.392365] piix 0000:00:01.1: not 100% native mode: will probe irqs later
[    3.393854] legacy IDE will be removed in 2021, please switch to libata
[    3.393854] Report any missing HW support to [email protected]
[    3.396536]     ide0: BM-DMA at 0xc0e0-0xc0e7
[    3.405884]     ide1: BM-DMA at 0xc0e8-0xc0ef
[    3.410281] tsc: Refined TSC clocksource calibration: 1689.599 MHz
[    3.411557] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x185ac5ca321, max_idle_ns: 44079s [    3.413037] clocksource: Switched to clocksource tsc
[    4.627674] hdc: QEMU DVD-ROM, ATAPI CD/DVD-ROM drive
[    5.254056] hdc: MWDMA2 mode selected
[    5.255216] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[    5.255797] ide1 at 0x170-0x177,0x376 on irq 15
[    5.257637] ide-gd driver 1.18
[    5.258220] ide-cd driver 5.00
[    5.261670] ide-cd: hdc: ATAPI 4X DVD-ROM drive, 512kB Cache
[    5.262259] cdrom: Uniform CD-ROM driver Revision: 3.20
[    5.325752] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[    5.326801] e100: Copyright(c) 1999-2006 Intel Corporation
[    5.327565] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    5.328444] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    5.329179] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    5.329878] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    5.330642] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    5.331302] igb: Copyright (c) 2007-2014 Intel Corporation.
[    5.331892] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.332454] ehci-pci: EHCI PCI platform driver
[    5.333094] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.333846] ohci-pci: OHCI PCI platform driver
[    5.334450] uhci_hcd: USB Universal Host Controller Interface driver
[    5.485426] uhci_hcd 0000:00:01.2: UHCI Host Controller
[    5.486339] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[    5.487652] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c080
[    5.493247] hub 1-0:1.0: USB hub found
[    5.494019] hub 1-0:1.0: 2 ports detected
[    5.502529] usbcore: registered new interface driver usb-storage
[    5.503369] usbcore: registered new interface driver usbserial_generic
[    5.504629] usbserial: USB Serial support registered for generic
[    5.505283] usbcore: registered new interface driver ftdi_sio
[    5.505839] usbserial: USB Serial support registered for FTDI USB Serial Device
[    5.506584] usbcore: registered new interface driver pl2303
[    5.507128] usbserial: USB Serial support registered for pl2303
[    5.508227] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 [    5.510883] serio: i8042 KBD port at 0x60,0x64 irq 1
[    5.511896] serio: i8042 AUX port at 0x60,0x64 irq 12
[    5.522420] mousedev: PS/2 mouse device common for all mice
[    5.526890] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1 [    5.528503] rtc_cmos 00:00: RTC can wake from S4
[    5.534544] rtc_cmos 00:00: registered as rtc0
[    5.556479] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram, hpet irqs
[    5.561094] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: [email protected] [    5.563200] intel_pstate: CPU model not supported
[    5.563869] sdhci: Secure Digital Host Controller Interface driver
[    5.564514] sdhci: Copyright(c) Pierre Ossman
[    5.565088] sdhci-pltfm: SDHCI platform and OF driver helper
[    5.566636] usbcore: registered new interface driver usbhid
[    5.567241] usbhid: USB HID core driver
[    5.567922] drop_monitor: Initializing network drop monitor service
[    5.568892] u32 classifier
[    5.569207]     input device check on
[    5.569564]     Actions configured
[    5.571099] NET: Registered protocol family 10
[    5.586617] Segment Routing with IPv6
[    5.587629] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    5.590474] NET: Registered protocol family 17
[    5.591687] Key type dns_resolver registered
[    5.593676] IPI shorthand broadcast: enabled
[    5.594374] sched_clock: Marking stable (5485271338, 108914060)->(5981448748, -387263350) [    5.595828] Loading compiled-in X.509 certificates
[    5.596642] Key type ._fscrypt registered
[    5.597146] Key type .fscrypt registered
[    5.601249] Btrfs loaded, crc32c=crc32c-generic
[    5.622879] Key type encrypted registered
[    5.626265] printk: console [netcon0] enabled
[    5.626738] netconsole: network logging started
[    5.627736] rtc_cmos 00:00: setting system clock to 2022-07-20T10:36:10 UTC (1658313370) [    5.673637] IP-Config: Complete:
[    5.674257]      device=eth0, hwaddr=52:54:00:12:34:02, ipaddr=192.168.7.2, mask=255.255.255.0, gw=11 [    5.675261]      host=192.168.7.2, domain=, nis-domain=(none)
[    5.675828]      bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
[    5.729332] usb 1-1: new full-speed USB device number 2 using uhci_hcd
[    5.922791] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0/0003:064 [    5.924768] hid-generic 0003:0627:0001.0001: input: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on us0 [    6.155241] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3 [    6.157869] md: Waiting for all devices to be available before autodetect
6.158853] md: If you don't use raid, use raid=noautodetect
[    6.162222] md: Autodetecting RAID arrays.
[    6.162754] md: autorun ...
[    6.163171] md: ... autorun DONE.
[    6.272996] EXT4-fs (vda): recovery complete
[    6.276592] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null)
[    6.278241] VFS: Mounted root (ext4 filesystem) on device 253:0.
[    6.322833] devtmpfs: mounted
[    6.354516] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.465480] Freeing unused kernel image memory: 1612K
[    6.467795] Write protecting the kernel read-only data: 20480k
[    6.471841] Freeing unused kernel image memory: 2004K
[    6.473580] Freeing unused kernel image memory: 900K
[    6.474647] Run /sbin/init as init process
INIT: version 2.96 booting
Starting udev
[    7.915621] udevd[106]: starting version 3.2.9
[    8.067716] udevd[107]: starting eudev-3.2.9
[   10.295030] EXT4-fs (vda): re-mounted. Opts: (null)
INIT: Entering runlevel: 5
Configuring network interfaces... ip: RTNETLINK answers: File exists
Starting syslogd/klogd: done

Poky (Yocto Project Reference Distro) 3.1.16 qemux86-64 /dev/ttyS0

qemux86-64 login:
Poky (Yocto Project Reference Distro) 3.1.16 qemux86-64 /dev/ttyS0

qemux86-64 login: clear
Password:
Login incorrect
qemux86-64 login: root

root@qemux86-64:~# ls
#9 lore raw

Re: [yocto] Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #linux #warning #toolchain #dunfell

This works as intended.

So the problem is that when qemu runs from testimage it tries to open a graphical window using X and that for some reason fails. You can perhaps force a no-graphical execution by
unset DISPLAY
before running bitbake.

Alex

Quoted 362 lines · Nikita Gupta

Hello Alexander

I am putting some of lines of qemu output of nographic here .

[    0.053290] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.053300] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.053495] Using ACPI (MADT) for SMP configuration information
[    0.053544] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.053830] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[    0.054483] [mem 0x10000000-0xfffbffff] available for PCI devices
[    0.054526] Booting paravirtualized kernel on bare hardware
[    0.054875] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910s
[    0.055308] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
[    0.066824] percpu: Embedded 56 pages/cpu s191384 r8192 d29800 u2097152
[    0.068969] Built 1 zonelists, mobility grouping on.  Total pages: 64356
[    0.069155] Kernel command line: root=/dev/vda rw  console=ttyS0 mem=256M ip=192.168.7.2::192.168.7.
[    0.135277] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.135665] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.137117] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.140409] Memory: 232140K/261604K available (14340K kernel code, 1407K rwdata, 3196K rodata, 1612K)
[    0.152763] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.153835] Kernel/User page tables isolation: enabled
[    0.155757] ftrace: allocating 41816 entries in 164 pages
[    0.232233] rcu: Preemptible hierarchical RCU implementation.
[    0.232365] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
[    0.232452] Tasks RCU enabled.
[    0.232526] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.232562] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.253797] NR_IRQS: 4352, nr_irqs: 256, preallocated irqs: 16
[    0.263911] random: get_random_bytes called from start_kernel+0x325/0x4db with crng_init=0
[    0.268071] Console: colour VGA+ 80x25
[    0.310885] printk: console [ttyS0] enabled
[    0.314617] ACPI: Core revision 20190816
[    0.323461] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[    0.331315] APIC: Switch to symmetric I/O mode setup
[    0.375864] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.381414] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x185aca918fe, max_idle_ns:s
[    0.383024] Calibrating delay loop (skipped), value calculated using timer frequency.. 3379.20 BogoM)
[    0.385009] pid_max: default: 32768 minimum: 301
[    0.386726] LSM: Security Framework initializing
[    0.388807] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.388944] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.415798] process: using mwait in idle threads
[    0.416144] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.416930] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.418102] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.419029] Spectre V2 : Mitigation: Retpolines
[    0.419928] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.420958] Speculative Store Bypass: Vulnerable
[    0.421698] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.626147] random: fast init done
[    0.772307] Freeing SMP alternatives memory: 44K
[    0.879347] smpboot: CPU0: Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz (family: 0x6, model: 0xf,)
[    0.887084] Performance Events: unsupported p6 CPU model 15 no PMU driver, software events only.
[    0.889602] rcu: Hierarchical SRCU implementation.
[    0.894836] smp: Bringing up secondary CPUs ...
[    0.894970] smp: Brought up 1 node, 1 CPU
[    0.895954] smpboot: Max logical packages: 1
[    0.896451] smpboot: Total of 1 processors activated (3379.20 BogoMIPS)
[    0.909320] devtmpfs: initialized
[    0.921047] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191126044627s
[    0.922081] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.924750] xor: measuring software checksum speed
[    0.935030]    prefetch64-sse:  2032.000 MB/sec
[    0.945932]    generic_sse:  2136.000 MB/sec
[    0.946519] xor: using function: generic_sse (2136.000 MB/sec)
[    0.947198] pinctrl core: initialized pinctrl subsystem
[    0.955770] NET: Registered protocol family 16
[    0.966246] cpuidle: using governor menu
[    0.967806] ACPI: bus type PCI registered
[    0.970419] PCI: Using configuration type 1 for base access
[    1.026186] raid6: sse2x4   gen()   492 MB/s
[    1.044095] raid6: sse2x4   xor()   261 MB/s
[    1.061027] raid6: sse2x2   gen()   523 MB/s
[    1.078256] raid6: sse2x2   xor()   259 MB/s
[    1.096030] raid6: sse2x1   gen()   425 MB/s
[    1.113986] raid6: sse2x1   xor()   246 MB/s
[    1.114936] raid6: using algorithm sse2x2 gen() 523 MB/s
[    1.115975] raid6: .... xor() 259 MB/s, rmw enabled
[    1.117147] raid6: using ssse3x2 recovery algorithm
[    1.119767] ACPI: Added _OSI(Module Device)
[    1.119947] ACPI: Added _OSI(Processor Device)
[    1.120422] ACPI: Added _OSI(3.0 _SCP Extensions)
[    1.120918] ACPI: Added _OSI(Processor Aggregator Device)
[    1.122005] ACPI: Added _OSI(Linux-Dell-Video)
[    1.122506] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    1.122922] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    1.140652] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    1.161811] ACPI: Interpreter enabled
[    1.163464] ACPI: (supports S0 S3 S5)
[    1.163979] ACPI: Using IOAPIC for interrupt routing
[    1.165261] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    1.167766] ACPI: Enabled 2 GPEs in block 00 to 0F
[    1.207391] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    1.208367] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[    1.210180] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configurati.
[    1.214285] PCI host bridge to bus 0000:00
[    1.215024] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    1.215968] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    1.216981] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    1.217926] pci_bus 0000:00: root bus resource [mem 0x10000000-0xfebfffff window]
[    1.218920] pci_bus 0000:00: root bus resource [mem 0x100000000-0x17fffffff window]
[    1.220119] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.228162] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[    1.233048] pci 0000:00:01.1: reg 0x20: [io  0xc0e0-0xc0ef]
[    1.234367] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    1.235947] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    1.236934] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    1.237717] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    1.239483] pci 0000:00:01.2: [8086:7020] type 00 class 0x0c0300
[    1.241609] pci 0000:00:01.2: reg 0x20: [io  0xc080-0xc09f]
[    1.245137] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[    1.246990] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    1.248982] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    1.250849] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000
[    1.252532] pci 0000:00:02.0: reg 0x10: [mem 0xfd000000-0xfdffffff pref]
[    1.254439] pci 0000:00:02.0: reg 0x18: [mem 0xfebd0000-0xfebd0fff]
[    1.259319] pci 0000:00:02.0: reg 0x30: [mem 0xfebc0000-0xfebcffff pref]
[    1.261511] pci 0000:00:03.0: [1af4:1000] type 00 class 0x020000
[    1.262963] pci 0000:00:03.0: reg 0x10: [io  0xc0a0-0xc0bf]
[    1.264399] pci 0000:00:03.0: reg 0x14: [mem 0xfebd1000-0xfebd1fff]
[    1.267584] pci 0000:00:03.0: reg 0x20: [mem 0xfe000000-0xfe003fff 64bit pref]
[    1.269382] pci 0000:00:03.0: reg 0x30: [mem 0xfeb80000-0xfebbffff pref]
[    1.271515] pci 0000:00:04.0: [1af4:1005] type 00 class 0x00ff00
[    1.273410] pci 0000:00:04.0: reg 0x10: [io  0xc0c0-0xc0df]
[    1.276581] pci 0000:00:04.0: reg 0x20: [mem 0xfe004000-0xfe007fff 64bit pref]
[    1.278443] pci 0000:00:05.0: [1af4:1001] type 00 class 0x010000
[    1.279958] pci 0000:00:05.0: reg 0x10: [io  0xc000-0xc07f]
[    1.281211] pci 0000:00:05.0: reg 0x14: [mem 0xfebd2000-0xfebd2fff]
[    1.284515] pci 0000:00:05.0: reg 0x20: [mem 0xfe008000-0xfe00bfff 64bit pref]
[    1.294292] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    1.295942] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    1.297224] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    1.298272] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    1.299118] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    1.305368] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    1.305905] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    1.305970] pci 0000:00:02.0: vgaarb: bridge control possible
[    1.306637] vgaarb: loaded
[    1.308290] SCSI subsystem initialized
[    1.309565] ACPI: bus type USB registered
[    1.310261] usbcore: registered new interface driver usbfs
[    1.311172] usbcore: registered new interface driver hub
[    1.311974] usbcore: registered new device driver usb
[    1.314504] pps_core: LinuxPPS API ver. 1 registered
[    1.314975] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    1.316037] PTP clock support registered
[    1.318393] PCI: Using ACPI for IRQ routing
[    1.332774] Bluetooth: Core ver 2.22
[    1.333104] NET: Registered protocol family 31
[    1.333949] Bluetooth: HCI device and connection manager initialized
[    1.335055] Bluetooth: HCI socket layer initialized
[    1.335724] Bluetooth: L2CAP socket layer initialized
[    1.336097] Bluetooth: SCO socket layer initialized
[    1.340083] hpet: 3 channels of 0 reserved for per-cpu timers
[    1.341256] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    1.342941] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[    1.349759] clocksource: Switched to clocksource tsc-early
[    1.783492] pnp: PnP ACPI init
[    1.789182] pnp: PnP ACPI: found 7 devices
[    1.807251] thermal_sys: Registered thermal governor 'step_wise'
[    1.807387] thermal_sys: Registered thermal governor 'user_space'
[    1.824442] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    1.828445] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    1.830071] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    1.832002] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    1.833410] pci_bus 0000:00: resource 7 [mem 0x10000000-0xfebfffff window]
[    1.834741] pci_bus 0000:00: resource 8 [mem 0x100000000-0x17fffffff window]
[    1.837537] NET: Registered protocol family 2
[    1.839729] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.865735] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.867608] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    1.868746] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.869797] TCP: Hash tables configured (established 2048 bind 2048)
[    1.883744] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.884827] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.888819] NET: Registered protocol family 1
[    1.893298] RPC: Registered named UNIX socket transport module.
[    1.894880] RPC: Registered udp transport module.
[    1.895821] RPC: Registered tcp transport module.
[    1.896792] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.898265] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    1.899583] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    1.901234] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    1.914435] pci 0000:00:01.0: quirk_isa_dma_hangs+0x0/0x20 took 12838 usecs
[    2.135341] PCI Interrupt Link [LNKD] enabled at IRQ 11
[    2.341888] pci 0000:00:01.2: quirk_usb_early_handoff+0x0/0x650 took 415769 usecs
[    2.343275] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    2.345068] PCI: CLS 0 bytes, default 64
[    2.359823] check: Scanning for low memory corruption every 60 seconds
[    2.364056] Initialise system trusted keyrings
[    2.365862] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[    2.393568] NFS: Registering the id_resolver key type
[    2.394661] Key type id_resolver registered
[    2.395253] Key type id_legacy registered
[    2.398828] Key type cifs.idmap registered
[    2.426560] Key type asymmetric registered
[    2.427166] Asymmetric key parser 'x509' registered
[    2.427826] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    2.428763] io scheduler mq-deadline registered
[    2.429376] io scheduler kyber registered
[    2.443085] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    2.452480] ACPI: Power Button [PWRF]
[    2.636339] PCI Interrupt Link [LNKC] enabled at IRQ 10
[    3.043706] PCI Interrupt Link [LNKA] enabled at IRQ 10
[    3.046003] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.080365] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    3.115413] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    3.130219] Linux agpgart interface v0.103
[    3.132176] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 0: 0xfd000000 -> 0xfdfff
[    3.141489] crng init done
    3.142481] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 2: 0xfebd0000 -> 0xfebdf
[    3.145663] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console
[    3.147438] Console: switching to colour dummy device 80x25
[    3.150326] [drm] Found bochs VGA, ID 0xb0c0.
[    3.150809] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.
[    3.152273] [TTM] Zone  kernel: Available graphics memory: 116092 KiB
[    3.153052] [TTM] Initializing pool allocator
[    3.153658] [TTM] Initializing DMA pool allocator
[    3.157316] [drm] Found EDID data blob.
[    3.162182] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
[    3.200140] fbcon: bochs-drmdrmfb (fb0) is primary device
[    3.232092] Console: switching to colour frame buffer device 128x48
[    3.247507] bochs-drm 0000:00:02.0: fb0: bochs-drmdrmfb frame buffer device
[    3.287157] brd: module loaded
[    3.338996] loop: module loaded
[    3.346707] virtio_blk virtio2: [vda] 23994 512-byte logical blocks (12.3 MB/11.7 MiB)
[    3.389639] Uniform Multi-Platform E-IDE driver
[    3.390654] piix 0000:00:01.1: IDE controller (0x8086:0x7010 rev 0x00)
[    3.392365] piix 0000:00:01.1: not 100% native mode: will probe irqs later
[    3.393854] legacy IDE will be removed in 2021, please switch to libata
[    3.393854] Report any missing HW support to [email protected]
[    3.396536]     ide0: BM-DMA at 0xc0e0-0xc0e7
[    3.405884]     ide1: BM-DMA at 0xc0e8-0xc0ef
[    3.410281] tsc: Refined TSC clocksource calibration: 1689.599 MHz
[    3.411557] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x185ac5ca321, max_idle_ns: 44079s
[    3.413037] clocksource: Switched to clocksource tsc
[    4.627674] hdc: QEMU DVD-ROM, ATAPI CD/DVD-ROM drive
[    5.254056] hdc: MWDMA2 mode selected
[    5.255216] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[    5.255797] ide1 at 0x170-0x177,0x376 on irq 15
[    5.257637] ide-gd driver 1.18
[    5.258220] ide-cd driver 5.00
[    5.261670] ide-cd: hdc: ATAPI 4X DVD-ROM drive, 512kB Cache
[    5.262259] cdrom: Uniform CD-ROM driver Revision: 3.20
[    5.325752] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
[    5.326801] e100: Copyright(c) 1999-2006 Intel Corporation
[    5.327565] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    5.328444] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    5.329179] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    5.329878] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    5.330642] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    5.331302] igb: Copyright (c) 2007-2014 Intel Corporation.
[    5.331892] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.332454] ehci-pci: EHCI PCI platform driver
[    5.333094] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.333846] ohci-pci: OHCI PCI platform driver
[    5.334450] uhci_hcd: USB Universal Host Controller Interface driver
[    5.485426] uhci_hcd 0000:00:01.2: UHCI Host Controller
[    5.486339] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[    5.487652] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c080
[    5.493247] hub 1-0:1.0: USB hub found
[    5.494019] hub 1-0:1.0: 2 ports detected
[    5.502529] usbcore: registered new interface driver usb-storage
[    5.503369] usbcore: registered new interface driver usbserial_generic
[    5.504629] usbserial: USB Serial support registered for generic
[    5.505283] usbcore: registered new interface driver ftdi_sio
[    5.505839] usbserial: USB Serial support registered for FTDI USB Serial Device
[    5.506584] usbcore: registered new interface driver pl2303
[    5.507128] usbserial: USB Serial support registered for pl2303
[    5.508227] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    5.510883] serio: i8042 KBD port at 0x60,0x64 irq 1
[    5.511896] serio: i8042 AUX port at 0x60,0x64 irq 12
[    5.522420] mousedev: PS/2 mouse device common for all mice
[    5.526890] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[    5.528503] rtc_cmos 00:00: RTC can wake from S4
[    5.534544] rtc_cmos 00:00: registered as rtc0
[    5.556479] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram, hpet irqs
[    5.561094] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: [email protected]
[    5.563200] intel_pstate: CPU model not supported
[    5.563869] sdhci: Secure Digital Host Controller Interface driver
[    5.564514] sdhci: Copyright(c) Pierre Ossman
[    5.565088] sdhci-pltfm: SDHCI platform and OF driver helper
[    5.566636] usbcore: registered new interface driver usbhid
[    5.567241] usbhid: USB HID core driver
[    5.567922] drop_monitor: Initializing network drop monitor service
[    5.568892] u32 classifier
[    5.569207]     input device check on
[    5.569564]     Actions configured
[    5.571099] NET: Registered protocol family 10
[    5.586617] Segment Routing with IPv6
[    5.587629] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    5.590474] NET: Registered protocol family 17
[    5.591687] Key type dns_resolver registered
[    5.593676] IPI shorthand broadcast: enabled
[    5.594374] sched_clock: Marking stable (5485271338, 108914060)->(5981448748, -387263350)
[    5.595828] Loading compiled-in X.509 certificates
[    5.596642] Key type ._fscrypt registered
[    5.597146] Key type .fscrypt registered
[    5.601249] Btrfs loaded, crc32c=crc32c-generic
[    5.622879] Key type encrypted registered
[    5.626265] printk: console [netcon0] enabled
[    5.626738] netconsole: network logging started
[    5.627736] rtc_cmos 00:00: setting system clock to 2022-07-20T10:36:10 UTC (1658313370)
[    5.673637] IP-Config: Complete:
[    5.674257]      device=eth0, hwaddr=52:54:00:12:34:02, ipaddr=192.168.7.2, mask=255.255.255.0, gw=11
[    5.675261]      host=192.168.7.2, domain=, nis-domain=(none)
[    5.675828]      bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
[    5.729332] usb 1-1: new full-speed USB device number 2 using uhci_hcd
[    5.922791] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0/0003:064
[    5.924768] hid-generic 0003:0627:0001.0001: input: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on us0
[    6.155241] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
[    6.157869] md: Waiting for all devices to be available before autodetect
    6.158853] md: If you don't use raid, use raid=noautodetect
[    6.162222] md: Autodetecting RAID arrays.
[    6.162754] md: autorun ...
[    6.163171] md: ... autorun DONE.
[    6.272996] EXT4-fs (vda): recovery complete
[    6.276592] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null)
[    6.278241] VFS: Mounted root (ext4 filesystem) on device 253:0.
[    6.322833] devtmpfs: mounted
[    6.354516] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.465480] Freeing unused kernel image memory: 1612K
[    6.467795] Write protecting the kernel read-only data: 20480k
[    6.471841] Freeing unused kernel image memory: 2004K
[    6.473580] Freeing unused kernel image memory: 900K
[    6.474647] Run /sbin/init as init process
INIT: version 2.96 booting
Starting udev
[    7.915621] udevd[106]: starting version 3.2.9
[    8.067716] udevd[107]: starting eudev-3.2.9
[   10.295030] EXT4-fs (vda): re-mounted. Opts: (null)

INIT: Entering runlevel: 5
Configuring network interfaces... ip: RTNETLINK answers: File exists Starting syslogd/klogd: done

Poky (Yocto Project Reference Distro) 3.1.16 qemux86-64 /dev/ttyS0

qemux86-64 login:
Poky (Yocto Project Reference Distro) 3.1.16 qemux86-64 /dev/ttyS0

qemux86-64 login: clear
Password:
Login incorrect
qemux86-64 login: root

root@qemux86-64:~# ls

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57597): https://lists.yoctoproject.org/g/yocto/message/57597
Mute This Topic: https://lists.yoctoproject.org/mt/92435401/1686489
Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux Mute #warning:https://lists.yoctoproject.org/g/yocto/mutehashtag/warning Mute #toolchain:https://lists.yoctoproject.org/g/yocto/mutehashtag/toolchain Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#10 lore raw

Re: Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #linux #warning #toolchain #dunfell

Hello

i was not able to find that how to force a no-graphical execution by unset Display before running bitbake . So i again tried to test my image by previous method bitbake rpm busybox curl run-postinsts
bitbake package-index
bitbake core-image-minimal -c testimage -v

but this time i did not get error like previous one this time i lost my deploy folders in which images folder was present . i have no idea how it happened i am able to see all folders except deploy ( see in attachment) .

kindly tell  why deploy folder got disappeared and how i can recover that ?

Thanks in Advance

#11 lore raw

Re: [yocto] Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #linux #warning #toolchain #dunfell

You need to rebuild the image:

bitbake core-image-minimal

Alex

Quoted 26 lines · Nikita Gupta

Hello

i was not able to find that how to force a no-graphical execution by unset Display before running bitbake . So i again tried to test my image by previous method bitbake rpm busybox curl run-postinsts
bitbake package-index
bitbake core-image-minimal -c testimage -v

but this time i did not get error like previous one this time i lost my deploy folders in which images folder was present . i have no idea how it happened i am able to see all folders except deploy ( see in attachment) .

kindly tell why deploy folder got disappeared and how i can recover that ?

Thanks in Advance
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57868): https://lists.yoctoproject.org/g/yocto/message/57868
Mute This Topic: https://lists.yoctoproject.org/mt/92435401/1686489
Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux Mute #warning:https://lists.yoctoproject.org/g/yocto/mutehashtag/warning Mute #toolchain:https://lists.yoctoproject.org/g/yocto/mutehashtag/toolchain Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#12 lore raw

Re: [yocto] Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #linux #warning #toolchain #dunfell

In reply to Nikita Gupta

maybe you should reboot the host machine, sometimes system updates without rebooting the machine can also result in such errors.

Quoted 106 lines · Nikita Gupta

Hello Alexander,

Thanks for your precious time .

I applied you suggestion and it worked and i setup tap interface with following command:

sudo /home/nikita/yoctoproject/poky/scripts/runqemu-gen-tapdevs 1000 1000 4 tmp/sysroots-components/x86_64/qemu-helper-native/usr/bin but after that i am getting some warning like fail to start qemu and after that i am getting errors which is due to failure in starting qemu:

WARNING: core-image-minimal-1.0-r0 do_testimage: Last 25 lines of text:

[    2.372775] Key type asymmetric registered
[    2.375200] Asymmetric key parser 'x509' registered
[    2.389021] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    2.389290] io scheduler mq-deadline registered
[    2.389459] io scheduler kyber registered
[    2.389570] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    2.405464] ACPI: Power Button [PWRF]
[    2.659671] PCI Interrupt Link [LNKC] enabled at IRQ 10
[    3.142802] PCI Interrupt Link [LNKA] enabled at IRQ 10
[    3.146178] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.187185] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    3.229110] 00:06: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
[    3.250602] Linux agpgart interface v0.103
[    3.258767] crng init done
[    3.262616] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 0: 0xfd000000 -> 0xfdffffff
[    3.266483] bochs-drm 0000:00:02.0: remove_conflicting_pci_framebuffers: bar 2: 0xfebd0000 -> 0xfebd0fff
[    3.267730] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console
[    3.270600] Console: switching to colour dummy device 80x25
[    3.274496] [drm] Found bochs VGA, ID 0xb0c0.
[    3.275895] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.
[    3.279874] [TTM] Zone  kernel: Available graphics memory: 116092 KiB
[    3.299694] [TTM] Initializing pool allocator
[    3.299943] [TTM] Initializing DMA pool allocator
[    3.300480] [drm] Found EDID data blob.
[    3.312971] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0

WARNING: core-image-minimal-1.0-r0 do_testimage: Check full boot log: /home/nikita/yoctoproject/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testimage/qemu_boot_log.20220719154118
WARNING: core-image-minimal-1.0-r0 do_testimage: Qemu ended unexpectedly, dump data from host is in /home/nikita/yoctoproject/poky/build/tmp/log/runtime-hostdump/202207192111_qemu
WARNING: core-image-minimal-1.0-r0 do_testimage: qemu-system ended unexpectedly
Output from runqemu:
runqemu - ERROR - Failed to run qemu: X Error: BadValue
Request Major code 130 (MIT-SHM)
Request Minor code 3 ()
Value 0x3bc
Error Serial #2663
Current Serial #2664

runqemu - INFO - Cleaning up

ERROR: core-image-minimal-1.0-r0 do_testimage: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>

     0001:
 *** 0002:do_testimage(d)
     0003:
File: '/home/nikita/yoctoproject/poky/meta/classes/testimage.bbclass', lineno: 129, function: do_testimage
     0125:    netstat -an
     0126:}
     0127:
     0128:python do_testimage() {
 *** 0129:    testimage_main(d)
     0130:}
     0131:
     0132:addtask testimage
     0133:do_testimage[nostamp] = "1"

File: '/home/nikita/yoctoproject/poky/meta/classes/testimage.bbclass', lineno: 374, function: testimage_main
0370: orig_sigterm_handler = signal.signal(signal.SIGTERM, sigterm_exception)
0371: try:
0372: # We need to check if runqemu ends unexpectedly
0373: # or if the worker send us a SIGTERM

 *** 0374:        tc.target.start(params=d.getVar("TEST_QEMUPARAMS"), runqemuparams=d.getVar("TEST_RUNQEMUPARAMS"))
     0375:        import threading
     0376:        try:

0377: threading.Timer(int(d.getVar("TEST_OVERALL_TIMEOUT")), handle_test_timeout, (int(d.getVar("TEST_OVERALL_TIMEOUT")),)).start()
0378: except ValueError:
File: '/home/nikita/yoctoproject/poky/meta/lib/oeqa/core/target/qemu.py', lineno: 67, function: start
0063: if self.runner.server_ip:
0064: self.server_ip = self.runner.server_ip
0065: else:
0066: self.stop()
*** 0067: raise RuntimeError("FAILED to start qemu - check the task log and the boot log")

     0068:
     0069:    def stop(self):
     0070:        self.runner.stop()

Exception: RuntimeError: FAILED to start qemu - check the task log and the boot log

ERROR: Logfile of failure stored in: /home/nikita/yoctoproject/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/log.do_testimage.7780
ERROR: Task (/home/nikita/yoctoproject/poky/meta/recipes-core/images/core-image-minimal.bb:do_testimage) failed with exit code '1'

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#57573): https://lists.yoctoproject.org/g/yocto/message/57573
Mute This Topic: https://lists.yoctoproject.org/mt/92435401/1997914
Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux Mute #warning:https://lists.yoctoproject.org/g/yocto/mutehashtag/warning Mute #toolchain:https://lists.yoctoproject.org/g/yocto/mutehashtag/toolchain Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#13 lore raw

Re: Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #linux #warning #toolchain #dunfell

Hello Khem Raj ,

After rebooting i am getting same error .

#14 lore raw

Re: Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #linux #warning #toolchain #dunfell

In reply to Nikita Gupta

Hello Alexander,

Please find the output file in attachment .

Thanks

#15 lore raw

Re: [yocto] Error while testing "core-image-minimal" through "bitbake core-image-minimal -c testimage -v" #linux #warning #toolchain #dunfell

This is not what I asked for (which was output of 'env'). Also, this shows the output of bitbake -c testimage, not of runqemu with nographic parameter.

Alex

Quoted 19 lines · Nikita Gupta

Hello Alexander,

Please find the output file in attachment .

Thanks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#57583): https://lists.yoctoproject.org/g/yocto/message/57583
Mute This Topic: https://lists.yoctoproject.org/mt/92435401/1686489
Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux Mute #warning:https://lists.yoctoproject.org/g/yocto/mutehashtag/warning Mute #toolchain:https://lists.yoctoproject.org/g/yocto/mutehashtag/toolchain Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-