Re: [PATCH] osdep/hurd/getroot: Fix 64bit build

2024-01-20 Thread John Paul Adrian Glaubitz
a word size while the latter refers to the target type. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Grub-devel mailing list Grub-devel@gnu.org ht

Re: [PATCH v7 00/10] ppc64: Restrict memory allocations for kernel and initrd

2023-11-27 Thread John Paul Adrian Glaubitz
ator available on all PowerPC targets or only on newer POWER machines? Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Grub-devel mailing li

Re: [PATCH 4/4] gpt: Add compile time asserts for guid and gpt_partentry sizes

2023-10-31 Thread John Paul Adrian Glaubitz
tion_map_register (_gpt_partition_map); > } > > -- > 2.39.2 > Tested-by: John Paul Adrian Glaubitz -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 __

Re: [PATCH 3/4] types: Split aligned and packed guids

2023-10-31 Thread John Paul Adrian Glaubitz
> +++ b/include/grub/efiemu/runtime.h > @@ -29,7 +29,7 @@ struct grub_efiemu_ptv_rel > > struct efi_variable > { > - grub_guid_t guid; > + grub_packed_guid_t guid; >grub_uint32_t namelen; >grub_uint32_t size; >grub_efi_uint32_t attr

Re: [PATCH 2/4] gpt_partition: Mark grub_gpt_partentry as having natural alignment

2023-10-31 Thread John Paul Adrian Glaubitz
pt_partition_map_iterate (grub_disk_t disk, > -- > 2.39.2 > Tested-by: John Paul Adrian Glaubitz -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 __

Re: [PATCH 1/4] efi: Deduplicate configuration table search function

2023-10-31 Thread John Paul Adrian Glaubitz
break; > - } > + void *firmware_fdt = grub_efi_find_configuration_table (_guid); > > + if (firmware_fdt) { > +grub_dprintf ("linux", "found registered FDT @ %p\n", firmware_fdt); > + } else { > +grub_dprintf ("linux", "not found registered FDT\n"); > + } >return firmware_fdt; > } > diff --git a/include/grub/efi/efi.h b/include/grub/efi/efi.h > index 572f7135f..a5cd99e5a 100644 > --- a/include/grub/efi/efi.h > +++ b/include/grub/efi/efi.h > @@ -119,6 +119,9 @@ extern void (*EXPORT_VAR(grub_efi_net_config)) > (grub_efi_handle_t hnd, > char **device, > char **path); > > +void * > +EXPORT_FUNC (grub_efi_find_configuration_table) (const grub_guid_t > *target_guid); > + > #if defined(__arm__) || defined(__aarch64__) || defined(__riscv) || > defined(__loongarch__) > void *EXPORT_FUNC(grub_efi_get_firmware_fdt)(void); > grub_err_t EXPORT_FUNC(grub_efi_get_ram_base)(grub_addr_t *); > -- > 2.39.2 Tested-by: John Paul Adrian Glaubitz -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH 0/4] Fix GUID alignment on ia64

2023-10-31 Thread John Paul Adrian Glaubitz
oot Linux normally again. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.

Re: [PATCH v9 02/11] Unify GUID types

2023-09-23 Thread John Paul Adrian Glaubitz
Hi Vladimir! On Mon, 2023-08-14 at 13:56 +0200, Vladimir 'phcoder' Serbinenko wrote: > I uploaded the entire branch (patches) to my GitHub copy:  > https://github.com/phcoder/GRUB/tree/rb1 Any chance this could be reworked and merged before the 2.12 release? Adrian -- .''`. John Paul

Re: [PATCH v9 02/11] Unify GUID types

2023-09-13 Thread John Paul Adrian Glaubitz
gt; Wonderful! Thanks for testing! Are you going to submit a patch to fix the issue with the new information? Would be great if the bug could be fixed before the 2.12 release. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84

Re: [PATCH v9 02/11] Unify GUID types

2023-09-08 Thread John Paul Adrian Glaubitz
s particular change so that I don't have to hook up my RX2600 which is currently stored under my sofa ;-). Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___

Re: [PATCH v9 02/11] Unify GUID types

2023-09-07 Thread John Paul Adrian Glaubitz
On Thu, 2023-09-07 at 22:02 +0200, Daniel Kiper wrote: > On Wed, Aug 30, 2023 at 10:53:47PM +, Pedro Miguel Justo wrote: > > > On Aug 30, 2023, at 09:20, John Paul Adrian Glaubitz > > > wrote: > > > On Wed, 2023-08-30 at 16:16 +0200, Daniel Kiper wrote: > &g

Re: [PATCH v9 02/11] Unify GUID types

2023-08-30 Thread John Paul Adrian Glaubitz
nel for more than > 4 years and it looks nobody complains... > > Pedro, Adrian, could you change GUIDs alignment in Vladimir's patches to > 4 and test them on Itanium? If I find the time tomorrow, I will test that change. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian De

Re: [PATCH v9 02/11] Unify GUID types

2023-08-14 Thread John Paul Adrian Glaubitz
e/pmsjt/grub_github/grub-core' > make[1]: *** [Makefile:12126: all-recursive] Error 1 > make[1]: Leaving directory '/home/pmsjt/grub_github' > make: *** [Makefile:3953: all] Error 2 > ``` > > Is this something you know about? This is a known generic problem with GRUB. You must install gaw

Re: [PATCH v9 02/11] Unify GUID types

2023-08-12 Thread John Paul Adrian Glaubitz
Hi Daniel! On Fri, 2023-08-11 at 17:31 +0200, Daniel Kiper wrote: > On Fri, Aug 11, 2023 at 04:10:14AM -0700, Oliver Steffen wrote: > > Quoting John Paul Adrian Glaubitz (2023-08-11 10:32:17) > > > Hi Oliver! > > > > > > On Fri, 2023-05-26

Re: [PATCH v9 02/11] Unify GUID types

2023-08-11 Thread John Paul Adrian Glaubitz
endor_guid; >grub_efi_uint64_t vendor_table; > } GRUB_PACKED; > typedef struct grub_efiemu_configuration_table64 > grub_efiemu_configuration_table64_t; > -grub_err_t grub_efiemu_unregister_configuration_table (grub_efi_guid_t guid); > +grub_err_t grub_efiemu_unregister_confi

Re: GRUB unexpected trap in Itanium

2023-08-11 Thread John Paul Adrian Glaubitz
his. Please always make sure to CC the original author of the patch so he becomes aware of the breakage that was introduced by his patch. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 _

Re: grub FTBFS on ia64: awk: ./genmoddep.awk: line 106: function asorti never defined

2023-07-22 Thread John Paul Adrian Glaubitz
Hi! On Sat, 2023-07-22 at 12:25 +0200, John Paul Adrian Glaubitz wrote: > On Sat, 2023-07-22 at 12:16 +0200, John Paul Adrian Glaubitz wrote: > > Hi! > > > > The current build of grub fails on ia64 with: > > (...) > > Any idea? > > OK, seems like this wa

Re: grub FTBFS on ia64: awk: ./genmoddep.awk: line 106: function asorti never defined

2023-07-22 Thread John Paul Adrian Glaubitz
Hi! On Sat, 2023-07-22 at 12:16 +0200, John Paul Adrian Glaubitz wrote: > Hi! > > The current build of grub fails on ia64 with: > (...) > Any idea? OK, seems like this was just related to mawk vs. gawk. Builds fine with gawk. Adrian -- .''`. John Paul Adrian Glaubitz

grub FTBFS on ia64: awk: ./genmoddep.awk: line 106: function asorti never defined

2023-07-22 Thread John Paul Adrian Glaubitz
y '/root/grub/grub-core' make[2]: *** [Makefile:28852: all] Error 2 make[2]: Leaving directory '/root/grub/grub-core' make[1]: *** [Makefile:12126: all-recursive] Error 1 make[1]: Leaving directory '/root/grub' make: *** [Makefile:3953: all] Error 2 root@electron:~/grub# Any idea? Adrian --

grub-macbless does not create a bootable system

2023-05-28 Thread John Paul Adrian Glaubitz
tps://www.mars.org/home/rob/proj/hfs/ > [2] > https://salsa.debian.org/installer-team/grub-installer/-/blob/a8b85210dfa37b894714e269ae323c2af2f23858/grub-installer#L1030 -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426

Re: Fix for grub-switch-to-blscfg

2023-05-25 Thread John Paul Adrian Glaubitz
attached patch fixes it. Please send patches in-line using the git-send-email feature. Also, I would suggest splitting up the patch into two as they fix two logically independent issues. »Fixed grub-switch-to-blscfg« is also not a very good title for a commit message. Adrian -- .''`. J

