Re: [GRUB2 PATCH v6 0/4] multiboot2: Add two extensions

2016-10-27 Thread Seth Goldberg
> On Oct 27, 2016, at 12:18 PM, Toomas Soome wrote: > > >> On 27. okt 2016, at 17:43, Daniel Kiper > > wrote: >> >> On Wed, Mar 30, 2016 at 05:06:15PM +0200, Daniel Kiper wrote: >>> Hi, >>> >>> This patch series: >>>

Re: New maintainers

2016-08-16 Thread Seth Goldberg
> On Aug 16, 2016, at 8:32 AM, Vladimir 'phcoder' Serbinenko > wrote: > > Hello, all. I’m delighted to announce that Daniel Kiper, Alexander Burmashev > and Alexei Borzenkov have accepted to become co-maintainers of GNU GRUB. > This is great news. In last 2 years my

Re: [PATCH] sparc64: fix OF path names for sun4v systems

2016-02-16 Thread Seth Goldberg
> On Feb 16, 2016, at 7:24 PM, Andrei Borzenkov wrote: > > 17.02.2016 05:02, Eric Snowberg пишет: >> >>> On Feb 16, 2016, at 1:16 AM, Andrei Borzenkov wrote: >>> >>> On Mon, Feb 15, 2016 at 10:11 PM, Eric Snowberg >>>

Re: [PATCH v3 2/3] i386: Add support for loading from android bootimg

2016-02-14 Thread Seth Goldberg
> On Feb 14, 2016, at 7:41 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote: > > 14.02.2016 23:58, Seth Goldberg пишет: >> >> >>> On Feb 14, 2016, at 5:26 AM, Vladimir 'phcoder' Serbinenko >>> <phco...@gmail.com> wrote: >>&

Re: [PATCH v3 2/3] i386: Add support for loading from android bootimg

2016-02-14 Thread Seth Goldberg
> On Feb 14, 2016, at 5:26 AM, Vladimir 'phcoder' Serbinenko > wrote: > > > > Le dim. 14 févr. 2016 14:21, Shea Levy a écrit : >> This patch uses grub_file_open, but the android bootimg is a disk, not >> a file. You mentioned something about

Re: grub causing NVDIMMs to be treated as normal memory

2015-11-25 Thread Seth Goldberg
It may operate the same, but there may be persistent data in there that the OS wants to preserve across reboots. —S On Nov 25, 2015, at 6:08 AM, Andrei Borzenkov wrote: > On Wed, Nov 25, 2015 at 2:52 AM, Elliott, Robert (Persistent Memory) > wrote: >>

Re: Grub get and set efi variables

2015-11-24 Thread Seth Goldberg
That sounds like a firmware implementation bug, unfortunately. I've seen it be hit or miss setting boot service only variables on some platforms. --S > On Nov 24, 2015, at 11:23 AM, Mat Troi wrote: > > For a specific project implementation, I need to be able to

Re: [edk2] [grub PATCH] efinet: disable MNP background polling

2015-10-14 Thread Seth Goldberg
> On Oct 14, 2015, at 4:08 AM, Daniel Kiper wrote: > >> On Wed, Oct 14, 2015 at 05:19:32AM +, Ye, Ting wrote: >> Hi all, >> >> If I understand the issue correctly, I don't quite agree that UEFI >> spec is imprecise about SNP constraints described as following. >>

Re: [grub PATCH] efinet: disable MNP background polling

2015-10-13 Thread Seth Goldberg
> On Oct 13, 2015, at 3:21 PM, Laszlo Ersek wrote: > >> On 10/13/15 23:49, Daniel Kiper wrote: >> Hi Laszlo, >> >> First of all, thanks a lot for very nice explanation! >> >>> On Thu, Oct 01, 2015 at 01:50:31PM +0200, Laszlo Ersek wrote: >>> CC'ing Mark Salter, and

Re: [PATCH 1/3] efinet: handle get_status() properly

2015-08-05 Thread Seth Goldberg
Anyway that's not important, what is important is that the current code doesn't work with hardware that exists in the wild. If it's a firmware bug then fine, what do users do if they have buggy firmware that isn't being updated anymore? I think making grub more tolerant to crappy firmware is a

Re: Grub2 queries link status using GetStatus API quite often

2014-09-10 Thread Seth Goldberg
On Sep 10, 2014, at 6:13 AM, Sajeesh Kochunny sajeesh.kochu...@emulex.com wrote: Hello, Recently we have an issue where is link status Is queried very often which is slowing down the PXE boot process. grub2 is querying link status frequently using GetStatus API. Can you please

Re: Has anyone integrate openSSL into GRUB?

2014-08-30 Thread Seth Goldberg
Licenses can always be modified with exceptions. I believe he was mainly asking about from a technical perspective, though. --S Quoting Lennart Sorensen, who wrote the following on Fri, 29 Aug 2014: On Fri, Aug 29, 2014 at 03:55:43PM -0700, Mat Troi wrote: Just wondering if anyone has

