Fwd: kernel 6.6.x and higher , apci reboot problems

From: Bagas Sanjaya
Date: Sun Nov 19 2023 - 09:16:48 EST


Hi,

I notice a regression report on Bugzilla [1] (albeit terse). Quoting
from it:

> since kernel 6.6 problems , reboot fails or me muss use double enter key .
> under xfce4 it jumps on console and hangs.
>
> restart under xfce4 fails shutdown also --- 6.5.11 it works all fine
>
> regards
>
> ps: all pcs . notebooks , nucs, workstation

Then another reporter can reproduce the regression with bisection:

> I have found a similar problem but in my case I don't think it's related to ACPI. In fact the problem is still there after adding the kernel option acpi=off. @walter59, can you test on your system by disabling ACPI too?
>
> During system shutdown, started by "shutdown -h now", the process hangs (but the system is still working) during stopping of samba service. Instead the reboot still works.
>
> My problem appeared with the upgrade 6.5.11 -> 6.6-rc1 so I have bisected until I have found the first bad commit:
>
> $ git bisect log
>
> git bisect start
> # status: waiting for both good and bad commits
> # good: [799441832db16b99e400ccbec55db801e6992819] Linux 6.5.11
> git bisect good 799441832db16b99e400ccbec55db801e6992819
> # status: waiting for bad commit, 1 good commit known
> # bad: [0bb80ecc33a8fb5a682236443c1e740d5c917d1d] Linux 6.6-rc1
> git bisect bad 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
> # good: [2dde18cd1d8fac735875f2e4987f11817cc0bc2c] Linux 6.5
> git bisect good 2dde18cd1d8fac735875f2e4987f11817cc0bc2c
> # bad: [461f35f014466c4e26dca6be0f431f57297df3f2] Merge tag 'drm-next-2023-08-30' of git://anongit.freedesktop.org/drm/drm
> git bisect bad 461f35f014466c4e26dca6be0f431f57297df3f2
> # bad: [bd6c11bc43c496cddfc6cf603b5d45365606dbd5] Merge tag 'net-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
> git bisect bad bd6c11bc43c496cddfc6cf603b5d45365606dbd5
> # good: [6c9cfb853063f317b2953c5e852b6bac1eb0cade] net: ethernet: mtk_wed: minor change in wed_{tx,rx}info_show
> git bisect good 6c9cfb853063f317b2953c5e852b6bac1eb0cade
> # bad: [ccc5e9817719f59b3dea7b7a168861b4bf0b4ff4] Merge tag 'pm-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
> git bisect bad ccc5e9817719f59b3dea7b7a168861b4bf0b4ff4
> # bad: [68cadad11fe2ddd126b37a8fba3726be7fa0f5c6] Merge tag 'rcu.2023.08.21a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu
> git bisect bad 68cadad11fe2ddd126b37a8fba3726be7fa0f5c6
> # bad: [dd2c0198a8365dcc3bb6aed22313d56088e3af55] Merge tag 'erofs-for-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs
> git bisect bad dd2c0198a8365dcc3bb6aed22313d56088e3af55
> # bad: [ecd7db20474c3859d4d01f34aaabf41bd28c7d84] Merge tag 'v6.6-vfs.tmpfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
> git bisect bad ecd7db20474c3859d4d01f34aaabf41bd28c7d84
> # good: [e9d7d3cb9fb3f142df574664507ac0ee4a26365a] procfs: convert to ctime accessor functions
> git bisect good e9d7d3cb9fb3f142df574664507ac0ee4a26365a
> # good: [6f4aaee3faa84f00d38bfaba88a9f75d8c78e7e0] fat: make fat_update_time get its own timestamp
> git bisect good 6f4aaee3faa84f00d38bfaba88a9f75d8c78e7e0
> # bad: [2daf18a7884dc03d5164ab9c7dc3f2ea70638469] tmpfs,xattr: enable limited user extended attributes
> git bisect bad 2daf18a7884dc03d5164ab9c7dc3f2ea70638469
> # good: [6faddda69f623d38bb097640689901a4b5ff881a] libfs: Add directory operations for stable offsets
> git bisect good 6faddda69f623d38bb097640689901a4b5ff881a
> # bad: [2be4f05af71bb2a9958c5680c19e5a489636ff42] libfs: Remove parent dentry locking in offset_iterate_dir()
> git bisect bad 2be4f05af71bb2a9958c5680c19e5a489636ff42
> # bad: [a2e459555c5f9da3e619b7e47a63f98574dc75f1] shmem: stable directory offsets
> git bisect bad a2e459555c5f9da3e619b7e47a63f98574dc75f1
> # good: [23a31d87645c652734f89f477f69ddac9aa402cb] shmem: Refactor shmem_symlink()
> git bisect good 23a31d87645c652734f89f477f69ddac9aa402cb
> # first bad commit: [a2e459555c5f9da3e619b7e47a63f98574dc75f1] shmem: stable directory offsets

See Bugzilla for the full thread.

Anyway, I'm adding this regression to regzbot:

#regzbot introduced: a2e459555c5f9d https://bugzilla.kernel.org/show_bug.cgi?id=218147
#regzbot title: shmem's stable directory offsets hangs samba shutdown

Thanks.

[1]: https://bugzilla.kernel.org/show_bug.cgi?id=218147

--
An old man doll... just what I always wanted! - Clara