Debian Bug report logs - #509479
kvm: gdb stub fails: Remote 'g' packet reply is too long

version graph

Package: kvm; Maintainer for kvm is Michael Tokarev <mjt@tls.msk.ru>; Source for kvm is src:qemu-kvm.

Reported by: Nelson Elhage <nelhage@MIT.EDU>

Date: Mon, 22 Dec 2008 18:42:01 UTC

Severity: normal

Found in version kvm/72+dfsg-3

Done: Nelson Elhage <nelhage@MIT.EDU>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Jan Lübbe <jluebbe@debian.org>:
Bug#509479; Package kvm. (Mon, 22 Dec 2008 18:42:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nelson Elhage <nelhage@MIT.EDU>:
New Bug report received and forwarded. Copy sent to Jan Lübbe <jluebbe@debian.org>. (Mon, 22 Dec 2008 18:42:03 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Nelson Elhage <nelhage@MIT.EDU>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: kvm: gdb stub fails: Remote 'g' packet reply is too long
Date: Mon, 22 Dec 2008 13:32:33 -0500
Package: kvm
Version: 72+dfsg-3
Severity: normal


KVM's gdb stub appears to be broken at least when debugging a 64-bit
guest on a 64-bit system (I haven't tried any other combinations; I
can do so if it would be useful). I launch kvm using

 kvm -hda /dev/lunatique/hackme-disk -boot c -net nic -net tap -vnc localhost:2 -serial stdio -s -S

And attach gdb. I tell gdb to continue, and break with ^C at some
later point during the guest's boot process, and gdb gives me:

(gdb) c
Continuing.
^CRemote 'g' packet reply is too long: 40d410720000000060a66680ffffffff0000000000000000fd03000000000000050000000000000060a66680ffffffff0000000000000000d05b5780ffffffff630000000000000000dc5680ffffffff00000000000000005e6c6080000000000e2700000000000061000000000000001200000000000000a28e6080ffffffff9ceb3780ffffffff0200000010000000180000001800000018000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007f03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

- Nelson Elhage

-- Package-specific info:


/proc/cpuinfo:

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
stepping	: 6
cpu MHz		: 2131.192
cache size	: 2048 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips	: 4265.89
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 15
model name	: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
stepping	: 6
cpu MHz		: 2131.192
cache size	: 2048 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips	: 4262.41
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:




-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kvm depends on:
ii  adduser                3.110             add and remove users and groups
ii  bridge-utils           1.4-5             Utilities for configuring the Linu
ii  iproute                20080725-2        networking and traffic control too
ii  libasound2             1.0.16-2          ALSA library
ii  libc6                  2.7-16            GNU C Library: Shared libraries
ii  libgnutls26            2.4.2-4           the GNU TLS library - runtime libr
ii  libncurses5            5.6+20080830-2    shared libraries for terminal hand
ii  libsdl1.2debian        1.2.13-2          Simple DirectMedia Layer
ii  python                 2.5.2-3           An interactive high-level object-o
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages kvm recommends:
ii  linux-image-2.6.22-3-amd 2.6.22-6.lenny1 Linux 2.6.22 image on AMD64
ii  linux-image-2.6.24-1-amd 2.6.24-7        Linux 2.6.24 image on AMD64
ii  linux-image-2.6.25-2-amd 2.6.25-7        Linux 2.6.25 image on AMD64

Versions of packages kvm suggests:
ii  debootstrap                   1.0.10     Bootstrap a basic Debian system
pn  hal                           <none>     (no description available)
pn  kvm-source                    <none>     (no description available)
pn  samba                         <none>     (no description available)
ii  vde2                          2.2.2-3    Virtual Distributed Ethernet

-- no debconf information




Reply sent to Nelson Elhage <nelhage@MIT.EDU>:
You have taken responsibility. (Mon, 22 Dec 2008 18:51:03 GMT) Full text and rfc822 format available.

Notification sent to Nelson Elhage <nelhage@MIT.EDU>:
Bug acknowledged by developer. (Mon, 22 Dec 2008 18:51:03 GMT) Full text and rfc822 format available.

Message #10 received at 509479-done@bugs.debian.org (full text, mbox):

From: Nelson Elhage <nelhage@MIT.EDU>
To: 509479-done@bugs.debian.org
Subject: Closed: User error
Date: Mon, 22 Dec 2008 13:48:30 -0500
Looks like this is user error; 'gdb' got confused and thought it was
debugging a 32-bit target. Executing
 set architecture i386:x86-64:intel
make everything work perfectly

- Nelson




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 20 Jan 2009 07:28:33 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 00:23:22 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.