Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757480AbdLQSbm (ORCPT ); Sun, 17 Dec 2017 13:31:42 -0500 Received: from merlin.infradead.org ([205.233.59.134]:59436 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757336AbdLQSbl (ORCPT ); Sun, 17 Dec 2017 13:31:41 -0500 Subject: Re: PROBLEM: NULL pointer dereference in kernel 4.14.6 To: Bronek Kozicki , linux-kernel@vger.kernel.org Cc: cgroups@vger.kernel.org References: <1513512885.3653140.1207725096.395A9CCC@webmail.messagingengine.com> <08995310-d853-ee77-ed1f-26cc336a4a30@incorrekt.com> <54a16e07-70e6-adda-ebdb-06349b4f8e86@infradead.org> <04a4e27d-e291-66c3-ab88-e1343c6955f2@incorrekt.com> From: Randy Dunlap Message-ID: Date: Sun, 17 Dec 2017 10:31:39 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <04a4e27d-e291-66c3-ab88-e1343c6955f2@incorrekt.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1253 Lines: 30 On 12/17/2017 10:30 AM, Bronek Kozicki wrote: > On 17/12/2017 18:25, Randy Dunlap wrote: >> On 12/17/2017 09:49 AM, Bronek Kozicki wrote: >>> I just upgraded to 4.14.7 and tried to reproduce this error, this time under strace. As you can see this happens when systemctl tries to read a specific entry under /sys/fs . In case this matters, the entry is for a small virtual machine running under qemu/kvm and managed by libvirt. >>> >>> open("/sys/fs/cgroup/unified/machine.slice", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5 >>> fstat(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 >>> getdents(5, /* 12 entries */, 32768)    = 464 >>> openat(AT_FDCWD, "/sys/fs/cgroup/unified/machine.slice/machine-qemu\\x2d1\\x2dkartuzy\\x2dspice.scope/cgroup.procs", O_RDONLY|O_CLOEXEC) = 8 >>> fstat(8, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 >>> read(8,  )              = ? >>> +++ killed by SIGKILL +++ >>> [1]    12078 killed     strace -- systemctl status >>> >>> >>> B. >>> >> >> Hi, >> >> Can you reproduce this without using (loading) the XFS modules? >> They cause the kernel to be tainted. > > I think you mean ZFS - I cannot do that. It is my root filesystem. Sorry, yes, I did mean ZFS. thanks, -- ~Randy