qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1862619] Re: "-serial telnet::xxxx, server" causes "Device 'serial0


From: Andrew Scott
Subject: [Bug 1862619] Re: "-serial telnet::xxxx, server" causes "Device 'serial0' is in use"
Date: Wed, 05 Jan 2022 16:27:44 -0000

Reporting again. Compiled QEMU from the latest stable Git:

QEMU emulator version 6.2.50 (v6.2.0-529-gfb084237a3)
Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers

Exactly as original post, if I place -serial telnet::4441,server ahead
of -serial mon,stdio on the command line, it dumps core and aborts.

if I flip them, it runs... BUT! The vm console output appears in the
terminal where I launched qemu, I get no output in the telnet session.
That's backwards. I have no access to the qemu console and can't issue
commands to do things like change the CDROM.

full command startup script (this one works but output doesn't happen
where I expect)

#!/bin/sh
CDROM="-cdrom HP-UX-OE-1.iso"
QEMU=/home/ascott/Documents/hpux/qemu/qemu/build/qemu-system-hppa
IMAGE=/home/ascott/Documents/hpux/hpux.img
$QEMU -boot d -serial mon:stdio -serial telnet::4441,server -drive 
if=scsi,bus=0,index=6,file=$IMAGE,format=raw -nographic -m 512 -d nochain 
$CDROM  -net nic,model=tulip  -net user

This one dumps core with the serial0 error from the originla post:

#!/bin/sh
CDROM="-cdrom HP-UX-OE-1.iso"
QEMU=/home/ascott/Documents/hpux/qemu/qemu/build/qemu-system-hppa
IMAGE=/home/ascott/Documents/hpux/hpux.img
$QEMU -boot d -serial telnet::4441,server -serial mon:stdio -drive 
if=scsi,bus=0,index=6,file=$IMAGE,format=raw -nographic -m 512 -d nochain 
$CDROM  -net nic,model=tulip  -net user

ascott@vmhost01:~/Documents/hpux$ sh ./install-hpux.sh 
qemu-system-hppa: -serial telnet::4441,server: info: QEMU waiting for 
connection on: disconnected:telnet:0.0.0.0:4441,server=on
Unexpected error in qemu_chr_fe_init() at ../chardev/char-fe.c:220:
qemu-system-hppa: Device 'serial0' is in use
Aborted (core dumped)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1862619

Title:
  "-serial telnet::xxxx,server" causes "Device 'serial0' is in use"

Status in QEMU:
  Fix Released

Bug description:
  I start qemu version 4.2.50 in a first terminal :

  $ sudo ./qemu-system-hppa -boot d -serial telnet::4441,server -drive
  if=scsi,bus=0,index=6,file=./hpux.img,format=raw -serial mon:stdio -D
  /tmp/foo -nographic -m 512 -d nochain -cdrom
  ./HPUX_9.05_Installation_Disc_S700.iso -D /tmp/foo -net
  nic,model=tulip  -net tap

  qemu-system-hppa: -serial telnet::4441,server: info: QEMU waiting for
  connection on: disconnected:telnet:0.0.0.0:4441,server

  In another terminal, I launch "telnet localhost 4441"

  And in the qemu window I have the following error:

  Unexpected error in qemu_chr_fe_init() at chardev/char-fe.c:220:
  qemu-system-hppa: Device 'serial0' is in use

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1862619/+subscriptions




reply via email to

[Prev in Thread] Current Thread [Next in Thread]