VM stuck on accessing parallel port

Discussions related to using VirtualBox on Windows hosts.

Re: Drucker in VM

Postby André Lieske » 12. Apr 2021, 16:15

OK and Thanks
Gruss André
André Lieske
 
Posts: 65
Joined: 1. May 2016, 06:40
Location: Berlin
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP

Re: VM stuck on accessing parallel port

Postby fth0 » 12. Apr 2021, 19:05

Bitte poste eine neue ZIP-Datei mit der aktuellen VBox.log Datei und der aktuellen .vbox Datei, und eine Auflistung des VM-Verzeichnisses inkl. seiner Unterverzeichnisse, so dass wir den aktuellen Zustand der VM als Ganzes sehen.



Please post a new zip file, containing the current VBox.log file, the current .vbox file, and a directory listing of the VM directory with its subdirectories, so that we can see the current state as a whole.
fth0
Volunteer
 
Posts: 1859
Joined: 14. Feb 2019, 03:06
Location: Germany
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...

Re: VM stuck on accessing parallel port

Postby André Lieske » 12. Apr 2021, 19:57

Hier die Dateien, bekomme immer nur eine Datei hochgeladen
Attachments
log.zip
log.zip
(59.3 KiB) Downloaded 5 times
Gruss André
André Lieske
 
Posts: 65
Joined: 1. May 2016, 06:40
Location: Berlin
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP

Re: VM stuck on accessing parallel port

Postby André Lieske » 12. Apr 2021, 20:00

die nächste
Attachments
FlowFact.zip
FlowFact
(2.24 KiB) Downloaded 5 times
Gruss André
André Lieske
 
Posts: 65
Joined: 1. May 2016, 06:40
Location: Berlin
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP

Re: VM stuck on accessing parallel port

Postby André Lieske » 12. Apr 2021, 20:01

noch eine
Attachments
2021-04-12 20_00_21-Window.png
2021-04-12 20_00_21-Window.png (36.66 KiB) Viewed 174 times
Gruss André
André Lieske
 
Posts: 65
Joined: 1. May 2016, 06:40
Location: Berlin
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP

Re: VM stuck on accessing parallel port

Postby fth0 » 13. Apr 2021, 01:33

Die Datei FlowFact.vbox enthält immer noch die Definition des Parallelports, was bedeutet, dass der Austausch der Datei nicht funktioniert hat. Entweder hast Du die Anleitung von scottgus1 nicht genau genug befolgt, oder die Anleitung ist für Deinen Fall nicht gut genug. Der entscheidende Punkt der Anleitung ist folgender:

scottgus1 wrote:Reboot the host PC so no Virtualbox processes are running.

Nur wenn der VirtualBox-Prozess VBoxSVC nicht läuft, kannst Du die Datei nachhaltig ersetzen, weil VirtualBox ansonsten ihren Inhalt später wieder überschreibt. Falls Du diesen Teil der Anleitung beachtet hast, ist Dein Host vielleicht so konfiguriert, dass irgendeinen VirtualBox-Prozess beim Systemstart automatisch mitgestartet wird. Dieser wird dann seinerseits automatisch VBoxSVC starten (das ist eine Schwachstelle in der Anleitung). Mit diesem Wissen kannst Du jetzt erneut versuchen, die Datei durch die von scottgus1 zu ersetzen. Viel Erfolg! :)



The FlowFact.vbox file still contains the definition of the parallel port, which means that you failed to replace the file. Either you didn't follow scottgus1's instructions closely enough, or the instructions didn't fit well enough to your situation. The crucial part of the instructions is the following:

scottgus1 wrote:Reboot the host PC so no Virtualbox processes are running.

Only when the VirtualBox process VBoxSVC is not running, you can replace the file persistently, because otherwise VirtualBox will overwrite its content later on. If you followed this part of the instructions, perhaps your host is configured to automatically start a VirtualBox process during the system startup. Then that VirtualBox process will automatically start VBoxSVC (this is a weakness of the instructions given). With that knowledge, you can try to replace the file again with the one from scottgus1. Good luck! :)
fth0
Volunteer
 
Posts: 1859
Joined: 14. Feb 2019, 03:06
Location: Germany
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...

Re: VM stuck on accessing parallel port

Postby André Lieske » 13. Apr 2021, 07:43

