From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yh0-f54.google.com (mail-yh0-f54.google.com [209.85.213.54]) by dpdk.org (Postfix) with ESMTP id C0F6458F8 for ; Thu, 15 May 2014 16:24:47 +0200 (CEST) Received: by mail-yh0-f54.google.com with SMTP id i57so3051523yha.41 for ; Thu, 15 May 2014 07:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=rYXioHhkGQxmmdp4l896V+EsAHfets8O0dkrGrOcw08=; b=KMPp97EIb8eyKtgXA2etlUIAwlHcSUvj7AN6ypTLd+TrFkJyZdkmn9kniOMq3EJWDA RpPTwGxIctGaZzSiNnO5gfW7x1NNveA0RbfgfHPCTIx764k/IyPJ7ZuFBrBk6PZzX9QB Fkzc5vsEWbZdFXlRZTr2HuliXSyisQcFjwFMVKIJd8B6ekyPRy000yTOTIngIFjdvEAt 4JVUxleKQyhIQVdJ01SA2ljeqDsWRLtP49II1rqBRQaj8pGuYLc+2YZmcP/vaapBpOjP gQVlTo6neDBqb7u7FrotLPMSpzyc0jc2Ctm1OPPjSIGH6s24M9oN9927WHQCQGBxf9YS fsoA== MIME-Version: 1.0 X-Received: by 10.236.88.116 with SMTP id z80mr15839193yhe.112.1400163895384; Thu, 15 May 2014 07:24:55 -0700 (PDT) Received: by 10.170.64.146 with HTTP; Thu, 15 May 2014 07:24:55 -0700 (PDT) Date: Thu, 15 May 2014 17:24:55 +0300 Message-ID: From: Nikos Anastopoulos To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Subject: [dpdk-dev] System hangs when using dpdk in a guest machine X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2014 14:24:48 -0000 Hi, I am experiencing an irrecoverable system hang when trying to run the 'helloworld' dpdk example from within a CentOS 6.5 guest (4 VCPUS, 7GB RAM), running on VirtualBox (Windows host). Specifically, I have successfully built dpdk-1.6.0r2 for the "x86_64-ivshmem-linuxapp-gcc" target. I perform the following initialization actions without problem (all as root): 1. mkdir -p /dev/hugepages 2. mount -t hugetlbfs nodev /dev/hugepages 3. echo 0 > /proc/sys/kernel/randomize_va_space 4. modprobe uio 5. insmod $RTE_SDK/$RTE_TARGET/kmod/igb_uio.ko Afterwards I launch the app as root as follows: $ ./helloworld -c f -n 4 EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detected lcore 1 as core 1 on socket 0 EAL: Detected lcore 2 as core 2 on socket 0 EAL: Detected lcore 3 as core 3 on socket 0 EAL: Skip lcore 4 (not detected) EAL: Skip lcore 5 (not detected) EAL: Skip lcore 6 (not detected) EAL: Skip lcore 7 (not detected) EAL: Skip lcore 8 (not detected) ... EAL: Skip lcore 62 (not detected) EAL: Skip lcore 63 (not detected) EAL: Searching for IVSHMEM devices... EAL: No IVSHMEM configuration found! EAL: Setting up memory... The app freezes at this point, and after a while the guest OS freezes as well, forcing me to power it off from the host (Virtualbox). After a guest reboot I cannot find anything in the kernel logs related with the hang. Note also that the above steps have been validated, and the app has successfully run, on a native CentOS 6.5 machine. Any idea of what could be the cause for this behaviour? Thanks in advance, Nikos