cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

QEMU Requires an argument

QEMU Requires an argument

JoaqoGarcia
New Poster

Hi community, 

when I try to start the Core Virtual, a message appears "C:\Program Files\Rexroth\ctrlX WORKS\qemu\qemu-system-x86_64.exe: - append: requires an argument"

Am I missing configuration?

Thanks!

 

6 REPLIES 6

CodeShepherd
Community Moderator
Community Moderator

There is no setting to be done for this as it is coming with the standard installation.

  • Could you please tell us which version of ctrlX WORKS is used?
  • And is it installed directly on a PC or in a virtual Windows? 
  • Could check the latest xxx.start.bat and add it or its text inside to this topic so we can check it?
    Path to find it is "C:\ProgramData\Rexroth\ctrlX WORKS\virtual-controls\images\<version>"
    There must be an error in that file.

Windows folder ctrlX COREvirtual start batWindows folder ctrlX COREvirtual start bat

JoaqoGarcia
New Poster

- Version is  1.12.10

-It is installed directly on my PC

here the content of the file xxxx.start.bat

"C:\Program Files\Rexroth\ctrlX WORKS\qemu\qemu-system-x86_64.exe" -L "C:\Program Files\Rexroth\ctrlX WORKS\qemu" -machine q35,accel=hax:tcg -smp 4 -m 1G -netdev tap,id=eth0,ifname=VirtualControl-DE-AD-BE-00-00-01 -smbios "type=1,manufacturer=Bosch Rexroth AG,product=ctrlX COREvirtual,version=1.12.21,serial=4C4C4544-005A-4210-8053-C7C04F395333,uuid=4C4C4544-005A-4210-8053-C7C04F395333" -device virtio-net-pci,netdev=eth0,mac=DE-AD-BE-00-00-01 -drive "file=C:\ProgramData\Rexroth\ctrlX WORKS\virtual-controls\images\1.12.21\nz1w1qk0.user.qcow2,media=disk" -kernel "C:\ProgramData\Rexroth\ctrlX WORKS\virtual-controls\images\1.12.21\kernel.img" -initrd "C:\ProgramData\Rexroth\ctrlX WORKS\virtual-controls\images\1.12.21\initrd.img" -net user,restrict=off -monitor tcp:127.0.0.1:65000,server,nowait -append " hostname=VirtualControl-1 usage=evaluation" -display sdl

Hello JoaqoGarcia,

when you add a new virt. control in WRK-V-0112.10 and start the control, a batch file like this is created:

"C:\Program Files\Rexroth\ctrlX WORKS WRK-0112\qemu\qemu-system-x86_64.exe" -L "C:\Program Files\Rexroth\ctrlX WORKS WRK-0112\qemu" -machine q35,accel=hax:tcg -smp 4 -m 1G -netdev tap,id=eth0,ifname=VirtualControl-DE-AD-BE-00-00-03 -smbios "type=1,manufacturer=Bosch Rexroth AG,product=ctrlX COREvirtual,version=1.12.21,serial=BB41E3C8-A4B3-11E8-9C43-BC0000CC0000,uuid=BB41E3C8-A4B3-11E8-9C43-BC0000CC0000" -device virtio-net-pci,netdev=eth0,mac=DE-AD-BE-00-00-03 -drive "file=C:\ProgramData\Rexroth\ctrlX WORKS\virtual-controls\images\1.12.21\l04glwpd.user.qcow2,media=disk" -kernel "C:\ProgramData\Rexroth\ctrlX WORKS\virtual-controls\images\1.12.21\kernel.img" -initrd "C:\ProgramData\Rexroth\ctrlX WORKS\virtual-controls\images\1.12.21\initrd.img" -net user,restrict=off -monitor tcp:127.0.0.1:65000,server,nowait -append "earlycon clk_ignore_unused rng_core.default_quality=700 panic=-1 systemd.gpt_auto=0 rd.systemd.unit=basic.target snapd_recovery_mode=run console=ttyS0 console=tty1 net.ifnames=0 hostname=VirtualControl-3 usage=evaluation" -nographic

As you might see, it differs from your file. Did you change it manually? If yes, you need to pass the arguments right. I think the problem is the blank before hostname in your file. I would propose to start the control in the ctrlX WORKS Application. Then it should work.

Regards,
Oliver

I didn't change that file. I changed the file for a test , but it is regenerated when I start the CoreVirtual.

 

 

But the display sdl argument is not generated in our current software, we generate no graphics. Are you shurly using an up to date installation and starting the right exe?

Any news here or can this topic be closed?

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist