All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1073952] [NEW] data sent to serial interface gets truncated after 64kb
@ 2012-11-01 13:30 David Jaschuk
  2017-04-07 13:51 ` [Qemu-devel] [Bug 1073952] " Thomas Huth
  2017-06-07  4:17 ` Launchpad Bug Tracker
  0 siblings, 2 replies; 3+ messages in thread
From: David Jaschuk @ 2012-11-01 13:30 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

When sending more than 64kb of data to the serial interface in a short
timespan, the data seems to disappear.

I tested it with the latest release (qemu-kvm-1.2.0-rc2.tar.gz) where
the bug still occurs. I stumbled upon it when I upraged my qemu version.
The bug did not occur in the last version i had (0.12.5).

You can reproduce it as follows:

1. Start a dd or cat command in one terminal and pipe the output to a
netcat. The testfile has to be larger than 64kb. I used one that had
93kb and did contain only ascii text.

     $ dd if=<TESTFILE> | nc -l 127.0.0.1 65432
     or
     $ cat <TESTFILE> | nc -l 127.0.0.1 65432

2. Start a qemu and let the first serial port connect to the listening
netcat. I suppose that the testsystem can be any system that does not
read from the serial port on its own (e.g. during boot process). I used
a self compiled minimal linux.

     $ qemu -cdrom <TESTSYSTEM> -serial tcp:127.0.0.1:65432

3. When the testsystem is booted, read from the serial device and write
it to a file.

     $ dd if=/dev/ttyS0 of=/tmp/testFile
     or
     $ cat /dev/ttyS0 > /tmp/testFile


The result in almost all of my testruns is, that the /tmp/testFile does only has the size of 64kb. The rest of the data vanished. In some cases the file was slightly bigger (65kb or 67kb) but allways under 70kb. The complete file (93kb) was not trasmitted in any of the runs.

I hope my explanation is exactly enough for you to reproduce it.

** Affects: qemu
     Importance: Undecided
         Status: New

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

Title:
  data sent to serial interface gets truncated after 64kb

Status in QEMU:
  New

Bug description:
  When sending more than 64kb of data to the serial interface in a short
  timespan, the data seems to disappear.

  I tested it with the latest release (qemu-kvm-1.2.0-rc2.tar.gz) where
  the bug still occurs. I stumbled upon it when I upraged my qemu
  version. The bug did not occur in the last version i had (0.12.5).

  You can reproduce it as follows:

  1. Start a dd or cat command in one terminal and pipe the output to a
  netcat. The testfile has to be larger than 64kb. I used one that had
  93kb and did contain only ascii text.

       $ dd if=<TESTFILE> | nc -l 127.0.0.1 65432
       or
       $ cat <TESTFILE> | nc -l 127.0.0.1 65432

  2. Start a qemu and let the first serial port connect to the listening
  netcat. I suppose that the testsystem can be any system that does not
  read from the serial port on its own (e.g. during boot process). I
  used a self compiled minimal linux.

       $ qemu -cdrom <TESTSYSTEM> -serial tcp:127.0.0.1:65432

  3. When the testsystem is booted, read from the serial device and
  write it to a file.

       $ dd if=/dev/ttyS0 of=/tmp/testFile
       or
       $ cat /dev/ttyS0 > /tmp/testFile

  
  The result in almost all of my testruns is, that the /tmp/testFile does only has the size of 64kb. The rest of the data vanished. In some cases the file was slightly bigger (65kb or 67kb) but allways under 70kb. The complete file (93kb) was not trasmitted in any of the runs.

  I hope my explanation is exactly enough for you to reproduce it.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [Bug 1073952] Re: data sent to serial interface gets truncated after 64kb
  2012-11-01 13:30 [Qemu-devel] [Bug 1073952] [NEW] data sent to serial interface gets truncated after 64kb David Jaschuk
@ 2017-04-07 13:51 ` Thomas Huth
  2017-06-07  4:17 ` Launchpad Bug Tracker
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Huth @ 2017-04-07 13:51 UTC (permalink / raw)
  To: qemu-devel

Triaging old bug tickets ... can you still reproduce this issue with the
latest version of QEMU (version 2.9)?