net.c FINI tftp stall threshold

2014-05-02 Thread 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_hook (pxe_default_server, 0, 0); Also, why was the tftp stall threshold

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

2014-02-10 Thread Seth Goldberg
Hi, Quoting Mroczek, Joseph T, who wrote the following on Mon, 10 Feb 2014: Addresses Bug# 41488 https://savannah.gnu.org/bugs/?41488 This is my first time submitting a patch. Please let me know what I can do to help drive this improvement. Since unused[10] is rather hard to understand,

Re: EFI and multiboot2 devlopment work for Xen

2013-10-28 Thread Seth Goldberg
Hi, Quoting Konrad Rzeszutek Wilk, who wrote the following on Mon, 28 Oct 2013: On Tue, Oct 22, 2013 at 10:54:44AM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 21.10.2013 23:16, Vladimir 'φ-coder/phcoder' Serbinenko wrote: Mail is big, I think I got your essential points but I

Re: EFI and multiboot2 devlopment work for Xen

2013-10-23 Thread Seth Goldberg
On Oct 23, 2013, at 12:05 AM, Daniel Kiper daniel.ki...@oracle.com wrote: On Tue, Oct 22, 2013 at 10:54:44AM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 21.10.2013 23:16, Vladimir 'φ-coder/phcoder' Serbinenko wrote: Mail is big, I think I got your essential points but I didn't

Re: EFI and multiboot2 devlopment work for Xen

2013-10-21 Thread Seth Goldberg
Quoting Daniel Kiper, who wrote the following on Mon, 21 Oct 2013: Hi, During work on multiboot2 protocol support for Xen it was discovered that memory map passed via relevant tag could not represent wide range of memory types available on EFI platforms. Additionally, GRUB2 implementation

Re: EFI and multiboot2 devlopment work for Xen

2013-10-21 Thread Seth Goldberg
Quoting Vladimir 'φ-coder/phcoder' Serbinenko, who wrote the following on...: On 21.10.2013 22:53, Seth Goldberg wrote: Quoting Daniel Kiper, who wrote the following on Mon, 21 Oct 2013: Hi, During work on multiboot2 protocol support for Xen it was discovered that memory map passed via

Re: [RFC] grub-install C rewrite

2013-09-26 Thread Seth Goldberg
Ditto here. I'd prefer it stay *sh. --S On Sep 26, 2013, at 6:35 AM, Lennart Sorensen wrote: On Thu, Sep 26, 2013 at 03:08:54PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: Hello, all. Recently I made some order in hostdisk.c and getroot.c involving splitting in OS-specific

Re: [RFC] grub-install C rewrite

2013-09-26 Thread Seth Goldberg
Quoting Vladimir 'φ-coder/phcoder' Serbinenko, who wrote the following on...: On 26.09.2013 19:10, Seth Goldberg wrote: Ditto here. I'd prefer it stay *sh. Even if it would mean to go with bash? Solaris was one of the worst platforms for making grub-install work there due to its very

Re: calculation overflow in grub_mm_init_region (patch)

2013-09-11 Thread Seth Goldberg
On Sep 10, 2013, at 3:36 PM, Leif Lindholm leif.lindh...@linaro.org wrote: On 10 September 2013 22:46, Seth Goldberg seth.goldb...@oracle.com wrote: Why would region_end be zero? That sounds like an invalid value. Because when a heap region sits at the top of RAM, region base + region

Re: calculation overflow in grub_mm_init_region (patch)

2013-09-10 Thread Seth Goldberg
Quoting Leif Lindholm, who wrote the following on Tue, 10 Sep 2013: On Thu, Aug 29, 2013 at 07:26:03PM +0200, Leif Lindholm wrote: When allocating memory for the heap on ARMv7 UEFI, the init code pretty much just allocates a chunk from the top of available RAM. This means that when

Re: Request for IRC chat about patches, which aren't accepted.

2013-07-23 Thread Seth Goldberg
Ugh. Feel better soon!! On Jul 23, 2013, at 10:17 AM, Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com wrote: Original Message Subject:Re: Request for IRC chat about patches, which aren't accepted. Date:Tue, 23 Jul 2013 19:03:14 +0200 From:Vladimir

Re: Grub2 designer's guide.

2013-06-04 Thread Seth Goldberg
On Jun 4, 2013, at 1:59 AM, Vladimir Testov vladimir.tes...@rosalab.ru wrote: Hello everyone! I've completed the article I was working on. As I understood, it is long-waited by a lot of people. Here it is. http://wiki.rosalab.ru/en/index.php/Grub2_theme_/_designer%27s_guide

Re: Grub2 designer's guide.