GRUB support for Loongson MIPS64 boards

2023-05-18 Thread John Paul Adrian Glaubitz
here [2]. Currently, all users of Loongson MIPS64 hardware will have to use a patched version of GRUB to be able to boot their boards. Thanks, Adrian > [1] https://github.com/loongson-community/grub > [2] https://github.com/AOSC-Dev/grub-loongson3 -- .''`. John Paul Adrian Gl

Re: [PATCH v2 1/6] ia64: Remove support

2023-05-12 Thread John Paul Adrian Glaubitz
; [3] https://archives.gentoo.org/gentoo-dev/ > [4] https://marc.info/?l=linux-ia64=1=1 > [5] https://mail-index.netbsd.org/port-ia64/tindex.html -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH v2 1/6] ia64: Remove support

2023-05-11 Thread John Paul Adrian Glaubitz
On Thu, 2023-05-11 at 14:17 +0200, Ard Biesheuvel wrote: > On Thu, 11 May 2023 at 14:14, John Paul Adrian Glaubitz > wrote: > > > > On Thu, 2023-05-11 at 14:06 +0200, Ard Biesheuvel wrote: > > > Itanium IA-64 support is obsolete, and implements its own flavor of EFI &g

Re: [PATCH v2 1/6] ia64: Remove support

2023-05-11 Thread John Paul Adrian Glaubitz
; are making are tested or supported on IA64, so let's just get rid of it. But I just recently tested GRUB from git on IA64 and it worked without any problems. We're using GRUB to boot Debian on IA64. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62

Compile and testsuite runs for various Debian targets

2023-02-22 Thread John Paul Adrian Glaubitz
tps://people.debian.org/~glaubitz/grub-tests-20230221/ -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Grub-devel mailing list Grub-devel@gnu.org ht

[PATCH v2] osdep/hurd/getroot: Remove unused variables in grub_util_find_hurd_root_device()

2023-02-22 Thread John Paul Adrian Glaubitz
-variable] 126 | char *next; | ^~~~ grub-core/osdep/hurd/getroot.c:125:14: error: unused variable ‘size’ [-Werror=unused-variable] 125 | size_t size; | ^~~~ Fixes: e981b0a24 (osdep/hurd/getroot: Use "part:" qualifier) Signed-off-by:

[PATCH] osdep/hurd/getroot: Remove unused variables in grub_util_find_hurd_root_device()

2023-02-22 Thread John Paul Adrian Glaubitz
-variable] 126 | char *next; | ^~~~ grub-core/osdep/hurd/getroot.c:125:14: error: unused variable ‘size’ [-Werror=unused-variable] 125 | size_t size; | ^~~~ Signed-off-by: John Paul Adrian Glaubitz --- grub-core/osdep/hurd/getroot.c | 2 -- 1 file

Re: Running bootstrap script fails on Debian unstable

2023-02-21 Thread John Paul Adrian Glaubitz
Hi Glenn! On Tue, 2023-02-21 at 10:58 +0100, John Paul Adrian Glaubitz wrote: > > Do you have installed all the packages that are installed in that build > > log? Are you applying all the patches or just building from 2.06 git? > > Building from git, no patches applied.

Re: Running bootstrap script fails on Debian unstable

2023-02-21 Thread John Paul Adrian Glaubitz
u applying all the patches or just building from 2.06 git? Building from git, no patches applied. Will try openSUSE Tumbelweed later today. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 _

Re: Running bootstrap script fails on Debian unstable

2023-02-20 Thread John Paul Adrian Glaubitz
.ac:1608: error: possibly undefined macro: AC_LANG_CALL autoreconf: error: /usr/bin/autoconf failed with exit status: 1 ./bootstrap: autoreconf failed Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426

Re: Running bootstrap script fails on Debian unstable

2023-02-20 Thread John Paul Adrian Glaubitz
Hi Mihai! On Mon, 2023-02-20 at 15:01 +0100, Mihai Moldovan wrote: > * On 2/20/23 10:28, John Paul Adrian Glaubitz wrote: > > I wanted to start the current GRUB master branch on various architectures > > and it > > turns out that the bootstrap script currently fails o

Running bootstrap script fails on Debian unstable

2023-02-20 Thread John Paul Adrian Glaubitz
undefined macro: AC_LINK_IFELSE configure.ac:1631: error: possibly undefined macro: AC_LANG_CALL autoreconf: error: /usr/bin/autoconf failed with exit status: 1 ./bootstrap: autoreconf failed Does anyone know how to address this issue? Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian

