Re: __stack_chk_fail in regexp is not defined

2013-11-10 Thread Glenn Washburn
On Sun, 10 Nov 2013 09:40:58 +0400 Andrey Borzenkov wrote: > В Sat, 9 Nov 2013 23:33:54 -0600 > Glenn Washburn пишет: > > > On Sat, 09 Nov 2013 12:37:08 +0100 > > Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > > > > On 09.11.2013 05:11, Andrey Borzenkov wrote: > > > > В Fri, 8 Nov 2013 14:4

Re: grub2 boot root-on-zfs errors

2013-11-10 Thread Beeblebrox
>>Did you rerun ./autogen.sh? I ran gmake clean and cleaned all conig folders, then re-started from scratch. >>What is the value of your target_os ? Build, host & target are all the same. I tried setting all 3 as i386-freebsd for one of my runs, but that did not work. Otherwise, I did not set

Re: grub2 boot root-on-zfs errors

2013-11-10 Thread Andrey Borzenkov
В Sun, 10 Nov 2013 12:28:50 +0200 Beeblebrox пишет: > >>Did you rerun ./autogen.sh? > I ran gmake clean and cleaned all conig folders, then re-started > from scratch. > It would be more clean to start in new directory. If you build inside source tree, use "git clean -d -x -f" to remove ever

Re: grub2 boot root-on-zfs errors

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.11.2013 11:28, Beeblebrox wrote: >>> Did you rerun ./autogen.sh? > I ran gmake clean and cleaned all conig folders, then re-started > from scratch. > >>> What is the value of your target_os ? > Build, host & target are all the same. I tried setting all 3 as > i386-freebsd for one of my r

Re: __stack_chk_fail in regexp is not defined

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.11.2013 08:35, Andrey Borzenkov wrote: > В Sun, 10 Nov 2013 09:39:06 +0400 > Andrey Borzenkov пишет: > >> В Sat, 9 Nov 2013 23:09:35 -0600 >> Glenn Washburn пишет: >> >>> On Sat, 09 Nov 2013 12:37:08 +0100 >>> Vladimir 'φ-coder/phcoder' Serbinenko wrote: >>> On 09.11.2013 05:11, Andr

Re: grub_machine_fini definition inconsistencies

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.11.2013 07:56, Glenn Washburn wrote: > I'm now getting compilation errors for platform efi. > > /home/crass/development/bootloader/grub2-src/grub.git/grub-core/lib/efi/halt.c: > In function > ‘grub_halt’: > /home/crass/development/bootloader/grub2-src/grub.git/grub-core/lib/efi/halt.c:30:3:

Re: __stack_chk_fail in regexp is not defined