Hallo,
habe die VM zum staren bekommen.

Jetzt fehlt nur noch der Drucker der am Host an LPT1 angeschlossen ist.
Die Netztwerk Drucker wurden alle eingebunden.
Habe in der VM die serielle Schnittstelle Port 1 und 2 aktiviert.
Attachments
Port2.png
Seriell Port 2
Port2.png (17.87 KiB) Viewed 161 times
port1.png
Seriell Port 1
port1.png (17.28 KiB) Viewed 161 times
ipconfig.txt
ipconfig
(1.2 KiB) Downloaded 6 times
Gruss André
André Lieske
 
Posts: 65
Joined: 1. May 2016, 06:40
Location: Berlin
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP

Re: VM stuck on accessing parallel port

Postby mpack » 13. Apr 2021, 10:05

What do the serial ports have to do with this problem?
mpack
Site Moderator
 
Posts: 33664
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VM stuck on accessing parallel port

Postby André Lieske » 13. Apr 2021, 10:10

LPT1 and LPT3
Gruss André
André Lieske
 
Posts: 65
Joined: 1. May 2016, 06:40
Location: Berlin
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP

Re: VM stuck on accessing parallel port

Postby mpack » 13. Apr 2021, 11:56

I repeat my question. LPT1 and LPT3 are not serial ports, they cannot be configured in the serial ports section.
mpack
Site Moderator
 
Posts: 33664
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VM stuck on accessing parallel port

Postby André Lieske » 13. Apr 2021, 12:01

Weiter unten in diesem Beitrag habe ich doch Bilder der Konfiguration gepostet,
versehe die Frage nicht.
Gruss André
André Lieske
 
Posts: 65
Joined: 1. May 2016, 06:40
Location: Berlin
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP

Re: VM stuck on accessing parallel port

Postby scottgus1 » 13. Apr 2021, 18:58

Thanks, fth0 & Mpack for joining in!

Andre, as Mpack points out, serial and parallel are two different kinds of ports. Activating the serial ports of the VM will not help to activate the parallel port.

However, you should not need to use the parallel port. Since you can share the printer from the host:
André Lieske wrote:Are you able to share the printer onto the network? yes

and the VM is getting the correct Ip address from Bridged:
XP's ipconfig.txt wrote:Microsoft Windows XP
...
Ethernetadapter LAN-Verbindung 3:
IP-Adresse. . . . . . . . . . . . : 192.168.1.151

Host's ipconfig.txt wrote: IPv4-Adresse . . . . . . . . . . : 192.168.1.133(Bevorzugt)

It appears you have solid network between host and VM. (you can check this by pinging the VM and the host from each other, web-search how to activate ping (ICMP Echo Request) in each OS's firewall).

So you can access the host's shared printer through the VM's network. Use normal XP methods to access the shared printer and install drivers for it in XP.

I strongly recommend using the shared printer and don't try to access through the parallel port. Trying to use the parallel port seems to break your VM.
scottgus1
Site Moderator
 
Posts: 11660
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VM stuck on accessing parallel port

Postby fth0 » 13. Apr 2021, 21:16

FWIW, in the initial post, the OP was writing about multiple printers, but did not state if they used parallel or serial interfaces. So maybe ... ;)
fth0
Volunteer
 
Posts: 1859
Joined: 14. Feb 2019, 03:06
Location: Germany
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...

Re: VM stuck on accessing parallel port

Postby André Lieske » 14. Apr 2021, 10:05

Hallo
warum werden meine Netzwerk Drucker auf dem Host Offline geschaltet?
In der VM kann ich Drucken
Gruss André
André Lieske
 
Posts: 65
Joined: 1. May 2016, 06:40
Location: Berlin
Primary OS: MS Windows other
VBox Version: OSE other
Guest OSses: WIN XP

Re: VM stuck on accessing parallel port

Postby mpack » 14. Apr 2021, 11:01

Parallel ports can't be shared. Either the host OS owns the port or the guest OS does. If the guest OS has the parallel port then the host OS (and other VMs) will lose the use of it.

This is not the same as saying that the printer cannot be shared - it can, but only if you leave ownership of the parallel port with the host OS.
mpack
Site Moderator
 
Posts: 33664
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

PreviousNext

Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 46 guests