GRUB 2.02 release

2017-04-26 Thread Vladimir 'phcoder' Serbinenko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello everyone. GRUB maintainers team is proud to announce GRUB 2.02 that we have just released. This release contains fixes for bugs uncovered in 2.02~rc2 and updated translations. Full list of new features since release 2.00 is available in NEWS f

Re: [PATCH] * grub-core/fs/udf.c: Add support for UUID

2017-05-08 Thread Vladimir 'phcoder' Serbinenko
On Mon, Apr 10, 2017, 23:17 Pali Rohár wrote: > Use same algorithm as in libblkid from util-linux. > --- > grub-core/fs/udf.c | 136 > ++-- > 1 file changed, 131 insertions(+), 5 deletions(-) > > diff --git a/grub-core/fs/udf.c b/grub-core/fs/udf.

Re: [PATCH v7 1/3] arm64: add "--nounzip" option support in xen_module command

2017-05-08 Thread Vladimir 'phcoder' Serbinenko
Le Tue, May 2, 2017 à 9:06 AM, a écrit : > From: Fu Wei > > This patch adds "--nounzip" option support in order to > be compatible with the module command of multiboot on other architecture, > by this way we can simplify grub-mkconfig support code. > > This patch also allow us to use zip compres

Re: [PATCH v7 2/3] * util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64

2017-05-09 Thread Vladimir 'phcoder' Serbinenko
Le Tue, May 2, 2017 à 9:06 AM, a écrit : > From: Fu Wei > > This patch adds the support of xen_boot command for aarch64: > xen_hypervisor > xen_module > These two commands are only for aarch64, since it has its own protocol and > commands to boot xen hypervisor and Dom0, but not multiboo

Re: [PATCH v2] grub-core/term/i386/coreboot/cbmemc.c: Update console format

2017-05-09 Thread Vladimir 'phcoder' Serbinenko
Committed, thanks Le Tue, Apr 25, 2017 à 10:19 PM, Julius Werner a écrit : > Changed cbmemc to support updated console format from coreboot. > --- > grub-core/term/i386/coreboot/cbmemc.c | 50 > --- > 1 file changed, 35 insertions(+), 15 deletions(-) > > diff --g

Re: (GRUB) 2.02~beta2_Add_Feature

2017-05-09 Thread Vladimir 'phcoder' Serbinenko
Le Wed, Apr 5, 2017 à 3:59 PM, esmaeel ensanimehr a écrit : > Hi > > I suggests adding a little feature to GRUB (GRUB) 2.02~beta2-36ubuntu3.8. > (i am using UBUNTU 16.04 LTS) > > in boot up selection menu add circular loop that can change between options > in circular way. > This was requested s

Re: How to build GRUB for `arm_coreboot`?

2017-05-10 Thread Vladimir 'phcoder' Serbinenko
On Tue, May 9, 2017, 09:29 Paul Menzel wrote: > Dear GRUB folks, > > > After the GRUB 2.02 release, φ-coder’s work to get GRUB working on ARM > is now in the master branch. > > I like to try GRUB with the coreboot “board” *emulation/qemu-armv7 > (QEMU ARMv7)*, and did the following under Debian S

Re: [PATCH v7 2/3] * util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64

2017-05-10 Thread Vladimir 'phcoder' Serbinenko
On Tue, May 9, 2017, 11:02 Fu Wei wrote: > Hi Vladimir > > On 9 May 2017 at 14:59, Vladimir 'phcoder' Serbinenko > wrote: > > > > > > Le Tue, May 2, 2017 à 9:06 AM, a écrit : > >> > >> From: Fu Wei > >> > >> This pat

Re: edif / create files from a grub module

2017-05-10 Thread Vladimir 'phcoder' Serbinenko
On Sat, Dec 10, 2016, 18:29 Andrei Borzenkov wrote: > 07.12.2016 00:03, Jean-Francois Le Breton пишет: > > Hello, > > I would like to add some checks and modifications to the Linux > command line > > before booting the OS. > > So I am considering writing a grub module which will modify

Re: [PATCH 02/15] sparc64: Add blocklist GPT support for SPARC

2017-05-10 Thread Vladimir 'phcoder' Serbinenko
On Wed, Jun 29, 2016, 23:47 Eric Snowberg wrote: > Add block-list GPT support for SPARC. The OBP "load" and "boot" methods > are partition aware and neither command can see the partition table. Also > neither command can address the entire physical disk. When the install > happens, > grub genera

Re: [PATCH 02/15] sparc64: Add blocklist GPT support for SPARC

2017-05-10 Thread Vladimir 'phcoder' Serbinenko
On Thu, May 11, 2017, 01:21 Eric Snowberg wrote: > > > On May 10, 2017, at 4:42 PM, Vladimir 'phcoder' Serbinenko < > phco...@gmail.com> wrote: > > > > > > > > On Wed, Jun 29, 2016, 23:47 Eric Snowberg > wrote: > > Add block-list GPT

Re: [PATCH 02/15] sparc64: Add blocklist GPT support for SPARC

2017-05-10 Thread Vladimir &#x27;phcoder' Serbinenko
On Thu, May 11, 2017, 02:37 Vladimir 'phcoder' Serbinenko wrote: > > > On Thu, May 11, 2017, 01:21 Eric Snowberg > wrote: > >> >> > On May 10, 2017, at 4:42 PM, Vladimir 'phcoder' Serbinenko < >> phco...@gmail.com> wrote: >>

Re: [PATCH 1/2] ieee1275: alloc-mem and free-mem

