Re: kvm-18 breaks Cisco VPN on WinXP SP1

Carsten Emde
2007-04-13T06:55:18Z

[-- Attachment #1: Type: text/plain, Size: 943 bytes --]

Avi,
>>> Please test the attached patch [..]
Same problem here, except that I can reproduce the network hanger just
by mounting an SMB share and producing a certain network load, for
example copying a file of several megabytes or rapidly moving the slider
up and down. Setting the network device to "-net nic,model=rtl8139" also
"cures" the problem. Earlier versions such as kvm-13 did not have this
problem.

CPU:
model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm

Linux: 2.6.20-1.3059.fc7 #1 SMP
Windows: XP SP2

Strace -ttT when it hangs -> kvm-netloop.trace
Output after starting qemu until it hangs -> kvm-netloop.output

Do you need any more information or whatever testing? I'll be glad to help.

--cbe

[-- Attachment #2: kvm-netloop.trace --]
[-- Type: text/plain, Size: 9707 bytes --]

08:28:44.561412 clock_gettime(CLOCK_MONOTONIC, {949, 652162158}) = 0 <0.000010>
08:28:44.561513 sigreturn() = ? (mask now []) <0.000010>
08:28:44.561673 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.561778 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.561882 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.561986 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.562090 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.562193 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.562292 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.562378 clock_gettime(CLOCK_MONOTONIC, {949, 653128044}) = 0 <0.000010>
08:28:44.562479 sigreturn() = ? (mask now []) <0.000011>
08:28:44.562639 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.562744 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.562848 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.562952 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.563056 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.563159 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.563259 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.563344 clock_gettime(CLOCK_MONOTONIC, {949, 654093942}) = 0 <0.000010>
08:28:44.563445 sigreturn() = ? (mask now []) <0.000010>
08:28:44.563605 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.563710 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.563813 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.563917 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.564021 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.564125 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.564224 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.564305 clock_gettime(CLOCK_MONOTONIC, {949, 778752004}) = 0 <0.000015>
08:28:44.688112 sigreturn() = ? (mask now []) <0.000011>
08:28:44.688276 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.688366 clock_gettime(CLOCK_MONOTONIC, {949, 779116646}) = 0 <0.000009>
08:28:44.688468 sigreturn() = ? (mask now []) <0.000010>
08:28:44.688630 ioctl(7, 0xae80, 0) = 0 <0.000020>
08:28:44.688740 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.688845 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.688950 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.689054 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.689159 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.689259 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.689345 clock_gettime(CLOCK_MONOTONIC, {949, 780096059}) = 0 <0.000010>
08:28:44.689447 sigreturn() = ? (mask now []) <0.000010>
08:28:44.689608 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.689713 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.689818 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.689922 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.690026 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.690130 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.690230 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.690311 clock_gettime(CLOCK_MONOTONIC, {949, 781066069}) = 0 <0.000010>
08:28:44.690417 sigreturn() = ? (mask now []) <0.000010>
08:28:44.690578 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.690682 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.690787 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.690891 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.690995 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.691099 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.691199 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.691280 clock_gettime(CLOCK_MONOTONIC, {949, 782042550}) = 0 <0.000010>
08:28:44.691394 sigreturn() = ? (mask now []) <0.000010>
08:28:44.691555 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.691659 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.691764 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.691868 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.691972 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.692076 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.692176 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.692257 clock_gettime(CLOCK_MONOTONIC, {949, 783011694}) = 0 <0.000009>
08:28:44.692363 sigreturn() = ? (mask now []) <0.000010>
08:28:44.692524 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.692628 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.692733 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.692837 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.692941 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.693045 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.693145 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.693225 clock_gettime(CLOCK_MONOTONIC, {949, 783975470}) = 0 <0.000010>
08:28:44.693331 sigreturn() = ? (mask now []) <0.000010>
08:28:44.693492 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.693596 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.693701 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.693805 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.693909 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.694013 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.694113 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.694193 clock_gettime(CLOCK_MONOTONIC, {949, 784943744}) = 0 <0.000009>
08:28:44.694294 sigreturn() = ? (mask now []) <0.000010>
08:28:44.694460 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.694565 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.694669 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.694773 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.694877 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.694981 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.695081 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.695161 clock_gettime(CLOCK_MONOTONIC, {949, 785911445}) = 0 <0.000010>
08:28:44.695262 sigreturn() = ? (mask now []) <0.000010>
08:28:44.816295 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.816388 clock_gettime(CLOCK_MONOTONIC, {949, 907138851}) = 0 <0.000010>
08:28:44.816491 sigreturn() = ? (mask now []) <0.000010>
08:28:44.816653 ioctl(7, 0xae80, 0) = 0 <0.000019>
08:28:44.816761 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.816866 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.816970 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.817075 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.817175 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.817255 clock_gettime(CLOCK_MONOTONIC, {949, 908010503}) = 0 <0.000010>
08:28:44.817361 sigreturn() = ? (mask now []) <0.000010>
08:28:44.817522 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.817627 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.817731 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.817835 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.817940 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.818044 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.818144 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.818224 clock_gettime(CLOCK_MONOTONIC, {949, 908974684}) = 0 <0.000009>
08:28:44.818330 sigreturn() = ? (mask now []) <0.000010>
08:28:44.818491 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.818596 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.818700 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.818804 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.818908 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.819012 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.819111 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.819192 clock_gettime(CLOCK_MONOTONIC, {949, 909941740}) = 0 <0.000009>
08:28:44.819292 sigreturn() = ? (mask now []) <0.000010>
08:28:44.819458 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.819563 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.819667 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.819771 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.819875 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.819979 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.820079 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.820159 clock_gettime(CLOCK_MONOTONIC, {949, 910909617}) = 0 <0.000009>
08:28:44.820260 sigreturn() = ? (mask now []) <0.000010>
08:28:44.820426 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.820530 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.820634 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.820738 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.820842 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.820946 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.821046 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.821126 clock_gettime(CLOCK_MONOTONIC, {949, 911876793}) = 0 <0.000009>
08:28:44.821228 sigreturn() = ? (mask now []) <0.000010>
08:28:44.821393 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.821497 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.821602 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.821706 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.821810 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.821914 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.822013 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.822094 clock_gettime(CLOCK_MONOTONIC, {949, 912844007}) = 0 <0.000010>
08:28:44.822195 sigreturn() = ? (mask now []) <0.000010>
08:28:44.822359 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.822464 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.822568 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.822672 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.822776 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.822880 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.822980 --- SIGIO (I/O possible) @ 0 (0) ---
08:28:44.823060 clock_gettime(CLOCK_MONOTONIC, {949, 913810441}) = 0 <0.000010>
08:28:44.823161 sigreturn() = ? (mask now []) <0.000010>
08:28:44.823334 ioctl(7, 0xae80, 0) = 0 <0.000016>
08:28:44.823439 ioctl(7, 0xae80, 0) = 0 <0.000017>
08:28:44.823544 ioctl(7, 0xae80, 0) = 0 <0.000016>

[-- Attachment #3: kvm-netloop.output --]
[-- Type: text/plain, Size: 1664 bytes --]

handle_io: port d dir 1 size 1 count 1 offset 1000
handle_io: port 1f7 dir 0 size 1 count 1 offset 1000
handle_io: port cf8 dir 1 size 4 count 1 offset 1000
handle_io: port 3ce dir 1 size 2 count 1 offset 1000
handle_io: port c108 dir 1 size 1 count 1 offset 1000
handle_io: port c10b dir 1 size 1 count 1 offset 1000
handle_io: port 379 dir 0 size 1 count 1 offset 1000
handle_io: port cf8 dir 1 size 4 count 1 offset 1000
handle_io: port c000 dir 1 size 1 count 1 offset 1000
handle_io: port 40 dir 0 size 1 count 1 offset 1000
handle_io: port 1f5 dir 1 size 1 count 1 offset 1000
handle_io: port c10b dir 1 size 1 count 1 offset 1000
handle_io: port c002 dir 1 size 1 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000
handle_io: port c110 dir 0 size 2 count 1 offset 1000

[-- Attachment #4: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #5: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org