Skip to contentSkip to conversation

6.1.2-rc1 review

PATCH Walt Holman 2 participants 5 messages Dec 28, 2022 – Dec 30, 2022

lore
Share & tools
lore
#0 lore raw
Quoted 13 lines

This is the start of the stable review cycle for the 6.1.2 release. There are 1146 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Fri, 30 Dec 2022 14:41:29 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:
[ https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.2-rc1.gz | https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.2-rc1.gz ] > or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
and the diffstat can be found below.

Quoted 5 lines

thanks,

greg k-h

-------------

Hello,

I'm getting a NULL Pointer Dereference when shutting down or rebooting. It happens just as it tries to shut down the swap device ( /dev/dm-3 ). This happens late in the shutdown process and nothing gets saved in the logs. However, I've attached a photo of my screen showing the Oops and stack trace. Let me know if there's anything you'd like me to try.

-Walt

#1 lore raw
Quoted 15 lines · Walt Holman
Quoted 15 lines

This is the start of the stable review cycle for the 6.1.2 release. There are 1146 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Fri, 30 Dec 2022 14:41:29 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:
[ https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.2-rc1.gz | https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.2-rc1.gz ] > or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
and the diffstat can be found below.

thanks,

Quoted 7 lines
Quoted 3 lines

greg k-h

-------------

Hello,

I'm getting a NULL Pointer Dereference when shutting down or rebooting. It happens just as it tries to shut down the swap device ( /dev/dm-3 ). This happens late in the shutdown process and nothing gets saved in the logs. However, I've attached a photo of my screen showing the Oops and stack trace. Let me know if there's anything you'd like me to try.

Does this happen with 6.1.1 also?

Can you use 'git bisect' to track down the offending change?

thanks,

greg k-h

#2 lore raw
Quoted 31 lines · ----- On Dec 29, 2022, at 1:13 AM, Greg KH [email protected] wrote:
Quoted 22 lines · Walt Holman
Quoted 14 lines

This is the start of the stable review cycle for the 6.1.2 release. There are 1146 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Fri, 30 Dec 2022 14:41:29 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:
[ https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.2-rc1.gz
| https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.2-rc1.gz
] > or in the git tree and branch at:

	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
	linux-6.1.y
Quoted 7 lines

and the diffstat can be found below.

thanks,

greg k-h

-------------

Quoted 7 lines

Hello,

I'm getting a NULL Pointer Dereference when shutting down or rebooting. It happens just as it tries to shut down the swap device ( /dev/dm-3 ). This happens late in the shutdown process and nothing gets saved in the logs. However, I've attached a photo of my screen showing the Oops and stack trace. Let me know if there's anything you'd like me to try.

Quoted 7 lines

Does this happen with 6.1.1 also?

Can you use 'git bisect' to track down the offending change?

thanks,

greg k-h

This does NOT happen with 6.1.1 I'll get on bisecting here in a bit. I'm wondering about the changes that were made to blk-mq.c That's where the new quiesce code and the null pointer dereference occur. I'll start by rolling back that commit and see what happens before bisecting.

-Walt

author Reviewed-by Keith Busch Reviewed-by Ming Lei Reviewed-by Chao Leng Reviewed-by Sagi Grimberg Reviewed-by Hannes Reinecke Reviewed-by Chaitanya Kulkarni
#3 lore raw
In reply to Greg KH
Quoted 31 lines · ----- On Dec 29, 2022, at 1:13 AM, Greg KH [email protected] wrote:
Quoted 22 lines · Walt Holman
Quoted 14 lines

This is the start of the stable review cycle for the 6.1.2 release. There are 1146 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Fri, 30 Dec 2022 14:41:29 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:
[ https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.2-rc1.gz
| https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.2-rc1.gz
] > or in the git tree and branch at:

	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
	linux-6.1.y
Quoted 7 lines

and the diffstat can be found below.

thanks,

greg k-h

-------------

Quoted 7 lines

Hello,

I'm getting a NULL Pointer Dereference when shutting down or rebooting. It happens just as it tries to shut down the swap device ( /dev/dm-3 ). This happens late in the shutdown process and nothing gets saved in the logs. However, I've attached a photo of my screen showing the Oops and stack trace. Let me know if there's anything you'd like me to try.

Quoted 7 lines

Does this happen with 6.1.1 also?

Can you use 'git bisect' to track down the offending change?

thanks,

greg k-h

Bisecting the kernel results in the following:

273d29fa4beb3954c970b6377a2aa6ee442b1430 is the first bad commit commit 273d29fa4beb3954c970b6377a2aa6ee442b1430

Author: Christoph Hellwig <[email protected]>
Date:   Tue Nov 1 16:00:47 2022 +0100

blk-mq: move the srcu_struct used for quiescing to the tagset

[ Upstream commit 80bd4a7aab4c9ce59bf5e35fdf52aa23d8a3c9f5 ]

All I/O submissions have fairly similar latencies, and a tagset-wide quiesce is a fairly common operation.

Stable-dep-of: d36a9ea5e776 ("block: fix use-after-free of q->q_usage_counter")

 block/blk-core.c       | 27 +++++----------------------
 block/blk-mq.c         | 33 +++++++++++++++++++++++++--------
 block/blk-mq.h         | 14 +++++++-------
 block/blk-sysfs.c      |  9 ++-------
 block/blk.h            |  9 +--------
 block/genhd.c          |  2 +-
 include/linux/blk-mq.h |  4 ++++
 include/linux/blkdev.h |  9 ---------
 8 files changed, 45 insertions(+), 62 deletions(-)

-Walt

#4 lore raw
Quoted 41 lines · Walt Holman
Quoted 31 lines · ----- On Dec 29, 2022, at 1:13 AM, Greg KH [email protected] wrote:
Quoted 22 lines · Walt Holman
Quoted 14 lines

This is the start of the stable review cycle for the 6.1.2 release. There are 1146 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Fri, 30 Dec 2022 14:41:29 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:
[ https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.2-rc1.gz
| https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.2-rc1.gz
] > or in the git tree and branch at:

	git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
	linux-6.1.y
Quoted 7 lines

and the diffstat can be found below.

thanks,

greg k-h

-------------

Quoted 7 lines

Hello,

I'm getting a NULL Pointer Dereference when shutting down or rebooting. It happens just as it tries to shut down the swap device ( /dev/dm-3 ). This happens late in the shutdown process and nothing gets saved in the logs. However, I've attached a photo of my screen showing the Oops and stack trace. Let me know if there's anything you'd like me to try.

Quoted 7 lines

Does this happen with 6.1.1 also?

Can you use 'git bisect' to track down the offending change?

thanks,

greg k-h

Quoted 8 lines

Bisecting the kernel results in the following:

273d29fa4beb3954c970b6377a2aa6ee442b1430 is the first bad commit commit 273d29fa4beb3954c970b6377a2aa6ee442b1430

Author: Christoph Hellwig <[email protected]>
Date:   Tue Nov 1 16:00:47 2022 +0100

blk-mq: move the srcu_struct used for quiescing to the tagset

Thanks, I've now dropped this from 6.0 and 6.1 queues.

greg k-h