From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f44.google.com (mail-qg0-f44.google.com [209.85.192.44]) by dpdk.org (Postfix) with ESMTP id 5A5103DE for ; Wed, 7 May 2014 16:29:50 +0200 (CEST) Received: by mail-qg0-f44.google.com with SMTP id i50so1133166qgf.17 for ; Wed, 07 May 2014 07:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=3h57/0wUzDdsGZBsYsRCIOvmhqk84LlMg8F3Trf8jT0=; b=hpKD7dKjMdwMQqwk3eoyv8vVIB9C8JSoAsSxaYNSYPiqUceAKpkTjrMB6aR6jf7Deq t/3Z9Gu+IJeBoDtgt8a8DlgfJheom6LI42WVfWe8c7eaCmAq5HfIesidAJHti5Eaexl0 AcsQIF2Gb5MsSpL7n0tskrElUVXCIsId8pmP+Q9mfo0eVUVm2G1mp5t4U5m2WfM+LPch 7wqpySCy1GVqWu2KCAQLDRgDMjjisAE2xQiiYccNAf11wFYnYBxZFrKG9r+rlcl+pWMX xHlDVOs4J9m5B3r4EK4lkEyVn8RbT6oF6D5EZaAt9SvWzCHMmRGFtAHYwYAFe9YaftJI 1USA== X-Received: by 10.224.103.197 with SMTP id l5mr67172323qao.69.1399472996059; Wed, 07 May 2014 07:29:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.96.99.35 with HTTP; Wed, 7 May 2014 07:29:25 -0700 (PDT) In-Reply-To: References: From: Tomasz K Date: Wed, 7 May 2014 16:29:25 +0200 Message-ID: To: "Burakov, Anatoly" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: dev Subject: Re: [dpdk-dev] DMAR errors when running testpmd 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: Wed, 07 May 2014 14:29:50 -0000 Hi Anatoly. Yes I do have iommu=on set when booting kernel. This is one of prerequisites to have SR-IOV running. Below is the cmdline output cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-3.11.0-20-generic root=UUID=c70fa456-ee10-43e5-9f07-4dbb372dcee3 ro quiet splash iommu=pt intel_iommu=on default_hugepagesz=1G hugepagesz=1G hugepages=4 vt.handoff=7 Thanks Tomasz 2014-05-07 16:07 GMT+02:00 Burakov, Anatoly : > Hi Tomasz > > It looks like you have your kernel booted with iommu=on. Please check your > /proc/cmdline to make sure you didn't accidentally selected the wrong > bootloader entry. > > > We're trying to run testpmd application on HP Proliant DL380P Gen 8 > server. > > We've enabled SR-IOV in BIOS and set appropriate flags when booting > kernel > > (iommu=pt intel_iommu=on) The NIC we are using is 82599EB (2 ports, 10Gb > > SFP+) > > > > When running testpmd application we always encouter DMAR error in dmesg > > > > [ 186.302866] dmar: DRHD: handling fault status reg 2 [ 186.302872] > dmar: > > DMAR:[DMA Read] Request device [07:00.1] fault addr > > 1f73220000 > > [ 186.302872] DMAR:[fault reason 06] PTE Read access is not set [ > > 186.302875] dmar: DMAR:[DMA Read] Request device [07:00.0] fault addr > > 1f73200000 > > [ 186.302875] DMAR:[fault reason 06] PTE Read access is not set [ > > 324.759520] dmar: DRHD: handling fault status reg 202 [ 324.759525] > dmar: > > DMAR:[DMA Read] Request device [07:00.1] fault addr > > 1f73220000 > > [ 324.759525] DMAR:[fault reason 06] PTE Read access is not set [ > > 324.759528] dmar: DMAR:[DMA Read] Request device [07:00.0] fault addr > > 1f73200000 > > [ 324.759528] DMAR:[fault reason 06] PTE Read access is not set > > Best regards, > Anatoly Burakov > DPDK SW Engineer > > > >