[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH][XM-TEST] New hping TCP and UDP tests


The included patch adds network tests that hping TCP and UDP packets. 

The new tests uncover some issues on HVM enabled systems with qemu-dm.
The 13_network_domU_udp_pos.py test hits an error on both 32 and 64bit
SMP systems. I hit a kernel BUG 2 out of 4 runs on my 64bit system.
Unfortunately, I can't reproduce the bug on every run. I need to add
more stressful tests.

We will file a bug for the error we've encountered. 

Here's dmesg output from the 64bit error encountered with

device vif627.8 left promiscuous mode
xenbr0: port 8(vif627.8) entering disabled state
Eeek! page_mapcount(page) went negative! (-1)
  page->flags = 14
  page->count = 1
  page->mapping = 0000000000000000
----------- [cut here ] --------- [please bite here ] ---------
Kernel BUG at mm/rmap.c:555
invalid opcode: 0000 [1]
Modules linked in: video thermal processor fan button battery ac qla2300
qla2xxx scsi_transport_fc
Pid: 519, comm: qemu-dm Not tainted 2.6.16-rc5-xen0 #2
RIP: e030:[<ffffffff8015d507>] <ffffffff8015d507>{page_remove_rmap+135}
RSP: e02b:ffff880014067bc8  EFLAGS: 00010286
RAX: 00000000ffffffff RBX: ffff8800014b5df8 RCX: 0000000000000000
RDX: 00000000ffffff01 RSI: 000000000001926c RDI: ffffffff8052f260
RBP: ffff880014067bd8 R08: 0000000000000000 R09: 0000000000000023
R10: 000000000000001f R11: 000000000000001e R12: ffff88000d6ff568
R13: 0000000000000000 R14: ffff8800014b5df8 R15: ffff88000a5acab0
FS:  00002ae1efafbde0(0000) GS:ffffffff80654000(0000)
CS:  e033 DS: 0000 ES: 0000
Process qemu-dm (pid: 519, threadinfo ffff880014066000, task
Stack: ffff880014067bd8 00002aaaaacad000 ffff880014067cd8
       0000000000000000 00002aaaaaeabfff 00002aaaaaeabfff
       00000000a91a2067 ffffffff00000000
Call Trace: <ffffffff80154684>{unmap_vmas+1764}
<ffffffff8015abc2>{exit_mmap+98}       <ffffffff801244b3>{mmput+35}
       <ffffffff801755b7>{pipe_readv+663} <ffffffff8017564e>{pipe_read

Code: 0f 0b 68 3c f6 4a 80 c2 2b 02 48 c7 c6 ff ff ff ff bf 20 00
RIP <ffffffff8015d507>{page_remove_rmap+135} RSP <ffff880014067bc8>
 <1>Fixing recursive fault but reboot is needed!
Bad page state in process 'net.agent'
page:ffff8800014b5df8 flags:0x0000000000000014 mapping:0000000000000000
mapcount:-1 count:0
Trying to fix it up, but a reboot is needed

Call Trace: <ffffffff8014a854>{free_hot_cold_page+228}
       <ffffffff801244b3>{mmput+35} <ffffffff80128e1c>{exit_mm+204}
       <ffffffff80129637>{do_exit+519} <ffffffff80169494>{vfs_read+196}

Attachment: xm-test-hping-tcp-udp.patch
Description: Text Data

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.