VM stuck on accessing parallel port

Discussions related to using VirtualBox on Windows hosts.
André Lieske
Posts: 86
Joined: 1. May 2016, 06:40
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP
Location: Berlin

Re: Drucker in VM

Post by André Lieske »

Good. Are you able to share the printer onto the network? yes

And we still need to know the "ipconfig /all" from the VM. yes

Kann die VM nicht starten, bekomme die Fehlermeldung wie beschrieben.
Gruss André
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Drucker in VM

Post by scottgus1 »

Ah, I understand, I'm sorry! The VM cannot start.

If you are still getting this error:
HostParallel#0: Could not get direct access to the host parallel port!! (rc=VERR_INTERNAL_ERROR_3) (VERR_INTERNAL_ERROR_3).
Parallel device 0 cannot attach to host driver (VERR_INTERNAL_ERROR_3).
Then the other VM "DOS-PC" is probably still controlling the parallel port. Is "DOS-PC" running now?
André Lieske
Posts: 86
Joined: 1. May 2016, 06:40
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP
Location: Berlin

Re: Drucker in VM

Post by André Lieske »

nein die VM "DOS-PC" läuft nicht, meine VM heißt "FlowFact"
Gruss André
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Drucker in VM

Post by scottgus1 »

André Lieske wrote:my VM is called "FlowFact"
André Lieske wrote: Had previously entered the following code
cmd
cd / (press Enter)
cd c: \ Program Files \ Oracle \ VirtualBox (press

Enter ) VBoxManage modifyvm "DOS-PC" --lptmode1 "LPT1:"
VBoxManage modifyvm "DOS-PC" --lpt1 0x378 7
Unfortunately, the information is getting confusing. Do you have a VM called "DOS-PC"? Where did these commands come from?

The error appears to be coming from the Parallel port being wrongly configured or in use by another VM or the host OS.
André Lieske
Posts: 86
Joined: 1. May 2016, 06:40
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP
Location: Berlin

Re: Drucker in VM

Post by André Lieske »

bekomme die VM nicht gestartet.
habe es mit
VBoxManage modifyvm "FlowFact" --lptmode1 "LPT1:"
VBoxManage modifyvm "FlowFact" --lpt1 0x378 7
versucht.
Gruss André
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Drucker in VM

Post by scottgus1 »

My suggestion is to not send the printer into the VM through the parallel port. Instead, share the printer from the host OS.
André Lieske
Posts: 86
Joined: 1. May 2016, 06:40
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP
Location: Berlin

Re: Drucker in VM

Post by André Lieske »

Ich kann aber die VM nicht öffnen und mit VBoxManage bekomme ich die Einstellung nicht zurück gesetzt
Gruss André
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Drucker in VM

Post by scottgus1 »

Please post the .vbox file again. The earlier .vbox file did not have any parallel port entries, that I was able to see.
André Lieske
Posts: 86
Joined: 1. May 2016, 06:40
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP
Location: Berlin

Re: Drucker in VM

Post by André Lieske »

mache ich
Attachments
FlowFact-2021-04-12-15-21-30.log
VBOX.log
(36.3 KiB) Downloaded 16 times
Gruss André
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Drucker in VM

Post by scottgus1 »

Thanks, that was the vbox.log file. Please send the .vbox file, like you did in the second attachment "FlowFact.zip" here: viewtopic.php?f=5&t=86057&p=497866#p497807
André Lieske
Posts: 86
Joined: 1. May 2016, 06:40
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP
Location: Berlin

Re: Drucker in VM

Post by André Lieske »

kommt
Attachments
FlowFact.zip
(2.25 KiB) Downloaded 15 times
Gruss André
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Drucker in VM

Post by scottgus1 »

Thanks. This .vbox file contains these lines defining the LPT port:
<LPT>
<Port slot="0" enabled="true" IOBase="0x378" IRQ="7" path="LPT1:"/>
</LPT>
I have removed these lines, so the VM should not look for the parallel port anymore. Hopefully this will get the VM running again.

Reboot the host PC so no Virtualbox processes are running.
Rename the existing "FlowFact.vbox" to "FlowFact.vbox-lpt"
Unzip the below "FlowFact.vbox" and put it in the FlowFact folder next to "FlowFact.vbox-lpt"

Your VM should now start up and not look for the LPT port anymore. You should then be able to get the VM's "ipconfig /all".
Attachments
FlowFact.vbox no LPT.zip
(2.23 KiB) Downloaded 24 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Drucker in VM

Post by scottgus1 »

BTW, I was wrong earlier when I said the first .vbox didn't have the LPT instructions. They were there, I didn't notice them before. Sorry!
André Lieske
Posts: 86
Joined: 1. May 2016, 06:40
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP
Location: Berlin

Re: Drucker in VM

Post by André Lieske »

Fehler kommt immer noch
Gruss André
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Drucker in VM

Post by scottgus1 »

I am afraid I am stumped, then. I don't know what is wrong.

We'll need a forum guru to look more into this. I will move this to Windows Hosts, to get more views.
Post Reply