Re: bli module inclusion gives me just black screen on real hardware

2023-09-27 Thread Oliver Steffen
Quoting Daniel Kiper (2023-09-26 17:57:05) > On Sat, Aug 12, 2023 at 03:01:19PM +0200, Tobias Powalowski via Grub-devel > wrote: > > Am 12.08.23 um 14:52 schrieb Oliver Steffen: > > > Quoting Daniel Kiper (2023-08-11 18:13:57) > > > > Hi, > > > > > > > > Sorry for late reply but I was on vacation.

Re: Relocation overflow on RISC-V with multi-range memory layout

2023-09-27 Thread Daniel Kiper
Adding Atish... On Wed, Sep 27, 2023 at 02:16:40PM +0800, Wu, Fei wrote: > On 9/25/2023 4:51 PM, Wu, Fei wrote: > > Hi All, > > > > I'm enabling PCIe passthrough on qemu riscv, the physical memory > > range between 3GB and 4GB is reserved. Therefore if guest has 4GB ram, > > two ranges are created

Re: [PATCH] Add support for specifying the boot device by label

2023-09-27 Thread Daniel Kiper
On Wed, Sep 27, 2023 at 06:51:38AM +, darkpenguin wrote: > Here is an updated patch that uses GRUB_ENABLE_LINUX_LABEL=true instead. > > Supporting whitespace or other symbols in the label doesn't make sense > until we can figure out how to properly specify them in grub.cfg - so > far, nothing I

Re: [PATCH] Add support for specifying the boot device by label

2023-09-27 Thread darkpenguin
Oh, so that's how you send them! Thanks, I did not know the correct procedure. On 27/09/23 14:16, Daniel Kiper wrote: > On Wed, Sep 27, 2023 at 06:51:38AM +, darkpenguin wrote: >> Here is an updated patch that uses GRUB_ENABLE_LINUX_LABEL=true instead. >> >> Supporting whitespace or other sym

[PATCH 1/2] Allow specifying the boot device by its label instead of UUID

2023-09-27 Thread darkpenguin
--- util/grub-mkconfig_lib.in | 14 +++--- util/grub.d/10_linux.in | 3 +++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/util/grub-mkconfig_lib.in b/util/grub-mkconfig_lib.in index 08953287c..bd43bc01d 100644 --- a/util/grub-mkconfig_lib.in +++ b/util/grub-mkconfig_li

[PATCH 2/2] Use GRUB_ENABLE_LINUX_LABEL=true instead of GRUB_DISABLE_LINUX_UUID=LABEL

2023-09-27 Thread darkpenguin
--- util/grub-mkconfig.in | 1 + util/grub-mkconfig_lib.in | 2 +- util/grub.d/10_linux.in | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in index 32c480dae..fb5000d3f 100644 --- a/util/grub-mkconfig.in +++ b/util/grub-mkconf

[PATCH 0/2] Add support for specifying the boot device by label

2023-09-27 Thread darkpenguin
Here is an updated patch that uses GRUB_ENABLE_LINUX_LABEL=true instead. Supporting whitespace or other symbols in the label doesn't make sense until we can figure out how to properly specify them in grub.cfg - so far, nothing I've tried works (escaping, quoting, %20, \x20). darkpenguin (2):

Re: A question about --removable

2023-09-27 Thread Daniel Kiper
Hey, On Fri, Sep 01, 2023 at 11:53:28PM -0500, Oskari Pirhonen wrote: > Hi, > > Recently me and a few others were helping someone in #gentoo on > libera.chat with their Gentoo install. Things were going smoothly up > until rebooting into the fresh installation. Instead of getting GRUB, it > kept b

Re: [PATCH] Add support for specifying the boot device by label

2023-09-27 Thread Vladimir 'phcoder' Serbinenko
Le mer. 27 sept. 2023, 08:52, darkpenguin a écrit : > Here is an updated patch that uses GRUB_ENABLE_LINUX_LABEL=true instead. > > Supporting whitespace or other symbols in the label doesn't make sense > until we can figure out how to properly specify them in grub.cfg - so > far, nothing I've tri

