From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id 5BE06C35C for ; Tue, 16 Jun 2015 23:10:27 +0200 (CEST) Received: by wiwd19 with SMTP id d19so114623980wiw.0 for ; Tue, 16 Jun 2015 14:10:27 -0700 (PDT) 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:content-type; bh=Hg5EiQ75Aqj04YfphlnFkhjHmgYeacZNTETDxqmVbSc=; b=LKQtaHcv2n4JoU4yeJln9o6BM2sfCuoGFiY2aSc3cYvWq/Fke6Xd3g3lBW1Ovrv5ai 7oOrQv8NKwxZD2/goYU8JI1LcORFuJDA7KQeexti+YT56K9CfPLYlFBVIm8vPmRiKWTI yVN73c413LbfrPxUgbDWqe8fpyxUUlpj5DrY2Te+PVjeY6gCS3VVtMyf+XYiSxsAKQOc /oNQjdJTXQw8TJBK2NcI7rhvo3Kn9aBPZ623gIGrSq0ra5868lmOjC5nDT5O0q8jdqoM tmaCZx0U9SAy/DgOxuM85O+QP5GZ/T65A1Dt/wCw2YUnce3kWHndwFMvllEzJx2jXUrn 9N1g== X-Gm-Message-State: ALoCoQn+qrcV4c+B2nGzhAIio2/Dd7DPHeFniCK5ChMfjJx7QB14LKVpQOH2Q6DoxhNJ2wbz3l+u X-Received: by 10.180.73.10 with SMTP id h10mr46047181wiv.21.1434489027266; Tue, 16 Jun 2015 14:10:27 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id kc4sm3462553wjc.2.2015.06.16.14.10.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jun 2015 14:10:26 -0700 (PDT) From: Thomas Monjalon To: Simon Kagstrom Date: Tue, 16 Jun 2015 23:09:25 +0200 Message-ID: <6445902.TI0hbQ8gWD@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <20150527134524.5f107cac@miho> References: <20150527134524.5f107cac@miho> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] kni: Use utsrelease.h to determine Ubuntu kernel 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: Tue, 16 Jun 2015 21:10:27 -0000 2015-05-27 13:45, Simon Kagstrom: > /proc/version_signature is the version for the host machine, but in > e.g., chroots, this does not need to match that DPDK is built for. Use > utsrelease.h from the kernel sources instead and fake the upload > version. Sorry, I don't really understand the problem. Do you mean that /proc/version_signature is not readable from the chroot? Or do you mean that the /proc in the chroot is the host one and it doesn't match the OS installed in the chroot? Please precise which case you try to solve and which tests you did with which Ubuntu versions?