Re: [PATCH v2 2/6] ieee1275: drop len -= 1 quirk in heap_init

2022-12-13 Thread John Paul Adrian Glaubitz
g. I can test this on my iBook G4 but not this week as I am currently not at home. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Grub-dev

Re: [PATCH] Remove HFS support

2022-08-30 Thread John Paul Adrian Glaubitz
-- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Remove HFS support

2022-08-26 Thread John Paul Adrian Glaubitz
this in the past to support similar projects in GCC and LLVM. What do you think? Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Grub-devel mailing

Re: [PATCH] Remove HFS support

2022-08-26 Thread John Paul Adrian Glaubitz
run fine up to a point where it breaks rendering all the work that people have poured into keeping these ports working useless. POWER hardware is usually rather expensive, so PowerMacs are usually the only kind of PowerPC hardware that most people can afford. Adrian -- .''`. John Paul Adrian

Re: [PATCH] Remove HFS support

2022-08-24 Thread John Paul Adrian Glaubitz
(PowerPC) -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Remove HFS support

2022-08-24 Thread John Paul Adrian Glaubitz
not just filesystems but also commands or loaders. There is no need to cut old systems from new grub if existing infrastructure can handle it. Thank you! I don't understand why maintainers concerned with security can't just do that. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian

Re: [PATCH] Remove HFS support

2022-08-24 Thread John Paul Adrian Glaubitz
of these ports as the maintenance burn gets too high. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.g

Re: [PATCH] Remove HFS support

2022-08-19 Thread John Paul Adrian Glaubitz
On 8/19/22 20:09, Steve McIntyre wrote: On Fri, Aug 19, 2022 at 04:03:38PM +0200, John Paul Adrian Glaubitz wrote: On Aug 19, 2022, at 3:59 PM, Daniel Kiper wrote: If I do not hear any major objections in the following weeks I will merge this patch or a variant of it in the second half

Re: [PATCH] Remove HFS support

2022-08-19 Thread John Paul Adrian Glaubitz
> On Aug 19, 2022, at 3:59 PM, Daniel Kiper wrote: > > On Fri, Aug 19, 2022 at 11:38:26PM +1000, Daniel Axtens wrote: >> HFS is so so very old now. According to Wikipedia, HFS was >> introduced in 1985 and the successor HFS+ came out in January >> 1998. Mac OS dropped support for writing HFS

Re: GRUB 2.12 release, etc.

2022-06-30 Thread John Paul Adrian Glaubitz
Hi! On 6/30/22 15:15, Daniel Kiper wrote: > On Tue, Jun 14, 2022 at 07:01:23PM +0200, John Paul Adrian Glaubitz wrote: >> Hello! >> >> On Jun 14, 2022, at 11:52 AM, Xiaotian Wu >> wrote: >> >> I would like to ask, can GRUB-2.12 add a new

Re: GRUB 2.12 release, etc.

2022-06-14 Thread John Paul Adrian Glaubitz
Hello! > On Jun 14, 2022, at 11:52 AM, Xiaotian Wu wrote: > > I would like to ask, can GRUB-2.12 add a new LoongArch architecture support? It would also be great if the patches that add support for 64-bit MIPS EFI could be added as well. See: https://github.com/AOSC-Dev/grub-loongson3 I

Re: [PATCH] Fix vlan networking on little-endian systems

2022-03-01 Thread John Paul Adrian Glaubitz
rg/wiki/Software/PulseAudio/HowToUseGitSendEmail/ -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___

Re: [PATCH v2 0/8] Add support for LoongArch

2022-02-23 Thread John Paul Adrian Glaubitz
well? There is a repository available with a branch rebased against grub master [2]. Currently, GRUB EFI on mips64el is stuck at version 2.02 which is rather old. Adrian > [1] https://github.com/loongson-community/grub > [2] https://github.com/AOSC-Dev/grub-loongson3 -- .''`. John Paul Adrian Glaubitz :

Re: Powerpc grub_func_test never exits

2022-01-14 Thread John Paul Adrian Glaubitz
Hi Glenn! On 1/14/22 22:59, Glenn Washburn wrote: > On Fri, 14 Jan 2022 09:48:56 +0100 > > Hi Adrian, thanks for testing this for me. You're welcome! >> On 1/14/22 09:45, John Paul Adrian Glaubitz wrote: >>> I have burnt the ISO to a CD-R now and booted my iBook G4 w

