From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ee07b291@gmail.com>
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 <dev@dpdk.org>; Fri, 15 Apr 2016 00:02:04 +0200 (CEST)
Received: by mail-yw0-f182.google.com with SMTP id t10so118808543ywa.0
 for <dev@dpdk.org>; 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: <CANmyKO5bLFZA=o=K5wWdvKkzd_epy_2uriH8QqCdsMTFuuCEtg@mail.gmail.com>
 <CANmyKO7oUowb3Ubg8p26Spc68wEMfFuSBxOyauUG0jgophp_Gg@mail.gmail.com>
 <570FA930.60105@intel.com> <1933005.8eilLGqekQ@xps13>
Date: Thu, 14 Apr 2016 15:02:03 -0700
Message-ID: <CANmyKO4kD2PFdrBKQ_U_c61MOEfSidOU0awYf0qi+MGsiGJ46A@mail.gmail.com>
From: ALeX Wang <ee07b291@gmail.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: Ferruh Yigit <ferruh.yigit@intel.com>, 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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=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 <thomas.monjalon@6wind.com>
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