Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757450AbdLQSad (ORCPT ); Sun, 17 Dec 2017 13:30:33 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:42947 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757274AbdLQSab (ORCPT ); Sun, 17 Dec 2017 13:30:31 -0500 X-ME-Sender: Subject: Re: PROBLEM: NULL pointer dereference in kernel 4.14.6 To: Randy Dunlap , 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> From: Bronek Kozicki Message-ID: <04a4e27d-e291-66c3-ab88-e1343c6955f2@incorrekt.com> Date: Sun, 17 Dec 2017 18:30:28 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <54a16e07-70e6-adda-ebdb-06349b4f8e86@infradead.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1139 Lines: 26 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. B.