VirtualBox

Opened 16 years ago

Closed 16 years ago

#1850 closed defect (worksforme)

command line VBoxManage modifyvm -uartmode is not working

Reported by: Martin Ducar Owned by:
Component: VM control Version: VirtualBox 1.6.2
Keywords: uart, com port, solaris Cc:
Guest type: other Host type: Solaris

Description

VBoxManage modifyvm S10 -uartmode1 server "/tmp/vb1" is not working. Same setting, but configured through GUI is working fine. Calling it acording to VBoxManage usage help. I need this to have hands of installation and configuration of Virtualbox and Vm's through command line and telnet.

output of command:

# VBoxManage modifyvm S10 -uartmode1 '/tmp/vb1'
VirtualBox Command Line Management Interface Version 1.6.2
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

[!] FAILED calling uart->SetHostMode (PortMode::HostDevice) at line 5180!
[!] Primary RC  = NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value
[!] Full error info present: true , basic error info present: true 
[!] Result Code = NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value
[!] Text        = Cannot set the host device mode of the serial port 0 because the device path is empty or null
[!] Component   = SerialPort, Interface: ISerialPort, {937f6970-5103-4745-b78e-d28dcf1479a8}
[!] Callee      = ISerialPort, {937f6970-5103-4745-b78e-d28dcf1479a8}

output of VBoxManage showvminfo before running command

# VBoxManage showvminfo S10                      
VirtualBox Command Line Management Interface Version 1.6.2
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

Name:            S10
Guest OS:        Solaris
UUID:            04e68f9c-7dd4-4a41-c693-58a7dd45d00b
Config file:     /root/.VirtualBox/Machines/S10/S10.xml
Memory size:     512MB
VRAM size:       8MB
Boot menu mode:  message and menu
ACPI:            on
IOAPIC:          off
PAE:             off
Time offset:     0 ms
Hardw. virt.ext: off
State:           powered off (since 2008-07-16T23:42:42.000000000)
Monitor count:   1
Floppy:          empty
SATA:            disabled
Primary master:  /root/.VirtualBox/VDI/S10.vdi (UUID: 15acc63d-e232-4ef7-3797-8bce6caedd65)
DVD:             /net/dorfl.czech/export/install/iso/solaris_media/s10u6/03/i86pc/solarisdvd.iso (UUID: 393b9add-c0e6-4a77-44a5-f35dff664778)
NIC 1:           MAC: 080027A0754B, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
UART 1:          I/O base: 0x03f8, IRQ: 4, disconnected
UART 2:          disabled
Audio:           disabled (Driver: Unknown, Controller: Unknown)
Clipboard Mode:  Bidirectional
VRDP:            disabled
USB:             disabled

USB Device Filters:

<none>

Shared folders:  <none>

Guest:

Statistics update:                   disabled

vminfo after configuring through gui:

# VBoxManage showvminfo S10
VirtualBox Command Line Management Interface Version 1.6.2
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.

Name:            S10
Guest OS:        Solaris
UUID:            04e68f9c-7dd4-4a41-c693-58a7dd45d00b
Config file:     /root/.VirtualBox/Machines/S10/S10.xml
Memory size:     512MB
VRAM size:       8MB
Boot menu mode:  message and menu
ACPI:            on
IOAPIC:          off
PAE:             off
Time offset:     0 ms
Hardw. virt.ext: off
State:           powered off (since 2008-07-16T23:42:42.000000000)
Monitor count:   1
Floppy:          empty
SATA:            disabled
Primary master:  /root/.VirtualBox/VDI/S10.vdi (UUID: 15acc63d-e232-4ef7-3797-8bce6caedd65)
DVD:             /net/dorfl.czech/export/install/iso/solaris_media/s10u6/03/i86pc/solarisdvd.iso (UUID: 393b9add-c0e6-4a77-44a5-f35dff664778)
NIC 1:           MAC: 080027A0754B, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
UART 1:          I/O base: 0x03f8, IRQ: 4, attached to pipe (server) '/tmp/vb1'
UART 2:          disabled
Audio:           disabled (Driver: Unknown, Controller: Unknown)
Clipboard Mode:  Bidirectional
VRDP:            disabled
USB:             disabled

USB Device Filters:

<none>

Shared folders:  <none>

Guest:

Statistics update:                   disabled

Change History (1)

comment:1 by Frank Mehnert, 16 years ago

Resolution: worksforme
Status: newclosed

The correct syntax to achieve the same with VBoxManage is

VBoxManage modifyvm S10 -uartmode1 server '/tmp/vb1'

Note the server parameter.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use