** Changed in: qemu
       Status: New => Incomplete

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

Title:
  data sent to serial interface gets truncated after 64kb

Status in QEMU:
  Incomplete

Bug description:
  When sending more than 64kb of data to the serial interface in a short
  timespan, the data seems to disappear.

  I tested it with the latest release (qemu-kvm-1.2.0-rc2.tar.gz) where
  the bug still occurs. I stumbled upon it when I upraged my qemu
  version. The bug did not occur in the last version i had (0.12.5).

  You can reproduce it as follows:

  1. Start a dd or cat command in one terminal and pipe the output to a
  netcat. The testfile has to be larger than 64kb. I used one that had
  93kb and did contain only ascii text.

       $ dd if=<TESTFILE> | nc -l 127.0.0.1 65432
       or
       $ cat <TESTFILE> | nc -l 127.0.0.1 65432

  2. Start a qemu and let the first serial port connect to the listening
  netcat. I suppose that the testsystem can be any system that does not
  read from the serial port on its own (e.g. during boot process). I
  used a self compiled minimal linux.

       $ qemu -cdrom <TESTSYSTEM> -serial tcp:127.0.0.1:65432

  3. When the testsystem is booted, read from the serial device and
  write it to a file.

       $ dd if=/dev/ttyS0 of=/tmp/testFile
       or
       $ cat /dev/ttyS0 > /tmp/testFile

  
  The result in almost all of my testruns is, that the /tmp/testFile does only has the size of 64kb. The rest of the data vanished. In some cases the file was slightly bigger (65kb or 67kb) but allways under 70kb. The complete file (93kb) was not trasmitted in any of the runs.

  I hope my explanation is exactly enough for you to reproduce it.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [Bug 1073952] Re: data sent to serial interface gets truncated after 64kb
  2012-11-01 13:30 [Qemu-devel] [Bug 1073952] [NEW] data sent to serial interface gets truncated after 64kb David Jaschuk
  2017-04-07 13:51 ` [Qemu-devel] [Bug 1073952] " Thomas Huth
@ 2017-06-07  4:17 ` Launchpad Bug Tracker
  1 sibling, 0 replies; 3+ messages in thread
From: Launchpad Bug Tracker @ 2017-06-07  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

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

Title:
  data sent to serial interface gets truncated after 64kb

Status in QEMU:
  Expired

Bug description:
  When sending more than 64kb of data to the serial interface in a short
  timespan, the data seems to disappear.

  I tested it with the latest release (qemu-kvm-1.2.0-rc2.tar.gz) where
  the bug still occurs. I stumbled upon it when I upraged my qemu
  version. The bug did not occur in the last version i had (0.12.5).

  You can reproduce it as follows:

  1. Start a dd or cat command in one terminal and pipe the output to a
  netcat. The testfile has to be larger than 64kb. I used one that had
  93kb and did contain only ascii text.

       $ dd if=<TESTFILE> | nc -l 127.0.0.1 65432
       or
       $ cat <TESTFILE> | nc -l 127.0.0.1 65432

  2. Start a qemu and let the first serial port connect to the listening
  netcat. I suppose that the testsystem can be any system that does not
  read from the serial port on its own (e.g. during boot process). I
  used a self compiled minimal linux.

       $ qemu -cdrom <TESTSYSTEM> -serial tcp:127.0.0.1:65432

  3. When the testsystem is booted, read from the serial device and
  write it to a file.

       $ dd if=/dev/ttyS0 of=/tmp/testFile
       or
       $ cat /dev/ttyS0 > /tmp/testFile

  
  The result in almost all of my testruns is, that the /tmp/testFile does only has the size of 64kb. The rest of the data vanished. In some cases the file was slightly bigger (65kb or 67kb) but allways under 70kb. The complete file (93kb) was not trasmitted in any of the runs.

  I hope my explanation is exactly enough for you to reproduce it.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-07  4:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-01 13:30 [Qemu-devel] [Bug 1073952] [NEW] data sent to serial interface gets truncated after 64kb David Jaschuk
2017-04-07 13:51 ` [Qemu-devel] [Bug 1073952] " Thomas Huth
2017-06-07  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.