From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by dpdk.org (Postfix) with ESMTP id C694629D2 for ; Thu, 25 Feb 2016 14:30:38 +0100 (CET) Received: by mail-ob0-f169.google.com with SMTP id dm2so47687276obb.2 for ; Thu, 25 Feb 2016 05:30:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=r/27OrcXgZQmqHwJQeRbXhWTPWxxJMChntxsWuJOBdA=; b=hYmUVSCwaaBso4mwuJfYedakuinszfdzjdle1r9cTwh0xwRPST4/OIR14w5umN4o0O ocghH7ZKaPhYF9AKZWsD4He3gomKHpTQhUbAi2hW9ko2SI7VkWpU/egE3KRelnSQJix2 lckadHaCMHFtdnGfK2BQ9qLwgsJI6MjmKO5YPCr2euJR0JzSGIszzbYC0+30sxsX9j+f EWDT7RbYGTPiFjL6DvRsopP917b/SeW+dbdEJm0yse5gVJma+CHvFfp1tEbKIwaTDYZ0 iE177fOHFEkvvn0VsTd9fAUuDjZ2hascokAPHlZ4oM7JFyEMPugfG/CfvfPE+piPHfHt Wf7Q== 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:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=r/27OrcXgZQmqHwJQeRbXhWTPWxxJMChntxsWuJOBdA=; b=Brz5uGYIx2yjY145A9DbERnzq1cgT5dCHgaVRnnxWegOhTsiPgtJl2tHvB7j1KbJbG X2Z7FEbYKQ/gPkQ5OYMhBX764L2vSUiMOJj3tyWAT00+PzPYZTgSVcY3w5S87M4Kpq8t ZZxLk37wmjt9LLu5wF6RyhNuRBrbWrh4xUvYTjBJKUPb5/g7gxyQs2l6gQvywC/C83bB qI7bU4ewrbQBjaP4IV+NbaH58vCmwRFWjfdDzU5m7ybD/hAzedNc+SpksOXKgSq04dTH XdvRFAWzCTm1NNzAPkQUtnkikzKbeNay9nb2L1pM0uEsyZ2PkhaCIKygwu5OYjSgZ+Kt eISg== X-Gm-Message-State: AG10YOTtuXgu5MyJfxfj8F3sESI6kZmSEXJDq4g372d7vACfJVbS10fx4AqrR+vtivr8vkZ0am0vVwz84je5Yr0e X-Received: by 10.182.135.132 with SMTP id ps4mr38349106obb.58.1456407038242; Thu, 25 Feb 2016 05:30:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.180.72 with HTTP; Thu, 25 Feb 2016 05:30:18 -0800 (PST) In-Reply-To: References: From: David Marchand Date: Thu, 25 Feb 2016 14:30:18 +0100 Message-ID: To: =?UTF-8?Q?Mauricio_V=C3=A1squez?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] virtio PMD is not working with master version 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, 25 Feb 2016 13:30:39 -0000 On Thu, Feb 25, 2016 at 12:30 PM, Mauricio V=C3=A1squez wrote: > ... > EAL: PCI device 0000:00:04.0 on NUMA socket -1 > EAL: probe driver: 1af4:1000 rte_virtio_pmd > EAL: PCI memory mapped at 0x7f892dc00000 > PMD: virtio_read_caps(): [40] skipping non VNDR cap id: 11 > PMD: virtio_read_caps(): no modern virtio pci device found. > PMD: vtpci_init(): trying with legacy virtio pci. > EAL: eal_parse_sysfs_value(): cannot open sysfs value > /sys/bus/pci/devices/0000:00:04.0/uio/uio0/portio/port0/start > EAL: pci_uio_ioport_map(): cannot parse portio start > EAL: Error - exiting with code: 1 > Cause: Requested device 0000:00:04.0 cannot be used > ... [snip] > ... > PMD: parse_sysfs_value(): parse_sysfs_value(): cannot open sysfs value > /sys/bus/pci/devices/0000:00:04.0/uio/uio0/portio/port0/size > PMD: virtio_resource_init_by_uio(): virtio_resource_init_by_uio(): cannot > parse size > PMD: virtio_resource_init_by_ioports(): PCI Port IO found start=3D0xc100 = with > size=3D0x20 [snip] > > According to git bisect it appears to be that it does not work anymore af= ter > the b8f04520ad71 ("virtio: use PCI ioport API") commit. >>From the logs, I would say I broke uio_pci_generic since we are in "uio" case, but uio portio sysfs does not exist. virtio pmd fell back to ioports discovery before my change. Problem can be workaround for now by unbinding your device from uio_pci_generic or on the contrary bind to igb_uio. I've been sick at home, all this week. Will see next week for a fix unless someone sends one. --=20 David Marchand