Received: from list by lists.gnu.org with archive (Exim 4.71) id 1c97Hq-0004Dp-OT for mharc-grub-devel@gnu.org; Tue, 22 Nov 2016 04:22:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c97Ho-0004Cn-Bd for grub-devel@gnu.org; Tue, 22 Nov 2016 04:22:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c97Hk-0007l4-DW for grub-devel@gnu.org; Tue, 22 Nov 2016 04:22:44 -0500 Received: from boksu.net-space.pl ([185.15.1.105]:54667) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.71) (envelope-from ) id 1c97Hk-0007gy-2Z for grub-devel@gnu.org; Tue, 22 Nov 2016 04:22:40 -0500 Received: (from localhost user: 'dkiper' uid#4000 fake: STDIN (dkiper@boksu.net-space.pl)) by router-fw-old.local.net-space.pl id S1641419AbcKVJWg (ORCPT ); Tue, 22 Nov 2016 10:22:36 +0100 Date: Tue, 22 Nov 2016 10:22:36 +0100 From: Daniel Kiper To: arvidjaar@gmail.com, grub-devel@gnu.org Cc: dkiper@net-space.pl, phcoder@gmail.com, matthew.t.rivard@intel.com Subject: Re: [PATCH v2] bootp: add native DHCPv4 support Message-ID: <20161122092236.GE4706@router-fw-old.local.net-space.pl> 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> <8bed11df-90e8-b6e7-4db3-899afe257429@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8bed11df-90e8-b6e7-4db3-899afe257429@gmail.com> User-Agent: Mutt/1.3.28i X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.15.1.105 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: Tue, 22 Nov 2016 09:22:45 -0000 On Fri, Nov 18, 2016 at 08:51:43PM +0300, Andrei Borzenkov wrote: > 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 OK, added to list of tasks after 2.02 release. > 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. That it good idea. > What we do need is to fix manual to not claim we are doing DHCP right now. Make sense for me. Daniel