Can I see the output of 'env' please?

Alex

On Tue, 19 Jul 2022 at 20:45, Nikita Gupta <[email protected]> wrote:
>
> Hello Alexander
>
> Yes I have tried that already but i am getting same error.
>  If anyone could it would be great.
>
> Thanks in advance
>
> 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
>>
>> On Tue, 19 Jul 2022 at 20:30, Nikita Gupta <[email protected]> wrote:
>> >
>> > 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 (#57577): https://lists.yoctoproject.org/g/yocto/message/57577
Mute This Topic: https://lists.yoctoproject.org/mt/92435401/21656
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to