Skip to content

QEMU_DISPLAY=gtk make boot error  #368

Open
@fpskuji

Description

@fpskuji

I seem to have a problem when I want to get access to the keyboard on virtual machine boot using QEMU_DISPLAY=gtk make boot error.
The image I am using is core-image-sato-sdk-qemu

This is the log I get when using gtk make boot option:
gaviolam@gpcubuntuserver2207-1:~/training_exercise/2_linux_kernel_labs/linux/tools/labs$ QEMU_DISPLAY=gtk make boot mkdir /tmp/tmp.74VRqqojhx sudo mount -t ext4 -o loop core-image-sato-sdk-qemux86.ext4 /tmp/tmp.74VRqqojhx [sudo] password for gaviolam: sudo make -C /home/gaviolam/training_exercise/2_linux_kernel_labs/linux modules_install INSTALL_MOD_PATH=/tmp/tmp.74VRqqojhx make: Entering directory '/home/gaviolam/training_exercise/2_linux_kernel_labs/linux' DEPMOD 5.10.14+ make: Leaving directory '/home/gaviolam/training_exercise/2_linux_kernel_labs/linux' sudo umount /tmp/tmp.74VRqqojhx rmdir /tmp/tmp.74VRqqojhx sleep 1 && touch .modinst qemu/create_net.sh lkt-tap0 qemu/create_net.sh lkt-tap1 /home/gaviolam/training_exercise/2_linux_kernel_labs/linux/tools/labs/templates/assignments/6-e100/nttcp -v -i & nttcp-l: nttcp, version 1.47 nttcp-l: running in inetd mode on port 5037 - ignoring options beside -v and -p bind: Address already in use nttcp-l: service-socket: bind:: Address already in use, errno=98 ARCH=x86 qemu/qemu.sh -kernel /home/gaviolam/training_exercise/2_linux_kernel_labs/linux/arch/x86/boot/bzImage -device virtio-serial -chardev pty,id=virtiocon0 -device virtconsole,chardev=virtiocon0 -serial pipe:pipe1 -serial pipe:pipe2 -netdev tap,id=lkt-tap0,ifname=lkt-tap0,script=no,downscript=no -net nic,netdev=lkt-tap0,model=virtio -netdev tap,id=lkt-tap1,ifname=lkt-tap1,script=no,downscript=no -net nic,netdev=lkt-tap1,model=i82559er -drive file=core-image-sato-sdk-qemux86.ext4,if=virtio,format=raw -drive file=disk1.img,if=virtio,format=raw -drive file=disk2.img,if=virtio,format=raw --append "root=/dev/vda loglevel=15 console=hvc0 pci=noacpi" --display gtk -s -m 256 char device redirected to /dev/pts/3 (label virtiocon0) gtk initialization failed

Is there a missing step that I should do to fix this?
I have followed the steps stated in virtual machine setup:
https://linux-kernel-labs.github.io/refs/heads/master/info/vm.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions