[PATCH] 30_os-prober: derive --class from os-prober generated label

2015-12-25 Thread Andrey Borzenkov
Currently only Windows gets distinguished icons, everything else is displayed using the same generic one. Add additional --class based on os-prober returned label, which usually is expected to match primary distribution name. Also use it for Windows as well - chainloader prober nay actually return

[PATCH] doc: document config_directory and config_file variables

2015-11-07 Thread Andrey Borzenkov
People are using this variable and it should be documented. --- docs/grub.texi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/docs/grub.texi b/docs/grub.texi index b9f41a7..db765a3 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -3038,6 +3038,8 @@ These variables have

[PATCH] update m4/extern-inline.m4 to upstream version to fix compilation on FreeBSD

2014-09-25 Thread Andrey Borzenkov
In file included from util/grub-mkimage.c:54:0: ./grub-core/gnulib/argp.h:627:49: error: '__sbistype' is static but used in inline function '_option_is_short' which is not static [-Werror] cc1: all warnings being treated as errors gmake[2]: *** [util/grub_mkimage-grub-mkimage.o] Error 1 Update m4/

Re: [RFC PATCH] configure check for ld's --no-relax flag

2014-08-04 Thread Andrey Borzenkov
В Mon, 04 Aug 2014 10:45:22 +0400 Stanislav Kholmanskikh пишет: > Hi! > > On 08/01/2014 07:40 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > On 01.08.2014 17:35, Andrey Borzenkov wrote: > >> В Fri, 1 Aug 2014 16:15:56 +0400 > >> Stanislav Kholma

Re: Developer community

2014-08-04 Thread Andrey Borzenkov
В Sun, 3 Aug 2014 22:35:17 +0530 Rahul Rathi пишет: > Respected sir > > I would love to participate in development of grub loader . > > As I am a new to this kinfly send me the development process documentation . > > Thanking you I do not think there any formal process exists. You participate

Re: Bug#747653: grub2-common: update-grub adds both devices and a line feed for BTRFS RAID 1 setup

2014-08-01 Thread Andrey Borzenkov
В Fri, 01 Aug 2014 17:43:03 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 29.07.2014 15:12, Martin Steigerwald wrote: > > Am Montag, 2. Juni 2014, 19:39:22 schrieb Andrey Borzenkov: > >> В Sat, 10 May 2014 20:53:34 +0200 > >> > >> Martin S

Re: [RFC PATCH] configure check for ld's --no-relax flag

2014-08-01 Thread Andrey Borzenkov
В Fri, 1 Aug 2014 16:15:56 +0400 Stanislav Kholmanskikh пишет: > Early versions of binutils doesn't support --no-relax flag, so > commit 063f2a04d158ec1b275a925dfbae74b124708cde prevents building > with such versions. > > Signed-off-by: Stanislav Kholmanskikh > --- > conf/Makefile.common |

Re: HOST_* flags are not used by gnulib

2014-07-27 Thread Andrey Borzenkov
В Wed, 23 Jul 2014 09:41:38 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 03.04.2014 20:01, Andrey Borzenkov wrote: > > I noticed that host flags are not propagated to gnulib. This does not > > feel right; in particular I noticed it because attempt to enab

Re: HOST_* flags are not used by gnulib

2014-07-27 Thread Andrey Borzenkov
В Sun, 27 Jul 2014 20:42:36 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 27.07.2014 20:39, Andrey Borzenkov wrote: > > В Sun, 27 Jul 2014 14:24:07 -0400 > > Mike Gilbert пишет: > > > >> On Sun, Jul 27, 2014 at 2:10 PM, Vladimir 'phcoder&#

Re: HOST_* flags are not used by gnulib

2014-07-27 Thread Andrey Borzenkov
φ-coder/phcoder' Serbinenko > >> wrote: > >> > On 03.04.2014 20:01, Andrey Borzenkov wrote: > >> >> I noticed that host flags are not propagated to gnulib. This does not > >> >> feel right; in particular I noticed it because attempt to enable

Re: [PATCH] Do not use inline in argp.h on FreeBSD

2014-07-25 Thread Andrey Borzenkov
В Fri, 25 Jul 2014 23:39:36 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 25.07.2014 17:28, Andrey Borzenkov wrote: > > This fixes this error: > > > > In file included from util/grub-mkimage.c:54:0: > > ./grub-core/gnulib/argp.h:627:49: error: &

Re: [PATCH] fix PXE transmit failure if P_UNKNOWN is not supported

2014-07-25 Thread Andrey Borzenkov
В Fri, 25 Jul 2014 23:38:34 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 25.07.2014 17:53, Andrey Borzenkov wrote: > > Some PXE stacks do not support P_UNKNOWN in UNDI TRANSMIT; nothing is > > sent at all. So strip Ethernet header for known frame types and

[PATCH] fix PXE transmit failure if P_UNKNOWN is not supported

2014-07-25 Thread Andrey Borzenkov
Some PXE stacks do not support P_UNKNOWN in UNDI TRANSMIT; nothing is sent at all. So strip Ethernet header for known frame types and let PXE stack add it. PXE implementation that fail is e.g. 64bit_foxconn with PXE-2.0 (build 082) NIC: SIS900 PXE BootROM v1.09 Hook Int19 Reported-By: Beeblebrox

[PATCH] Do not use inline in argp.h on FreeBSD

2014-07-25 Thread Andrey Borzenkov
il/grub_mkimage-grub-mkimage.o] Error 1 Treat FreeBSD similar to Apple and do not try inlines. It currently does it for GCC only, as this is what had been tested. Reported-By: Beeblebrox Tested-By: Beeblebrox Signed-off-by: Andrey Borzenkov --- m4/extern-inline.m4 | 10 +++--- 1 file changed

Re: Booting FreeBSD 10 from grub on Solaris 11.1 (grub 1.99)

2014-07-20 Thread Andrey Borzenkov
В Sun, 20 Jul 2014 07:44:57 +1000 Noel Hunt пишет: > I have a FreeBSD 10.0/Solaris 11.1 dual-boot machine. Solaris was > installed after FreeBSD and since it uses grub by default I am using > that to boot. Currently I am just invoking /boot/loader from grub.cfg > in Solaris to boot FreeBSD, but I

Re: Environment block and LVM

2014-07-19 Thread Andrey Borzenkov
В Tue, 15 Jul 2014 22:01:55 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 14.07.2014 14:03, Colin Watson wrote: > > On Mon, Jul 14, 2014 at 08:18:56AM +, Tuomas Räsänen wrote: > >> The GRUB manual says: > >>> For safety reasons, this storage is only available when installed on a > >

Re: Chainloadig from grub2 to isolinux

2014-07-08 Thread Andrey Borzenkov
В Tue, 8 Jul 2014 16:39:41 +0300 "Raif S. Berent" пишет: > Not to beat a dead horse, but I'd like to clarify a few issues that > seem to be not working. > > 1. I compiled and installed Grub_trunk on an old laptop, then copied > the debian.iso to a folder under (hd0,gpt*). Modified the grub.cfg a

Re: [PATCH] Avoid reusing the same TCP port number

2014-07-03 Thread Andrey Borzenkov
В Tue, 1 Jul 2014 13:53:49 +0200 Valentin Dornauer пишет: > Hi! > Attached is another patch from our internal repository. I am not > certain that it will work under any circumstances and it has only > been tested on x86 hardware, so please use with care! > > We had some very annoying issues with

Re: Odd problem with submenus

2014-07-03 Thread Andrey Borzenkov
В Thu, 03 Jul 2014 15:38:26 +0100 John Haxby пишет: > On 02/07/14 18:07, Andrey Borzenkov wrote: > > В Tue, 01 Jul 2014 17:59:35 +0100 > > John Haxby пишет: > > > >> > Hello, > >> > > >> > I have a warning generated by grub2-mkconfig

Re: [PATCH] Fix ACPI halt for certain DSDTs

2014-07-02 Thread Andrey Borzenkov
В Tue, 1 Jul 2014 01:55:22 +0200 Valentin Dornauer пишет: > Hello! > > GRUB2 currently seems to be unable to shut down my Fujitsu Lifebook > E744 laptop using ACPI. After some debugging, I nailed the problem > down to two problems within GRUB’s ‘acpihalt’ command. Please see > the attached patch

Re: Odd problem with submenus

2014-07-02 Thread Andrey Borzenkov
В Tue, 01 Jul 2014 17:59:35 +0100 John Haxby пишет: > Hello, > > I have a warning generated by grub2-mkconfig that shows up on various > systems that I'm not sure what to do about. Well, I know I can ignore > it, but I'm not sure what do do about not getting the warning in the > first place. >

Re: Loading a 32 bit kernel from 64 bit grub-xen

2014-07-01 Thread Andrey Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Tue, 01 Jul 2014 12:06:08 -0400 Phillip Susi пишет: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I have been trying to fix grub to load a 32 bit kernel from the 64 bit > xen build. After fixing up one or two minor issues with the elf > l

Re: PXE-Grub has no menu - File not found

2014-06-27 Thread Andrey Borzenkov
В Fri, 27 Jun 2014 09:26:05 +0300 Beeblebrox пишет: > > > How did you create your netboot directory and grub image? Your grub > > requests /boot/grub/i386-pc/normal.mod, *NOT* grub/i386-pc/normal.mod. > > It has wrong prefix. > > my tftp & dhcp are running in a jail (consider it like a VM) and

Re: PXE-Grub has no menu - File not found

2014-06-26 Thread Andrey Borzenkov
В Tue, 24 Jun 2014 18:19:00 +0300 Beeblebrox пишет: > Is it possible my findings below show that PXE booting on grub2 (trunk) > when compiled and running on FreeBSD is broken? > > * When isc-dhcpd.conf has "grub/i386-pc/core.0" as filename, wireshark > shows abort due to "file not found: grub/

Re: PXE-Grub has no menu - File not found

2014-06-25 Thread Andrey Borzenkov
В Tue, 24 Jun 2014 18:19:00 +0300 Beeblebrox пишет: > Is it possible my findings below show that PXE booting on grub2 (trunk) > when compiled and running on FreeBSD is broken? > > * When isc-dhcpd.conf has "grub/i386-pc/core.0" as filename, wireshark > shows abort due to "file not found: grub/

Re: grub-install hidden options weirdness

2014-06-25 Thread Andrey Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Wed, 25 Jun 2014 10:13:59 -0400 Phillip Susi пишет: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > A user complained that grub-install has some undocumented options such > as --root-directory. I started looking into it and noticed a lot of

Re: PXE boot over NFS please

2014-06-07 Thread Andrey Borzenkov
В Sat, 7 Jun 2014 10:33:29 +0300 Beeblebrox пишет: > I was just preparing this email when yours arrived. > The example below does not work either - client just reboots. > The module in my grub/i386-pc folder is named pxechain, so I have corrected > the insmod to that. > > menuentry 'FreeBSD amd6

Re: PXE-Grub has no menu - File not found

2014-06-07 Thread Andrey Borzenkov
В Sat, 7 Jun 2014 21:11:04 +0300 Beeblebrox пишет: > I just updated my git repo (git log shows Apr 20 16:12:41), then > re-compiled and reinstalled Grub. I then cd'ed to my TFTP root and ran > "grub-mknetdir --net-directory=./" This completed without problem and > displayed message to "direct TFT

Re: PXE boot over NFS please

2014-06-07 Thread Andrey Borzenkov
В Sat, 7 Jun 2014 09:15:51 +0300 Beeblebrox пишет: > > > > Did you try pxechainloader instead? It should leave working PXE > > environment. > > > > Ah, very interesting. I have that file in the grub folder, but how / where > is it invoked from? dhcp.conf has: > {next-server 192.168.2.1; > filena

Re: PXE boot over NFS please

2014-06-06 Thread Andrey Borzenkov
В Fri, 6 Jun 2014 15:11:22 +0300 Beeblebrox пишет: > > > > I must also boot FreeBSD on NFS via TFTP (not HTTP), but this won't work: > > menuentry 'FreeBSD chainload BTX' { > >kfreebsd boot/loader > > > or kfreebsd boot/pxeboot } > > > > This is because the BTX loader has not been

[PATCH] cleanup: grub_cpu_to_XXX_compile_time for constants

2014-06-03 Thread Andrey Borzenkov
This tries to catch all cases where grub_cpu_to_XXX was used for constant expressions (including sizeof). --- grub-core/bus/usb/ehci.c | 44 grub-core/bus/usb/ohci.c | 8 grub-core/commands/gptsync.c | 6 +++--- grub-core/dis

Re: [PATCH 1/2] Add hidden memdisk option to grub-install.

2014-06-02 Thread Andrey Borzenkov
В Mon, 19 May 2014 01:57:49 -0500 Glenn Washburn пишет: > I have a set of scripts that I've been using with the old shell script > grub-install that creates its own memdisk and embedded config. Those options > are not available at present (I suspect partly intentionally). With this in > mind

Re: Grub2 theme bug with relative numeric values for boot_menu?

2014-06-02 Thread Andrey Borzenkov
В Mon, 02 Jun 2014 12:06:03 -0400 John Hupp пишет: > > > >> Grub responded well to % values for the numeric values in the progress > >> bar and labels. Also OK with %'s for boot_menu properties top, left, > >> height, width. > >> > >> But I'm getting bad behavior with item_height and the other p

Re: [PATCH 2/2] Add emdedded-config hidden option to grub-install.

2014-06-02 Thread Andrey Borzenkov
В Tue, 27 May 2014 01:32:22 -0500 Glenn Washburn пишет: > On Thu, 22 May 2014 09:33:05 +0200 > Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > > On 19.05.2014 09:03, Glenn Washburn wrote: > > > One thing to note with this patch is that the supplied embedded > > > config file is appended to the

Re: PXE boot over NFS please

2014-06-02 Thread Andrey Borzenkov
В Mon, 2 Jun 2014 18:14:31 +0300 Beeblebrox пишет: > > Grub already supports HTTP. Did you try it? > > > > Not yet. I was planning on getting around to that, but I had wanted to > clarify the "NFS option" first. Can you advise what the syntax is for HTTP > booting the kernel with loopback? Like

Re: Bug#747653: grub2-common: update-grub adds both devices and a line feed for BTRFS RAID 1 setup

2014-06-02 Thread Andrey Borzenkov
В Sat, 10 May 2014 20:53:34 +0200 Martin Steigerwald пишет: > Package: grub2-common > Version: 2.02~beta2-10 > Severity: normal > > Dear Maintainer, > > I am booting my Debian system via a BTRFS RAID 1 which spans a logical > volume on a Crucial MSATA and Intel SATA SSD each. > > After running

Re: Why ignore UUID when linux root device is an LV?

2014-06-02 Thread Andrey Borzenkov
В Fri, 2 May 2014 15:23:30 +0100 Colin Watson пишет: > On Fri, May 02, 2014 at 02:54:13PM +0200, Sree Harsha Totakura wrote: > > I would like to know why UUID is not used for root device in Linux > > kernel's `root=' parameter when the root device uses LVM. > > Filesystem UUIDs on LVM aren't nec

Re: A few questions about GRUB 2

2014-06-02 Thread Andrey Borzenkov
В Tue, 6 May 2014 21:28:31 +0530 Shriramana Sharma пишет: >> > With the GRUB 2 coming with Kubuntu Trusty, I observe that > menu_color_* only apply to the primary menu and not to the secondary > menu, where only color_* are applied. > > 3) Is this behaviour intentional? Calling it "menu_*" seem

Re: [PATCH] Allow user-defined functions to override builtins.

2014-06-02 Thread Andrey Borzenkov
В Tue, 27 May 2014 01:27:47 -0500 Glenn Washburn пишет: > On Sun, 25 May 2014 05:03:31 +0200 > Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > > On 24.05.2014 09:47, Glenn Washburn wrote: > > > But the prefix variable is used for other things in the loaded > > > config file. So if I change th

Re: Grub2 theme bug with relative numeric values for boot_menu?

2014-06-02 Thread Andrey Borzenkov
В Mon, 26 May 2014 18:19:23 -0400 John Hupp пишет: > I'm trying to make my theme completely resolution-independent. You can > see a current screen shot at Post your Grub 2 Themes > > Pictures are blocked for g

Re: Where's the code for inputs in Grub?

2014-06-02 Thread Andrey Borzenkov
В Thu, 29 May 2014 09:24:13 -0600 Gerard Butler пишет: > I'm looking for the .c file that tells grub about how to handle keyboard > inputs? I want to see if I can use that as a base to write a module to take > input from game controllers. Look under grub-c

Re: Improper handling of --disk-module argument in grub-install

2014-06-01 Thread Andrey Borzenkov
В Sun, 18 May 2014 08:18:56 -0500 Glenn Washburn пишет: > Currently when using --disk-module=xxx, grub-install will fail with a > message about disk-module not being a valid option. > > To fix this, OPTION_MODULE should be removed from the option enum and > the remaining references to OPTION_MOD

Re: PXE boot over NFS please

2014-06-01 Thread Andrey Borzenkov
В Sun, 1 Jun 2014 20:53:27 +0300 Beeblebrox пишет: > In a previous discussion on this list, I was advised grub does not boot > over NFS, and that it must use TFTP only. > > I had asked the questionn because of this article [ > http://www.wonkity.com/~wblock/docs/html/pxe.html) where it states: >

Re: net.c FINI & tftp stall threshold

2014-05-02 Thread Andrey Borzenkov
В Fri, 2 May 2014 12:00:16 -0700 Seth Goldberg пишет: > Hi, > > Is there any reason that only the following two variables’ hooks are > removed at FINI time (what about the others in INIT?): > > 1764 grub_register_variable_hook ("net_default_server", 0, 0); > 1765 grub_register_variable_h

Re: Unable to run grub-mkrescue powerpc ISO in QEMU

2014-05-01 Thread Andrey Borzenkov
В Sun, 06 Apr 2014 11:59:52 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 06.04.2014 06:24, Andrey Borzenkov wrote: > > Using "qemu-system-ppc -cdrom /tmp/grub2-ppc.iso -boot d > > -nographic" (-nographic just to capture output) I get > >

[PATCH] grub-mkrescue: remove temporary load_cfg file

2014-05-01 Thread Andrey Borzenkov
--- util/grub-mkrescue.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/grub-mkrescue.c b/util/grub-mkrescue.c index e719839..c3d9b32 100644 --- a/util/grub-mkrescue.c +++ b/util/grub-mkrescue.c @@ -323,6 +323,7 @@ make_image_fwdisk_abs (enum grub_install_plat plat, grub_install_mak

Re: RFC Remove classful causing incorrect routing behavior

2014-04-21 Thread Andrey Borzenkov
В Tue, 22 Apr 2014 00:13:15 + "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 + > > "Mroczek, Joseph T" пишет: >

Re: RFC Remove classful causing incorrect routing behavior

2014-04-21 Thread Andrey Borzenkov
В Mon, 21 Apr 2014 15:56:07 + "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

Re: Patch to compile grub2 with Apple compiler

2014-04-12 Thread Andrey Borzenkov
В Sat, 12 Apr 2014 13:27:57 +0200 Yves Blusseau пишет: > The "i386-pc" version built from OSX doesn't work. > It will only display Grub Loading… > On which platform? ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listin

Unable to run grub-mkrescue powerpc ISO in QEMU

2014-04-05 Thread Andrey Borzenkov
Using "qemu-system-ppc -cdrom /tmp/grub2-ppc.iso -boot d -nographic" (-nographic just to capture output) I get >> = >> OpenBIOS 1.1 [Jul 30 2013 21:44] >> Configuration device id QEMU version 1 machine id 2 >> CPUs: 1 >> Memory: 128M >> U

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-05 Thread Andrey Borzenkov
В Sat, 05 Apr 2014 20:29:24 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 05.04.2014 18:49, Andrey Borzenkov wrote: > > В Sat, 05 Apr 2014 17:45:30 +0200 > > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > > > >> A problem is

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-05 Thread Andrey Borzenkov
В Sat, 05 Apr 2014 17:45:30 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > A problem is that restgpr and [al]sh[lr]di3 weren't used by any > platform. What do you mean? They are used, but resolved from -lgcc for all current platforms. Where it breaks is ppc64le where libgcc for BE does not

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-04 Thread Andrey Borzenkov
В Fri, 04 Apr 2014 20:24:58 +0200 Dinar Valeev пишет: > > Right, my mistake. I recall a message message with 64bit LE patches. But > seems that came from somewhere else. > > Long story short. With 32Bit BE stage one I had several issues like > accessing btrfs and booting from media. I gave up o

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-04 Thread Andrey Borzenkov
В Fri, 4 Apr 2014 10:47:35 -0700 Ram Pai пишет: > On Fri, Apr 04, 2014 at 06:28:51AM +0400, Andrey Borzenkov wrote: > > В Thu, 3 Apr 2014 13:32:22 -0700 > > Ram Pai пишет: > > > > > > > > They generate a 32bit BE grub binary on a LE system? No. I

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-04 Thread Andrey Borzenkov
В Fri, 04 Apr 2014 08:37:20 +0200 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > As for eliminating libgcc dependency I created branch phcoder/no-libgcc. I'm afraid it results in too much churn that will be unmanageable module-cmos.o `test -f 'lib/ieee1275/cmos.c' || echo '../../grub-core/'`li

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Andrey Borzenkov
В Thu, 3 Apr 2014 13:32:22 -0700 Ram Pai пишет: > > They generate a 32bit BE grub binary on a LE system? No. I dont think > so. Because the cross-compile tool chain is not enabled do so. > bor@opensuse:/tmp/binaries> file usr/bin/grub2-mkimage usr/bin/grub2-mkimage: ELF 64-bit LSB executable

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Andrey Borzenkov
В Thu, 3 Apr 2014 12:26:57 -0700 Ram Pai пишет: > > > > > > > > > Well. that is the issue. Various distros have varied support for > > > > > cross-compilation (multi-arch support). If the distro does not > > > > > have 32bit BE libraries natively installed (out-of-the-box), they > > > > > wont

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Andrey Borzenkov
В Thu, 3 Apr 2014 11:37:05 -0700 Ram Pai пишет: > On Thu, Apr 03, 2014 at 09:53:56PM +0400, Andrey Borzenkov wrote: > > В Thu, 3 Apr 2014 10:33:36 -0700 > > Ram Pai пишет: > > > > > On Tue, Apr 01, 2014 at 10:22:10PM +0200, Vladimir 'φ-cod

Re: [PATCH] sort target list in grub-mkimage help output to make it easier to read

2014-04-03 Thread Andrey Borzenkov
В Tue, 10 Dec 2013 00:49:55 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > What about similar architectures with dissimilar name? Like i386-efi and > x86_64-efi ? And do we really want arm to come first with most common > platforms ending somewhere in the middle? That's exactly what grub-i

HOST_* flags are not used by gnulib

2014-04-03 Thread Andrey Borzenkov
I noticed that host flags are not propagated to gnulib. This does not feel right; in particular I noticed it because attempt to enable debugging for host tools (HOST_CFLAGS=-g) did not work for gnulib files. Is it intentional? ___ Grub-devel mailing lis

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-03 Thread Andrey Borzenkov
В Thu, 3 Apr 2014 10:33:36 -0700 Ram Pai пишет: > On Tue, Apr 01, 2014 at 10:22:10PM +0200, Vladimir 'φ-coder/phcoder' > Serbinenko wrote: > > > > > > > > For the sake of bisectability this really should be moved earlier; > > > otherwise at least patch "fix parameter to firmware calls" would >

Re: [PATCH] Clarify "Press any key to continue..." message

2014-04-03 Thread Andrey Borzenkov
В Thu, 3 Apr 2014 17:52:57 +0100 Colin Watson пишет: > > Seems like a lot of effort. The actual delay is 2.5 seconds May be I misunderstand it, but how 1ms becomes 2.5 seconds? ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org

Re: pvgrub2 and old grub menu.lst

2014-04-03 Thread Andrey Borzenkov
On Thu, Apr 3, 2014 at 10:50 AM, Michael Chang wrote: > > I also setup two disks for testing, and set root=hdX,Y to list the > file in repective disk correct. Then swapping the disk order in xen > config and again the result is correct. > Did you compare disk order in pv-grub and grub2?

Re: [RFC PATCH 11/23] Fix powerpc setjmp/longjmp 64bit issues

2014-04-02 Thread Andrey Borzenkov
В Wed, 2 Apr 2014 10:48:34 -0700 Ram Pai пишет: > On Wed, Apr 02, 2014 at 09:19:59PM +0400, Andrey Borzenkov wrote: > > В Wed, 2 Apr 2014 10:06:05 -0700 > > Ram Pai пишет: > > > > > On Tue, Apr 01, 2014 at 09:27:19PM +0400, Andrey Borzenkov wrote: > > &

Re: [RFC PATCH 11/23] Fix powerpc setjmp/longjmp 64bit issues

2014-04-02 Thread Andrey Borzenkov
В Wed, 2 Apr 2014 10:06:05 -0700 Ram Pai пишет: > On Tue, Apr 01, 2014 at 09:27:19PM +0400, Andrey Borzenkov wrote: > > В Wed, 26 Feb 2014 10:31:10 -0800 > > Ram Pai пишет: > > > > > From: Anton Blanchard > > > > > > Fix powerpc setjmp/long

Re: [RFC PATCH 20/23] fix parameter to firmware calls

2014-04-02 Thread Andrey Borzenkov
В Wed, 2 Apr 2014 10:08:32 -0700 Ram Pai пишет: > On Tue, Apr 01, 2014 at 09:45:35PM +0400, Andrey Borzenkov wrote: > > В Wed, 26 Feb 2014 10:31:19 -0800 > > Ram Pai пишет: > > > > > -#define IEEE1275_ADDR(x) (grub_uint32_t)(grub_addr_t)(x) > >

Re: pvgrub2 and old grub menu.lst

2014-04-02 Thread Andrey Borzenkov
В Wed, 2 Apr 2014 14:29:50 +0400 Andrey Borzenkov пишет: > On Wed, Apr 2, 2014 at 12:43 PM, Michael Chang wrote: > > On Tue, Apr 01, 2014 at 08:06:44PM +0400, Andrey Borzenkov wrote: > >> В Tue, 1 Apr 2014 15:46:22 +0800 > >> Michael Chang пишет: > >> >

Re: pvgrub2 and old grub menu.lst

2014-04-02 Thread Andrey Borzenkov
On Wed, Apr 2, 2014 at 12:43 PM, Michael Chang wrote: > On Tue, Apr 01, 2014 at 08:06:44PM +0400, Andrey Borzenkov wrote: >> В Tue, 1 Apr 2014 15:46:22 +0800 >> Michael Chang пишет: >> >> > While trying to boot xen pv guest with old grub config (menu.lst), &g

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)

2014-04-01 Thread Andrey Borzenkov
В Wed, 26 Feb 2014 10:31:20 -0800 Ram Pai пишет: > From: Anton Blanchard > > powerpc64 is not necessarily BigEndian anymore! :) > > Signed-off-by: Ram Pai > --- > include/grub/powerpc/types.h | 10 +++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/include/grub/p