Re: [PATCH 0/2] powerpc-ieee1275: support larger core.elf images

2022-01-14 Thread John Paul Adrian Glaubitz
Hi! On 1/14/22 17:54, John Paul Adrian Glaubitz wrote: > Hmm, I must have forgotten that. Let me give it a try after dinner. The laptop > just happens to be sitting next to me. I gave it a try now and made sure to use the proper grub-core directory and that the kernel.img in /usr/local/li

Re: [PATCH 0/2] powerpc-ieee1275: support larger core.elf images

2022-01-14 Thread John Paul Adrian Glaubitz
Hi Robbie! On 1/14/22 17:43, Robbie Harwood wrote: > John Paul Adrian Glaubitz writes: > >> On 11/24/21 01:51, Daniel Axtens wrote: >>> Could you humour me and: >>> - check that your kernel.img in /usr is indeed up to date >>> - try grub-install

Re: Powerpc grub_func_test never exits

2022-01-14 Thread John Paul Adrian Glaubitz
Hi Glenn! On 1/14/22 09:45, John Paul Adrian Glaubitz wrote: > I have burnt the ISO to a CD-R now and booted my iBook G4 with it. > > It boots but gets stuck at "Welcome to GRUB!". I can hear CD-ROM access noises > from time to time but no changes on the screen so fa

Re: Powerpc grub_func_test never exits

2022-01-14 Thread John Paul Adrian Glaubitz
f you want me to try anything else. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___

Re: Powerpc grub_func_test never exits

2022-01-08 Thread John Paul Adrian Glaubitz
on my iBook G4 and report the results back. That will most probably happen on Monday. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A7

Re: [PATCH 0/2] powerpc-ieee1275: support larger core.elf images

2021-11-25 Thread John Paul Adrian Glaubitz
t back. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Grub-devel mailing list Gru

Re: [PATCH 0/2] powerpc-ieee1275: support larger core.elf images

2021-11-23 Thread John Paul Adrian Glaubitz
ernel.img' is miscompiled: its start address is 0x20 instead of 0x80: ld.gold bug?. root@ibook-g4-14:/home/glaubitz/grub# Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-

Re: [PATCH 1/2] powerpc-ieee1275: load grub at 8MB, not 2MB

2021-11-22 Thread John Paul Adrian Glaubitz
after that. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Grub-devel m

Re: [PATCH 1/2] powerpc-ieee1275: load grub at 8MB, not 2MB

2021-11-16 Thread John Paul Adrian Glaubitz
On 11/16/21 17:48, John Paul Adrian Glaubitz wrote: >> But generally, I don't think this is a reasonable requirement. > > I do. And, FWIW, we have quite an active user base for Debian on PowerMacs and I would eventually get all these user reports if something breaks. I work a comm

Re: [PATCH 1/2] powerpc-ieee1275: load grub at 8MB, not 2MB

2021-11-16 Thread John Paul Adrian Glaubitz
hey have and use, we should incorporate their > feedback where reasonable. But let's not hold back patches over > hypothetical concerns for a dead architecture. [1] I can test them later this week. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.

Re: GRUB 2.06 released

2021-06-08 Thread John Paul Adrian Glaubitz
e would like to thank all the people who have contributed to the project. I concur. Thanks a lot to everyone helping to make this happen! Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de

Re: [PATCH v2] grub-core: Build fixes for i386

2021-05-18 Thread John Paul Adrian Glaubitz
On 5/18/21 4:35 PM, John Paul Adrian Glaubitz wrote: > So I'm not sure what kind of host system we are talking about here? This looks > more like a configuration issue of the distribution in question which > deliberately > builds its 32-bit toolchain without 64-bit support. Hmm, I

Re: [PATCH v2] grub-core: Build fixes for i386

2021-05-18 Thread John Paul Adrian Glaubitz
ind of host system we are talking about here? This looks more like a configuration issue of the distribution in question which deliberately builds its 32-bit toolchain without 64-bit support. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Univer

Re: [PATCH v2] grub-core: Build fixes for i386

2021-05-18 Thread John Paul Adrian Glaubitz
s more that you are trying to build 64-bit code with a toolchain which exclusively supports 32-bit code which I'm not sure is something that can be officially supported. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin -

