Ignore VERR_INVALID_PARAMETER Error

This is for discussing general topics about how to use VirtualBox.
Post Reply
palswim
Posts: 12
Joined: 31. Aug 2012, 18:24

Ignore VERR_INVALID_PARAMETER Error

Post by palswim »

Does VirtualBox have a way to ignore the "PIIX3 cannot attach drive to the ... (VERR_INVALID_PARAMETER)." error on startup? Do I have the option to treat it as a warning rather than have it halt the VM startup?

I would like it to use a virtual drive that I sometimes use and sometimes don't use, and the mounting software doesn't maintain the virtual drive when I've "ejected" the disk.
palswim
Posts: 12
Joined: 31. Aug 2012, 18:24

Re: Ignore VERR_INVALID_PARAMETER Error

Post by palswim »

Still wondering about this almost a year later.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ignore VERR_INVALID_PARAMETER Error

Post by Perryg »

Sadly there is not enough information to say. It may be possible but it really depends on the host, guest, and how the mount is actually being made.
palswim
Posts: 12
Joined: 31. Aug 2012, 18:24

Re: Ignore VERR_INVALID_PARAMETER Error

Post by palswim »

Perryg wrote:Sadly there is not enough information to say.
Not enough information in my post, or not enough information within VirtualBox?

For me, I've attached a (virtual) CD/DVD drive to an IDE Controller, but when I eject the data, the drive goes away. (E.g. On Windows, I have connected the IDE Controller to my "D:" drive, which represents a virtual mount of some ISO; when I un-mount the ISO, I no longer have a "D:" drive.) So, trying to start or restart my Virtual Machine will give me the "VERR_INVALID_PARAMETER" error, what I would rather it just start and ignore that drive (disconnect it) for the session.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ignore VERR_INVALID_PARAMETER Error

Post by Perryg »

Post the guests log file (as an attachment)
See Online Users Manual for the location of the file.

As well as

From the hosts terminal/command window type VBoxManage showvminfo <VM Name> --details and post here. Replace <VM Name> with the actual name of the VM. Use " " if the name has a space in it.

Note if the host is Windows you need to be in the directory that has VBoxManage.exe for the command to work.
palswim
Posts: 12
Joined: 31. Aug 2012, 18:24

Re: Ignore VERR_INVALID_PARAMETER Error

Post by palswim »

Perryg wrote:Post the guests log file (as an attachment)

As well as

From the hosts terminal/command window type VBoxManage showvminfo <VM Name> --details and post here.
I mounted the drive, booted the VM, powered off the VM, ejected (unmounted) the disk, and then attempted to boot the VM again.

VM Info:

Code: Select all

Name:            Test VM
Groups:          /
Guest OS:        openSUSE (64 bit)
UUID:            1234 [REDACTED]
Config file:     [REDACTED].vbox
Snapshot folder: [REDACTED]\Snapshots
Log folder:      [REDACTED]\Logs
Hardware UUID:   1234
Memory size:     600MB
Page Fusion:     off
VRAM size:       12MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  1
Synthetic Cpu:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): DVD
Boot Device (2): HardDisk
Boot Device (3): Network
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
PAE:             off
Time offset:     0ms
RTC:             UTC
Hardw. virt.ext: on
Hardw. virt.ext exclusive: off
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
State:           powered off (since 2013-09-30T23:37:28.000000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address: 
Teleporter Password: 
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration: 
Autostart Enabled: off
Autostart Delay: 0
Storage Controller Name (0):            IDE Controller
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
Storage Controller Name (1):            SATA Controller
Storage Controller Type (1):            IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1):  30
Storage Controller Port Count (1):      1
Storage Controller Bootable (1):        on
IDE Controller (1, 0): D: (UUID: 00445644-0000-0000-0000-00000000493a)
NIC 1:           MAC: [REDACTED], Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: USB Tablet
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: DSOUND, Controller: AC97)
Clipboard Mode:  disabled
Drag'n'drop Mode:  disabled
VRDE:            disabled
USB:             enabled
EHCI:            enabled

USB Device Filters:

Index:            0
Active:           yes
Name:             JMicron USB to ATA/ATAPI bridge [0100]
VendorId:         152d
ProductId:        2338
Revision:         0100
Manufacturer:     JMicron
Product:          USB to ATA/ATAPI bridge
Remote:           0
Serial Number:    120413823800

Index:            1
Active:           yes
Name:             Generic USB2.0-CRW [8197]
VendorId:         0bda
ProductId:        0181
Revision:         8197
Manufacturer:     Generic
Product:          USB2.0-CRW
Remote:           0
Serial Number:    20060413092100000

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Bandwidth groups:  <none>

Shared folders:  <none>

VRDE Connection:    not active
Clients so far:     0

Guest:

Configured memory balloon size:      0 MB
Edit: Updated the VM Info data with the info before ejecting the drive.
Attachments
VBox.2.log
Logs from second (unsuccessful) boot
(40.39 KiB) Downloaded 10 times
VBox.1.log
Logs from first (successful) boot
(75.38 KiB) Downloaded 11 times
Last edited by palswim on 1. Oct 2013, 19:04, edited 2 times in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ignore VERR_INVALID_PARAMETER Error

Post by Perryg »

the log does not match the vminfo.
What exactly were you doing or changing between the boots?
You need to paint a clear picture of this as no one is there with you and can not see what is really happening.
palswim
Posts: 12
Joined: 31. Aug 2012, 18:24

Re: Ignore VERR_INVALID_PARAMETER Error

Post by palswim »

Perryg wrote:the log does not match the vminfo.
What does not match? I redacted the UUIDs in one, but I guess I forgot to redact it in the others.
Perryg wrote:What exactly were you doing or changing between the boots?
I am unmounting the disc (CD/DVD) drive, so my computer no longer has an "D:" drive.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ignore VERR_INVALID_PARAMETER Error

Post by Perryg »

From vminfo
Name: Test VM

From log
00:00:01.867865 Name <string> = "Generic Boot" (cb=13)

In any case I suspect that what you are really doing is removing the CD from the controller and what you should be doing is remove the cd from the virtual drive. Look to the right side of the storage section while the CD actually has focus. There is a pull down that should say remove from drive.
palswim
Posts: 12
Joined: 31. Aug 2012, 18:24

Re: Ignore VERR_INVALID_PARAMETER Error

Post by palswim »

Perryg wrote:From vminfo
Name: Test VM

From log
00:00:01.867865 Name <string> = "Generic Boot" (cb=13)
Yes, I also tried to change the name everywhere, but missed the logs. It's the same VM.
Perryg wrote:In any case I suspect that what you are really doing is removing the CD from the controller
I'm not doing anything to alter the VM between boots, if that's what you mean.
Perryg wrote:what you should be doing is remove the cd from the virtual drive.
I'm asking for VirtualBox to handle other cases where it can't find the drive.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ignore VERR_INVALID_PARAMETER Error

Post by Perryg »

Then you are going to need to address this with the DEVs. at bugtracker
But I must warn you that you are going to be more specific about what you are doing and need or they will not be able to figure out your issue either.
palswim
Posts: 12
Joined: 31. Aug 2012, 18:24

Re: Ignore VERR_INVALID_PARAMETER Error

Post by palswim »

Perryg wrote:Then you are going to need to address this with the DEVs. at bugtracker
I think you still misunderstand me. I began the question by asking if VirtualBox does allow me to ignore this error. So, an authoritative Yes or No would answer this question. If VirtualBox doesn't allow this, then yes, I need to take it up with the devs.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ignore VERR_INVALID_PARAMETER Error

Post by Perryg »

In that case I would say no (not without editing the source code), and as indicated you need to address this with the DEVs.
Post Reply