From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 1701329B6 for ; Thu, 14 Apr 2016 16:43:53 +0200 (CEST) Received: by mail-wm0-f47.google.com with SMTP id n3so129661949wmn.0 for ; Thu, 14 Apr 2016 07:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=Oi6UC4Oon4yiasX0sLqWxwqzedz987RPjzvhw+oK++0=; b=xUtUZeUUVltbB9CSjiemxQ29c9SmQarKI8RpgCOkrndw25A6IMz4O/mOLgOJTXVSOk 9zhqMvDpV+KvQDBdaC0tTMcWsXmSjhZ6VKB3f6SY56vrvmCiCAJD5ERW+gcVZJPIMynE YU2c/M7+i3XnUsi6YBEe+LmioXhFjBPpQ3Bnh0BM7cu5VMtTxIFg1ui7ptiF0N/9AkNl NS3VOiAZIYuiYrjCutcZZzaDdFS7xhqeCN1GI4k7OHvR4hW0SnJXyTs1WKyAzz2NDSA6 CE3/I0YxuXFTdEC+EF0sti7irO4KkDw0sjhdHIMoSYu5NBRQyEUaNTBkQCnhJR6sfMiQ Fsow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=Oi6UC4Oon4yiasX0sLqWxwqzedz987RPjzvhw+oK++0=; b=O3mGhFN0vJHsE/gcWpuhwPSHPq50c15B+Xn5VeU5nWtCjmL61b1VNDv1lPcsO5eod+ LjW+pR8cV/ZHQ55HarmddvYwj07mUHCbVPQaTU/IHQPJKpZF7wv6OmUuOF6ap8K+Mq7l j7y7NDwrEDuZnwYcySUG0IpKVv2tBa4RXrIHbS8itQKrkwfLoqKZHZJcd7ycAmi69DQV B0OKJb4lhCuix5DMGwTqCBDI4eQx4umqB/uq/uDtBk8QGsgIyAuWuTLq6SMCjCuL4JK3 TiSkRKB17w7Rckjpc57BWQPK9D4zePl8X1hUf+5UnH0b4kM2cIZRHHZ0hUJArfoVsoX5 q1MQ== X-Gm-Message-State: AOPr4FWKmuqB4fqJXYQCFwJhBqrMeM6NRWWISFUt7BpN9Y+A5IEJTsybEkf+ddJXK5zZ2v46 X-Received: by 10.194.104.202 with SMTP id gg10mr17981367wjb.103.1460645032830; Thu, 14 Apr 2016 07:43:52 -0700 (PDT) Received: from xps13.localnet (245.111.75.86.rev.sfr.net. [86.75.111.245]) by smtp.gmail.com with ESMTPSA id s6sm24744554wjy.31.2016.04.14.07.43.51 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Apr 2016 07:43:52 -0700 (PDT) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org, ALeX Wang Date: Thu, 14 Apr 2016 16:43:50 +0200 Message-ID: <1933005.8eilLGqekQ@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <570FA930.60105@intel.com> References: <570FA930.60105@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 14:43:53 -0000 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