86Box/86Box

Local windbg cannot connect to the serial port of 86Box through pipe

OldMadMan opened this issue · 0 comments

What happened?

In the configuration page of 86Box, I configured COM1 Passthrough. After that, I installed the chk version of Windows 2000 in 86Box (of course I also tried Windows XP) and configured boot.ini to load the operating system in COM Debug mode.

After everything was completed, I used the Kernel Debug function of Windbg on the host machine to connect to 86Box through COM, but either it could not connect, or the moment it connected, Windbg would freeze and crash, and when trying to reconnect , the system prompts that all named pipes are being used.

Configuration file

[Matrox Productiva G100]
memory = 16

[Standard PS/2 Mouse]
buttons = 4

[Serial Passthrough Device #1]
mode = 0
named_pipe = \\.\pipe\com_1
data_bits = 8
stop_bits = 1
baudrate = 115200

[General]
vid_renderer = qt_software
host_cpu = AMD Ryzen 7 5800X 8-Core Processor             
emu_build_num = 5726
uuid = 590de633-5ef8-5283-bf5f-03af2750d390
sound_gain = 18

[Machine]
machine = cuv4xls
cpu_family = celeron_mendocino
cpu_speed = 533333333
cpu_multi = 8
fpu_type = internal
cpu_use_dynarec = 1
fpu_softfloat = 0
time_sync = disabled
mem_size = 1048576

[Video]
gfxcard = productiva_g100

[Input devices]
mouse_type = ps2

[Sound]
sndcard = internal
midi_device = system_midi
fm_driver = nuked

[Network]
net_01_link = 0
net_02_link = 0
net_03_link = 0
net_04_link = 0

[Ports (COM & LPT)]
serial1_passthrough_enabled = 1

[Storage controllers]
hdc = internal
cassette_mode = load

[Hard disks]
hdd_01_parameters = 63, 16, 20805, 0, ide
hdd_01_fn = C:/O/000.img
hdd_01_speed = 2000_7200rpm
hdd_01_ide_channel = 0:0

[Floppy and CD-ROM drives]
fdd_01_type = 35_2hd
fdd_01_turbo = 1
fdd_02_type = 525_2hd
fdd_02_turbo = 1
cdrom_01_speed = 72
cdrom_01_parameters = 1, atapi
cdrom_01_ide_channel = 1:0
cdrom_01_type = 86BOX_CD-ROM_1.00

Operating system

Windows 11 (26100)

CPU

AMD Ryzen 7 5800X

86Box version

v4.2 build 5726

Build architecture

Windows - x86 (32-bit)

Build type

  • New recompiler
  • Debug build

Download source

Official website (Jenkins, GitHub)

Additional context

No response