Received: from list by lists.gnu.org with archive (Exim 4.71) id 1c7nKJ-0006Kq-FF for mharc-grub-devel@gnu.org; Fri, 18 Nov 2016 12:51:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7nKH-0006J5-Bd for grub-devel@gnu.org; Fri, 18 Nov 2016 12:51:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7nKE-0005jC-0I for grub-devel@gnu.org; Fri, 18 Nov 2016 12:51:49 -0500 Received: from mail-qk0-x241.google.com ([2607:f8b0:400d:c09::241]:33029) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c7nKD-0005j8-R7 for grub-devel@gnu.org; Fri, 18 Nov 2016 12:51:45 -0500 Received: by mail-qk0-x241.google.com with SMTP id x190so33689866qkb.0 for ; Fri, 18 Nov 2016 09:51:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=HHE2MbL92Ij2uQ2owvgMZVgu7rEyFAC4C4Tl53XAOwo=; b=OImbPdcZd4SxzfGUtiFeIyq3bNOD8nVop+by8jrxys0CuA5ZawuI55bHig14C3iGLi 1D9w8pjjTo0B9O7rx0roLVVdT6Pwkgy+obU4MRnBaIdjoTh8Snq1vkcgVfJ892Mvoqeo KjBskXpx/xBac78HzpvXRoFcAWq6Npc3pR/UkZY/PXnLqkfZ3tj2lNooN3c1kgqnzTlN MJTKRS2uHG6qYgtweABIWJf+Ke1oVdGImyPuaYAgLi4ShHTe1bxc+bB5UG6FfvQTx74A Bn/x1MwXirPpsj55ZQJHCyGT8gm8BoKYsU1JozQ43JcsyYuP8n2UlRZqtc+V4Rg7g52X 1iPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=HHE2MbL92Ij2uQ2owvgMZVgu7rEyFAC4C4Tl53XAOwo=; b=nKo5SLu11fwBCdqbfeg2OnBA688x2T+prQCKj9uHz+i7YVqrfgBsSrlh1ZkbAfDS/9 DKr8Ptzq8XBhj8cSYg9bJ82ggQK0q7IHsFkD/PqpT8jwQdRL0FiF/sq6ffEZU1VarLX6 Zrs1QzCnq8KgLRYIGDf8sBGtkEM9LG6sosExXn5OWI797lDNtRr7RIywGcAQDjdnHhCg ds7s37Namel5v23cdPedCvpsTytwMlQlGZJdbpkOy2P92OV3tqaIYrV2Ai5OTL7lQqCS IBsMSSWN70OludOHyf2/QcIzuMyGF9XVx+z+4pqEguISdP4hUvp4WAgR6u6Stu166vEc 2FVw== X-Gm-Message-State: AKaTC00L9exVL5CpXZGumWajd+ASg6LNNbmwMmcWUvJcC41U8MbvKe0XnBmL6sClPRLgfg== X-Received: by 10.46.1.93 with SMTP id 90mr586531ljb.30.1479491504599; Fri, 18 Nov 2016 09:51:44 -0800 (PST) Received: from [192.168.1.44] (ppp109-252-90-55.pppoe.spdop.ru. [109.252.90.55]) by smtp.gmail.com with ESMTPSA id 125sm2524858ljj.26.2016.11.18.09.51.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Nov 2016 09:51:44 -0800 (PST) Subject: Re: [PATCH v2] bootp: add native DHCPv4 support To: Daniel Kiper , phcoder@gmail.com, grub-devel@gnu.org References: <1458458983-29281-1-git-send-email-arvidjaar@gmail.com> <1458671180-15616-1-git-send-email-arvidjaar@gmail.com> <20160427153419.GB7359@leverpostej> <20161117190628.GB7245@router-fw-old.local.net-space.pl> Cc: matthew.t.rivard@intel.com From: Andrei Borzenkov Message-ID: <8bed11df-90e8-b6e7-4db3-899afe257429@gmail.com> Date: Fri, 18 Nov 2016 20:51:43 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161117190628.GB7245@router-fw-old.local.net-space.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c09::241 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2016 17:51:50 -0000 17.11.2016 22:06, Daniel Kiper пишет: > On Wed, Apr 27, 2016 at 04:34:19PM +0100, Mark Rutland wrote: >> Hi, >> >> On Tue, Mar 22, 2016 at 09:26:20PM +0300, Andrei Borzenkov wrote: >>> This patch adds support for native DHCPv4 and removes requirement for >>> BOOTP compatibility support in DHCP server. >> >> Sorry for the delay in testing this; I'd meant to take a look at this >> but it managed to fall off my radar. >> >> I've just given this a spin atop of 7a5b301e3adb8e05 ("build: Use >> AC_HEADER_MAJOR to find device macros"), with a small conflict manually >> fixed up (I assume that the NULL check for inter still stands). >> >> Otherwise, this seems to work perfectly for me in my BOOT-free work >> environment on an AArch64 UEFI platform: >> >> grub> insmod efinet >> grub> net_ls_cards >> efinet0 00:02:f7:00:61:79 >> grub> net_dhcp efinet0 >> grub> net_default_server=10.1.205.151 >> grub> linux (tftp)/Image.gz >> grub> boot >> EFI stub: Booting Linux Kernel... >> EFI stub: Using DTB from configuration table >> EFI stub: Exiting boot services and installing virtual address map... >> [ 0.000000] Booting Linux on physical CPU 0x100 >> [ 0.000000] Linux version 4.6.0-rc5-next-20160427+ (mark@leverpostej) (gcc version 5.1.1 20150608 (Linaro GCC 5.1-2015.08) ) #8 SMP PREEMPT Wed Apr 27 14:53:05 BST 2016 >> ... >> >> As previously, I don't have a BOOTP server to hand to test with; sorry >> for not being able to test that. >> >> It would be great to see this committed! > > Vladimir, Andrei, should we take it into 2.02 train? > I do not think so, not at this time, sorry. It is far too intrusive change, and patch is obviously incomplete, in particular, it does not touch lease renewal at all. I also think we should keep net_bootp doing what it does now, and provide new net_dhcp, not replacing exiting functionality. What we do need is to fix manual to not claim we are doing DHCP right now.