emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43362: closed (Linux kernel 5.8.8 and newer)


From: GNU bug Tracking System
Subject: bug#43362: closed (Linux kernel 5.8.8 and newer)
Date: Mon, 14 Sep 2020 18:00:02 +0000

Your message dated Mon, 14 Sep 2020 10:59:06 -0700
with message-id <20200914175906.GB24535@ohop.brianlane.com>
and subject line Re: bug#43362: SOLVED
has caused the debbugs.gnu.org bug report #43362,
regarding Linux kernel 5.8.8 and newer
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
43362: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43362
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Linux kernel 5.8.8 and newer Date: Sat, 12 Sep 2020 17:35:00 +0200 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.1.1
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



--- End Message ---
--- Begin Message --- 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



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]