Re: boot/grub2: grub-core-build-fixes-for-i386 (grub-2.04 + binutils-2.35.2 + pseudo-op .code64)

2021-05-18 Thread John Paul Adrian Glaubitz
nd it using "git-send-email" to grub-devel@gnu.org? > > (waiting with this for a bit, please ping if needed :) I think you should post the patch to this mailing list so it can be reviewed here. Reviewing the patch when it's located in the archives of a different mailing list is a b

Re: [Buildroot] boot/grub2: grub-core-build-fixes-for-i386 (grub-2.04 + binutils-2.35.2 + pseudo-op .code64)

2021-05-13 Thread John Paul Adrian Glaubitz
upstream release, aren't you? Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Gr

Re: [PATCH v3] util/mkimage: Fix wrong PE32+ section sizes for some arches

2021-05-09 Thread John Paul Adrian Glaubitz
Hi Daniel! On 4/27/21 5:35 PM, Daniel Kiper wrote: >> Works on my ia64 machine. >> >> Tested-by: John Paul Adrian Glaubitz > > Reviewed-by: Daniel Kiper > > Javier, Adrian, thank you for working patiently on this fix. Sure, no problem :-). Since this fix unb

Re: Fwd: boot/grub2: grub-core-build-fixes-for-i386 (grub-2.04 + binutils-2.35.2 + pseudo-op .code64)

2021-05-05 Thread John Paul Adrian Glaubitz
So, the working patch is attached. Please add it to grub2. Please re-send your patch using git-send-email, see [1], for example. Adrian > [1] https://git-send-email.io/ -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glau

Re: [PATCH v3] util/mkimage: Fix wrong PE32+ section sizes for some arches

2021-04-27 Thread John Paul Adrian Glaubitz
ng of mods section properly aligned in the PE file. > > Fix it by aligning the kernel_size to the section alignment. That makes > the sizes and offsets in the PE section headers to match relevant sections > in the PE32+ binary file. > > Reported-by: John Paul Adrian Glaubitz >

Re: [RFC PATCH v2] util/mkimage: Fix wrong PE32+ section sizes for some arches

2021-04-27 Thread John Paul Adrian Glaubitz
se GRUB_PE32_FILE_ALIGNMENT instead. Though > the result is the same... Let me know once you have a new version of the patch ready, I'll test it as quickly as possible. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin

Re: [RFC PATCH v2] util/mkimage: Fix wrong PE32+ section sizes for some arches

