[PATCH] EFI - PXE - include details from proxy (altserviceboot) offer when available

2014-02-10 Thread Mroczek, Joseph T
Addresses Bug# 41488 https://savannah.gnu.org/bugs/?41488 This is my first time submitting a patch. Please let me know what I can do to help drive this improvement. ~joe diff -Naur grub-2.02~beta2/grub-core/net/drivers/efi/efinet.c grub-2.02~beta2-bug41488-jtm/grub-core/net/drivers/efi/efinet

[PATCHv2] EFI - PXE - include details from proxy (altserviceboot) offer when available

2014-02-10 Thread Mroczek, Joseph T
Updated efi api.h with more of pxe mode structure. Definitions from uEFI specification v2.4 errata A. I had to update the typedef for grub_efi_ip_address_t, but it did not seem to be used anywhere at this point. There is a minor issue that it is still not capturing the file name. It is beyond

[PATCHv2] EFI - PXE - include details from proxy (altserviceboot) offer when available (resend)

2014-02-10 Thread Mroczek, Joseph T
Updated efi api.h with more of pxe mode structure. Definitions from uEFI specification v2.4 errata A. I had to update the typedef for grub_efi_ip_address_t, but it did not seem to be used anywhere at this point. There is a minor issue that it is still not capturing the file name. It is beyond

RE: [PATCHv2] EFI - PXE - include details from proxy (altserviceboot) offer when available (resend)

2014-02-11 Thread Mroczek, Joseph T
From: Andrey Borzenkov [mailto:arvidj...@gmail.com] Sent: Tuesday, February 11, 2014 8:06 AM > > В Tue, 11 Feb 2014 02:20:19 +0000 > "Mroczek, Joseph T" пишет: > > > Updated efi api.h with more of pxe mode structure. Definitions from uEFI > specification v2.4 er

RE: [PATCHv2] EFI - PXE - include details from proxy (altserviceboot) offer when available (resend)

2014-02-12 Thread Mroczek, Joseph T
> From: Andrey Borzenkov [mailto:arvidj...@gmail.com] > Sent: Wednesday, February 12, 2014 7:59 AM > > В Tue, 11 Feb 2014 02:20:19 +0000 > "Mroczek, Joseph T" пишет: > > > Updated efi api.h with more of pxe mode structure. Definitions from uEFI > specific

[PATCHv3] EFI - PXE - include details from proxy (altserviceboot) offer when available - Bug 41488

2014-02-13 Thread Mroczek, Joseph T
Hello: Here is an updated patch. The patch now combines data from both packets into a single source before sending to configure_by_dhcp_ack. This patch resolved the issues with not configuring, however it seems to have unconvered another issue, where grub uses wrong mac address when attempting

RE: [PATCHv3] EFI - PXE - include details from proxy (altserviceboot) offer when available - Bug 41488

2014-02-18 Thread Mroczek, Joseph T
> From: Mroczek, Joseph T > Sent: Thursday, February 13, 2014 6:05 PM > > Hello: > > Here is an updated patch. The patch now combines data from both packets > into a single source before sending to configure_by_dhcp_ack. > > This patch resolved the issues with

RE: [PATCH] Make CTRL and ALT keys work as expected on EFI systems (version 5).

2014-02-25 Thread Mroczek, Joseph T
> From: Peter Jones > Sent: Tuesday, February 25, 2014 2:12 PM > > This is version 4. > > Changes from version 1: > - handles SHIFT as a modifier > - handles F11 and F12 keys > - uses the handle provided by the system table to find our _EX protocol. > > Changes from version 2: > - eliminate dupl

RE: [PATCHv3] EFI - PXE - include details from proxy (altserviceboot) offer when available - Bug 41488

2014-03-05 Thread Mroczek, Joseph T
roczek=intel@gnu.org > [mailto:grub-devel-bounces+joseph.t.mroczek=intel@gnu.org] On > Behalf Of Mroczek, Joseph T > Sent: Thursday, February 13, 2014 6:05 PM > To: The development of GNU GRUB > Subject: [PATCHv3] EFI - PXE - include details from proxy (altserviceboot) > of

RFC Patch [0/2] PXE Add support for proxy DHCP

2014-04-18 Thread Mroczek, Joseph T
Hello: Currently, grub does not support getting boot server information from a proxy DHCP server. This patch set adds this support for EFI. If the approach is good, I will go back and create a i386-pc patch as well. It works by combining the contents from the two DHCP packets into a single sou

RFC Patch [2/2] PXE Add support for proxy DHCP -- EFI Code

2014-04-18 Thread Mroczek, Joseph T
Hello: Here is the uEFI specific portion. I have tested it on three different platforms without issue. ~joe diff -Naur grub-2.02~beta2/grub-core/net/drivers/efi/efinet.c grub-2.02~beta2-jtm-clean/grub-core/net/drivers/efi/efinet.c --- grub-2.02~beta2/grub-core/net/drivers/efi/efinet.c 2013-12

