Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1712492imm; Sat, 30 Jun 2018 02:32:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKQZm+F3y+NYt6yB/JLsEQWteRykoKh2td9wvDUNXZb8earvs/UAJZuGb6HZBI1cu5jbceS X-Received: by 2002:a63:2c9:: with SMTP id 192-v6mr15672371pgc.354.1530351147922; Sat, 30 Jun 2018 02:32:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530351147; cv=none; d=google.com; s=arc-20160816; b=zz0IyRcbNZGFjQLOJH0EIzB//n8VTnBjVwX6j7xiwP8CWG49/kEhzET/t7hFAwgrY6 chmFw90HvnnNWvcuzESNU2C5Vh9HbYXRRuzVnh4QZ4LeuLrqCa4xbZd40a5JuEZVXjrx XtEm9gIJWLrMC/NVDjG/kXk0Ouo5m4SXR42nptWyOVYkf1qtDgTxoFxWMPUx7r3UjNRB LlKFSzzzpxFFfQahfjVwBocfAuNU2fpwSyR/94NTJkcT8sICKsiEfUarc0rHntdfqhqa UViher9ASdHeovzJZDNH5VRFPfGRBUeb8UaIyhj5MAFnslp+02K814zvxHKZZAgBEkJc jBdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=k6DOAPOoG9m9T3zoWyKreYiSBccdbZ0KYul1Kipod/M=; b=yIarj1SdSzPZEwDml7A28sr3BC1D2XAoIsDyCKZt0mrLdTEbDR4TXLhADiUrikoNt9 q5ndt2oyQhqXuvhHXj3S6FOiDFUf93wJdgphH6bgNWkwui8USKHGmGVatK2Wn1oYCK25 zry75ps2Y6CXI2p14ck3oHFeXJ99Ywt4ho/9o06+TlgDzbULtUvSH/p+4xJcfNWnTbVi HfZOBXUqQu9GfYUBXC65qVP0mxs8gtw6ZVZVNFlNO3qJr5ZpcMNBr55NntNJbvwACl57 f/d2+YfsPvy4cXeV688mL7M85fej2EM12b7MZwchn/zTqNa1zHpkJgsuElc5QcgnhGFX neTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m67-v6si10533750pgm.517.2018.06.30.02.32.12; Sat, 30 Jun 2018 02:32:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755491AbeF3JbT (ORCPT + 99 others); Sat, 30 Jun 2018 05:31:19 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:32249 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752494AbeF3JbR (ORCPT ); Sat, 30 Jun 2018 05:31:17 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 41HpDH50MSz9ttFM; Sat, 30 Jun 2018 11:31:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id wH2_i4o0CmTt; Sat, 30 Jun 2018 11:31:11 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 41HpDH4M6tz9ttFG; Sat, 30 Jun 2018 11:31:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 501CE8B7B5; Sat, 30 Jun 2018 11:31:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id U5YssNqrrzGW; Sat, 30 Jun 2018 11:31:16 +0200 (CEST) Received: from [192.168.232.53] (unknown [192.168.232.53]) by messagerie.si.c-s.fr (Postfix) with ESMTP id A5F5C8B74B; Sat, 30 Jun 2018 11:31:11 +0200 (CEST) Subject: Re: [Update] Regression in 4.18 - 32-bit PowerPC crashes on boot - bisected to commit 1d40a5ea01d5 To: Larry Finger , Matthew Wilcox , "Kirill A. Shutemov" , Vlastimil Babka , Christoph Lameter , Dave Hansen , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Lai Jiangshan , Martin Schwidefsky , Pekka Enberg , Randy Dunlap , Andrey Ryabinin , Andrew Morton , Linus Torvalds , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, LKML References: <99169786-61dd-b19c-ac81-84bcd0a67de4@lwfinger.net> From: christophe leroy Message-ID: <1a73e92a-f77d-ba1e-ebf8-b469db3c465e@c-s.fr> Date: Sat, 30 Jun 2018 11:31:05 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <99169786-61dd-b19c-ac81-84bcd0a67de4@lwfinger.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit X-Antivirus: Avast (VPS 180630-0, 30/06/2018), Outbound message X-Antivirus-Status: Clean Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 29/06/2018 à 22:42, Larry Finger a écrit : > My PowerBook G4 Aluminum crashes on boot with 4.18-rcX kernels with a > kernel BUG at include/linux/page-flags.h:700! The problem was bisected > to commit 1d40a5ea01d5 ("mm: mark pages in use for page tables"). It is > not possible to capture the bug with anything other than a camera. The > first few lines of the traceback are as follows: > > free_pgd_range+0x19c/0x30c (unreliable) > free_pgtables_0xa0/0xb0 > exit_pmap+0xf4/0x16c > mmput+0x64/0xf0 > do_exit+0x33c/0x89c > oops_end+0x13c/0x144 > _exception_pkey+0x58/0x128 > ret_from_except_full+0x0/0x4 > --- interrupt: 700 at free_pgd_range+0x19c/0x30c >     LR = free_pgd_range+0x19c/0x30c > free_pgtables+0xa/0xb > exit_mnap+0xf4/0x16c > mmput+0x64/0xf0 > flush_old_exec+0x490/0x550 > > I have more information regarding this BUG. Line 700 of page-flags.h is > the macro PAGE_TYPE_OPS(Table, table). For further debugging, I manually > expanded the macro, and found that the bug line is > VM_BUG_ON_PAGE(!PageTable(page), page) in routine __ClearPageTable(), > which is called from pgtable_page_dtor() in include/linux/mm.h. I also > added a printk call to PageTable() that logs page->page_type. The > routine was called twice. The first had page_type of 0xfffffbff, which > would have been expected for a . The second call had 0xffffffff, which > led to the BUG. > Oh, seems to be the one I noticed and told Aneesh about (https://patchwork.ozlabs.org/patch/922771/) Aneesh provided the patch https://patchwork.ozlabs.org/patch/934111/ for it, does it help ? Christophe > Larry --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus