From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f182.google.com (mail-yw0-f182.google.com [209.85.161.182]) by dpdk.org (Postfix) with ESMTP id 7B9D3293B for ; Fri, 15 Apr 2016 00:02:04 +0200 (CEST) Received: by mail-yw0-f182.google.com with SMTP id t10so118808543ywa.0 for ; Thu, 14 Apr 2016 15:02:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=Srl0zpCEaSdXuPDaCZaB7MemCy4QJw1tZ5ZPK+tySrI=; b=I1ZSziMSlN6UD6YSnZFm5vjqczvS4CmcJXeFwgzipoTzOx/hCGFpg2HdQTnZ5xIs4f zwTEopCxrm+rSEhiMND8hFd6IWWGnYyOzm4EGO8mhXOioK8zZoxp1ooDwPHmQ6sStanX TjDjTyyxKke2TiiAHIkVFFWukk5AFvbjIudX7dcazaje1WBwPn+3V+rkUNF+ygJUJS86 xZp4+MOqYw/0xb35taSVW1HjPHFE+aBvYPhMXkkJBlzhfzg3psG+isYQk8miM2jtTk7j k4/iBNsRiWyTMOh69T+E79G/UpfXssTDqEeQgDyzzAAQQWEYIaQ+VqDa0scYsYHvN1Oq EfnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=Srl0zpCEaSdXuPDaCZaB7MemCy4QJw1tZ5ZPK+tySrI=; b=UXJspP0oNMjRkQ7O9oK0ezOaxuT72BgHxCLcztPYTtKYMLWCewaYCDjEeYoUHuJyID TpqffoDO8JrOApW20OdpZ6QHAgy5sNoi0o6YOy5HEvmuPTvPyA9sCs2EJugrFpkZYyWB wG2fJofSFS/9EPKk6lwhpWhrGVpCNCUrkJUpZ3StpXFNHVWVp3u8A/800ug8dqy61TcH o/5+NAOxOI1EqVhh3JdzZ67Tyawk1wueRZMKFlPE2hXyWtg9vdthBDLQE4bklvbsXb55 51gCHXv9IA6xcSIzjjPnDLQ8FoOFA06Jadx5QY5tG4nzhmcAVkVI8aJzSvIRmwDzN39H I2jw== X-Gm-Message-State: AOPr4FUumI1Aj0aGnG2dpXAi9yxC9Xpq2vEvHjG4F+ySssNoc2UZ0gzIyujO2HgMYZyf6R6J7Fz5yZe+il9dcg== MIME-Version: 1.0 X-Received: by 10.129.152.3 with SMTP id p3mr11273636ywg.92.1460671324012; Thu, 14 Apr 2016 15:02:04 -0700 (PDT) Received: by 10.129.70.194 with HTTP; Thu, 14 Apr 2016 15:02:03 -0700 (PDT) In-Reply-To: <1933005.8eilLGqekQ@xps13> References: <570FA930.60105@intel.com> <1933005.8eilLGqekQ@xps13> Date: Thu, 14 Apr 2016 15:02:03 -0700 Message-ID: From: ALeX Wang To: Thomas Monjalon Cc: Ferruh Yigit , dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [4.4 kernel] kni lockup, kernel dump 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, 14 Apr 2016 22:02:04 -0000 Thx, Ferruh and Thomas for the confirmation and pointer! On 14 April 2016 at 07:43, Thomas Monjalon wrote: > 2016-04-14 15:29, Ferruh Yigit: > > On 4/13/2016 11:26 PM, ALeX Wang wrote: > > > Did more experiment, found that it has nothing to do with the kernel > > > version, > > > > > > It only happens when using kni module with '--no-huge' eal flag... > > > > > > Is that expected? > > > > > > > Yes. > > KNI kernel module expects mempool is physically continuous, with > > '--no-huge' flag this is no more true, and as a result KNI module can > > access to incorrect address. > > This is a bug. > The memory API should allow to explicit this restriction and return > an error if it cannot offer the requested continuous memory. > See this thread for discussion: > http://dpdk.org/ml/archives/dev/2016-April/037444.html > -- Alex Wang, Open vSwitch developer