Subject: Re: bug#43362: SOLVED
From: "Brian C. Lane" <[email-masked]>
To: Bureau <[email-masked]>
Cc: [email-masked]
Date: Mon, 14 Sep 2020 10:59:06 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

On Sun, Sep 13, 2020 at 05:51:50PM +0200, Bureau wrote:
> 
> Hello,
> 
> After digging in the kernel, it is a new kernel feature.
> 
> In kernel source files :
> 
> block/partitions/core.c
> 
> have been changed.
> 
> To get parted-3.3 working again, in the source code of parted-3.3, 
> modify the file:
> 
> libparted/arch/linux.c
> 
> in the function :
> 
> static int _disk_sync_part_table()
> 
> line 3203, replace :
> 
> if (ok [i - 1] || errnums [i - 1] == ENXIO
> by
> if (ok [i - 1] || errnums [i - 1] == ENOMEM
> 
> Accordingly to the changes made in block/partitions/core.c
> That is making parted working again.

I dug into this and it's a kernel bug that will be fixed in 5.9 rc5 as
well as backported to 5.8.10 so changing it in parted isn't the right
solution.

Thanks,

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart