Bug 1900233 - Grub fails to boot with tpm.c errors

2021-07-21 Thread Bruno Parisi
Hi all, Apologies if I'm doing this wrong but I've never had to contact you before. There is a bug that was logged on RedHat Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1900233 Which a user and myself both have the same issue. I'm running a Lenovo C940 and if I recall he has a C740. The

Re: [PATCH v2 1/2] osdep: Introduce major.h and use it

2021-07-21 Thread Daniel Kiper
On Thu, Jul 15, 2021 at 05:35:27PM +0200, Petr Vorel wrote: > to factor out fix for glibc 2.25 introduced in 7a5b301e3 ("build: Use > AC_HEADER_MAJOR to find device macros"). > > NOTE: Once glibc 2.25 is old enough and this fix is not needed also > AC_HEADER_MAJOR in configure.ac should be removed.

Re: [PATCH v2 2/2] linux/hostdisk: use stat() instead of udevadm for partition lookup

2021-07-21 Thread Daniel Kiper
On Thu, Jul 15, 2021 at 05:35:28PM +0200, Petr Vorel wrote: > From: Jeff Mahoney > > sysfs_partition_path() calls udevadm to resolve the sysfs path for > a block device. That can be accomplished by stating the device node > and using the major/minor to follow the symlinks in /sys/dev/block/. > > T

Re: [PATCH v2 1/4] ieee1275: drop HEAP_MAX_ADDR, HEAP_MIN_SIZE

2021-07-21 Thread Daniel Kiper
On Tue, Jul 20, 2021 at 05:14:46PM -0400, Stefan Berger wrote: > From: Daniel Axtens > > HEAP_MAX_ADDR is confusing. Currently it is set to 32MB, except > on ieee1275 on x86, where it is 64MB. > > There is a comment which purports to explain it: > > /* If possible, we will avoid claiming heap abov

Re: [PATCH v2 02/22] ieee1275: claim more memory

2021-07-21 Thread Daniel Kiper
On Fri, Jul 16, 2021 at 05:59:20AM +0200, Patrick Steinhardt wrote: > On Thu, Jul 15, 2021 at 11:51:04PM +0200, Daniel Kiper wrote: > > CC-in a few people who can be interested in this... > > > > On Wed, Jun 30, 2021 at 06:40:11PM +1000, Daniel Axtens wrote: > > > On powerpc-ieee1275, we are runnin

Re: [PATCH v2 1/4] ieee1275: drop HEAP_MAX_ADDR, HEAP_MIN_SIZE

2021-07-21 Thread Stefan Berger
On 7/21/21 10:36 AM, Daniel Kiper wrote: On Tue, Jul 20, 2021 at 05:14:46PM -0400, Stefan Berger wrote: From: Daniel Axtens HEAP_MAX_ADDR is confusing. Currently it is set to 32MB, except on ieee1275 on x86, where it is 64MB. There is a comment which purports to explain it: /* If possible,

Re: Bug 1900233 - Grub fails to boot with tpm.c errors

2021-07-21 Thread Daniel Kiper
CC-ing James and Javier... On Wed, Jul 21, 2021 at 09:53:48PM +1000, Bruno Parisi wrote: > Hi all, > > Apologies if I'm doing this wrong but I've never had to contact you before. > There is a bug that was logged on RedHat Bugzilla https://bugzilla.redhat.com/ > show_bug.cgi?id=1900233 > > Which a

Re: [PATCH] Adjust deprecated QEMU device name.

2021-07-21 Thread Daniel Kiper
On Fri, Jul 16, 2021 at 05:22:42PM +0100, Dimitri John Ledkov wrote: > On Wed, Jul 7, 2021 at 2:52 PM Daniel Kiper wrote: > > > > On Sun, Jun 13, 2021 at 03:11:51PM +0200, Marius Bakke wrote: > > > The 'ide-drive' device was removed in QEMU 6.0. > > > > Could you add your Signed-off-by? > > > > >

Re: [PATCH v2 02/22] ieee1275: claim more memory

2021-07-21 Thread Stefan Berger
On 7/21/21 10:45 AM, Daniel Kiper wrote: On Fri, Jul 16, 2021 at 05:59:20AM +0200, Patrick Steinhardt wrote: On Thu, Jul 15, 2021 at 11:51:04PM +0200, Daniel Kiper wrote: CC-in a few people who can be interested in this... On Wed, Jun 30, 2021 at 06:40:11PM +1000, Daniel Axtens wrote: On pow

Re: Bug 1900233 - Grub fails to boot with tpm.c errors

2021-07-21 Thread Bruno Parisi
Hi! Thank you so much for getting back to me so quickly. I'd be more than happy to try the patch out, unfortunately I'm not familiar with how to apply it. Would you have instruction for me to follow? I see + & - element so I'm guessing I'm to remove/replace these lines in a file but I see Git comm