Re: [PATCH] efinet: check for broken firmware

2015-11-13 Thread Josef Bacik
> On Nov 13, 2015, at 10:19 PM, Andrei Borzenkov wrote: > > 13.11.2015 22:34, Josef Bacik пишет: >>> On 11/13/2015 09:38 AM, Vladimir 'phcoder' Serbinenko wrote: >>> Please try the patch currently used in Solaris flavour of GRUB. I think >>> of upstreaming their mnp driver >> >> This driver doe

Re: Grub get and set efi variables

2015-11-13 Thread Andrei Borzenkov
13.11.2015 22:42, Ignat Korchagin пишет: +static enum efi_var_type +parse_efi_var_type (const char *type) +{ + if (!grub_strncmp (type, "string", sizeof("string"))) +return EFI_VAR_STRING; + I think this should be "ascii" or "utf8". "string" is too ambiguous in UEFI environment, it can al

Re: [PATCH] efinet: check for broken firmware

2015-11-13 Thread Andrei Borzenkov
13.11.2015 22:34, Josef Bacik пишет: On 11/13/2015 09:38 AM, Vladimir 'phcoder' Serbinenko wrote: Please try the patch currently used in Solaris flavour of GRUB. I think of upstreaming their mnp driver This driver doesn't work at all for me. I may have done a bad job porting it, or the firmwa

Re: Grub get and set efi variables

2015-11-13 Thread Ignat Korchagin
On Fri, Nov 13, 2015 at 11:34 AM, Ignat Korchagin wrote: > On Wed, Nov 11, 2015 at 10:09 AM, Andrei Borzenkov > wrote: >> 06.11.2015 05:00, Ignat Korchagin пишет: >>> >>> Actually, I submitted similar patch recently as well. It provides read >>> function for variables and accepts a hint on how t

Re: [PATCH] efinet: check for broken firmware

2015-11-13 Thread Josef Bacik
On 11/13/2015 09:38 AM, Vladimir 'phcoder' Serbinenko wrote: Please try the patch currently used in Solaris flavour of GRUB. I think of upstreaming their mnp driver This driver doesn't work at all for me. I may have done a bad job porting it, or the firmware is even crappier with MNP, either

Re: Grub get and set efi variables

2015-11-13 Thread Ignat Korchagin
On Wed, Nov 11, 2015 at 10:09 AM, Andrei Borzenkov wrote: > 06.11.2015 05:00, Ignat Korchagin пишет: >> >> Actually, I submitted similar patch recently as well. It provides read >> function for variables and accepts a hint on how to process them. The >> original patch is here: >> https://lists.gnu

Re: Patch for terminal definition in gfx themes

2015-11-13 Thread Andrei Borzenkov
13.11.2015 19:31, Konstantin Vlasov пишет: Hi, I discovered that terminal size and position in GFX themes are calculated incorrectly: proportional units for terminal-top and terminal-height values are calculated from the screen width, not height as one would expect. I attached the patch for fix

Patch for terminal definition in gfx themes

2015-11-13 Thread Konstantin Vlasov
Hi, I discovered that terminal size and position in GFX themes are calculated incorrectly: proportional units for terminal-top and terminal-height values are calculated from the screen width, not height as one would expect. I attached the patch for fixing it. -- Best regards, Konstantin

Re: [PATCH] efinet: check for broken firmware

2015-11-13 Thread Andrei Borzenkov
13.11.2015 18:52, Josef Bacik пишет: On 11/13/2015 09:39 AM, Andrei Borzenkov wrote: On Fri, Nov 13, 2015 at 5:38 PM, Vladimir 'phcoder' Serbinenko wrote: Please try the patch currently used in Solaris flavour of GRUB. I think of upstreaming their mnp driver where can we get it? It is in

Re: [PATCH] efinet: check for broken firmware

2015-11-13 Thread Josef Bacik
On 11/13/2015 09:39 AM, Andrei Borzenkov wrote: On Fri, Nov 13, 2015 at 5:38 PM, Vladimir 'phcoder' Serbinenko wrote: Please try the patch currently used in Solaris flavour of GRUB. I think of upstreaming their mnp driver where can we get it? It is in part2 of the solaris source code here

Re: [PATCH] efinet: check for broken firmware

2015-11-13 Thread Josef Bacik
On 11/13/2015 09:38 AM, Andrei Borzenkov wrote: On Fri, Nov 13, 2015 at 5:30 PM, Josef Bacik wrote: @@ -291,6 +286,9 @@ grub_efinet_findcards (void) 0, &num_handles); if (! handles) return; + + attributes = grub_snp_attributes(); + for (ha

Re: [PATCH] efinet: check for broken firmware

2015-11-13 Thread Andrei Borzenkov
On Fri, Nov 13, 2015 at 5:38 PM, Vladimir 'phcoder' Serbinenko wrote: > Please try the patch currently used in Solaris flavour of GRUB. I think of > upstreaming their mnp driver where can we get it? ___ Grub-devel mailing list Grub-devel@gnu.org https

Re: [PATCH] efinet: check for broken firmware

2015-11-13 Thread Andrei Borzenkov
On Fri, Nov 13, 2015 at 5:30 PM, Josef Bacik wrote: >>> @@ -291,6 +286,9 @@ grub_efinet_findcards (void) >>> 0, &num_handles); >>> if (! handles) >>> return; >>> + >>> + attributes = grub_snp_attributes(); >>> + >>> for (handle = handles; num_han

Re: [PATCH] efinet: check for broken firmware

2015-11-13 Thread Vladimir 'phcoder' Serbinenko
Please try the patch currently used in Solaris flavour of GRUB. I think of upstreaming their mnp driver Le 13 nov. 2015 3:30 PM, "Josef Bacik" a écrit : > On 11/13/2015 08:10 AM, Andrei Borzenkov wrote: > >> On Fri, Nov 13, 2015 at 1:07 AM, Josef Bacik wrote: >> >>> The firmware bug I've been tr

Re: [PATCH] efinet: check for broken firmware

2015-11-13 Thread Josef Bacik
On 11/13/2015 08:10 AM, Andrei Borzenkov wrote: On Fri, Nov 13, 2015 at 1:07 AM, Josef Bacik wrote: The firmware bug I've been tracking down has been too extensive to work around effectively. Basically once we switch to EXCLUSIVE everything is completely horked. I can add a multicast filter b

Re: [PATCH] efinet: check for broken firmware

2015-11-13 Thread Andrei Borzenkov
On Fri, Nov 13, 2015 at 1:07 AM, Josef Bacik wrote: > The firmware bug I've been tracking down has been too extensive to work around > effectively. Basically once we switch to EXCLUSIVE everything is completely > horked. I can add a multicast filter but it's timing sensitive, so it has to > be

Re: [Xen-devel] Uniform commands for booting xen

2015-11-13 Thread Ian Campbell
On Fri, 2015-11-13 at 12:04 +0300, Andrei Borzenkov wrote: > > How do you express modules other than kernel+initrd in that > > scheme, without grub needing to be aware of any new addition we > > may find necessary going forward? > > > > Are modules used by Xen self-identifying? Is it enough to si

Re: [Xen-devel] Uniform commands for booting xen

2015-11-13 Thread Ian Campbell
On Fri, 2015-11-13 at 00:48 -0700, Jan Beulich wrote: > > > > On 12.11.15 at 18:09, wrote: > > On Thu, 2015-11-12 at 08:44 -0700, Jan Beulich wrote: > > > > > > On 12.11.15 at 14:41, wrote: > > > > Hello, all. I'd like to have set of commands that would boot xen on > > > > all > > > > platforms.

Re: [Xen-devel] Uniform commands for booting xen

2015-11-13 Thread Andrei Borzenkov
On Fri, Nov 13, 2015 at 10:48 AM, Jan Beulich wrote: On 12.11.15 at 18:09, wrote: >> On Thu, 2015-11-12 at 08:44 -0700, Jan Beulich wrote: >>> > > > On 12.11.15 at 14:41, wrote: >>> > Hello, all. I'd like to have set of commands that would boot xen on all >>> > platforms. I thought of follo