2017-05-10 Thread Vladimir &#x27;phcoder' Serbinenko
On Fri, Nov 18, 2016, 13:33 Stanislav Kholmanskikh < stanislav.kholmansk...@oracle.com> wrote: > Hi, Daniel. > > Thank you for review. > > My comments are below. > > On 11/16/2016 12:22 AM, Daniel Kiper wrote: > > On Tue, Apr 12, 2016 at 03:39:55PM +0300, Stanislav Kholmanskikh wrote: > >> Add wra

Re: "arm_coreboot: Support DMA" breaks arm64

2017-05-11 Thread Vladimir &#x27;phcoder' Serbinenko
On Thu, May 11, 2017, 17:35 Leif Lindholm wrote: > Commit 265292f ("arm_coreboot: Support DMA") breaks arm64 grub-mkimage > with: > /work/local/bin/grub-mkimage: error: undefined symbol > grub_arch_sync_dma_caches. > > This appears to be caused purely by the false symbol dependency > created by t

Re: "arm_coreboot: Support DMA" breaks arm64

2017-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
LGTM On Wed, May 24, 2017, 13:36 Leif Lindholm wrote: > Apologies for delay, got knocked out by a bad cold. > > On Thu, May 11, 2017 at 06:33:34PM +, Vladimir 'phcoder' Serbinenko > wrote: > > > Thoughts? > > > > > I don't think that

Re: [PATCH 1/3] Move verifiers to the kernel

2017-06-14 Thread Vladimir &#x27;phcoder' Serbinenko
On Jun 15, 2017 2:43 AM, "Matthew Garrett" wrote: We want to be able to measure stuff right from the very beginning of grub execution, so it makes sense for the core verifiers code to be present in-kernel rather than having it as an external module. This bid at odds with the need to keep kernel

Re: [PATCH 1/3] Move verifiers to the kernel

2017-06-14 Thread Vladimir &#x27;phcoder' Serbinenko
On Thu, Jun 15, 2017, 03:49 Matthew Garrett wrote: > On Wed, Jun 14, 2017 at 06:34:38PM -0700, Vladimir 'phcoder' Serbinenko > wrote: > > > This bid at odds with the need to keep kernel small. Why not just put > > verifiers as the first module to load? Presumably y

Re: [PATCH] ext2: support EXT4_FEATURE_INCOMPAT_ENCRYPT

2017-06-15 Thread Vladimir &#x27;phcoder' Serbinenko
Good. Thank you for doing this. Please don't mark obscure error messages for translation (N_). In this patch no string needs translation. Would it also be possible to add some tests? On Thu, Jun 15, 2017, 07:41 Eric Biggers wrote: > From: Eric Biggers > > Allow GRUB to mount ext2/3/4 filesystem

Re: Problems with recent Debian GNU/Hurd ISO GRUB menu graphics

2017-06-20 Thread Vladimir &#x27;phcoder' Serbinenko
вт, 20 июн. 2017 г., 13:02 Thomas Schmitt : > Hi, > > i am discussing with Samuel Thibault two riddling issues of the new > Debian GNU/Hurd ISOs, e.g. this one of about 160 MB: > > > http://ftp.ports.debian.org/debian-ports-cd/hurd-i386/debian-hurd-2017/debian-hurd-2017-i386-NETINST-1.iso > > Thos

Re: Possible regression in e2fsprogs-1.43.4

2017-06-24 Thread Vladimir &#x27;phcoder' Serbinenko
сб, 24 июн. 2017 г., 23:22 Felipe A Rodriguez : > On Jun 23, 2017, at 11:29 PM, Christian Hesse wrote: > > > Theodore Ts'o on Fri, 2017/06/23 15:53: > >> +grub-devel > >> > >> On Sat, Jun 10, 2017 at 04:00:20PM +0200, Felipe A Rodriguez wrote: > >>> Upgrading from e2fsprogs-1.42.13 to e2fsprogs-

Re: no login prompt for the serial com port

2017-06-29 Thread Vladimir &#x27;phcoder' Serbinenko
вт, 27 июн. 2017 г., 16:02 Hilbert Tu(杜睿哲_Pegatron) < hilbert...@pegatroncorp.com>: > Hi there, > > > > I use grub as coreboot’s payload and successfully get the “grub>” prompt. > Then I use following commands try to bring-up my linux kernel: > > > *set isofile="/core-image-minimal-mohonpeak64.is

Re: [PATCH v2] ext2: support EXT4_FEATURE_INCOMPAT_ENCRYPT

2017-06-29 Thread Vladimir &#x27;phcoder' Serbinenko
Committed. Thanks чт, 15 июн. 2017 г., 21:37 Eric Biggers : > From: Eric Biggers > > Allow GRUB to mount ext2/3/4 filesystems that have the encryption > feature. On such a filesystem, inodes may have EXT4_ENCRYPT_FLAG set. > For a regular file, this means its contents are encrypted; for a > dir