Re: Relocation overflow on RISC-V with multi-range memory layout

2023-09-27 Thread Vladimir 'phcoder' Serbinenko
That is not the correct solution. Correct solution is to use trampoline facility like e.g. ppc does. Can you post the full reproduction instructions? Le lun. 25 sept. 2023, 10:53, Wu, Fei a écrit : > Hi All, > > I'm enabling PCIe passthrough on qemu riscv, the physical memory > range between 3GB

Re: [PATCH] Add support for specifying the boot device by label

2023-09-27 Thread darkpenguin
I've tried manually specifying a boot device, by editing the menu items while in the grub menu - to confirm that it works before tackling propagation. And I just confirmed it again - no, none of them work. I manually change "search --no-floppy --set=root --fs-uuid ..." to "<...> --label my\ label"

Re: [PATCH 1/2] Allow specifying the boot device by its label instead of UUID

2023-09-27 Thread Vladimir 'phcoder' Serbinenko
Please don't segment patches like this showing 2 solutions. Just have the patch for the agreed solution Le mer. 27 sept. 2023, 13:14, darkpenguin a écrit : > --- > util/grub-mkconfig_lib.in | 14 +++--- > util/grub.d/10_linux.in | 3 +++ > 2 files changed, 14 insertions(+), 3 deletio

Re: [PATCH 1/2] Allow specifying the boot device by its label instead of UUID

2023-09-27 Thread darkpenguin
That's what I'd like to do, but I couldn't figure out how to make 'git format-patch -2' output a single patch. It always outputs one patch per commit. Is there an option I've missed, or is there no other way than creating a throwaway repo to squash the commits before sending? On 27/09/23 19:50,

Re: [PATCH 1/2] Allow specifying the boot device by its label instead of UUID

2023-09-27 Thread Heinrich Schuchardt
On 9/27/23 18:02, darkpenguin wrote: That's what I'd like to do, but I couldn't figure out how to make 'git format-patch -2' output a single patch. It always outputs one patch per commit. Is there an option I've missed, or is there no other way than creating a throwaway repo to squash the commit

[PATCH] Allow specifying the boot device by its label instead of UUID

2023-09-27 Thread darkpenguin
Here it is, as a single patch, and in reply to the corresponding thread this time! --- util/grub-mkconfig.in | 1 + util/grub-mkconfig_lib.in | 14 +++--- util/grub.d/10_linux.in | 3 +++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/util/grub-mkconfig.in b/util

Re: [PATCH] Add support for specifying the boot device by label

2023-09-27 Thread Vladimir 'phcoder' Serbinenko
Le mer. 27 sept. 2023, 17:43, darkpenguin a écrit : > I've tried manually specifying a boot device, by editing the menu items > while in the grub menu - to confirm that it works before tackling > propagation. And I just confirmed it again - no, none of them work. > > I manually change "search --n

Re: [PATCH] Allow specifying the boot device by its label instead of UUID

2023-09-27 Thread Vladimir 'phcoder' Serbinenko
Le mer. 27 sept. 2023, 18:26, darkpenguin a écrit : > Here it is, as a single patch, and in reply to the corresponding thread > this time! > > --- > util/grub-mkconfig.in | 1 + > util/grub-mkconfig_lib.in | 14 +++--- > util/grub.d/10_linux.in | 3 +++ > 3 files changed, 15 inse

[PATCH v3] Fix XFS directory extent parsing

2023-09-27 Thread Jon DeVree
The XFS directory entry parsing code has never been completely correct for extent based directories. The parser correctly handles the case where the directory is contained in a single extent, but then mistakenly assumes the data blocks for the multiple extent case are each identical to the single e

Re: [PATCH] Allow specifying the boot device by its label instead of UUID

2023-09-27 Thread Oskari Pirhonen
I know you're just learning, so here's some more tips: Updated patches are generally sent as a "vN" where N is the revision of the series. `git format-patch` can do this nicely with the `-v` arg. This would make the subject line look like "[PATCH vN] Allow specifying the boot device by its label i