2021-04-26 Thread John Paul Adrian Glaubitz
Hi Javier! On 4/26/21 10:05 AM, Javier Martinez Canillas wrote: > On 4/26/21 9:52 AM, John Paul Adrian Glaubitz wrote: > > [snip] > >>> + >>> + if (image_target->id == IMAGE_EFI) >>> +layout->kernel_size = ALIGN_UP (layout-&

Re: [RFC PATCH v2] util/mkimage: Fix wrong PE32+ section sizes for some arches

2021-04-26 Thread John Paul Adrian Glaubitz
the PE section headers to match the sections > in the PE32+ binary file. > > Reported-by: John Paul Adrian Glaubitz > Signed-off-by: Javier Martinez Canillas > --- > > Changes in v2: > - Align up for any arch in the is_relocatable (image_target) patch and > not only for

Re: GRUB 2.06

2021-04-20 Thread John Paul Adrian Glaubitz
done more to open source and Linux than Arch ever will. PS: I also happen to be a SUSE employee and openSUSE/SLE maintainer, so your first assumption that I'm somehow subject to Debian culture is flawed. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@d

Re: GRUB 2.06

2021-04-20 Thread John Paul Adrian Glaubitz
hive rebuilds with gcc-10 when it was released. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

Re: GRUB 2.06

2021-04-20 Thread John Paul Adrian Glaubitz
backport upstream fixes, at least in Debian, openSUSE and Fedora, it isn't a problem. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-

Re: GRUB 2.06

2021-04-20 Thread John Paul Adrian Glaubitz
14-2-15-0-a-4175620463/ But it's not opening for me either although I can see the Slackware forum: > https://www.linuxquestions.org/questions/slackware-14/ Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.

Re: GRUB error: unknown filesystem on ia64

2021-04-19 Thread John Paul Adrian Glaubitz
Hi Javier1 On 4/16/21 11:32 PM, Javier Martinez Canillas wrote: >> I can confirm that this fixes the issue and makes GRUB work again on ia64. >> >> Tested-by: John Paul Adrian Glaubitz >> > > Great, thanks a lot for the quick testing! Could you send the patch

Re: GRUB error: unknown filesystem on ia64

2021-04-16 Thread John Paul Adrian Glaubitz
Hi Javier! On 4/16/21 10:14 PM, Javier Martinez Canillas wrote: > On 4/16/21 6:55 PM, John Paul Adrian Glaubitz wrote: >> Hi! >> >> On 4/16/21 6:43 PM, John Paul Adrian Glaubitz wrote: >>> It seems the patch no longer applies due to the changes introduced by

Re: GRUB error: unknown filesystem on ia64

2021-04-16 Thread John Paul Adrian Glaubitz
the size of the ".data" and "mods" sections > were wrong and didn't have the correct content. Which lead to GRUB not > being able to load any built-in module. > > Reported-by: John Paul Adrian Glaubitz > Signed-off-by: Javier Martinez Canillas > --- >

Re: GRUB error: unknown filesystem on ia64

2021-04-16 Thread John Paul Adrian Glaubitz
Hi! On 4/16/21 6:43 PM, John Paul Adrian Glaubitz wrote: > It seems the patch no longer applies due to the changes introduced by the > --sbat > option [1]. I have manually rebased the patch like this. Rebuilding GRUB with that change fixes the problem for me. So you'll just have to re

Re: GRUB error: unknown filesystem on ia64

2021-04-12 Thread John Paul Adrian Glaubitz
01f0: 4000 00c0 @... 0200: 2e72 656c 6f63 0010 00f0 0300 .reloc.. 0210: 0010 00f0 0300 glaubitz@epyc:..glaubitz/grub-ia64> Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debia

Re: GRUB error: unknown filesystem on ia64

2021-04-10 Thread John Paul Adrian Glaubitz
On 4/8/21 7:30 PM, John Paul Adrian Glaubitz wrote: > On 4/8/21 7:10 PM, Javier Martinez Canillas wrote: >>> Any news on this? I assume this should be trivial to fix when considering >>> just the >> >> Not yet, sorry. I discussed a little bit with Peter yesterday

Re: GRUB error: unknown filesystem on ia64

2021-04-08 Thread John Paul Adrian Glaubitz
ll try to take a look at this next week. It's probably caused by different natural alignment which causes the code on x86_64 to land at the right position automatically. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub..

Re: GRUB error: unknown filesystem on ia64

2021-04-08 Thread John Paul Adrian Glaubitz
So, only one bug to fix... :-) Any news on this? I assume this should be trivial to fix when considering just the addresses where the modules get loaded to and the pointer is pointing to needs to be fixed. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.o

Re: GRUB error: unknown filesystem on ia64

2021-03-26 Thread John Paul Adrian Glaubitz
B can't load the built-in modules anymore. Adrian > [1] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg00244.html -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75

Re: [SECURITY PATCH 108/117] util/mkimage: Refactor section setup to use a helper

2021-03-23 Thread John Paul Adrian Glaubitz
modules location as the former was updated but the >> former >> not. > > I chatted about that with Javier yesterday. He told me he will take > a look at the issue... Great, thanks. -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie

Re: [SECURITY PATCH 108/117] util/mkimage: Refactor section setup to use a helper

2021-03-23 Thread John Paul Adrian Glaubitz
Hello! On 3/18/21 9:38 AM, John Paul Adrian Glaubitz wrote: > On 3/2/21 7:01 PM, Daniel Kiper wrote: >> From: Peter Jones >> >> Add a init_pe_section() helper function to setup PE sections. This makes >> the code simpler and easier to read. >> >> Si

Re: [SECURITY PATCH 108/117] util/mkimage: Refactor section setup to use a helper

2021-03-20 Thread John Paul Adrian Glaubitz
On 3/20/21 4:05 PM, John Paul Adrian Glaubitz wrote: > However, the modules are still located at the same address in memory which is > why > the module loader can no longer find them. And the new address where the loader is looking for the modules is located at 0x39000 but the modules

Re: [SECURITY PATCH 108/117] util/mkimage: Refactor section setup to use a helper

2021-03-20 Thread John Paul Adrian Glaubitz
Hello! On 3/18/21 9:38 AM, John Paul Adrian Glaubitz wrote: > This change broke GRUB on ia64 for me. It now fails to perform any basic > commands: > > Loading.: grub >