2013-06-04 Thread Seth Goldberg
On Jun 4, 2013, at 11:46 AM, Bruce Dubbs bruce.du...@gmail.com wrote: Seth Goldberg wrote: On Jun 4, 2013, at 1:59 AM, Vladimir Testov vladimir.tes...@rosalab.ru wrote: I've completed the article I was working on. http://wiki.rosalab.ru/en/index.php/Grub2_theme_/_designer

Re: New command eval.

2013-05-12 Thread Seth Goldberg
On May 11, 2013, at 10:39 PM, Andrey Borzenkov wrote: В Sat, 11 May 2013 17:07:19 -0700 Seth Goldberg seth.goldb...@oracle.com пишет: Hi, What about the feature environment variable to allow dynamic detection of this enhancement? That really does not scale. Commands come and go

Re: New command eval.

2013-05-11 Thread Seth Goldberg
Hi, What about the feature environment variable to allow dynamic detection of this enhancement? --S On May 11, 2013, at 9:35 AM, Andrey Borzenkov arvidj...@gmail.com wrote: В Sat, 04 May 2013 23:08:03 +0200 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com пишет: - it adds eval

Re: grub_efi_finish_boot_services not spec-compliant

2013-02-24 Thread Seth Goldberg
On Feb 23, 2013, at 9:13 PM, Andrey Borzenkov arvidj...@gmail.com wrote: В Sat, 23 Feb 2013 20:35:17 -0800 Seth Goldberg seth.goldb...@oracle.com пишет: Hi there, On some systems, ExitBootServices() will fail due to a change in the memory map during execution of the boot services

grub_efi_finish_boot_services not spec-compliant

2013-02-23 Thread Seth Goldberg
Hi there, On some systems, ExitBootServices() will fail due to a change in the memory map during execution of the boot services call. The UEFI spec says that in that event, GetMemoryMap() should be repeated, then the new key passed to another call to ExitBootServices(). Note that the spec

Re: USB3 3TB HDD boot

