GNU bug report logs - #43362
Linux kernel 5.8.8 and newer

Previous Next

Package: parted;

Reported by: Bureau <skyrostyan <at> orange.fr>

Date: Sat, 12 Sep 2020 20:28:01 UTC

Severity: normal

Done: "Brian C. Lane" <bcl <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Bureau <skyrostyan <at> orange.fr>
Subject: bug#43362: closed (Re: bug#43362: SOLVED)
Date: Mon, 14 Sep 2020 18:00:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#43362: Linux kernel 5.8.8 and newer

which was filed against the parted package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 43362 <at> debbugs.gnu.org.

-- 
43362: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43362
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Brian C. Lane" <bcl <at> redhat.com>
To: Bureau <skyrostyan <at> orange.fr>
Cc: 43362-close <at> debbugs.gnu.org
Subject: Re: bug#43362: SOLVED
Date: Mon, 14 Sep 2020 10:59:06 -0700
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


[Message part 3 (message/rfc822, inline)]
From: Bureau <skyrostyan <at> orange.fr>
To: bug-parted <at> gnu.org
Subject: Linux kernel 5.8.8 and newer
Date: Sat, 12 Sep 2020 17:35:00 +0200
Hello,

Since kernel 5.8.8, parted gives the following error message each time 
parted attempts to modify something on the disk.

libparted 3.3
Partition(s) 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 
39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 
57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 
75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 
93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 
109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 
123, 124, 125, 126, 127, 128 on /dev/sda have been written, but we have 
been unable to inform the kernel of the change, probably because it/they 
are in use.  As a result, the old partition(s) will remain in use.  You 
should reboot now before making further changes.

In the example above, my disk contains 4 real partitions.
This bug appears on all the computers I have tried here.
Is this a new kernel feature or a parted bug?

Best regards.

Alain



This bug report was last modified 4 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.