[PATCH] grub-install: Include all decompressor modules in pvxen core image.

2014-11-28 Thread Ian Campbell
From: Ian Campbell This avoids needing to update all the native update-grub stanzas to also probe for and arrange to load the relevant decompressor, which would be wasteful on native boots. Signed-off-by: Ian Campbell --- util/grub-install.c | 25 + 1 file changed, 25 i

Re: [PATCH] grub-install: Include all decompressor modules in pvxen core image.

2014-11-28 Thread Andrei Borzenkov
В Fri, 28 Nov 2014 08:33:34 + Ian Campbell пишет: > From: Ian Campbell > > This avoids needing to update all the native update-grub stanzas to also probe > for and arrange to load the relevant decompressor, which would be wasteful on > native boots. > Could you give some more details why

Re: [PATCH] send router solicitation for ipv6 address autoconf v2

2014-11-28 Thread Andrei Borzenkov
В Tue, 18 Nov 2014 16:03:08 +0800 Michael Chang пишет: > Many routers have long router advertisment interval configured by > default. The Neighbor Discovery protocol (RFC4861) has defined default > MaxRtrAdvInterval value as 600 seconds and > MinRtrAdvInterval as 0.33*MaxRtrAdvInterval. This make

Re: [PATCH] grub-install: Include all decompressor modules in pvxen core image.

2014-11-28 Thread Ian Campbell
On Fri, 2014-11-28 at 20:09 +0300, Andrei Borzenkov wrote: > В Fri, 28 Nov 2014 08:33:34 + > Ian Campbell пишет: > > > From: Ian Campbell > > > > This avoids needing to update all the native update-grub stanzas to also > > probe > > for and arrange to load the relevant decompressor, which

Coverity project for GRUB

2014-11-28 Thread Andrei Borzenkov
I set up Coverity project: https://scan.coverity.com/projects/3406?tab=overview There are quite a few of false positives caused by grub_fshelp_find_file, but otherwise it does find real bugs. There are slightly above 300 incidents in total. I myself build it for i386-pc; if you have possibilities

Re: [PATCH] grub-core/kern/arm/misc.S: fix unaligned grub_uint64_t local variable

2014-11-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 25.11.2014 13:43, Leif Lindholm wrote: > On Thu, Nov 20, 2014 at 09:53:14PM +0100, David Kozub wrote: >> The unaligned local in __aeabi_uidivmod leads to a store to a 64bit >> value at an address that is not divisible by 8 (in grub_divmod64). >> The compiler most likely generates a STRD instruct

Re: Switching to another boot device on failure

2014-11-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 20.11.2014 15:38, Venkata Subbarao wrote: > Once again Thank you Andrei. > Modified the grub source and added grub_exit (). After this BIOS booted > from next device. > > I am now working on a solution where if the UUID present in the grub.cfg > goes bad. > One way I am thinking is to check the

Re: grub-core/osdep/unix/hostdisk.c: remove support for ancient glibc

2014-11-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 21.11.2014 22:00, Felix Janda wrote: > Hello, > > the file grub-core/osdep/unix/hostdisk.c has special code for glibc<2.1, > which gets also pulled in for other libcs (such as musl libc) and makes > compilation fail for them because the code uses glibc internals. The > easiest way to fix is jus

Re: About the CLI of both grub-mkrescue versions

2014-11-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 01.10.2014 10:25, Thomas Schmitt wrote: > Hi, > > to substantiate my proposal of renaming young grub-mkrescue.c to > grub-mkiso.c and to add a built-in emulation of grub-mkrescue(.in), > here the necessary code which i tested standalone with valgrind. > > The decision which parser to use would

Re: [PATCH] calibrate_tsc(): use the Stall() EFI boot service on GRUB_MACHINE_EFI

2014-11-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.11.2014 10:59, Laszlo Ersek wrote: > HyperV Gen2 virtual machines have no PIT; guest code should rely on UEFI > services instead. > > RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1150698 > RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1160128 > Signed-off-by: Laszlo Ersek I don't l

Re: Patch to support GELI passphrase passthrough

2014-11-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.10.2014 16:56, Kris Moore wrote: > On 10/22/2014 13:50, Kris Moore wrote: >> On 10/22/2014 13:47, Andrei Borzenkov wrote: >>> В Wed, 22 Oct 2014 13:12:32 -0400 >>> Kris Moore пишет: >>> Hey, just a small patch to submit today. If you rather I send this to the bug tracker then I can

Re: building grub2 on a Mac, possible bug

2014-11-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 27.10.2014 05:24, Andrei Borzenkov wrote: > В Sun, 26 Oct 2014 21:00:18 -0600 > Chris Murphy пишет: > >> This is on a macbookpro9,2, running Fedora 20, and I've git cloned from >> git://git.savannah.gnu.org/grub.git and I'm in master branch. >> >> $ ./configure >> checking build system type..

Re: [PATCH] Add flags for powerpc in order to avoid exceptions

2014-11-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09.10.2014 02:38, Paulo Flabiano Smorigo wrote: > Mon, Sep 29, 2014 at 10:30:16PM +0400, Andrei Borzenkov wrote: >> В Sat, 27 Sep 2014 09:06:53 +0400 >> Andrei Borzenkov пишет: >> >>> В Fri, 26 Sep 2014 16:29:40 -0300 >>> Paulo Flabiano Smorigo пишет: >>> * conf/Makefile.common [COND_powe

Remotely choose a menu entry

2014-11-28 Thread Brugnara Daniele
Hi all. I'm thinking about a system that boots with a wol packet. Who sends this packet in 99% of cases, is far away from that computer and it could be useful to boot into a different system instead of the default one. (please keep in mind that changing the default option in grub is not a option f

Re: building grub2 on a Mac, possible bug

2014-11-28 Thread Andrei Borzenkov
В Fri, 28 Nov 2014 21:28:35 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 27.10.2014 05:24, Andrei Borzenkov wrote: > > В Sun, 26 Oct 2014 21:00:18 -0600 > > Chris Murphy пишет: > > > >> This is on a macbookpro9,2, running Fedora 20, and I've git cloned from > >> git://git.savannah.g

Re: About the CLI of both grub-mkrescue versions

2014-11-28 Thread Andrei Borzenkov
В Fri, 28 Nov 2014 21:41:03 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 01.10.2014 10:25, Thomas Schmitt wrote: > > Hi, > > > > to substantiate my proposal of renaming young grub-mkrescue.c to > > grub-mkiso.c and to add a built-in emulation of grub-mkrescue(.in), > > here the necess