Re: [SECURITY PATCH 108/117] util/mkimage: Refactor section setup to use a helper

2021-03-18 Thread John Paul Adrian Glaubitz
own filesystem. grub rescue> help Unknown command `help'. grub rescue> ? Unknown command `?'. grub rescue> linux Unknown command `linux'. grub rescue> Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub..

GRUB error: unknown filesystem on ia64

2021-03-17 Thread John Paul Adrian Glaubitz
... grub rescue> insmod ext2 error: unknown filesystem. grub rescue> help Unknown command `help'. grub rescue> ? Unknown command `?'. grub rescue> linux Unknown command `linux'. grub rescue> I have not bisected the issue yet, but maybe anyone has got any idea? Adrian -- .''`. J

Re: [SECURITY PATCH 116/117] templates: Disable the os-prober by default

2021-03-03 Thread John Paul Adrian Glaubitz
sion. I asked Alex to post a fix for this. I'm glad we were able to resolve this. I was already questioning my sanity :D. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...

Re: [SECURITY PATCH 116/117] templates: Disable the os-prober by default

2021-03-03 Thread John Paul Adrian Glaubitz
gt; is not the best one. I'm not sure I'm able to follow the motivation to keep the naming scheme as is. If I have an option called "DISABLE_FEATURE_X", then I would expect setting it to "true" would mean that the feature is disabled not the other way around. Adrian -- .''`. John Paul

Re: [SECURITY PATCH 000/117] Multiple GRUB2 vulnerabilities - 2021/03/02 round

2021-03-02 Thread John Paul Adrian Glaubitz
hanks and kudos to everyone involved fixing all these vulnerabilities! Given the amount of patches, wouldn't it make sense to push an RC candidate for 2.06 in the near future so that distributions can start shipping the pre- release and avoiding to carry this large amount of patches? Thanks, Ad

Re: Collecting GRUB 2.06 test results

2021-02-10 Thread John Paul Adrian Glaubitz
le (eg. arm-coreboot and arm-efi). Perhaps someone more > knowledgeable than I can weight in. I can also test with QEMU installed if desired for certain architectures. Maybe you could make a list of target/architecture combinations you want me to test. Adrian --

Re: Collecting GRUB 2.06 test results

2021-02-10 Thread John Paul Adrian Glaubitz
uot; by GRUB? Or is it all > the ones allowed to be built by master? You can see that by looking at the configure.ac. It's basically all targets that build more than just the utilities. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universit

Re: need hostname on menu

2021-01-24 Thread John Paul Adrian Glaubitz
. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 ___ Grub-devel mailing list Grub-deve

Re: need hostname on menu

2021-01-24 Thread John Paul Adrian Glaubitz
ou use the software, he decides what he works on and what not. And if there is a feature that is requested by only a very small amount of users, then it usually makes no sense to put up with the additional development and maintenance burden. Adrian -- .''`. John Paul Adrian Glaubitz

Re: need hostname on menu

2021-01-23 Thread John Paul Adrian Glaubitz
rating systems. I'm not sure it would be trivial to implement such a feature for all possible target configurations that GRUB support just to solve this rather exotic problem you are describing here. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `'

Re: Collecting GRUB 2.06 test results

2021-01-16 Thread John Paul Adrian Glaubitz
Hello! On 1/4/21 4:24 PM, John Paul Adrian Glaubitz wrote: > I have started to collect test results for GRUB 2.06 here: > >> https://people.debian.org/~glaubitz/grub2.06-test-results/ Just as a heads-up: I have collected test results for all architectures supported by GRUB. I have a

Collecting GRUB 2.06 test results

2021-01-04 Thread John Paul Adrian Glaubitz
lso already successfully installed and boot from this git version on Debian sparc64. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F

Re: failing tests on sparc64-ieee1275 target

2020-12-19 Thread John Paul Adrian Glaubitz
can run the tests on real hardware through the GCC compile farm [1]. Adrian > [1] https://gcc.gnu.org/wiki/CompileFarm -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `-GPG: 62FF 8A7

Re: GRUB 2.06 release

2020-12-14 Thread John Paul Adrian Glaubitz
ocumentation, tests, etc. changes still will be welcome. Great! Kudos and thanks to everyone who has contributed to this effort! Let me know when you want me to run some basic tests on all Debian targets. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `

  1   2   3   >