2015-12-08 00:02:50

by Norbert Preining

[permalink] [raw]
Subject: occasional kernel hang on shutdown - kernel/cgroup_pids.c

Dear all

(please Cc)

running 4.4-rc4 (written as rc3+ but only the tag commit is missing),
but I think also earlier in the rc releases, I occasionally see hangs
on shutdown. Nothing works anymore, but this time at least there
was some output on the console.

Manually copied from screen:

WARNING: CPU: 1 PID: 14 at kernel/cgroup_pids.c:97 pids_cancel.constrprop.8+0x2a
Modules linked in: ....
...
CPU: 1 PID: 14 Comm: ksoftirqd/1 Tainted: G O 4.4.0-rc3+
Hardware name: Sony Corporation SVP1322A1J/VAIO, BIOS R2092V7 04/24/2015
...

Does that help in any way?

All the best

Norbert

(please Cc)

------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------


2015-12-08 00:25:32

by jeff merkey

[permalink] [raw]
Subject: Re: occasional kernel hang on shutdown - kernel/cgroup_pids.c

I am seeing this too but I think its related to Centos 7 not the build.

On 12/7/15, Norbert Preining <[email protected]> wrote:
> Dear all
>
> (please Cc)
>
> running 4.4-rc4 (written as rc3+ but only the tag commit is missing),
> but I think also earlier in the rc releases, I occasionally see hangs
> on shutdown. Nothing works anymore, but this time at least there
> was some output on the console.
>
> Manually copied from screen:
>
> WARNING: CPU: 1 PID: 14 at kernel/cgroup_pids.c:97
> pids_cancel.constrprop.8+0x2a
> Modules linked in: ....
> ...
> CPU: 1 PID: 14 Comm: ksoftirqd/1 Tainted: G O 4.4.0-rc3+
> Hardware name: Sony Corporation SVP1322A1J/VAIO, BIOS R2092V7 04/24/2015
> ...
>
> Does that help in any way?
>
> All the best
>
> Norbert
>
> (please Cc)
>
> ------------------------------------------------------------------------
> PREINING, Norbert http://www.preining.info
> JAIST, Japan TeX Live & Debian Developer
> GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
> ------------------------------------------------------------------------
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

2015-12-08 00:27:03

by Norbert Preining

[permalink] [raw]
Subject: Re: occasional kernel hang on shutdown - kernel/cgroup_pids.c

Hi Jeff,

> I am seeing this too but I think its related to Centos 7 not the build.

Here I am running:
Debian sid
gcc (Debian 5.3.1-2) 5.3.1 20151206

> > WARNING: CPU: 1 PID: 14 at kernel/cgroup_pids.c:97
> > pids_cancel.constrprop.8+0x2a
> > Modules linked in: ....
> > ...
> > CPU: 1 PID: 14 Comm: ksoftirqd/1 Tainted: G O 4.4.0-rc3+
> > Hardware name: Sony Corporation SVP1322A1J/VAIO, BIOS R2092V7 04/24/2015
> > ...

Norbert

------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------

2015-12-08 00:28:07

by jeff merkey

[permalink] [raw]
Subject: Re: occasional kernel hang on shutdown - kernel/cgroup_pids.c

Wow,

OK. I'll try to debug it at this end if I can ...

Jeff

On 12/7/15, Norbert Preining <[email protected]> wrote:
> Hi Jeff,
>
>> I am seeing this too but I think its related to Centos 7 not the build.
>
> Here I am running:
> Debian sid
> gcc (Debian 5.3.1-2) 5.3.1 20151206
>
>> > WARNING: CPU: 1 PID: 14 at kernel/cgroup_pids.c:97
>> > pids_cancel.constrprop.8+0x2a
>> > Modules linked in: ....
>> > ...
>> > CPU: 1 PID: 14 Comm: ksoftirqd/1 Tainted: G O 4.4.0-rc3+
>> > Hardware name: Sony Corporation SVP1322A1J/VAIO, BIOS R2092V7
>> > 04/24/2015
>> > ...
>
> Norbert
>
> ------------------------------------------------------------------------
> PREINING, Norbert http://www.preining.info
> JAIST, Japan TeX Live & Debian Developer
> GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
> ------------------------------------------------------------------------
>

2015-12-09 13:22:58

by Michal Hocko

[permalink] [raw]
Subject: Re: occasional kernel hang on shutdown - kernel/cgroup_pids.c

[CCing Tejun]

Seems to be the same issue as reported here?
http://lkml.kernel.org/r/20151208145851.GJ9837@bark

On Tue 08-12-15 08:53:52, Norbert Preining wrote:
> Dear all
>
> (please Cc)
>
> running 4.4-rc4 (written as rc3+ but only the tag commit is missing),
> but I think also earlier in the rc releases, I occasionally see hangs
> on shutdown. Nothing works anymore, but this time at least there
> was some output on the console.
>
> Manually copied from screen:
>
> WARNING: CPU: 1 PID: 14 at kernel/cgroup_pids.c:97 pids_cancel.constrprop.8+0x2a
> Modules linked in: ....
> ...
> CPU: 1 PID: 14 Comm: ksoftirqd/1 Tainted: G O 4.4.0-rc3+
> Hardware name: Sony Corporation SVP1322A1J/VAIO, BIOS R2092V7 04/24/2015
> ...
>
> Does that help in any way?
>
> All the best
>
> Norbert
>
> (please Cc)
>
> ------------------------------------------------------------------------
> PREINING, Norbert http://www.preining.info
> JAIST, Japan TeX Live & Debian Developer
> GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
> ------------------------------------------------------------------------
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
Michal Hocko
SUSE Labs

2015-12-09 16:09:11

by Tejun Heo

[permalink] [raw]
Subject: Re: occasional kernel hang on shutdown - kernel/cgroup_pids.c

On Wed, Dec 09, 2015 at 02:22:53PM +0100, Michal Hocko wrote:
> [CCing Tejun]
>
> Seems to be the same issue as reported here?
> http://lkml.kernel.org/r/20151208145851.GJ9837@bark

Patches just got merged into mainline. Please let me know if the
current git master doesn't fix the issue.

Thanks.

--
tejun

2015-12-11 08:43:48

by Norbert Preining

[permalink] [raw]
Subject: Re: occasional kernel hang on shutdown - kernel/cgroup_pids.c

Hi Tejun,

> Patches just got merged into mainline. Please let me know if the
> current git master doesn't fix the issue.

Seems to have worked - I don't see the kernel hangs anymore. What remains
are problems with DRI/DRM, but I will report separately.

Thanks a lot

Norbert

------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------