Re: [tuellm...@kit.edu: Bug#866603: grub-common: enabling metadata_csum_seed feature on ext4 renders system unbootable]

2017-06-30 Thread Vladimir &#x27;phcoder' Serbinenko
пт, 30 июн. 2017 г., 14:38 Colin Watson : > Hi, > > Could we possibly just ignore this feature for GRUB? For better or > worse we don't implement metadata checksumming, and we're only doing > read-only access, so I think it would be reasonably safe to ignore > metadata_csum_seed since we wouldn't

Re: Build failure on ppc64le

2017-07-05 Thread Vladimir &#x27;phcoder' Serbinenko
On Tue, Jul 4, 2017, 19:48 Leif Lindholm wrote: > On Sat, Jul 01, 2017 at 02:41:05PM +0200, Paul Menzel wrote: > > Dear GRUB folks, > > > > Building GRUB at commit 7346682 (Allow GRUB to mount ext2/3/4 > > filesystems that have the encryption feature.) for the platform > > `powerpc-ieee1275` with

Re: Boot strap coded mostly in C

2017-07-13 Thread Vladimir &#x27;phcoder' Serbinenko
On Thu, Jul 13, 2017, 09:32 Mr. Miyagi wrote: > Hello Everybody; > > I have just implemented a boot sector program and second stage program > written almost entirely in C using the -Os option of GCC. I am > wondering if this is a good idea, and if so, if it would be practical to > use for GRUB's

Re: [PATCH 1/2] Verify commands executed by grub

2017-07-21 Thread Vladimir &#x27;phcoder' Serbinenko
On Wed, Jul 5, 2017, 23:26 Matthew Garrett wrote: > Pass commands to the verification code. We want to be able to log these > in the TPM verification case. > --- > grub-core/script/execute.c | 27 --- > include/grub/verify.h | 1 + > 2 files changed, 25 insertions(+

Re: [GRUB PARTUUID PATCH V4 0/3] Add PARTUUID detection support

2017-07-23 Thread Vladimir &#x27;phcoder' Serbinenko
I plan to allocate entire day this week to grub. I plan on burning down the backlog On Sun, Jul 23, 2017, 20:02 Nick Vinson wrote: > Hello, > > I submitted this patch set back in May and have not heard anything. I > noticed it also has not been merged into the GRUB tree. Is there some > issue

Re: [PATCH 1/2] Verify commands executed by grub

2017-07-24 Thread Vladimir &#x27;phcoder' Serbinenko
On Sat, Jul 22, 2017, 00:13 Matthew Garrett wrote: > On Fri, Jul 21, 2017 at 7:39 AM, Vladimir 'phcoder' Serbinenko > wrote: > > This omits all separators. So it considers e.g. ab and a b to be the > same. > > Can we have a better array serializati

Re: [PATCH] workaround for multi-device probing in grub-mkconfig

2017-07-27 Thread Vladimir &#x27;phcoder' Serbinenko
As was discussed previously this approach is not correct one. On Sun, Jul 9, 2017, 20:08 Hannes Schweizer wrote: > > upstream bug: https://savannah.gnu.org/bugs/?48228 > Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=581904 > --- > util/grub-mkconfig.in | 10 +- > 1 file changed, 5

Re: [PATCH 6/7] efi: restrict arm/arm64 linux loader initrd placement

2017-07-27 Thread Vladimir &#x27;phcoder' Serbinenko
On Thu, Jul 27, 2017, 17:16 Daniel Kiper wrote: > On Mon, Jun 12, 2017 at 03:53:40PM +0100, Leif Lindholm wrote: > > The 32-bit arm Linux kernel is built as a zImage, which self-decompresses > > down to near start of RAM. In order for an initrd/initramfs to be > > accessible, it needs to be place

Re: [PATCH 7/7] efi: change heap allocation type to GRUB_EFI_LOADER_CODE

2017-07-27 Thread Vladimir &#x27;phcoder' Serbinenko
On Thu, Jul 27, 2017, 17:30 Daniel Kiper wrote: > On Mon, Jun 12, 2017 at 03:53:41PM +0100, Leif Lindholm wrote: > > With upcoming changes to EDK2, allocations of type EFI_LOADER_DATA may > > not return regions with execute ability. Since modules are loaded onto > > the heap, change the heap allo

Re: [PATCH 6/7] efi: restrict arm/arm64 linux loader initrd placement

2017-07-27 Thread Vladimir &#x27;phcoder' Serbinenko
On Thu, Jul 27, 2017, 17:40 Daniel Kiper wrote: > On Thu, Jul 27, 2017 at 03:18:16PM +, Vladimir 'phcoder' Serbinenko > wrote: > > On Thu, Jul 27, 2017, 17:16 Daniel Kiper wrote: > > > On Mon, Jun 12, 2017 at 03:53:40PM +0100, Leif Lindholm wrote: > &g

Re: [PATCH 7/7] efi: change heap allocation type to GRUB_EFI_LOADER_CODE

2017-07-27 Thread Vladimir &#x27;phcoder' Serbinenko
On Thu, Jul 27, 2017, 17:44 Daniel Kiper wrote: > On Thu, Jul 27, 2017 at 03:33:06PM +, Vladimir 'phcoder' Serbinenko > wrote: > > On Thu, Jul 27, 2017, 17:30 Daniel Kiper wrote: > > > On Mon, Jun 12, 2017 at 03:53:41PM +0100, Leif Lindholm wrote: > &

Re: [PATCH v2 01/14] arm64/efi: move EFI_PAGE definitions to efi/memory.h

2017-08-03 Thread Vladimir &#x27;phcoder' Serbinenko
This assumes that all CPUs supporting EFI have 4K pages. What if some of CPUs have other page sizes? Le Thu, Aug 3, 2017 à 12:07 PM, Leif Lindholm a écrit : > The EFI page definitions and macros are generic and should not be confined > to atm64 headers - so move to efi/memory.h. > Also add EFI_P

Re: [PATCH v2 03/14] loader: drop local implementations of find_efi_mmap_size

2017-08-03 Thread Vladimir &#x27;phcoder' Serbinenko
LGTM Le Thu, Aug 3, 2017 à 12:07 PM, Leif Lindholm a écrit : > Now we have a grub_efi_find_mmap_size, replace near-identical > implementations > in i386/linux and mbi2 loaders with calls to that one. > > Signed-off-by: Leif Lindholm > --- > grub-core/loader/i386/linux.c | 51 > +---

Re: [PATCH v2 02/14] efi: add central copy of grub_efi_find_mmap_size

2017-08-03 Thread Vladimir &#x27;phcoder' Serbinenko
Looks good. But out of context the name is not descriptive enough. Can we add a comment near declaration to clarify what this functions is for? Le Thu, Aug 3, 2017 à 12:07 PM, Leif Lindholm a écrit : > There are several implementations of this function in the tree. > Add a central version in gru

Re: [PATCH v2 04/14] efi: add grub_efi_get_ram_base() function for arm*

2017-08-03 Thread Vladimir &#x27;phcoder' Serbinenko
Any reason to use plain error numbers without grub_error? Le Thu, Aug 3, 2017 à 12:09 PM, Leif Lindholm a écrit : > Since ARM platforms do not have a common memory map, add a helper > function that finds the lowest address region with the EFI_MEMORY_WB > attribute set in the UEFI memory map. > >

Re: [PATCH v2 05/14] efi: refactor grub_efi_allocate_pages

2017-08-03 Thread Vladimir &#x27;phcoder' Serbinenko
Le Thu, Aug 3, 2017 à 12:09 PM, Leif Lindholm a écrit : > Expose a new function, grub_efi_allocate_pages_real(), making it possible > to specify allocation type and memory type as supported by the UEFI > AllocatePages boot service. > > Make grub_efi_allocate_pages() a consumer of the new function

Re: [PATCH v2 06/14] efi: move fdt helper library

2017-08-03 Thread Vladimir &#x27;phcoder' Serbinenko
LGTM Le Thu, Aug 3, 2017 à 12:10 PM, Leif Lindholm a écrit : > There is nothing ARM64 (or even ARM) specific about the efi fdt helper > library, which is used for locating or overriding a firmware-provided > devicetree in a UEFI system - so move it to loader/efi for reuse. > > Move the fdtload.h

Re: [PATCH v2 07/14] efi: Add GRUB_PE32_MAGIC definition

2017-08-03 Thread Vladimir &#x27;phcoder' Serbinenko
LGTM On Thu, Aug 3, 2017, 12:09 Leif Lindholm wrote: > Add a generic GRUB_PE32_MAGIC definition for the PE 'MZ' tag and delete > the existing one in arm64/linux.h. > > Update arm64 Linux loader to use this new definition. > > Signed-off-by: Leif Lindholm > --- > grub-core/loader/arm64/linux.c

Re: [PATCH v2 08/14] arm64 linux loader: improve type portability

2017-08-03 Thread Vladimir &#x27;phcoder' Serbinenko
LGTM On Thu, Aug 3, 2017, 12:10 Leif Lindholm wrote: > In preparation for turning this into a common loader for 32-bit and 64-bit > platforms, ensure the code will compile cleanly for either. > > Signed-off-by: Leif Lindholm > --- > grub-core/loader/arm64/linux.c | 15 ++- > grub-c

Re: [PATCH v2 09/14] arm64 linux loader: rename functions and macros and move to common headers

2017-08-03 Thread Vladimir &#x27;phcoder' Serbinenko
On Thu, Aug 3, 2017, 12:14 Leif Lindholm wrote: > In preparation for using the linux loader for 32-bit and 64-bit platforms, > rename > grub_arm64*/GRUB_ARM64* to grub_efi*/GRUB_EFI*. > > Move prototypes for now-common functions to efi/efi.h. > > Signed-off-by: Leif Lindholm > --- > grub-core/l

Re: [PATCH v2 09/14] arm64 linux loader: rename functions and macros and move to common headers

2017-08-03 Thread Vladimir &#x27;phcoder' Serbinenko
We can use armxx as an infix for names that are for both arm and aarch64 On Thu, Aug 3, 2017, 18:44 Vladimir 'phcoder' Serbinenko wrote: > > > On Thu, Aug 3, 2017, 12:14 Leif Lindholm wrote: > >> In preparation for using the linux loader for 32-bit and 64-bit >&g

Re: [PATCH v2 10/14] loader: switch arm/linux to grub_linux_kernel_header struct

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
Le Thu, Aug 3, 2017 à 12:15 PM, Leif Lindholm a écrit : > Use kernel header struct and generic magic definition to align with > arm64/linux loader. > > Signed-off-by: Leif Lindholm > --- > grub-core/loader/arm/linux.c | 11 +-- > include/grub/arm/linux.h | 15 --- > 2 fi

Re: [PATCH v2 11/14] arm/efi: switch to arm64 linux loader

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
Le Thu, Aug 3, 2017 à 12:10 PM, Leif Lindholm a écrit : > Switch over to the EFI-stub aware arm64 loader for 32-bit ARM platforms. > > Signed-off-by: Leif Lindholm > --- > grub-core/Makefile.core.def | 6 +++--- > grub-core/kern/efi/mm.c | 2 +- > include/grub/efi/efi.h | 2 -- > 3 fil

Re: [PATCH v2 12/14] arm: delete unused efi support from loader/arm

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
LGTM Le Thu, Aug 3, 2017 à 12:11 PM, Leif Lindholm a écrit : > The 32-bit arm efi port now shares the 64-bit linux loader, so delete > the now unused bits from the 32-bit linux loader. > > This in turn leaves the grub-core/kern/arm/efi/misc.c unused, so > delete that too. > > Signed-off-by: Leif

Re: [PATCH v2 13/14] efi: restrict arm/arm64 linux loader initrd placement

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
LGTM Le Thu, Aug 3, 2017 à 12:15 PM, Leif Lindholm a écrit : > The 32-bit arm Linux kernel is built as a zImage, which self-decompresses > down to near start of RAM. In order for an initrd/initramfs to be > accessible, it needs to be placed within the first ~768MB of RAM. > The initrd loader bui

Re: [PATCH v2 14/14] efi: change heap allocation type to GRUB_EFI_LOADER_CODE

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
LGTM Le Thu, Aug 3, 2017 à 12:09 PM, Leif Lindholm a écrit : > With upcoming changes to EDK2, allocations of type EFI_LOADER_DATA may > not return regions with execute ability. Since modules are loaded onto > the heap, change the heap allocation type to GRUB_EFI_LOADER_CODE in > order to permit

Re: [tuellm...@kit.edu: Bug#866603: grub-common: enabling metadata_csum_seed feature on ext4 renders system unbootable]

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
Makes sense. Go ahead with ignoring this flag Le Fri, Jun 30, 2017 à 2:50 PM, Colin Watson a écrit : > On Fri, Jun 30, 2017 at 12:43:02PM +, Vladimir 'phcoder' Serbinenko > wrote: > > пт, 30 июн. 2017 г., 14:38 Colin Watson : > > > Could we possibly just ign

Re: [PATCH 2/3] crypto: switch nonstandard escape sequence to its hex value

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
Please change this place to rather use GRUB_TERM_ESC and then change GRUB_TERM_ESC definition Le Thu, Aug 3, 2017 à 6:13 PM, Pete Batard a écrit : > Regards, > > /Pete > ___ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman

Re: [PATCH 3/3] io: add a GZ prefix to gzio specific defines

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
If you're already changing it could you used GRUB_GZ_ rather than GZ_ prefix? Le Thu, Aug 3, 2017 à 6:13 PM, Pete Batard a écrit : > Regards, > > /Pete > ___ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-d

Re: [PATCH 1/3] zfs: remove size_t typedef and use grub_size_t instead

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
Committed, thanks Le Thu, Aug 3, 2017 à 6:12 PM, Pete Batard a écrit : > Regards, > > /Pete > ___ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel > ___ Grub-

Re: Decrypt AES(rijndael) file

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
Le Mon, Jul 10, 2017 à 8:38 PM, Rafael Machado < rafaelrodrigues.mach...@gmail.com> a écrit : > Hi everyone > > I need to find a way to decrypt a file at grub, and this file is encrypted > as AES256 (rijndael). > > This is far from being a complete task description. What do you want to do with dec

Re: [PATCH] ehci: fix build error of print format specifier

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
Fixed in 284afab081ef7ed7db2c59151853aa3c92d988f2 Le Tue, Jun 13, 2017 à 8:52 AM, Michael Chang a écrit : > It is introduced by commit e058df7b5a9cc7aaa9872eaa916b715544a8f9840, use > PRIxGRUB_ADDR as format specfier to fix the portability problem. > --- > grub-core/bus/usb/ehci.c | 4 ++-- > 1

Re: grub2-probe confused by double bind mount?

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
Upstream doesn't use grub2 prefix. Please try with latest upstream and make sure it's compiled with libdevmapper On Mon, Aug 7, 2017, 08:57 Chris Murphy wrote: > It's not the double bind mount. I've removed it by eliminating the -o > subvol option and adjusted paths accordingly during assembly.

Re: [PATCH] * grub-core/fs/udf.c: Fix reading label, lvd.ident is dstring

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
Committed with fixes and simplifications. The biggest problem was lack of check whether grub_malloc succeeded Le Thu, Jun 22, 2017 à 2:34 PM, Pali Rohár a écrit : > UDF dstring has stored length in the last byte of buffer. Therefore last > byte is not part of recorded characters. And empty strin

Re: [PATCH v2] * grub-core/fs/udf.c: Add support for UUID

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
Committed with few fixes. Thanks Le Thu, Jun 22, 2017 à 2:42 PM, Pali Rohár a écrit : > Use same algorithm as in libblkid from util-linux v2.30. > > 1. Take first 16 bytes from UTF-8 encoded string of VolumeSetIdentifier > 2. If all bytes are hexadecimal digits, convert to lowercase and use as >

Re: grub-mkrescue reacts vaguely on xorriso problems

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
Fixed both problems Le Sat, Jul 15, 2017 à 12:26 PM, Thomas Schmitt a écrit : > Hi, > > Ping. > > (Bug or feature ? If bug: what exactly would be the desirable behavior ?) > > -- > Date: Wed, 14 Jun 2017 11:37:11 +0200 > Fro

Re: Writing support for Yubikey in Grub?

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
Le Mon, Jun 12, 2017 à 12:11 AM, Andrew Ross a écrit : > I'm contemplating an attempt at writing a module to enable use of the > challenge-response feature of the Yubikey to provide part of the > passphrase for a luks partition, using grub to do the initial > decryption. I'm after some advice on

Re: [PATCH v2 14/14] efi: change heap allocation type to GRUB_EFI_LOADER_CODE

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
It means that the patch is fine but something else stops it from being committed. In this case I wanted to go through the whole stack first Le Mon, Aug 7, 2017 à 6:19 PM, Konrad Rzeszutek Wilk a écrit : > On Mon, Aug 07, 2017 at 02:11:16PM +, Vladimir 'phcoder' Serbinenko >

Re: [PATCHv2 2/3] core: use GRUB_TERM_ definitions when handling term characters

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
Le Mon, Aug 7, 2017 à 6:22 PM, Pete Batard a écrit : > This is the updated proposal from the original "[PATCH 2/3] crypto: > switch nonstandard escape sequence to its hex value". > > Following up on Vladimir's comments, I decided to look up all the GRUB > sources where key/term entries were being

Re: [PATCHv2 3/3] io: add a GRUB_GZ prefix to gzio specific defines

2017-08-07 Thread Vladimir &#x27;phcoder' Serbinenko
Committed Le Mon, Aug 7, 2017 à 6:23 PM, Pete Batard a écrit : > As requested, this new proposal uses GRUB_GZ_ instead of GZ_ as the new > prefix. > > Regards, > > /Pete > ___ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailm

Re: grub2-probe confused by double bind mount?

2017-08-08 Thread Vladimir &#x27;phcoder' Serbinenko
Did you mount /proc ? What is the contents of /proc/self/mountinfo ? On Tue, Aug 8, 2017, 06:35 Chris Murphy wrote: > On Mon, Aug 7, 2017 at 9:09 AM, Vladimir 'phcoder' Serbinenko > wrote: > > Upstream doesn't use grub2 prefix. Please try with latest upstream and &g

Re: [PATCH] unix exec: avoid atexit handlers when child exits

2017-08-30 Thread Vladimir &#x27;phcoder' Serbinenko
Comitted, thanks Le Mon, Aug 28, 2017 à 8:58 PM, Patrick Steinhardt a écrit : > The `grub_util_exec_redirect_all` helper function can be used to > spawn an executable and redirect its output to some files. After calling > `fork()`, the parent will wait for the child to terminate with > `waitpid(

Re: XFS in GRUB and sparse directories

2017-08-30 Thread Vladimir &#x27;phcoder' Serbinenko
Fixed, thanks Le Mon, Aug 21, 2017 à 3:37 PM, Tuomas Tynkkynen a écrit : > Hi, > > The XFS driver in GRUB doesn't seem to handle sparse blocks in directories > correctly. This can be reproduced by creating a simple XFS filesystem > with a couple of files removed from the 'middle: > > ---

Re: [PATCH] Implement checksum verification for gunzip

2017-08-30 Thread Vladimir &#x27;phcoder' Serbinenko
Committed, thanks Le Sun, May 1, 2016 à 2:33 PM, Stefan Fritsch a écrit : > This implements the crc32 check for the gzip format. Support for zlib's > adler checksum is not included, yet. > > diff --git a/contrib/grub2/grub-core/io/gzio.c > b/contrib/grub2/grub-core/io/gzio.c > index 0f2ea6b..432

Re: [PATCH v2 10/14] loader: switch arm/linux to grub_linux_kernel_header struct

2017-09-04 Thread Vladimir &#x27;phcoder' Serbinenko
Great, thanks! On Mon, Sep 4, 2017, 16:31 Leif Lindholm wrote: > On Mon, Aug 07, 2017 at 02:07:19PM +, Vladimir 'phcoder' Serbinenko > wrote: > > Le Thu, Aug 3, 2017 à 12:15 PM, Leif Lindholm > a > > écrit : > > > > > Use kernel header str

Re: master broken?

2017-09-05 Thread Vladimir &#x27;phcoder' Serbinenko
Repairing On Tue, Sep 5, 2017, 21:11 Leif Lindholm wrote: > Hi, > > Preparing a new prerequisite set for the ARM* EFI changes, I find > myself to test build any of the x86 targets after > > 21e4a6fa0 multiboot: disentangle multiboot and multiboot2 > > Build fails with > loader/multiboot_mbi2.c:2

Re: master broken?

2017-09-06 Thread Vladimir &#x27;phcoder' Serbinenko
_payload_eip; > > > ^~ > > / > Leif > > On Tue, Sep 05, 2017 at 07:11:32PM +, Vladimir 'phcoder' Serbinenko > wrote: > > Repairing > > > > On Tue, Sep 5, 2017, 21:11 Leif Lindholm > wrote: > > > >

Re: [PATCH] tsc: Change default tsc calibration method to EFI on EFI systems

2017-09-12 Thread Vladimir &#x27;phcoder' Serbinenko
On Wed, Sep 6, 2017, 22:21 David E. Box wrote: > On efi systems, make efi based tsc calibration the default, followed by > the pmtimer before using the pit. This prevents Grub boot failure on > newer x86 systems that power gate the pit. > Why does put code fail? I think it was changed to detect g

Re: ZFS boot environment patch

2017-09-15 Thread Vladimir &#x27;phcoder' Serbinenko
On Fri, Sep 15, 2017, 01:58 Colin Watson wrote: > On Thu, Sep 14, 2017 at 09:22:01PM +0200, Paul Lagerweij wrote: > > On Wed, 13 Sep 2017 at 09:17:42PM +0100, Colin Watson wrote: > > > > On Wed, Sep 13, 2017 at 11:02:48AM -0400, Konrad Rzeszutek Wilk > wrote: > > > > > @@ -62,9 +63,15 @@ case x"$

Re: [PATCH v2] sparc64: Add blocklist GPT support for SPARC

2017-10-12 Thread Vladimir &#x27;phcoder' Serbinenko
On Thu, Oct 12, 2017, 14:00 Daniel Kiper wrote: > On Mon, Oct 09, 2017 at 08:42:04AM -0600, Eric Snowberg wrote: > > > On Oct 9, 2017, at 5:57 AM, Daniel Kiper wrote: > > > On Fri, Oct 06, 2017 at 02:58:30PM -0600, Eric Snowberg wrote: > > >>> On Oct 6, 2017, at 8:04 AM, Daniel Kiper > wrote: >

Re: [PATCH] ls: prevent double open

2017-10-18 Thread Vladimir &#x27;phcoder' Serbinenko
On Mon, Oct 16, 2017, 22:11 Eric Snowberg wrote: > Prevent a double open. This can cause problems with some ieee1275 > devices, causing the system to hang. The double open can occur > as follows: > Why does it? Underlying firmware device should not be aware of how many times grub device is open

Re: [PATCH] ls: prevent double open

2017-10-18 Thread Vladimir &#x27;phcoder' Serbinenko
On Wed, Oct 18, 2017, 19:02 Eric Snowberg wrote: > > > On Oct 18, 2017, at 10:32 AM, Vladimir 'phcoder' Serbinenko < > phco...@gmail.com> wrote: > > > > > > > > On Mon, Oct 16, 2017, 22:11 Eric Snowberg > wrote: > > Prevent a double

Re: [PATCH] grub-core/commands/probe.c: Add bootable parameter

2017-12-12 Thread Vladimir &#x27;phcoder' Serbinenko
On Tue, Dec 12, 2017, 09:56 Carlo Caione wrote: > From: Carlo Caione > > Sometimes we are interested in checking whether an msdos partition has > the boot flag set. Introduce a new parameter to the probe command to > check this. > > Signed-off-by: Carlo Caione > --- > grub-core/commands/probe.

Re: [PATCH] grub-core/commands/probe.c: Add bootable parameter

2017-12-18 Thread Vladimir &#x27;phcoder' Serbinenko
On Wed, Dec 13, 2017, 12:30 Carlo Caione wrote: > On Tue, Dec 12, 2017 at 7:23 PM, Vladimir 'phcoder' Serbinenko > wrote: > > > > > > On Tue, Dec 12, 2017, 09:56 Carlo Caione wrote: > >> > >> From: Carlo Caione > >> > >>

Re: [PATCH] hexdump: Add parameter to save output to variable

2017-12-18 Thread Vladimir &#x27;phcoder' Serbinenko
On Thu, Dec 14, 2017, 07:00 Carlo Caione wrote: > From: Carlo Caione > > In endless we are using hexdump to read into the hiberfil.sys windows > file to detect if windows is hybernated or not. > > With this patch we introduce a new parameter to hexdump to enable the > possibility to save the out

Re: [HELP] cryptomount is slow, what is the proper way to [PATCH] libgcrypt-grub?

2018-01-26 Thread Vladimir &#x27;phcoder' Serbinenko
On Thu, 25 Jan 2018, 14:57 , wrote: > phcoder and everyone else on the list, hello. > > As many of you know, the builtin LUKS decryption in GRUB is a major feature > that enables many advanced setups, such as coreboot-based Full Disk > Encryption. > > However, it has been r

Re: [PATCH 1/2] mkimage: avoid copying relocations for sections that won't be copied.

2018-02-15 Thread Vladimir &#x27;phcoder' Serbinenko
Patch looks good. I'm sick right now. I'll commit in few days when I feel better unless someone commits it before Le mer. 31 janv. 2018 à 17:28, Peter Jones a écrit : > Some versions of gcc include a plugin called "annobin", and in some > build systems this is enabled by default. This plugin cr

Re: [PATCH 2/2] .mod files: Strip annobin annotations and .eh_frame, and their relocations

2018-02-15 Thread Vladimir &#x27;phcoder' Serbinenko
LGTM Le mer. 31 janv. 2018 à 17:28, Peter Jones a écrit : > This way debuginfo built from the .module will still include this > information, but the final result won't have the data we don't actually > need in the modules, either on-disk, loaded at runtime, or in prebuilt > images. > > Signed-of

Re: zfs preview

2009-04-26 Thread Vladimir &#x27;phcoder' Serbinenko
On Sun, Apr 26, 2009 at 3:17 AM, David Miller wrote: > From: Jordi Mallach > Date: Sun, 26 Apr 2009 02:58:47 +0200 > > > He surely will, yes... if you take into account that phcoder /is/ > Vladimir. > > This reminds me that I've had some serious trouble > finding

Re: [PATCH] Preboot support

2009-04-26 Thread Vladimir &#x27;phcoder' Serbinenko
"restore" things to the pre-preboot_func state. Something like > this anyway.. its not yet real clear to me either. > > phcoder wrote: > >> Yoshinori K. Okuji wrote: >> >> - I don't understand how preboot_func and preboot_rest_func are >>&

Re: [PATCH] Split #2: parser/reader separation

2009-04-26 Thread Vladimir &#x27;phcoder' Serbinenko
standalone > source file normal/dyncmd.c and normal/autofs.c. > > -- > Bean > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'phco

Re: [PATCH] Preboot support

2009-04-27 Thread Vladimir &#x27;phcoder' Serbinenko
Commited On Sun, Apr 26, 2009 at 4:38 PM, Vladimir 'phcoder' Serbinenko < phco...@gmail.com> wrote: > Warning fixed in the patch. If nobody objects I commit it tomorrow > > > On Wed, Apr 15, 2009 at 10:40 AM, John Stanley wrote: > >> The way it looks to me is

Re: idea: adjust conf file layout

2009-04-27 Thread Vladimir &#x27;phcoder' Serbinenko
le FS_SOURCES which will be added to tools sources in corresponding files. This is useful because different platforms provide different set of tools > > > -- > Bean > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Use symbol database to maintain module dependence

2009-04-27 Thread Vladimir &#x27;phcoder' Serbinenko
_ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Split #2: parser/reader separation

2009-04-27 Thread Vladimir &#x27;phcoder' Serbinenko
On Mon, Apr 27, 2009 at 7:51 AM, Bean wrote: > On Sun, Apr 26, 2009 at 11:50 PM, Vladimir 'phcoder' Serbinenko > wrote: > > Hello this patch breaks grub-emu. Also some files include grub/rescue.h > and > > this has to be fixed. > > Hi, > > For lar

Re: [PATCH] ACPI spoofing

2009-04-27 Thread Vladimir &#x27;phcoder' Serbinenko
Should work on EFI now On Sat, Apr 11, 2009 at 11:06 PM, phcoder wrote: > Hello, here is the patch to spoof ACPI tables. It's useful for developement > and debugging but also for the end-users. Unfortunately many manufacturers > ship ACPI tables that work well only with win. F

Re: [PATCH] Split #2: parser/reader separation

2009-05-01 Thread Vladimir &#x27;phcoder' Serbinenko
ot >> > necessary for rescue prompt) >> >> Good point. >> >> -- >> Bean >> >> >> ___ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel >> > &

[BUGFIX] lexer waits for space to terminate the varname

2009-05-02 Thread Vladimir &#x27;phcoder' Serbinenko
Hello. A varname may be terminated by any character which isn't in a set [A-Za-z0-9_] and not only space. Here is a fix -- Regards Vladimir 'phcoder' Serbinenko diff --git a/kern/parser.c b/kern/parser.c index e931853..feaee09 100644 --- a/kern/parser.c +++ b/kern/parser.c

Re: absence notice...

2009-05-02 Thread Vladimir &#x27;phcoder' Serbinenko
I might read this mailing list occasionally, but don't be suppriced if I > do not notice questions addressed to me. > > Thanks, > Vesa Jääskeläinen > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] ACPI spoofing

2009-05-02 Thread Vladimir &#x27;phcoder' Serbinenko
commited On Mon, Apr 27, 2009 at 9:37 PM, Vladimir 'phcoder' Serbinenko < phco...@gmail.com> wrote: > Should work on EFI now > > On Sat, Apr 11, 2009 at 11:06 PM, phcoder wrote: > >> Hello, here is the patch to spoof ACPI tables. It's useful for >> de

Re: [PATCH] efiemu

2009-05-02 Thread Vladimir &#x27;phcoder' Serbinenko
commited On Mon, Apr 27, 2009 at 9:40 PM, Vladimir 'phcoder' Serbinenko < phco...@gmail.com> wrote: > Install scripts fixed. Additionally now skipped commands (efiemu_loadcore, > efiemu_pnvram) are executed automatically > > > On Wed, Apr 15, 2009 at 12:10 AM, phc

Re: [PATCH] xnu

2009-05-02 Thread Vladimir &#x27;phcoder' Serbinenko
commited On Mon, Apr 27, 2009 at 9:42 PM, Vladimir 'phcoder' Serbinenko < phco...@gmail.com> wrote: > Update. No need to initialize efiemu manually anymore > > On Wed, Apr 15, 2009 at 12:46 AM, phcoder wrote: > >> Hello. Here is my xnu patch. Tested on i386-

Re: [BUGFIX] lexer waits for space to terminate the varname

2009-05-03 Thread Vladimir &#x27;phcoder' Serbinenko
2) echo $hello or add the terminating > character explicitly in the transition table: > > > { GRUB_PARSER_STATE_VARNAME, GRUB_PARSER_STATE_TEXT, '/ ', 1}, > > > On Sat, May 2, 2009 at 8:02 PM, Vladimir 'phcoder' Serbinenko

Re: [PATCH] FreeBSD 64-bit kernel support

2009-05-03 Thread Vladimir &#x27;phcoder' Serbinenko
/boot/device.hints > set FreeBSD.vfs.root.mountfrom=ufs:/dev/ad0s1a > boot > > Test successfully on FreeBSD 7.1 amd64. > > -- > Bean > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinf

Re: status grub2 port of grub-legasy map command

2009-05-03 Thread Vladimir &#x27;phcoder' Serbinenko
(hd1) aren't swapped in grub2 > > -- > -- Lazy, Oblivious, Recurrent Disaster -- Habbit > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] xnu

2009-05-03 Thread Vladimir &#x27;phcoder' Serbinenko
On Sun, May 3, 2009 at 6:32 AM, Bean wrote: > Hi, > > xnu usage is quite complicated, perhaps you could write a wiki page on it. > On it > > On Sun, May 3, 2009 at 7:20 AM, Vladimir 'phcoder' Serbinenko > wrote: > > commited > > > > O

[PATCH] hfs+ uuid

2009-05-03 Thread Vladimir &#x27;phcoder' Serbinenko
This is a patch to support UUIDs on HFS+. MD5 code is copied from Michael Gorven's patch which is copied from libgcrypt nearly verbatim. Thanks for Cris for the info about how xnu expects UUID to be -- Regards Vladimir 'phcoder' Serbinenko diff --git a/commands/xnu_uuid.c b/comm

Re: [BUGFIX] lexer waits for space to terminate the varname

2009-05-03 Thread Vladimir &#x27;phcoder' Serbinenko
On Sun, May 3, 2009 at 2:37 PM, Bean wrote: > Hi, > > On Sun, May 3, 2009 at 5:12 PM, Vladimir 'phcoder' Serbinenko > wrote: > > Hello > > > > On Sat, May 2, 2009 at 4:08 PM, Bean wrote: > >> > >> Hi, > >> > &g

<    3   4   5   6   7   8   9   10   11   12   >