RFC Patch [1/2] PXE Add support for proxy DHCP -- Common Code

2014-04-18 Thread Mroczek, Joseph T
Hello: This patch adds support for merging data from 2 different dhcp packets into a single source with precedence based on PXE and uEFI specs. ~joe diff -Naur grub-2.02~beta2/grub-core/net/bootp.c grub-2.02~beta2-jtm-clean/grub-core/net/bootp.c --- grub-2.02~beta2/grub-core/net/bootp.c

RFC Patch [1/2] PXE Add support for proxy DHCP -- Common Code

2014-04-18 Thread Mroczek, Joseph T
Sorry about the HTML in previous message. Hello: This patch adds support for merging data from 2 different dhcp packets into a single source with precedence based on PXE and uEFI specs. ~joe diff -Naur grub-2.02~beta2/grub-core/net/bootp.c grub-2.02~beta2-jtm-clean/grub-core/net/bootp.c ---

RFC Patch [2/2] PXE Add support for proxy DHCP -- EFI Code

2014-04-18 Thread Mroczek, Joseph T
Sorry about the HTML in previous message. Hello: Here is the uEFI specific portion. I have tested it on three different platforms without issue. ~joe diff -Naur grub-2.02~beta2/grub-core/net/drivers/efi/efinet.c grub-2.02~beta2-jtm-clean/grub-core/net/drivers/efi/efinet.c --- grub-2.02~beta2

RFC Remove classful causing incorrect routing behavior

2014-04-18 Thread Mroczek, Joseph T
Hello: Currently, the DHCP logic assumes that if a gateway is received in the DHCP packet the boot server is on a remote network. Given that CIDR is now over 20 years old, I think it is a safe assumption that a netmask will be offered in DHCP options. Can this be removed? Or is there still a

RE: RFC Remove classful causing incorrect routing behavior

2014-04-21 Thread Mroczek, Joseph T
> From: Behalf Of Vladimir 'f-coder/phcoder' Serbinenko > On 19.04.2014 02:48, Mroczek, Joseph T wrote: > > Hello: > > > > Currently, the DHCP logic assumes that if a gateway is received in the DHCP > packet the boot server is on a remote network. Given th

RE: RFC Remove classful causing incorrect routing behavior

2014-04-21 Thread Mroczek, Joseph T
> From: Andrey Borzenkov [mailto:arvidj...@gmail.com] > Sent: Monday, April 21, 2014 10:42 AM > > В Mon, 21 Apr 2014 15:56:07 +0000 > "Mroczek, Joseph T" пишет: > > > > > From: Behalf Of Vladimir 'f-coder/phcoder' Serbinenko On 19.04.2014 &

RE: RFC Remove classful causing incorrect routing behavior

2014-04-28 Thread Mroczek, Joseph T
> From: Andrey Borzenkov [mailto:arvidj...@gmail.com] > Sent: Monday, April 21, 2014 7:36 PM > > В Tue, 22 Apr 2014 00:13:15 +0000 > "Mroczek, Joseph T" пишет: > > > > From: Andrey Borzenkov [mailto:arvidj...@gmail.com] > > > Sent: Monday, Apr

RE: RFC Patch [0/2] PXE Add support for proxy DHCP

2014-04-28 Thread Mroczek, Joseph T
> From: Vladimir 'f-coder/phcoder' Serbinenko > Sent: Sunday, April 20, 2014 7:06 AM > > On 19.04.2014 02:26, Mroczek, Joseph T wrote: > > Hello: > > > > Currently, grub does not support getting boot server information from a > proxy DHCP server. This

RE: RFC Patch [0/2] PXE Add support for proxy DHCP

2014-05-01 Thread Mroczek, Joseph T
> From: Vladimir 'f-coder/phcoder' Serbinenko > Sent: Sunday, April 20, 2014 7:06 AM > > On 19.04.2014 02:26, Mroczek, Joseph T wrote: > > Hello: > > > > Currently, grub does not support getting boot server information from a > proxy DHCP server. This

RE: RFC Patch [0/2] PXE Add support for proxy DHCP

2014-05-22 Thread Mroczek, Joseph T
> From Mroczek, Joseph T > Sent: Thursday, May 01, 2014 5:11 PM > > From: Vladimir 'f-coder/phcoder' Serbinenko > > Sent: Sunday, April 20, 2014 7:06 AM > > > > On 19.04.2014 02:26, Mroczek, Joseph T wrote: > > > Hello: > > > > > &g

RE: RFC Remove classful causing incorrect routing behavior

2014-05-22 Thread Mroczek, Joseph T
> -Original Message- > From: grub-devel-bounces+joseph.t.mroczek=intel@gnu.org > [mailto:grub-devel-bounces+joseph.t.mroczek=intel@gnu.org] On > Behalf Of Mroczek, Joseph T > Sent: Monday, April 28, 2014 5:07 PM > To: Andrey Borzenkov > Cc: The development