[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

[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

[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

Re: Developer community

2014-08-04 Thread Andrey Borzenkov
В Sun, 3 Aug 2014 22:35:17 +0530 Rahul Rathi vangiex...@gmail.com пишет: 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.

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 stanislav.kholmansk...@oracle.com пишет: 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 Kholmanskikh

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 stanislav.kholmansk...@oracle.com пишет: Early versions of binutils doesn't support --no-relax flag, so commit 063f2a04d158ec1b275a925dfbae74b124708cde prevents building with such versions. Signed-off-by: Stanislav Kholmanskikh

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 phco...@gmail.com пишет: 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 Steigerwald mar...@lichtvoll.de пишет

Re: HOST_* flags are not used by gnulib

2014-07-27 Thread Andrey Borzenkov
' Serbinenko phco...@gmail.com 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 debugging for host tools (HOST_CFLAGS=-g) did not work for gnulib files

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 phco...@gmail.com пишет: On 27.07.2014 20:39, Andrey Borzenkov wrote: В Sun, 27 Jul 2014 14:24:07 -0400 Mike Gilbert flop...@gentoo.org пишет: On Sun, Jul 27, 2014 at 2:10 PM, Vladimir 'phcoder' Serbinenko phco

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 phco...@gmail.com пишет: 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 debugging

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

2014-07-25 Thread Andrey Borzenkov
-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 zap...@berentweb.com Tested-By: Beeblebrox zap...@berentweb.com Signed-off-by: Andrey Borzenkov arvidj...@gmail.com --- m4/extern

[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:

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 phco...@gmail.com пишет: 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 let PXE stack

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 phco...@gmail.com пишет: 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: '__sbistype' is static but used

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 noel.h...@gmail.com пишет: 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

Re: Environment block and LVM

2014-07-19 Thread Andrey Borzenkov
В Tue, 15 Jul 2014 22:01:55 +0200 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com пишет: 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

Re: Chainloadig from grub2 to isolinux

2014-07-08 Thread Andrey Borzenkov
В Tue, 8 Jul 2014 16:39:41 +0300 Raif S. Berent r...@berentweb.com пишет: 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

Re: Odd problem with submenus

2014-07-03 Thread Andrey Borzenkov
В Thu, 03 Jul 2014 15:38:26 +0100 John Haxby john.ha...@oracle.com пишет: On 02/07/14 18:07, Andrey Borzenkov wrote: В Tue, 01 Jul 2014 17:59:35 +0100 John Haxby john.ha...@oracle.com пишет: Hello, I have a warning generated by grub2-mkconfig that shows up on various systems

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 valen...@unimplemented.org пишет: 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

Re: Odd problem with submenus

2014-07-02 Thread Andrey Borzenkov
В Tue, 01 Jul 2014 17:59:35 +0100 John Haxby john.ha...@oracle.com пишет: 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

Re: [PATCH] Fix ACPI halt for certain DSDTs

2014-07-02 Thread Andrey Borzenkov
В Tue, 1 Jul 2014 01:55:22 +0200 Valentin Dornauer valen...@unimplemented.org пишет: 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

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 ps...@ubuntu.com пишет: -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

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

2014-06-27 Thread Andrey Borzenkov
В Fri, 27 Jun 2014 09:26:05 +0300 Beeblebrox zap...@berentweb.com пишет: 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

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

2014-06-26 Thread Andrey Borzenkov
В Tue, 24 Jun 2014 18:19:00 +0300 Beeblebrox zap...@berentweb.com пишет: 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

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 ps...@ubuntu.com пишет: -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

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

2014-06-25 Thread Andrey Borzenkov
В Tue, 24 Jun 2014 18:19:00 +0300 Beeblebrox zap...@berentweb.com пишет: 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

Re: PXE boot over NFS please

2014-06-07 Thread Andrey Borzenkov
В Sat, 7 Jun 2014 09:15:51 +0300 Beeblebrox zap...@berentweb.com пишет: 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;

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

2014-06-07 Thread Andrey Borzenkov
В Sat, 7 Jun 2014 21:11:04 +0300 Beeblebrox zap...@berentweb.com пишет: 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

Re: PXE boot over NFS please

2014-06-07 Thread Andrey Borzenkov
В Sat, 7 Jun 2014 10:33:29 +0300 Beeblebrox zap...@berentweb.com пишет: 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.

Re: PXE boot over NFS please

2014-06-06 Thread Andrey Borzenkov
В Fri, 6 Jun 2014 15:11:22 +0300 Beeblebrox zap...@berentweb.com пишет: 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

[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 +++---

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 legendary_b...@hotmail.com пишет: 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.

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 grub-...@prpcompany.com пишет: I'm trying to make my theme completely resolution-independent. You can see a current screen shot at Post your Grub 2 Themes http://ubuntuforums.org/showthread.php?t=1823915page=14p=13031738#post13031738 Pictures

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 developm...@efficientek.com пишет: On Sun, 25 May 2014 05:03:31 +0200 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com wrote: On 24.05.2014 09:47, Glenn Washburn wrote: But the prefix variable is used for other things in the loaded

Re: A few questions about GRUB 2

2014-06-02 Thread Andrey Borzenkov
В Tue, 6 May 2014 21:28:31 +0530 Shriramana Sharma samj...@gmail.com пишет: 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

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 cjwat...@ubuntu.com пишет: 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

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 mar...@lichtvoll.de пишет: 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.

Re: PXE boot over NFS please

2014-06-02 Thread Andrey Borzenkov
В Mon, 2 Jun 2014 18:14:31 +0300 Beeblebrox zap...@berentweb.com пишет: 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

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 developm...@efficientek.com пишет: On Thu, 22 May 2014 09:33:05 +0200 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com wrote: On 19.05.2014 09:03, Glenn Washburn wrote: One thing to note with this patch is that the supplied embedded

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-...@prpcompany.com пишет: 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

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 developm...@efficientek.com пишет: 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

Re: PXE boot over NFS please

2014-06-01 Thread Andrey Borzenkov
В Sun, 1 Jun 2014 20:53:27 +0300 Beeblebrox zap...@berentweb.com пишет: 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)

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 developm...@efficientek.com пишет: 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

Re: net.c FINI tftp stall threshold

2014-05-02 Thread Andrey Borzenkov
В Fri, 2 May 2014 12:00:16 -0700 Seth Goldberg seth.goldb...@oracle.com пишет: 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

[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,

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 phco...@gmail.com пишет: 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 CNR with either upstream or phcoder

Re: RFC Remove classful causing incorrect routing behavior

2014-04-21 Thread Andrey Borzenkov
В Mon, 21 Apr 2014 15:56:07 + Mroczek, Joseph T joseph.t.mroc...@intel.com пишет: 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

Re: RFC Remove classful causing incorrect routing behavior

2014-04-21 Thread Andrey Borzenkov
В Tue, 22 Apr 2014 00:13:15 + Mroczek, Joseph T joseph.t.mroc...@intel.com пишет: 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 joseph.t.mroc...@intel.com пишет: From: Behalf

Re: Patch to compile grub2 with Apple compiler

2014-04-12 Thread Andrey Borzenkov
В Sat, 12 Apr 2014 13:27:57 +0200 Yves Blusseau bluss...@zetam.org пишет: 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

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 phco...@gmail.com пишет: 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

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 phco...@gmail.com пишет: On 05.04.2014 18:49, Andrey Borzenkov wrote: В Sat, 05 Apr 2014 17:45:30 +0200 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com пишет: A problem is that restgpr and [al]sh[lr]di3

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 UUID:

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 phco...@gmail.com пишет: 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

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 linux...@us.ibm.com пишет: On Fri, Apr 04, 2014 at 06:28:51AM +0400, Andrey Borzenkov wrote: В Thu, 3 Apr 2014 13:32:22 -0700 Ram Pai linux...@us.ibm.com пишет: They generate a 32bit BE grub binary on a LE system? No. I dont think so

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 dval...@suse.de пишет: 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

Re: pvgrub2 and old grub menu.lst

2014-04-03 Thread Andrey Borzenkov
On Thu, Apr 3, 2014 at 10:50 AM, Michael Chang mch...@suse.com 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

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 cjwat...@ubuntu.com пишет: 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

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 linux...@us.ibm.com пишет: 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

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

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 phco...@gmail.com пишет: 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

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 linux...@us.ibm.com пишет: On Thu, Apr 03, 2014 at 09:53:56PM +0400, Andrey Borzenkov wrote: В Thu, 3 Apr 2014 10:33:36 -0700 Ram Pai linux...@us.ibm.com пишет: On Tue, Apr 01, 2014 at 10:22:10PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko

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 linux...@us.ibm.com пишет: 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 be

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 linux...@us.ibm.com пишет: 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

Re: pvgrub2 and old grub menu.lst

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

Re: pvgrub2 and old grub menu.lst

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

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 linux...@us.ibm.com пишет: On Tue, Apr 01, 2014 at 09:45:35PM +0400, Andrey Borzenkov wrote: В Wed, 26 Feb 2014 10:31:19 -0800 Ram Pai linux...@us.ibm.com пишет: -#define IEEE1275_ADDR(x) (grub_uint32_t)(grub_addr_t)(x) - +#define

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 linux...@us.ibm.com пишет: On Tue, Apr 01, 2014 at 09:27:19PM +0400, Andrey Borzenkov wrote: В Wed, 26 Feb 2014 10:31:10 -0800 Ram Pai linux...@us.ibm.com пишет: From: Anton Blanchard an...@samba.org Fix powerpc setjmp/longjmp 64bit

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 linux...@us.ibm.com пишет: On Wed, Apr 02, 2014 at 09:19:59PM +0400, Andrey Borzenkov wrote: В Wed, 2 Apr 2014 10:06:05 -0700 Ram Pai linux...@us.ibm.com пишет: On Tue, Apr 01, 2014 at 09:27:19PM +0400, Andrey Borzenkov wrote: В Wed, 26 Feb

Re: pvgrub2 and old grub menu.lst

2014-04-01 Thread Andrey Borzenkov
be something like (completely untested) From: Andrey Borzenkov arvidj...@gmail.com Subject: [PATCH] accept also hdX as alias to native Xen disk name This allows reusing legacy pvgrub menu.lst which is using hdX names. Suggested-By: Michael Chang mch...@suse.com --- grub-core/disk/xen/xendisk.c

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

2014-04-01 Thread Andrey Borzenkov
В Wed, 26 Feb 2014 10:31:02 -0800 Ram Pai linux...@us.ibm.com пишет: 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 linux...@us.ibm.com --- grub-core/gensyminfo.sh.in | 7 ++- 1

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 linux...@us.ibm.com пишет: From: Anton Blanchard an...@samba.org 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) +

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

2014-04-01 Thread Andrey Borzenkov
В Wed, 26 Feb 2014 10:31:07 -0800 Ram Pai linux...@us.ibm.com пишет: From: Anton Blanchard an...@samba.org Add powerpc64 types Signed-off-by: Ram Pai linux...@us.ibm.com From: Anton Blanchard an...@samba.org --- include/grub/powerpc/types.h | 8 1 file changed, 8

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 linux...@us.ibm.com пишет: From: Anton Blanchard an...@samba.org Fix powerpc setjmp/longjmp 64bit issues Signed-off-by: Ram Pai linux...@us.ibm.com From: Anton Blanchard an...@samba.org --- grub-core/lib/powerpc/setjmp.S | 94

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 linux...@us.ibm.com пишет: From: Anton Blanchard an...@samba.org Fix warnings when building powerpc linux loader 64bit Signed-off-by: Ram Pai linux...@us.ibm.com From: Anton Blanchard an...@samba.org ---

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 linux...@us.ibm.com пишет: -#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)

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 linux...@us.ibm.com пишет: From: Anton Blanchard an...@samba.org powerpc64 is not necessarily BigEndian anymore! :) Signed-off-by: Ram Pai linux...@us.ibm.com --- include/grub/powerpc/types.h | 10 +++--- 1 file changed, 7 insertions(+), 3

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 ps...@ubuntu.com пишет: -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

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 adrian15...@gmail.com пишет: To be honest, I do not understand what you are trying to do here. The same thing as in:

Re: How to deal with fatal device seeks?

2014-03-16 Thread Andrey Borzenkov
В Sun, 16 Mar 2014 17:05:53 +0100 adrian15 adrian15...@gmail.com пишет: 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

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 adrian15...@gmail.com пишет: 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

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 phco...@gmail.com пишет: 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. Yes, but I mean ls

Re: Questions about booting Linux kernel using AARCH64 GRUB

2014-03-12 Thread Andrey Borzenkov
В Wed, 12 Mar 2014 10:50:59 + Leif Lindholm leif.lindh...@linaro.org пишет: 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:

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 adrian15...@gmail.com пишет: 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

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

2014-03-12 Thread Andrey Borzenkov
В Wed, 5 Mar 2014 20:53:05 +0200 rsb r...@ttmail.com пишет: 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,

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) arbiel.perlacre...@gmx.fr пишет: 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.

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 joseph.t.mroc...@intel.com пишет: 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

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 joseph.t.mroc...@intel.com пишет: 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

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 pfsmor...@linux.vnet.ibm.com пишет: * 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

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 phco...@gmail.com пишет: On 18.01.2014 20:09, Andrey Borzenkov wrote: В Sat, 18 Jan 2014 20:07:31 +0100 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com пишет: On 18.01.2014 20:02, Andrey Borzenkov wrote

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 phco...@gmail.com пишет: 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 not

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 is

Re: [PATCH] Improve DejaVuSans detection

2014-01-25 Thread Andrey Borzenkov
В Wed, 22 Jan 2014 00:16:44 +0100 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com пишет: 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 fonts and gets ugly

[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] grub-install: Improve support for partitioned loop devices.

2014-01-25 Thread Andrey Borzenkov
+++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-01-26 Mike Gilbert flop...@gentoo.org + 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 of /dev/loopXpY. 2014-01-25 Andrey

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 phco...@gmail.com пишет: On 13.01.2014 07:12, Andrey Borzenkov wrote: On Mon, Jan 13, 2014 at 9:53 AM, Chris Murphy li...@colorremedies.com wrote: There are other problems with Fedora that prevent this from being

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 flop...@gentoo.org пишет: On Sun, Jan 26, 2014 at 12:16 AM, Andrey Borzenkov arvidj...@gmail.com wrote: В Sat, 25 Jan 2014 20:41:00 -0500 Mike Gilbert flop...@gentoo.org пишет: * grub-core/osdep/linux/getroot.c (grub_util_part_to_disk

Re: [PATCH] Improve ext2 driver to allow embedding of the boot loader code.

2014-01-21 Thread Andrey Borzenkov
On Tue, Jan 21, 2014 at 12:14 PM, Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com wrote: On 10.01.2014 08:49, Dr. Tilmann Bubeck wrote: The blocklist is fixed and stable and will never change. What guarantees that it won't change on grub-setup invocation? I'm under impression that it

Re: [PATCH] Improve ext2 driver to allow embedding of the boot loader code.

2014-01-21 Thread Andrey Borzenkov
On Tue, Jan 21, 2014 at 12:32 PM, Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com wrote: On 21.01.2014 09:28, Andrey Borzenkov wrote: On Tue, Jan 21, 2014 at 12:14 PM, Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com wrote: On 10.01.2014 08:49, Dr. Tilmann Bubeck wrote

Re: [PATCH] Improve DejaVuSans detection

2014-01-21 Thread Andrey Borzenkov
В Tue, 21 Jan 2014 08:40:39 +0100 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com пишет: --- a/themes/starfield/theme.txt +++ b/themes/starfield/theme.txt @@ -25,7 +25,7 @@ message-font: DejaVu Sans Regular 12 message-color: #000 message-bg-color: #fff terminal-box:

Re: [PATCH] Improve DejaVuSans detection

2014-01-21 Thread Andrey Borzenkov
В Tue, 21 Jan 2014 08:46:41 +0100 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com пишет: 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

  1   2   3   4   5   6   >