Hi Alexender,

 Thanks for the suggestions, We have executed the 
examples/tcp_http_get/webbrowser, but we are unable to succeed. Please find the 
trace below.

root@tcs-virtual-machine:/home/tcs/drv-netif-dpdk/rump/bin# ./webbrowser 
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 0 on socket 0
EAL: Detected lcore 2 as core 0 on socket 0
EAL: Detected lcore 3 as core 0 on socket 0
EAL: Support maximum 128 logical core(s) by configuration.
EAL: Detected 4 lcore(s)
EAL: VFIO modules not all loaded, skip VFIO support...
EAL: Setting up memory...
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f461bc00000 (size = 0x200000)
EAL: Ask a virtual area of 0x34000000 bytes
EAL: Virtual area found at 0x7f45e7a00000 (size = 0x34000000)
EAL: Ask a virtual area of 0xb200000 bytes
EAL: Virtual area found at 0x7f45dc600000 (size = 0xb200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f45dc200000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f45dbe00000 (size = 0x200000)
EAL: Ask a virtual area of 0x800000 bytes
EAL: Virtual area found at 0x7f45db400000 (size = 0x800000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7f45db000000 (size = 0x200000)
EAL: Requesting 513 pages of size 2MB from socket 0
EAL: TSC frequency is ~2200001 KHz
EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable 
clock cycles !
EAL: Master core 0 is ready (tid=246f1840)
EAL: PCI device 0000:00:06.0 on NUMA socket -1
EAL:   probe driver: 8086:100e rte_em_pmd
EAL:   PCI memory mapped at 0x7f461be00000
PMD: eth_em_dev_init(): port_id 0 vendorID=0x8086 deviceID=0x100e
PMD: eth_em_rx_queue_setup(): sw_ring=0x7f45dd0f9540 hw_ring=0x7f461bc2e680 
dma_addr=0x202e680
PMD: eth_em_tx_queue_setup(): sw_ring=0x7f45dd0f7440 hw_ring=0x7f461bc3e680 
dma_addr=0x203e680
PMD: eth_em_start(): <<
dhcp: dpdk0: adding IP address 10.138.97.168/25
dhcp: dpdk0: adding route to 10.138.97.128/25
dhcp: dpdk0: adding default route via 10.138.97.130
lease time: 86278 seconds
webbrowser: connect: 61
rump kernel halting...
halted


Could you please let us know if we are missing some thing here.

 Regards, 
 Tadi Manikantha Srinivas
 Systems Engineer
 Tata Consultancy Services
 Ph:-   +91 40 66673718
 Cell:- +91 9493493565
 Mailto: [email protected]
 Website: http://www.tcs.com
 ____________________________________________
 Experience certainty.  IT Services
                        Business Solutions
                        Consulting
 ____________________________________________

-----Alexander Guy <[email protected]> wrote: -----
To: Manikanta Srinivas <[email protected]>
From: Alexander Guy <[email protected]>
Date: 01/30/2015 12:35AM
Cc: "[email protected]" 
<[email protected]>
Subject: Re: Issue with rumpkernel + DPDK (1.8.0)

> On Jan 29, 2015, at 2:33 AM, Manikanta Srinivas <[email protected]> 
> wrote:
> 
> Hi All,
> 
>   We are beginners to Rump Kernel. We have installed rump kernel on top of 
> DPDK(1.8.0). We are facing an issue in loading -lrumpnet_dpdkif library. 
> 
> Please find the error below.
> 
> root@tcs-Standard-PC-i440FX-PIIX-1996:/home/tcs/drv-netif-dpdk/rump/bin#./rump_server
>  -lrumpnet_dpdkif unix:///tmp/net9
> failed to load -libraries, last error from "rumpnet_dpdkif":
> /home/tcs/drv-netif-dpdk/rump/lib/librumpnet_dpdkif.so: undefined symbol: 
> rte_pktmbuf_init
> 
> Could you please let us know whether its the correct way to run the 
> rumpserver to load the dpdk library and help us with the hint to debug the 
> issue.

Hi Manikanta,
    Right now, DPDK&#8217;s libraries aren&#8217;t being built as 
shared-objects, so it&#8217;s a bit more complicated to get rump_server to load 
them.  You&#8217;re running into the problem that DPDK librte&#8217;s symbols 
aren&#8217;t being resolved.

If you haven&#8217;t already, I&#8217;d suggest you try running 
examples/tcp_http_get/webbrowser and then go from there.  It will help you 
verify that you have a working DPDK environment, and it will exercise the 
rumpkernel functionality.  For example, using eth2 (in this case, an Intel 
X540):

# Using a built drv-netif-dpdk tree...
$ cd drv-netif-dpdk
$ sudo modprobe uio
$ sudo insmod ./dpdk/build/kmod/igb_uio.ko 
$ sudo ./dpdk/tools/dpdk_nic_bind.py --bind=igb_uio eth2
$ ./examples/tcp_http_get/webbrowser

&#8230; assuming eth2 is plugged into a network with a DHCP server, and 
Internet access, you should see the HTML from NetBSD&#8217;s website.

Thanks.


Alexander


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users

Reply via email to