2013-02-12 Thread Seth Goldberg
Hi, Is this a 4k native drive? (4k physical AND logical sector size) or is it a 512e drive? In any case, if your system's BIOS does not present it as a boot option, you could try GRUB's USB support, but it is a bit flaky (and doesn't directly support usb3, so depending on how your USB

Re: [PATCH] Support Openfirmware disks with non-512B sectors

2013-01-22 Thread Seth Goldberg
Hi, Why is this limited to OpenFirmware only? Can you generate a patch that supports 4KN disks on ALL platforms? Thanks, --S Quoting Paulo Flabiano Smorigo/Brazil/IBM, who wrote the following on Tue,...: Hi all, This patch adds non-512B sectors disks support for Openfirmware

Re: [PATCH] Support Openfirmware disks with non-512B sectors

2013-01-22 Thread Seth Goldberg
Quoting Andrey Borzenkov, who wrote the following on Tue, 22 Jan 2013: В Tue, 22 Jan 2013 11:04:19 -0800 (PST) Seth Goldberg seth.goldb...@oracle.com пишет: Hi, Why is this limited to OpenFirmware only? Can you generate a patch that supports 4KN disks on ALL platforms? It already

Re: [PATCH] Removing nested functions, part one of lots

2013-01-01 Thread Seth Goldberg
Yay!! Does this change the minimum GCC version needed to build? Thanks!! -S On Jan 1, 2013, at 6:42 AM, Colin Watson cjwat...@ubuntu.com wrote: (Part zero was a patch I already committed that dealt with some trivial cases.) As I mentioned on #grub, and following up on

Re: [PATCH] Add testpci command

2012-09-27 Thread Seth Goldberg
Why don't you just put a file on that virtual disk somewhere, call it _I_AM_A_VIRTUAL_MACHINE_, and just test for its existence using the comprehensive filesystem support of GRUB 2 ? --S Quoting Jonathan McDowell, who wrote the following on Thu, 27 Sep 2012: I have a machine with both

Re: [PATCH] Add testpci command

2012-09-27 Thread Seth Goldberg
Bah. Ignore that. I see your problem now. --S Quoting Seth Goldberg, who wrote the following on Thu, 27 Sep 2012: Why don't you just put a file on that virtual disk somewhere, call it _I_AM_A_VIRTUAL_MACHINE_, and just test for its existence using the comprehensive filesystem support

Re: pxe failing on grub 2.00 for files larger than 50KiB

2012-09-25 Thread Seth Goldberg
Hi, Is it possible that debian mismerged some changes from 2.00? There is code in tftp.c that stalls TFTP responses if = 50 packets are queued by the network driver. That packet count is increased by one each time grub_net_put_packet is called and decreased by one each time

Re: Does Grub 2.00 fix the gfxmenu delay when using a theme?

2012-08-10 Thread Seth Goldberg
Hi, On Aug 10, 2012, at 9:40 AM, Gerard Butler legendary_b...@hotmail.com wrote: I searched all around to see if the gfxmenu was patched in 2.00 to fix the delay some users were experiencing when using a theme for Grub, so I was just wondering if this was fixed or not (I experience this on

Re: grub-efi with latest mac mini

2012-06-08 Thread Seth Goldberg
You mix again 2 things: you can boot in BIOS mode (CSM) on pure GPT as well. Windows is an exception since Microsoft pretends that possible is impossible. Unless you have a stupid BIOS that doesn't boot from the disk if your DOS partition table has no entries (i.e. the GPT PMBR) marked

Re: grub-efi with latest mac mini

2012-06-08 Thread Seth Goldberg
Quoting Chris Murphy, who wrote the following on Fri, 8 Jun 2012: On Jun 8, 2012, at 12:57 PM, Seth Goldberg wrote: You mix again 2 things: you can boot in BIOS mode (CSM) on pure GPT as well. Windows is an exception since Microsoft pretends that possible is impossible. Unless you

Re: RFC: enhanced memory protection support

2012-04-30 Thread Seth Goldberg
I like this idea very much. --S Quoting Bean, who wrote the following on Mon, 30 Apr 2012: Hi, While testing network function in efi mode, I've found several memory leak related to fragmentation, but there is still some memory problem that's very tricky to locate. For example, you can

Re: RFC: UEFI/PXE and emulating grub-legacy-uefi-hacked behaviour

2012-04-26 Thread Seth Goldberg
On Apr 26, 2012, at 6:46 AM, Bean bean12...@gmail.com wrote: On Thu, Apr 26, 2012 at 12:59 PM, Seth Goldberg seth.goldb...@oracle.com wrote: On Apr 25, 2012, at 11:22 PM, Bean bean12...@gmail.com wrote: On Thu, Apr 26, 2012 at 12:10 PM, Seth Goldberg seth.goldb...@oracle.com wrote

Re: RFC: UEFI/PXE and emulating grub-legacy-uefi-hacked behaviour

2012-04-25 Thread Seth Goldberg
Hi, On Apr 25, 2012, at 8:59 AM, Bean wrote: On Wed, Apr 25, 2012 at 8:16 AM, Richard Chan rspc...@starhub.net.sg wrote: I am interested in getting UEFI/PXE working using the EFI IP/TFTP stack as hacked versions of grub-legacy (e,g., Fedora 17). Is there any wisdom that the list would like

Re: RFC: UEFI/PXE and emulating grub-legacy-uefi-hacked behaviour

2012-04-25 Thread Seth Goldberg
On Apr 25, 2012, at 7:23 PM, Bean wrote: 2012/4/26 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com: On 25.04.2012 22:21, Bean wrote: On Thu, Apr 26, 2012 at 1:57 AM, Seth Goldberg seth.goldb...@oracle.com wrote: Just to chime in here with some data -- I've found numerous UEFI

Re: RFC: UEFI/PXE and emulating grub-legacy-uefi-hacked behaviour

2012-04-25 Thread Seth Goldberg
On Apr 25, 2012, at 11:22 PM, Bean bean12...@gmail.com wrote: On Thu, Apr 26, 2012 at 12:10 PM, Seth Goldberg seth.goldb...@oracle.com wrote: How does this work around the issue? I'm not seeing it -- we call SNP directly. We don't go through UDP or any other upper layers in efinet

default menuentry matching similar entries is broken

2012-03-02 Thread Seth Goldberg
Hi, This code in menu.c::menuentry_eq() looks wrong: { const char *ptr1, *ptr2; ptr1 = title; ptr2 = spec; while (1) { if (*ptr2 == '' ptr2[1] != '' *ptr1 == 0) return 1; if (*ptr2 == '' ptr2[1] != '') return 0; if (*ptr2 == '') ptr2++;

extract_legacy_entries_source hoses system when menu.lst can't be opened

2012-01-27 Thread Seth Goldberg
Hi there, In grub_cmd_legacy_source, if the menu.lst file cannot opened in legacy_file(), grub_env_extractor_close() attempts to access memory at address 4, which could end up corrupting the entire menu. The easy fix is to check if the first call to grub_env_get_menu() returns NULL and

RFC: SMBIOS Multiboot 2 Tag Revision

2012-01-24 Thread Seth Goldberg
Hi, I'd like to revise the definition of the SMBIOS tag in the Multiboot2 Info structures to include ONLY the SMBIOS Entry Point structure (**). The current definition includes the SMBIOS tables themselves, but this is wasteful (even it the maximum size of the tables is 64k, they are

Re: Build failure: Error: attempt to move .org backwards

2012-01-18 Thread Seth Goldberg
Hi, Yes, I'm seeing that also. I guess version 4.5.2 of the compiler just isn't as efficient as the most-recent GCC. I edited include/grub/offsets.h: And changed: #define GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART 0x7e0 To: #define GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART 0x7f0 And that

Re: Build failure: Error: attempt to move .org backwards

2012-01-18 Thread Seth Goldberg
Seth Goldberg: Hi, Yes, I'm seeing that also. I guess version 4.5.2 of the compiler just isn't as efficient as the most-recent GCC. I edited include/grub/offsets.h: And changed: #define GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART 0x7e0 To: #define GRUB_KERNEL_I386_PC_NO_REED_SOLOMON_PART 0x7f0

Bug in arg.c

2012-01-04 Thread Seth Goldberg
Hi, If you supply an invalid long option with an argument, null pointer dereference will result. The fix is simple: --- a/grub-core/lib/arg.cWed Jan 04 17:38:56 2012 -0800 +++ b/grub-core/lib/arg.cWed Jan 04 18:59:08 2012 -0800 @@ -351,7 +351,7 @@ opt = find_long

Re: RFC: New multiboot2 memory map entry type

2012-01-03 Thread Seth Goldberg
Does that mean you are OK with the addition of the tag I proposed? :). Thanks, --S Quoting Vladimir 'φ-coder/phcoder' Serbinenko, who wrote the following on...: On 24.12.2011 08:45, Seth Goldberg wrote: Hi, In a perfect world, I agree that would be enough, but sometimes an is needs

Re: conf/Makefile.common fails with automake 1.11.2 in autogen.sh step

2011-12-27 Thread Seth Goldberg
Hi, Will this continue to work with older automake as well? --S Quoting Keshav P R, who wrote the following on Wed, 28 Dec 2011: Hi, grub2-bzr r3732 fails to compile in Archlinux x86_64 with automake 1.11.2 due to upstream change

Re: RFC: New multiboot2 memory map entry type

2011-12-23 Thread Seth Goldberg
...@gmail.com wrote: Hi, On Sat, Dec 24, 2011 at 3:01 PM, Seth Goldberg seth.goldb...@oracle.com wrote: On 09.11.2011 06:25, Seth Goldberg wrote: The proposal is to add an additional type (value = 6) that denotes runtime memory that some firmware marks as required to be mapped to take advantage

lzma_decode.S moved causes make dist to fail

2011-12-15 Thread Seth Goldberg
Hi there, In commit 3590, kern/i386/pc/lzma_decode.S was moved to boot/i386/pc/lzma_decode.S, but grub-core/Makefile.core.def was not updated. This causes make dist to choke. === modified file 'grub-core/Makefile.core.def' --- grub-core/Makefile.core.def 2011-12-15 07:49:43 + +++

Re: HP root-caues analysis for GRUB Red screen of death on DL120/DL360 G7 servers

2011-12-08 Thread Seth Goldberg
Is this Legacy GRUB they're talking about maybe? --S Quoting Vladimir 'φ-coder/phcoder' Serbinenko, who wrote the following on...: 1) Grub installs its own INT13 handler 2) Near the end of the chain loading process, Grub loads an image of the Linux kernel into memory which wipes out

Re: [PATCH, RFC, RFT] Mactel integration

2011-11-29 Thread Seth Goldberg
the.ridikulus@gmail.com wrote: On Tue, Nov 29, 2011 at 12:04, Seth Goldberg seth.goldb...@oracle.com wrote: On Nov 28, 2011, at 2:23 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 28.11.2011 14:25, Vladimir 'φ-coder/phcoder' Serbinenko wrote: Hello all. Based on the information from

Re: [PATCH, RFC, RFT] Mactel integration

2011-11-28 Thread Seth Goldberg
Hi, I *REALLY* REALLY like the grub-install changes -- I was about to propose the --efi-directory option myself! THe rest of the code looks ok to me. --S On Nov 28, 2011, at 2:23 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: mactel.diff

Re: [PATCH, RFC, RFT] Mactel integration

2011-11-28 Thread Seth Goldberg
On Nov 28, 2011, at 2:23 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 28.11.2011 14:25, Vladimir 'φ-coder/phcoder' Serbinenko wrote: Hello all. Based on the information from http://mjg59.dreamwidth.org/7468.html I intend to add support for such install. It requires a small HFS+

Fix for warnings when making in po

2011-11-15 Thread Seth Goldberg
Hi, I've been seeing these for a while: /usr/bin/xgettext: warning: The option --msgid-bugs-address was not specified. If you are using a `Makevars' file, please specify the MSGID_BUGS_ADDRESS variable there; otherwise please

Re: [Patch] Enable libzfs detection on Linux

2011-11-15 Thread Seth Goldberg
On 11/10/11 12:02, Robert Millan wrote: Hi Zachary, 2011/9/14 Zachary Bedellpendorbo...@gmail.com: FWIW, my commit comment locally for this was: * Adjusts autoconf logic to properly detect libzfs on Linux. * Includes additional headers necessary for libspl. Excuse me if I missed

Re: 64-bit UEFI build is broken

2011-11-09 Thread Seth Goldberg
Hi, Quoting Vladimir 'φ-coder/phcoder' Serbinenko, who wrote the following on...: On 09.11.2011 07:17, Seth Goldberg wrote: Hi, Just a followup -- it appears that the root cause is a missing -m64 -- since the compilation for this platform should be done with -m64, the preprocessing done

Re: Issue in netbsd_bootinfo.h

2011-11-09 Thread Seth Goldberg
Hi, Great. My guess is: some linkers are more forgiving than others. Can you get this fixed for non-Netbsd platforms where __packed is undefined, please? Thanks, --S Quoting Grégoire Sutre, who wrote the following on Thu, 10 Nov 2011: On 11/09/2011 01:14 AM, Seth Goldberg wrote: Hi

Re: [PATCH] Support OpenIndiana in GRUB2

2011-11-08 Thread Seth Goldberg
(These opinions are based on Oracle Solaris): Some grub entries may not specify a bootfs, in which case, GRUB should derive it from the bootfs property in the pool bootfs is an annoying one since on-disk AFAIK only its objnum is stored so we need to scan to determine its name. But for me it's

RFC: New multiboot2 memory map entry type

2011-11-08 Thread Seth Goldberg
Hi, The multiboot2 spec currently says the following regarding memory map entries (tag type 6 in the multiboot2 info tag stack): +---+ u64 | base_addr | u64 | length| u32 | type | u32 | reserved

64-bit UEFI build is broken

2011-11-08 Thread Seth Goldberg
Latest trunk (Linux host, configured with --target=x86_64 --with-platform=efi) stops while building btrfs: gcc -E -DGRUB_LST_GENERATOR -Dgrub_fs_register=FS_LIST_MARKER -Dgrub_video_register=VIDEO_LIST_MARKER -Dgrub_parttool_register=PARTTOOL_LIST_MARKER

Re: 64-bit UEFI build is broken

2011-11-08 Thread Seth Goldberg
. Adding 'TARGET_CPPFLAGS=-m64 to the configure line allowed the build to finish without errors (though I'm not sure if that's the proper fix). --S Quoting Seth Goldberg, who wrote the following on Tue, 8 Nov 2011: Latest trunk (Linux host, configured with --target=x86_64 --with-platform=efi

Re: [RFC, RFT] Use ZFS embedding area

2011-11-06 Thread Seth Goldberg
Hi, Aside from a typo (curently - currently), it looks great! I vote for a commit :). --S On Nov 6, 2011, at 1:10 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: Attached patch makes it possible to install GRUB into ZFS partition or whole-disk ZFS sanely. May be dangerous so I recommend

regexp should be a (weak, at least) dep of normal

2011-11-02 Thread Seth Goldberg
Hi there, On #irc, there was a discussion about why globbing wasn't working when using normal in a rescue image and the underlying cause was that the regexp module wasn't loaded. I think it would be a good idea to either make regexp an explicit (so it's reflected in the modules.lst) or

Re: Add prefix option to grub-mkconfig

2011-10-26 Thread Seth Goldberg
Hi, Personally, I'd love to see boot-directory go away also -- I think you should be able to specify the exact directory you want without worrying about /grub being appended. Same goes for mkconfig. --S Quoting Keshav P R, who wrote the following on Thu, 27 Oct 2011: Hi all, As

Re: Add prefix option to grub-mkconfig

2011-10-26 Thread Seth Goldberg
Quoting Vladimir 'φ-coder/phcoder' Serbinenko, who wrote the following on...: On 26.10.2011 22:54, Keshav P R wrote: On Thu, Oct 27, 2011 at 02:18, Seth Goldberg seth.goldb...@oracle.com mailto:seth.goldb...@oracle.com wrote: Hi, Personally, I'd love to see boot-directory go away

Re: Add prefix option to grub-mkconfig

2011-10-26 Thread Seth Goldberg
That's kinda the way I feel about boot-directory ;). One cannot protect users from themselves for everything ;). Then you'll probably agree to rediscuss this issue after all platform-specific files are moved into their subdirectories. Should take care of the most of issue nicely. I

Re: Add prefix option to grub-mkconfig

2011-10-26 Thread Seth Goldberg
Quoting Vladimir 'φ-coder/phcoder' Serbinenko, who wrote the following on...: On 26.10.2011 23:22, Seth Goldberg wrote: That's kinda the way I feel about boot-directory ;). One cannot protect users from themselves for everything ;). Then you'll probably agree to rediscuss this issue

Re: getroot for ZFS without libzfs?

2011-10-16 Thread Seth Goldberg
Quoting Robert Millan, who wrote the following on Sun, 16 Oct 2011: 2011/10/15 Seth Goldberg seth.goldb...@oracle.com: Hi again,  Also: can we please retain the libzfs usage for those platforms that actually have it and that would rather use it? What for? libzfs is only needed

Re: getroot for ZFS without libzfs?

2011-10-15 Thread Seth Goldberg
Hi, Have you tested this with phcoder's experimental zfs branch that has mirroring support? What is the device node list used for? To list devices that each need grub installed, or for something else? --S On Oct 15, 2011, at 9:59 AM, Robert Millan r...@gnu.org wrote: Hi, Please test

Re: getroot for ZFS without libzfs?

2011-10-15 Thread Seth Goldberg
Hi again, Also: can we please retain the liners usage for those platforms that actually have it and that would rather use it? I can certainly understand the desire to eliminate it for platforms that don't have or don't want to port it, but eliminating it from all platforms is overkill.

Re: getroot for ZFS without libzfs?

2011-10-15 Thread Seth Goldberg
On Oct 15, 2011, at 10:51 AM, Seth Goldberg wrote: Hi again, Also: can we please retain the liners usage Sorry -- that should have read libzfs, not liners. --S for those platforms that actually have it and that would rather use it? I can certainly understand the desire

Any documentation on the new network subsystem?

2011-09-28 Thread Seth Goldberg
Hi, The instructions in the docs/grub2.texi are outdated after the integration of: 2011-06-24 Vladimir Serbinenko phco...@gmail.com 2011-06-24 Manoel Rebelo Abranches mrab...@gmail.com Network infrastructure. The ARP protocol was made by Paulo Pinatti

grub-mkstandalone help text fix

2011-09-28 Thread Seth Goldberg
Hi, I noticed the --help text was incorrect and incomplete, so here's a patch: --S === modified file 'util/grub-mkstandalone.in' --- util/grub-mkstandalone.in 2011-07-25 06:19:30 + +++ util/grub-mkstandalone.in 2011-09-28 21:13:36 + @@ -47,9 +47,10 @@ -h, --help

Re: grub-mkstandalone help text fix

2011-09-28 Thread Seth Goldberg
On second thought, that may not always be right (i.e. if there's a program_prefix, so grub would need the transform applied to it). --S Quoting Seth Goldberg, who wrote the following on Wed, 28 Sep 2011: Hi, I noticed the --help text was incorrect and incomplete, so here's a patch

Re: [PATCH] Reset grub_errno after embedding test on non-fatal failures

2011-09-27 Thread Seth Goldberg
Hi, I finally got fed up with having no 'c' to continue when pager was set to 1. This may be a bit hackish, so I'm bracing for the flame ;), but it's here if it'll help someone else. -- --- grub-core/normal/term.c 2011-04-10 11:56:23 + +++ grub-core/normal/term.c

(Subject on previous email)

2011-09-27 Thread Seth Goldberg
Sorry about that -- the subject was incorrect on that last email I sent :(. --S ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Add prefix option to grub-mkconfig

2011-09-16 Thread Seth Goldberg
Looks good and is a desirable feature IMHO :). On Sep 15, 2011, at 11:17 PM, KESHAV P.R. skodab...@gmail.com wrote: On Mon, Aug 22, 2011 at 23:32, KESHAV P.R. skodab...@gmail.com wrote: Hi, I made a small change to grub-mkconfig.in script to add GRUB_PREFIX option as an argument so that

Re: getroot for ZFS without libzfs?

2011-08-24 Thread Seth Goldberg
Hi, @Seth: any comment on what Sun considers a public API? As far as I know, libzfs is not a publicly documented API. I don't think I can give any assurances about its stability. Then I wouldn't use /dev/zfs. The less stable and standard is the ZFS API GRUB uses, the more likely is

Re: Determining boot server and own IP on sparc64-ieee1275

2011-07-06 Thread Seth Goldberg
Hi, I'll try to gather this info for you. --S On Jul 6, 2011, at 5:13 AM, Vladimir 'φ-coder/phcoder' Serbinenkophco...@gmail.com wrote: Hello, David. I'm currently working on improving network support in GRUB2. On IEEE1275 we use read/write functions to receive/send packets in

Re: Issues with grub.cfg

2011-04-22 Thread Seth Goldberg
On Apr 13, 2011, at 1:27 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 13.04.2011 01:41, Seth Goldberg wrote: It has been fixed and should boot fine with the latest opensolaris release. Inspection revealed that this problem was indeed fixed. However trouble was -B console=graphics

Re: Grub2 EFI: Image loading from USB takes too long

2011-04-15 Thread Seth Goldberg
This problem is present, at least, on ZFS. --S On Apr 14, 2011, at 8:55 PM, Vladimir 'φ-coder/phcoder' Serbinenkophco...@gmail.com wrote: On 15.04.2011 04:45, Bean wrote: Hi, I believe this is caused by the read algorithm of grub2. If the file is continuous, grub legacy will read it in

Re: Issues with grub.cfg

2011-04-12 Thread Seth Goldberg
It has been fixed and should boot fine with the latest opensolaris release. On Apr 11, 2011, at 9:05 PM, Vladimir 'φ-coder/phcoder' Serbinenkophco...@gmail.com wrote: On 12.04.2011 08:48, Harshit Jain wrote: 1) GRUB shell is able to detect the label 'rpool' for booting Openindiana.

Re: Grub2 EFI: Image loading from USB takes too long

2011-04-05 Thread Seth Goldberg
It's not just USB. Loading large files via UEFI with GRUB2 takes an extremely long time. One of the things phcoder suggested was changing the cache size, which you've done. Od love to see a larger cache committed to the trunk so UEFI platforms can benefit when large files need to be read by

gfxpayload and the multiboot2 header

2011-02-17 Thread Seth Goldberg
Hi, It looks like currently, when a framebuffer tag exists in the multiboot2 header of a mb2 kernel, that resolution is used even when gfxpayload has a different resolution. I think gfxpayload set to a value other than auto should override the value of this tag, as it will give consumers

Patch for getroot.c

2011-02-11 Thread Seth Goldberg
Hi, When testing with UMEM_DEBUG set to default on Solaris, I discovered that find_root_device_from_libzfs() was maintaining a pointer to state that was freed when zpool_close() was called (specifically, the device path string, retrieved from an nvlist). The path here fixes that and make

Re: [PATCH] Support for unknown size and not seekable files

2011-01-14 Thread Seth Goldberg
Hi, Thanks for this. What's the goal of this patch? It seems that it marks the size and unknown until it gets to the metadata that indicates the file's size, then updates the size to the correct size, right? Where do you see this being useful? It would seems that even with this patch,

Re: Bug#594967: Bug #594967: [poulsbo] grub-pc Hangs After Welcome to GRUB!

2011-01-03 Thread Seth Goldberg
an updated package for unstable shortly. Nevertheless, I'm not confident that this will fix the problem on all machines, so I would like to sort out the bridge handling as well. This may be more complicated than I thought. Seth Goldberg pointed out that my approach fails to deal with peer host

Re: `prefix is not set` error message in early GRUB startup

2010-12-29 Thread Seth Goldberg
Quoting Vladimir 'φ-coder/phcoder' Serbinenko, who wrote the following on...: My suggested fix is to move the calls to grub_machine_set_prefix() and grub_set_root_dev before grub_load_modules(). A cursory examination of these functions doesn't reveal any dependence on any loadable

Re: `prefix is not set` error message in early GRUB startup

2010-12-27 Thread Seth Goldberg
on the tftp server and it's loaded, when we hit gzio during the grub_load_modules() iteration, a fatal error occurs (we should be able to detect this and just ignore the fact that the module as already been loaded). --S Quoting Seth Goldberg, who wrote the following on Sat, 25 Dec 2010: Hi

Re: `prefix is not set` error message in early GRUB startup

2010-12-27 Thread Seth Goldberg
however there's a problem -- if gzio does exist on the tftp server and it's loaded, when we hit gzio during the grub_load_modules() iteration, a fatal error occurs (we should be able to detect this and just ignore the fact that the module as already been loaded). Sorry -- this is wrong.

How to use xzio?

2010-12-27 Thread Seth Goldberg
Hi, I'm trying to experiment with loading xz-compressed multiboot modules and cannot figure out how to do it so that the xzio module can actually deal with the compressed file (after instrumenting it, the problem is unsupported xz options), I've tried simply compressing the file I'm

reed solomon breaks larger pxe images

2010-12-26 Thread Seth Goldberg
Hi, While trying to test pxe booting, I noticed that creating a pxe image larger than around 100k causes the system hard-hang after control is transferred to pxegrub. I narrowed it down to an unknown problem in grub_reed_solomon_recover (called from startup.S). Unconditionally jumping

`prefix is not set` error message in early GRUB startup

2010-12-25 Thread Seth Goldberg
Hi, Recently, I've been seeing the error message in the subject line while GRUB2 is starting. I've tracked it down to code in normal.mod (specifically, the code in GRUB_MOD_INIT(normal) that tries to grub_dl_load the gzio module. Since normal.mod is loaded by the call to

Re: Need LARGEFILE_SOURCE _FILE_OFFSET_BITS=64

2010-12-05 Thread Seth Goldberg
Hi, Quoting Colin Watson, who wrote the following on Sat, 4 Dec 2010: On Fri, Dec 03, 2010 at 01:20:13PM -0800, Seth Goldberg wrote: In testing grub-emu after a merge, I was getting weird behavior whereby a zfs volume could not be properly read. It was failing because, after a lot

Need LARGEFILE_SOURCE _FILE_OFFSET_BITS=64

2010-12-03 Thread Seth Goldberg
Hi, In testing grub-emu after a merge, I was getting weird behavior whereby a zfs volume could not be properly read. It was failing because, after a lot of painful debugging, I discovered that the offsets issued to the underlying host disk device were wrong, because the grub-emu was not

  1   2   3   >