Package: kvm
Version: 65+dfsg-2
Severity: important

[EMAIL PROTECTED]:/tmp$ qemu-img create test  1M
Formatting 'test', fmt=raw, size=1024 kB

[EMAIL PROTECTED]:/tmp$ kvm -snapshot test -net nic,model=rtl8139 -net
tap,ifname=tap2,script=/etc/qemu-ifup
Executing /etc/qemu-ifup
Bringing up tap2 for bridged mode...
Adding tap2 to br0...
device tap2 is already a member of a bridge; can't enslave it to
bridge br0.
Segmentation fault (core dumped)

Downgrading to version 64 does not resolve the problem. But version 58
seems to work.

[EMAIL PROTECTED]:/tmp$ ~/bin/kvm-58 -snapshot test -net nic,model=ne2k_pci
-net tap,ifname=tap2,script=/etc/qemu-ifup
Executing /etc/qemu-ifup
Bringing up tap2 for bridged mode...
Adding tap2 to br0...
device tap2 is already a member of a bridge; can't enslave it to
bridge br0.
  ( --- I stop KVM here after it successfully launched --- )
/etc/kvm/kvm-ifdown: could not launch network script


Segfault happens with ne2k_pci device as well. dmesg only logs the
following error,

  kvm[4199]: segfault at 6374653b eip b7bdfcd6 esp bfe19680 error 4

Nothing else.

The script is just,

#!/bin/sh

switch=$(ip route ls | awk '/^default / { for(i=0;i<NF;i++) { if ($(i)
== "dev") print $(i+1) }}')
/sbin/ifconfig $1 0.0.0.0 up
/usr/sbin/brctl addif ${switch} $1
exit 0


- Adam


-- Package-specific info:


selected information from lshal(1):



/proc/cpuinfo:

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 75
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping        : 2
cpu MHz         : 2004.196
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 
3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy ts fid vid 
ttp tm stc
bogomips        : 4011.78
clflush size    : 64

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 75
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping        : 2
cpu MHz         : 2004.196
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 
3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy ts fid vid 
ttp tm stc
bogomips        : 4008.37
clflush size    : 64




-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (5, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (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.107             add and remove users and groups
ii  bridge-utils           1.4-1             Utilities for configuring the Linu
ii  iproute                20080108-1        Professional tools to control the 
ii  kvm-data               65+dfsg-2         Data files for the KVM package
ii  libasound2             1.0.16-2          ALSA library
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libgnutls26            2.2.2-1           the GNU TLS library - runtime libr
ii  libncurses5            5.6+20080308-1    Shared libraries for terminal hand
ii  libsdl1.2debian        1.2.13-2          Simple DirectMedia Layer
ii  zlib1g                 1:1.2.3.3.dfsg-11 compression library - runtime

Versions of packages kvm recommends:
ii  kvm-source                    65+dfsg-2  Source for the KVM driver
ii  linux-image-2.6.24-1-686 [lin 2.6.24-5   Linux 2.6.24 image on PPro/Celeron

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to