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




Reply via email to