Re: [RFC PATCH 20/23] fix parameter to firmware calls

2014-04-01 Thread Andrey Borzenkov
В Wed, 26 Feb 2014 10:31:19 -0800 Ram Pai пишет: > -#define IEEE1275_ADDR(x) (grub_uint32_t)(grub_addr_t)(x) > - > +#define IEEE1275_ADDR(x) > (grub_uint32_t)grub_cpu_to_be32((grub_addr_t)(x)) > +#define IEEE1275_VALUE(x) (grub_uint32_t)grub_cpu_to_be32(x) Same question

Re: [RFC PATCH 09/23] Fix warnings when building powerpc linux loader 64bit

2014-04-01 Thread Andrey Borzenkov
В Wed, 26 Feb 2014 10:31:08 -0800 Ram Pai пишет: > From: Anton Blanchard > > Fix warnings when building powerpc linux loader 64bit > > Signed-off-by: Ram Pai > From: Anton Blanchard > --- > grub-core/loader/powerpc/ieee1275/linux.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(

Re: [RFC PATCH 11/23] Fix powerpc setjmp/longjmp 64bit issues

2014-04-01 Thread Andrey Borzenkov
В Wed, 26 Feb 2014 10:31:10 -0800 Ram Pai пишет: > From: Anton Blanchard > > Fix powerpc setjmp/longjmp 64bit issues > > Signed-off-by: Ram Pai > From: Anton Blanchard > --- > grub-core/lib/powerpc/setjmp.S | 94 > +++--- > 1 file changed, 52 insertion

Re: [RFC PATCH 08/23] Add powerpc64 types

2014-04-01 Thread Andrey Borzenkov
В Wed, 26 Feb 2014 10:31:07 -0800 Ram Pai пишет: > From: Anton Blanchard > > Add powerpc64 types > > Signed-off-by: Ram Pai > From: Anton Blanchard > --- > include/grub/powerpc/types.h | 8 > 1 file changed, 8 insertions(+) > > diff --git a/include/grub/powerpc/types.h b/include/

Re: [RFC PATCH 06/23] Add IEEE1275_ADDR helper

2014-04-01 Thread Andrey Borzenkov
В Wed, 26 Feb 2014 10:31:05 -0800 Ram Pai пишет: > From: Anton Blanchard > > If the target pointer size doesn't match the IEEE1275 cell size, we > need to cast twice to avoid a warning. > > > > +#define IEEE1275_ADDR(x) (grub_uint32_t)(grub_addr_t)(x) > + Should not this be conditi

Re: [RFC PATCH 03/23] ignore .TOC. symbol

2014-04-01 Thread Andrey Borzenkov
В Wed, 26 Feb 2014 10:31:02 -0800 Ram Pai пишет: > powerpc64 LE's linker knows how to handle the undefined > symbol .TOC. in grub modules. So just ignore that symbol during build. > > Signed-off-by: Ram Pai > --- > grub-core/gensyminfo.sh.in | 7 ++- > 1 file changed, 6 insertions(+), 1 de

Re: pvgrub2 and old grub menu.lst

2014-04-01 Thread Andrey Borzenkov
ally should work; but this needs someone who knows how Xen disks is mapped to hd number in legacy grub. It would be something like (completely untested) From: Andrey Borzenkov Subject: [PATCH] accept also hdX as alias to native Xen disk name This allows reusing legacy pvgrub menu.lst which is u

Re: grub-probe --target=disk not documented

2014-03-25 Thread Andrey Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Tue, 25 Mar 2014 11:36:13 -0400 Phillip Susi пишет: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I noticed that --target=disk is not mentioned in either the grub-probe > man page, nor --help. > It is in current master (man page is autog

Re: How to deal with fatal device seeks?

2014-03-16 Thread Andrey Borzenkov
В Sun, 16 Mar 2014 17:05:53 +0100 adrian15 пишет: > > I'm getting the same problem > ( FATAL: int13_cdrom: function 42. Can't use 64bits lba ) > This message does not exist in grub sources, so it likely comes from firmware. 64 bit LBA would mean size over 2TB. So the first question - what size

Re: Trying to build Rescue image for three different target and platform

2014-03-16 Thread Andrey Borzenkov
В Sun, 16 Mar 2014 06:56:46 +0100 adrian15 пишет: > > > > To be honest, I do not understand what you are trying to do here. > > The same thing as in: > > https://forja.cenatic.es/plugins/scmgit/cgi-bin/gitweb.cgi?p=supergrub2/supergrub2.git;a=blob_plain;f=supergrub-meta-mkrescue;hb=22683e2b5fa0

Re: How one is supposed to write kind-of-library cfg files?

2014-03-15 Thread Andrey Borzenkov
В Sun, 16 Mar 2014 05:21:20 +0100 adrian15 пишет: > El 16/03/14 04:49, adrian15 escribió: > > ( Using 2.02~beta2-7 from Debian Unstable ) > > > >I have tried to write some cfg files to kind of organise them as > > libraries but it does not work as expected. > > > >It seems as the sourced

Re: pxe-nfs-loop-iso syntax in grub.cfg

2014-03-13 Thread Andrey Borzenkov
В Thu, 13 Mar 2014 21:58:03 +0930 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 13.03.2014 15:27, Andrey Borzenkov wrote: > > If I'm not mistaken, ls currently supports only disk devices. > tftp (protocol) simply doesn't provide any way to list files. > Y

Re: pxe-nfs-loop-iso syntax in grub.cfg

2014-03-12 Thread Andrey Borzenkov
В Wed, 5 Mar 2014 20:53:05 +0200 rsb пишет: > How do you pass a pxe-nfs-loop-iso syntax in grub.cfg? For a start, grub does not support NFS. > I'm trying to boot > iso file (loopback) over pxe. I get far as the grub.cfg menu, but the entry

Re: Trying to build Rescue image for three different target and platform

2014-03-12 Thread Andrey Borzenkov
В Sun, 09 Mar 2014 17:14:04 +0100 adrian15 пишет: > Basically what I want to do is to use grub-mkrescue to generate a grub2 > rescue disk with some custom files (The Super Grub2 Disk stuff). > > However I want to build different files depending on target+platform > combination. > > My four co

Re: Questions about booting Linux kernel using AARCH64 GRUB

2014-03-12 Thread Andrey Borzenkov
В Wed, 12 Mar 2014 10:50:59 + Leif Lindholm пишет: > Hi Cedric, > > On Wed, Mar 12, 2014 at 11:00:43AM +0800, 林揆斌 wrote: > > I got some questions about the routine "grub_linux_boot" in > > "grub-core/loader/ > > arm64/linux.c" > > from master branch of this repo: "git://git.savannah.gnu.org

Re: Proposal for fixing bootinfoscript when grub v2.00 sits on the MBR

2014-02-15 Thread Andrey Borzenkov
В Sat, 15 Feb 2014 15:48:03 +0100 "Arbiel (gmx)" пишет: > Hi > > Apparently, you are in charge of maintaining bootinfoscript. > > It turns out that the script does not correctly discriminate grub2's > versions 1.99 and 2.00. > Botinfoscript is unrelated to grub development. You can find vers

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

2014-02-12 Thread Andrey Borzenkov
В Tue, 11 Feb 2014 02:20:19 + "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

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

2014-02-11 Thread Andrey Borzenkov
В Tue, 11 Feb 2014 02:20:19 + "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

Re: [PATCH] grub-core/net/arp.c: trim arp packets with abnormal size.

2014-01-31 Thread Andrey Borzenkov
В Fri, 31 Jan 2014 13:35:11 -0200 Paulo Flabiano Smorigo пишет: > * grub-core/net/arp.c (grub_net_arp_receive): Trim arp packets with abnormal > size. > > GRUB uses arp request to create the arp response. If the incoming packet is > foobared, GRUB needs to trim the arp response packet before se

Re: [PATCH] grub-install: Improve support for partitioned loop devices.

2014-01-25 Thread Andrey Borzenkov
В Sun, 26 Jan 2014 01:20:09 -0500 Mike Gilbert пишет: > On Sun, Jan 26, 2014 at 12:16 AM, Andrey Borzenkov > wrote: > > В Sat, 25 Jan 2014 20:41:00 -0500 > > Mike Gilbert пишет: > > > >> * grub-core/osdep/linux/getroot.c (grub_util_part_to_disk): Detect >

Re: Booting from RAID (was: Re: booting btrfs)

2014-01-25 Thread Andrey Borzenkov
В Tue, 21 Jan 2014 09:03:52 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 13.01.2014 07:12, Andrey Borzenkov wrote: > > On Mon, Jan 13, 2014 at 9:53 AM, Chris Murphy > > wrote: > > > >> There are other problems with Fedora that prevent thi

Re: [PATCH] grub-install: Improve support for partitioned loop devices.

2014-01-25 Thread Andrey Borzenkov
4 > --- a/ChangeLog > +++ b/ChangeLog > @@ -1,3 +1,8 @@ > +2014-01-26 Mike Gilbert > + grub-install: Improve support for partitioned loop devices. > + > + * grub-core/osdep/linux/getroot.c (grub_util_part_to_disk): Detect > + /dev/loopX as being the parent o

[PATCH] fix crash in CLI on empty line with continuation

2014-01-25 Thread Andrey Borzenkov
GRUB would crash when getting the following (without quotes) "\RETURN "RETURN This results in empty args. OTOH having empty first argument is not really a problem (it simply fails to find empty command name). --- grub-core/script/execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] Improve DejaVuSans detection

2014-01-25 Thread Andrey Borzenkov
В Wed, 22 Jan 2014 00:16:44 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 21.01.2014 17:16, Andrey Borzenkov wrote: > > Yes, I realized that. The problem is, unifont may be missing (user is > > free to override it with GRUB_FONT) > If user overrides our font

make with po files fails due to missing C.UTF-8 locale

2014-01-25 Thread Andrey Borzenkov
make[2]: Вход в каталог `/home/bor/build/grub/po' LC_ALL=C.UTF-8 msginit -i ./grub.pot --no-translator -l en@cyrillic -o - 2>/dev/null | LC_ALL=C.UTF-8 msgconv -t UTF-8 | LC_ALL=C.UTF-8 msgfilter -o ./e...@cyrillic.po -i - sed -f ./cyrillic.sed msgfilter: warning: Locale charset "ANSI_X3.4-1968"

Re: grub-shell: Pass -no-pad to xorriso when building floppy images

2014-01-25 Thread Andrey Borzenkov
В Wed, 22 Jan 2014 16:12:26 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 16.01.2014 15:53, Colin Watson wrote: > > On Thu, Jan 16, 2014 at 03:05:44PM +0100, Thomas Schmitt wrote: > >> Hi, > >> > >>> +mkrescue_args="${mkrescue_args} -- -no-pad" > >> > >> This "--" is most probably n

Re: [PATCH v2] fix Mingw W64-32 cross compile failure due to printf redefinition in libintl.h

2014-01-25 Thread Andrey Borzenkov
В Fri, 24 Jan 2014 21:34:17 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 18.01.2014 20:09, Andrey Borzenkov wrote: > > В Sat, 18 Jan 2014 20:07:31 +0100 > > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > > > >> On 18.01.2014 20:0

Re: [PATCH] normalize default prefix in grub-mkimage

2014-01-21 Thread Andrey Borzenkov
В Tue, 21 Jan 2014 08:19:24 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 27.12.2013 18:41, Andrey Borzenkov wrote: > > This fixes bogus "C:\boot\grub" at runtime for Windows build as well as > > the case when /boot is on separate mount point for

Re: [PATCH] add GRUB_WINDOWS_DLLS to make windowsdir to allow shipping runtime files

2014-01-21 Thread Andrey Borzenkov
В Tue, 21 Jan 2014 08:26:04 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 19.01.2014 05:15, Andrey Borzenkov wrote: > > В Sun, 19 Jan 2014 02:23:41 +0100 > > Vladimir 'φ-coder/phcoder' Serbinenko пишет: > > > >> On 18.0

Re: [PATCH] Add linuxefi module

2014-01-21 Thread Andrey Borzenkov
В Tue, 21 Jan 2014 00:28:08 +0100 Lubomir Rintel пишет: > > module = { > + name = linuxefi; > + efi = loader/i386/efi/linux.c; > + efi = lib/cmdline.c; > + enable = i386_efi; > + enable = x86_64_efi; > +}; > + Is it relevant for arm64-efi? > +static grub_err_t > +grub_cmd_linux (grub_c

Re: [PATCH] Improve DejaVuSans detection

2014-01-21 Thread Andrey Borzenkov
В Tue, 21 Jan 2014 08:46:41 +0100 Vladimir 'φ-coder/phcoder' Serbinenko пишет: > > Prefer DejaVuSansMono if found, on openSUSE DejaVuSans is proportional font. > > > It's fine to use SansMono for terminal (I'd prefer unifont though) but > this change also changes the way various items in menu ar

  1   2   3   4   5   6   >