2013-11-10 Thread Andrey Borzenkov
В Sun, 10 Nov 2013 13:18:41 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > Fixed, thanks for spotting those tests. if test x"$efiemu_excuse" = x ; then AC_CACHE_CHECK([whether options required for efiemu work], grub_cv_cc_efiemu, [ -CFLAGS="$TARGET_CFLAGS -m64 -mcmodel=large -mno-

Re: [PATCH] document GRUB_DISABLE_SUBMENU

2013-11-10 Thread Andrey Borzenkov
В Mon, 04 Nov 2013 17:09:15 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 04.11.2013 15:27, Andrey Borzenkov wrote: > > В Mon, 04 Nov 2013 14:15:40 +0100 > > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> Could you add that toggling this requires changing default/GRUB_DEFAULT > >> a

Re: Install_c merge intention

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.11.2013 05:58, Andrey Borzenkov wrote: > В Sat, 09 Nov 2013 13:51:09 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> Hello, all. install_c is feature complete and I intent to make it >> upstream unless issues are raised until 16 Nov. It's available under >> http://git.savannah.gnu

Re: __stack_chk_fail in regexp is not defined

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.11.2013 14:02, Andrey Borzenkov wrote: > В Sun, 10 Nov 2013 13:18:41 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> Fixed, thanks for spotting those tests. > > if test x"$efiemu_excuse" = x ; then >AC_CACHE_CHECK([whether options required for efiemu work], > grub_cv_cc_efi

Re: [PATCH] document GRUB_DISABLE_SUBMENU

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.11.2013 14:20, Andrey Borzenkov wrote: > В Mon, 04 Nov 2013 17:09:15 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> On 04.11.2013 15:27, Andrey Borzenkov wrote: >>> В Mon, 04 Nov 2013 14:15:40 +0100 >>> Vladimir 'φ-coder/phcoder' Serbinenko пишет: Could you add that togglin

[PATCH] grub-reboot no more sets saved_default

2013-11-10 Thread Andrey Borzenkov
Remove reference to grub-default from description of saved default entry. Also mention that GRUB_DEFAULT=saved depends on availability of environment block. --- docs/grub.texi | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/grub.texi b/docs/grub.texi index ead8fbd

Re: [PATCH] grub-reboot no more sets saved_default

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.11.2013 14:37, Andrey Borzenkov wrote: > Remove reference to grub-default from description of saved default entry. > > Also mention that GRUB_DEFAULT=saved depends on availability of environment > block. > Go ahead. Please don't forget the changelogs (you forgot in last patch, please fix) >

[PATCH] fix qsort invocation in grub-install

2013-11-10 Thread Andrey Borzenkov
Order of elements number and size is reversed. --- util/grub-install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/grub-install.c b/util/grub-install.c index 11010cc..87a0b3b 100644 --- a/util/grub-install.c +++ b/util/grub-install.c @@ -560,7 +560,7 @@ device_map_che

Re: [PATCH] document GRUB_DISABLE_SUBMENU

2013-11-10 Thread Barry Jackson
On 10/11/13 13:35, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 10.11.2013 14:20, Andrey Borzenkov wrote: В Mon, 04 Nov 2013 17:09:15 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: On 04.11.2013 15:27, Andrey Borzenkov wrote: В Mon, 04 Nov 2013 14:15:40 +0100 Vladimir 'φ-coder/phcoder

Re: [PATCH] fix qsort invocation in grub-install

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.11.2013 15:26, Andrey Borzenkov wrote: > Order of elements number and size is reversed. > Go ahead. > --- > util/grub-install.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/util/grub-install.c b/util/grub-install.c > index 11010cc..87a0b3b 100644 > --- a/util/gr

Re: [PATCH] document GRUB_DISABLE_SUBMENU

2013-11-10 Thread Andrey Borzenkov
В Sun, 10 Nov 2013 13:59:45 + Barry Jackson пишет: > > Is it not inconsistent to use y/n for GRUB_DISABLE_SUBMENU when all > other variables accept true/false ? > GRUB_ENABLE_CRYPTODISK is y/n as well. Both were not officially documented up to now so I'm fine with changing it. Feel free

Re: grub2 boot root-on-zfs errors

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.11.2013 11:41, Andrey Borzenkov wrote: > В Sun, 10 Nov 2013 12:28:50 +0200 > Beeblebrox пишет: > Did you rerun ./autogen.sh? >> I ran gmake clean and cleaned all conig folders, then re-started >> from scratch. >> > > It would be more clean to start in new directory. If you build i

Re: [PATCH] document GRUB_DISABLE_SUBMENU

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.11.2013 15:38, Andrey Borzenkov wrote: > В Sun, 10 Nov 2013 13:59:45 + > Barry Jackson пишет: > >> >> Is it not inconsistent to use y/n for GRUB_DISABLE_SUBMENU when all >> other variables accept true/false ? >> > > GRUB_ENABLE_CRYPTODISK is y/n as well. Both were not officially > do

Re: Install_c merge intention

2013-11-10 Thread Andrey Borzenkov
В Sat, 09 Nov 2013 13:51:09 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > Hello, all. install_c is feature complete and I intent to make it > upstream unless issues are raised until 16 Nov. It's available under > http://git.savannah.gnu.org/cgit/grub.git/log/?h=phcoder/install_c > As was

Re: Install_c merge intention

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.11.2013 15:52, Andrey Borzenkov wrote: > В Sat, 09 Nov 2013 13:51:09 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > >> Hello, all. install_c is feature complete and I intent to make it >> upstream unless issues are raised until 16 Nov. It's available under >> http://git.savannah.gnu

Re: PowerMac serial console confusion

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09.11.2013 18:04, Aaro Koskinen wrote: > Hi, > > On Apple Xserve G5, the device tree looks like this with Linux v3.12: > > /proc/device-tree/ht@0,f200/pci@3/mac-io@7/escc@13000/ch-b@13000 > /proc/device-tree/ht@0,f200/pci@3/mac-io@7/escc@13000/ch-a@13020 > > Linux picks th

GIT workflow

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Hello, all. We've switched to git some time ago, now we should have some kind of workflow documents. In particular I think of following points: - Developpers with commit access can create branches as they see fit as long as it's prefixed by their name and they don't do sth nasty like storing binary

grub_file branch: generating grub.cfg for other installs, filtering unrelated files

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Hello, all. I've done some experiments in checking in grub-mkconfig where the files are valid kernels in order to distinguish between e.g. xen-capable and not capable kernel. As a bonus it's able to generate grub.cfg for a mounted OS even if it doesn't have the same architecture.. There are still s

Re: grub2 boot root-on-zfs errors

2013-11-10 Thread Beeblebrox
@ Vladimir: >> This is not quite what I asked. Please attach your config.log Apologies, I did not see that request. Anyway, I ran per your suggestion: $ ./autogen.sh --disable-werror --target i386-freebsd $ ./configure --disable-werror --target i386-freebsd $ gmake Compile completed cleanly, and

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-11-10 Thread Javier Vasquez
On Sun, Nov 3, 2013 at 7:16 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 04.11.2013 02:10, Javier Vasquez wrote: >> On 11/1/13, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >>> On 01.11.2013 22:26, Aleš Nesrsta wrote: Dne 29.10.2013 19:46, Vladimir 'φ-coder/phcoder' Serbin

Re: grub2 boot root-on-zfs errors

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.11.2013 18:50, Beeblebrox wrote: > @ Vladimir: >>> This is not quite what I asked. Please attach your config.log > Apologies, I did not see that request. > I meant the value of host_os in config.log. > Anyway, I ran per your suggestion: > $ ./autogen.sh --disable-werror --target i386-freebsd

Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation.

2013-11-10 Thread Javier Vasquez
On 11/10/13, Javier Vasquez wrote: > On Sun, Nov 3, 2013 at 7:16 PM, Vladimir 'φ-coder/phcoder' Serbinenko >> When you do grub_dprintf change you have to do it like: >> if (!debug) >> #ifdef GRUB_UTIL >> return; >> #else >> debug="all"; >> #endif > > > I'll be sending the grub.cfg from

Re: [PATCH] remove dependency on /boot/config-* in grub.d/20_linux_xen

2013-11-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 15.07.2013 20:00, Konrad Rzeszutek Wilk wrote: > Hey, > > There is a discussion on the linux-kernel mailing list in which the > Linus states that "if you depend on any config file, you're broken > by definition" (https://lkml.org/lkml/2013/7/15/368). > Please try my grub_file branch: http://gi

Re: grub_machine_fini definition inconsistencies

2013-11-10 Thread Glenn Washburn
On Sun, 10 Nov 2013 13:33:48 +0100 Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 10.11.2013 07:56, Glenn Washburn wrote: > > I'm now getting compilation errors for platform efi. > > > > /home/crass/development/bootloader/grub2-src/grub.git/grub-core/lib/efi/halt.c: > > In function > > ‘grub_