Menu

#417 network problems

open
nobody
intel (43)
5
2012-10-09
2009-04-05
No

hi,

some problems with network...

1) with socket

modprobe kvm

modprobe kvm-intel

$ kvm -hda mydisk -m 192 -localtime -k fr -net nic -net socket,listen=:1234

KO segmentation fault with option "-net nic -net socket,listen=:1234"
OK with user or tap nic, no problem
KO same problem with qemu
KO same problem with -no-kvm option

2) with vde switch

modprobe kvm

modprobe kvm-intel

modprobe tun

tunctl -u toto

ifconfig tap0 172.20.0.1 netmask 255.255.255.0 up

$ vde_switch -s /tmp/switch -daemon
$ vde_plug2tap -s /tmp/switch -daemon tap0
$ vdekvm -hda mydisk -net nic -net vde,sock=/tmp/switch

KO "arg ,sock=/tmp/switch TUNGETIFF ioctl() failed: Invalid argument"
starts but without connected to the virtual switch
KO "samsung kernel: kvm: 6245: cpu0 unhandled wrmsr: 0xc0010117 data
0" in /var/log/everything.log
OK with vdeqemu

informations:

cat /proc/cpuinfo

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz
stepping : 6
cpu MHz : 2094.751
cache size : 3072 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
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 lm
constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est
tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida tpr_shadow vnmi
flexpriority
bogomips : 4191.06
clflush size : 64
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz
stepping : 6
cpu MHz : 2094.751
cache size : 3072 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
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 lm
constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est
tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida tpr_shadow vnmi
flexpriority
bogomips : 4191.06
clflush size : 64
power management:

kvm | grep -i version

QEMU PC emulator version 0.9.1 (kvm-84), Copyright (c) 2003-2008 Fabrice Bellard

grep -i qemu /var/log/pacman.log | tail -n 1

installed qemu (0.10.0-1)

uname -a

Linux samsung 2.6.28-ARCH #1 SMP PREEMPT Tue Mar 17 06:42:43 UTC 2009
i686 Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz GenuineIntel GNU/Linux

grep kernel /var/log/pacman.log | tail -n 1

[2009-03-26 18:27] upgraded kernel26 (2.6.28.7-2 -> 2.6.28.8-1)

upgraded qemu (0.10.0-1 -> 0.10.1-1) KO segmentation fault still remain

dmesg | tail :

qemu[5710]: segfault at 0 ip b7a73063 sp bfd59cfc error 4 in libc-2.9.so[b7a00000+140000]

Discussion

  • Lacsap Lacsap

    Lacsap Lacsap - 2009-04-10

    Hi,

    Gerardo Exequiel Pozzi find the net socket problem: see http://bugs.archlinux.org/task/13754

     
  • Pantelis Koukousoulas

    Note that vde works if you just use the native vde support, i.e., make sure vde support is compiled in that vdeplug library is available and just drop the vdeq/vdeqemu/vdekvm and keep the -net vde,... part.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.