Skip to contentSkip to conversation

Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size"

DISCUSSION Daniel Golle 3 participants 6 messages Apr 15, 2023 – Apr 17, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

please pick

1e020e1b96afd ("ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size")

from linux-next to stable trees.
The commit fixes a problem with another recent commit

1b42b1a36fc94 ("ubi: ensure that VID header offset ... size")

which has already made it to stable trees and thereby broke attaching UBI and hence renders devices unbootable.

As a temporary fix I have applied this patch downstream in OpenWrt.

Thank you!

Best regards

Daniel

----- Forwarded message from Daniel Golle <[email protected]> -----

Date: Sat, 15 Apr 2023 00:12:46 +0100
From: Daniel Golle <[email protected]>
To: Richard Weinberger <[email protected]>
Cc: Miquel Raynal <[email protected]>, chengzhihao1 <[email protected]>, Nicolas Schichan <[email protected]>, George Kennedy <[email protected]>, linux-kernel <[email protected]>, linux-mtd
<[email protected]>, Sascha Hauer <[email protected]>, yi zhang <[email protected]>
Subject: Re: [PATCH -next v3] ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size

Hi Richard,

Quoted 11 lines · Richard Weinberger

----- Ursprüngliche Mail -----

Quoted 8 lines

Von: "Miquel Raynal" <[email protected]>

Quoted 3 lines

Thanks for testing.

Quoted 1 line

Same here.

Applied to next, PR will follow soon.

As stable linux trees are affected I wonder when this will hit linux-stable, ie. will it be part of 5.15.108, for example?

Cheers

Daniel

----- End forwarded message -----

maintainer
#1 lore raw
Quoted 7 lines · Daniel Golle

Hi,

please pick

1e020e1b96afd ("ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size")

from linux-next to stable trees.

We need to have it hit Linus's tree first. Any reason why it isn't there yet?

thanks,

greg k-h

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

#2 lore raw
In reply to Daniel Golle

----- Ursprüngliche Mail -----

Quoted 8 lines

Von: "Daniel Golle" <[email protected]>
An: "stable" <[email protected]>, "linux-mtd" <[email protected]>
CC: "Hauke Mehrtens" <[email protected]>, "richard" <[email protected]>, "Miquel Raynal" <[email protected]>, "chengzhihao1" <[email protected]>, "Nicolas Schichan" <[email protected]>, "George Kennedy" <[email protected]>, "Sascha Hauer" <[email protected]>, "yi zhang" <[email protected]>
Gesendet: Samstag, 15. April 2023 20:02:26
Betreff: Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size"

Quoted 8 lines

Hi,

please pick

1e020e1b96afd ("ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size")

from linux-next to stable trees.

FYI, the fix is not yet in Linus' master. But I guess it will be very soon. The pull request is on the mailinglist.

Thanks,
//richard

maintainer
#3 lore raw
Quoted 13 lines · Richard Weinberger

----- Ursprüngliche Mail -----

Quoted 12 lines

Von: "Daniel Golle" <[email protected]>
An: "stable" <[email protected]>, "linux-mtd" <[email protected]>
CC: "Hauke Mehrtens" <[email protected]>, "richard" <[email protected]>, "Miquel Raynal" <[email protected]>, "chengzhihao1" <[email protected]>, "Nicolas Schichan" <[email protected]>, "George Kennedy" <[email protected]>, "Sascha Hauer" <[email protected]>, "yi zhang" <[email protected]>
Gesendet: Samstag, 15. April 2023 20:02:26
Betreff: Request to pick "ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size"

Hi,

please pick

Quoted 7 lines
Quoted 4 lines

1e020e1b96afd ("ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size")

from linux-next to stable trees.

FYI, the fix is not yet in Linus' master. But I guess it will be very soon. The pull request is on the mailinglist.

Any specific reason why it wasn't tagged cc: stable@ if it was known to be fixing a regression so that we would pick it up automatically?

thanks,

greg k-h

#4 lore raw

----- Ursprüngliche Mail -----

Quoted 3 lines

Von: "Greg Kroah-Hartman" <[email protected]>
Any specific reason why it wasn't tagged cc: stable@ if it was known to be fixing a regression so that we would pick it up automatically?

Because I noticed only after I pushed already to next and therefore planned to inform you by mail. But Daniel was faster...

Thanks,
//richard

maintainer
#5 lore raw
In reply to Daniel Golle
Quoted 9 lines · Daniel Golle

Hi,

please pick

1e020e1b96afd ("ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size")

from linux-next to stable trees.
The commit fixes a problem with another recent commit

Quoted 6 lines

1b42b1a36fc94 ("ubi: ensure that VID header offset ... size")

which has already made it to stable trees and thereby broke attaching UBI and hence renders devices unbootable.

As a temporary fix I have applied this patch downstream in OpenWrt.

Now queued up, thanks.

greg k-h