Bug#864453: fanotify07 LTP testcase hangs process
On Fri, Apr 12, 2019 at 12:21:08AM +0200, Salvatore Bonaccorso wrote: > Hi, > > On Thu, Jun 08, 2017 at 09:23:33PM +0200, Helge Deller wrote: > > Package: linux > > Version: 4.9.30 > > > > The LTP testcase fanotify07 creates hanging processes > > with debian kernel 4.9.30 on the hppa platform. > > > > In the source code of LTP's fanotify07.c testcase one can read: > > * Kernel crashes should be fixed by: > > * 96d41019e3ac "fanotify: fix list corruption in fanotify_get_response()" > > * > > * Kernel hangs should be fixed by: > > * 05f0e38724e8 "fanotify: Release SRCU lock when waiting for userspace > > response" > > > > It seems upstream commit > > 05f0e38724e8 "fanotify: Release SRCU lock when waiting for userspace > > response" > > is missing in stable kernel 4.9.30 (and debian kernel), which explains why > > the > > testcase hangs. > > I didn't checked if the kernel crash fix is in 4.9.30. > > > > Can you backport at least the commit 05f0e38724e8 ? > > That looks has happened for the 4.9 stable series as in > https://lore.kernel.org/stable/20190411032430.17353-1-matthew.ruff...@canonical.com/ > and would be included afaics in 4.9.169. Looks actually that it again had to be dropped again for 4.9.169, as per https://lore.kernel.org/stable/20190415104228.ga9...@kroah.com/ Regards, Salvatore
Bug#864453: fanotify07 LTP testcase hangs process
Hi, On Thu, Jun 08, 2017 at 09:23:33PM +0200, Helge Deller wrote: > Package: linux > Version: 4.9.30 > > The LTP testcase fanotify07 creates hanging processes > with debian kernel 4.9.30 on the hppa platform. > > In the source code of LTP's fanotify07.c testcase one can read: > * Kernel crashes should be fixed by: > * 96d41019e3ac "fanotify: fix list corruption in fanotify_get_response()" > * > * Kernel hangs should be fixed by: > * 05f0e38724e8 "fanotify: Release SRCU lock when waiting for userspace > response" > > It seems upstream commit > 05f0e38724e8 "fanotify: Release SRCU lock when waiting for userspace response" > is missing in stable kernel 4.9.30 (and debian kernel), which explains why the > testcase hangs. > I didn't checked if the kernel crash fix is in 4.9.30. > > Can you backport at least the commit 05f0e38724e8 ? That looks has happened for the 4.9 stable series as in https://lore.kernel.org/stable/20190411032430.17353-1-matthew.ruff...@canonical.com/ and would be included afaics in 4.9.169. Regards, Salvatore
Bug#864453: fanotify07 LTP testcase hangs process
On Sun, 2017-06-18 at 10:40 +0200, Helge Deller wrote: > On 12.06.2017 16:58, Ben Hutchings wrote: > > On Thu, 2017-06-08 at 21:23 +0200, Helge Deller wrote: > > > Can you backport at least the commit 05f0e38724e8 ? > > > > This appears to depend on commit 9385a84d7e1f which looks hard to backport. > > Ben, if it's too much work, maybe just don't do it. > I think the upstream maintainer wrote something in his commit > message that fixing this issue in backports might be hard/impossible. > > When running the testsuite, the kernel additionally reported that processes > may hang, and tainted itself accordingly. Sadly I don't have the > exact kernel message at hand right now. That's a Debian-specific warning for use of fanotify permission checking, which I suspect this test would always trigger. Ben. -- Ben Hutchings Design a system any fool can use, and only a fool will want to use it. signature.asc Description: This is a digitally signed message part
Bug#864453: fanotify07 LTP testcase hangs process
On 12.06.2017 16:58, Ben Hutchings wrote: > On Thu, 2017-06-08 at 21:23 +0200, Helge Deller wrote: >> Can you backport at least the commit 05f0e38724e8 ? > > This appears to depend on commit 9385a84d7e1f which looks hard to backport. Ben, if it's too much work, maybe just don't do it. I think the upstream maintainer wrote something in his commit message that fixing this issue in backports might be hard/impossible. When running the testsuite, the kernel additionally reported that processes may hang, and tainted itself accordingly. Sadly I don't have the exact kernel message at hand right now. Helge
Processed: Re: Bug#864453: fanotify07 LTP testcase hangs process
Processing control commands: > found -1 4.9.30-1 Bug #864453 [src:linux] fanotify07 LTP testcase hangs process Ignoring request to alter found versions of bug #864453 to the same values previously set > notfound -1 4.9.30 Bug #864453 [src:linux] fanotify07 LTP testcase hangs process The source 'linux' and version '4.9.30' do not appear to match any binary packages Ignoring request to alter found versions of bug #864453 to the same values previously set > severity -1 important Bug #864453 [src:linux] fanotify07 LTP testcase hangs process Ignoring request to change severity of Bug 864453 to the same value. > tag -1 upstream fixed-upstream Bug #864453 [src:linux] fanotify07 LTP testcase hangs process Ignoring request to alter tags of bug #864453 to the same tags previously set -- 864453: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864453 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Processed: Re: Bug#864453: fanotify07 LTP testcase hangs process
Processing control commands: > found -1 4.9.30-1 Bug #864453 [src:linux] fanotify07 LTP testcase hangs process Ignoring request to alter found versions of bug #864453 to the same values previously set > notfound -1 4.9.30 Bug #864453 [src:linux] fanotify07 LTP testcase hangs process The source 'linux' and version '4.9.30' do not appear to match any binary packages Ignoring request to alter found versions of bug #864453 to the same values previously set > severity -1 important Bug #864453 [src:linux] fanotify07 LTP testcase hangs process Ignoring request to change severity of Bug 864453 to the same value. > tag -1 upstream fixed-upstream Bug #864453 [src:linux] fanotify07 LTP testcase hangs process Ignoring request to alter tags of bug #864453 to the same tags previously set -- 864453: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864453 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#864453: fanotify07 LTP testcase hangs process
Control: found -1 4.9.30-1 Control: notfound -1 4.9.30 Control: severity -1 important Control: tag -1 upstream fixed-upstream On Thu, 2017-06-08 at 21:23 +0200, Helge Deller wrote: > Package: linux > Version: 4.9.30 > > The LTP testcase fanotify07 creates hanging processes > with debian kernel 4.9.30 on the hppa platform. > > In the source code of LTP's fanotify07.c testcase one can read: > * Kernel crashes should be fixed by: > * 96d41019e3ac "fanotify: fix list corruption in fanotify_get_response()" > * > * Kernel hangs should be fixed by: > * 05f0e38724e8 "fanotify: Release SRCU lock when waiting for userspace > response" > > It seems upstream commit > 05f0e38724e8 "fanotify: Release SRCU lock when waiting for userspace response" > is missing in stable kernel 4.9.30 (and debian kernel), which explains why the > testcase hangs. > I didn't checked if the kernel crash fix is in 4.9.30. > > Can you backport at least the commit 05f0e38724e8 ? This appears to depend on commit 9385a84d7e1f which looks hard to backport. Ben. -- Ben Hutchings Unix is many things to many people, but it's never been everything to anybody. signature.asc Description: This is a digitally signed message part
Bug#864453: fanotify07 LTP testcase hangs process
Package: linux Version: 4.9.30 The LTP testcase fanotify07 creates hanging processes with debian kernel 4.9.30 on the hppa platform. In the source code of LTP's fanotify07.c testcase one can read: * Kernel crashes should be fixed by: * 96d41019e3ac "fanotify: fix list corruption in fanotify_get_response()" * * Kernel hangs should be fixed by: * 05f0e38724e8 "fanotify: Release SRCU lock when waiting for userspace response" It seems upstream commit 05f0e38724e8 "fanotify: Release SRCU lock when waiting for userspace response" is missing in stable kernel 4.9.30 (and debian kernel), which explains why the testcase hangs. I didn't checked if the kernel crash fix is in 4.9.30. Can you backport at least the commit 05f0e38724e8 ? Thanks, Helge