Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424072AbdD1QLX (ORCPT ); Fri, 28 Apr 2017 12:11:23 -0400 Received: from mail-by2nam01on0085.outbound.protection.outlook.com ([104.47.34.85]:43552 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756797AbdD1QLL (ORCPT ); Fri, 28 Apr 2017 12:11:11 -0400 Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=caviumnetworks.com; Date: Fri, 28 Apr 2017 19:10:56 +0300 From: Yury Norov To: Florian Fainelli Cc: Mark Rutland , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, davem@davemloft.net Subject: Re: arm64: next-20170428 hangs on boot Message-ID: <20170428161056.vvzkj6lxhvixy33v@yury-N73SV> References: <20170428132429.c3dlxbmt7iqs2isl@yury-N73SV> <20170428145233.GB5292@leverpostej> <20170428150931.iyoewmc5qs55aw3t@yury-N73SV> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-Originating-IP: [176.59.39.114] X-ClientProxiedBy: VI1PR0602CA0015.eurprd06.prod.outlook.com (10.175.26.153) To BY1PR0701MB1271.namprd07.prod.outlook.com (10.160.108.17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 55cebfef-de14-432a-e6dc-08d48e512e90 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:BY1PR0701MB1271; X-Microsoft-Exchange-Diagnostics: 1;BY1PR0701MB1271;3:yLNEDjb0nFdPPWUSJLhh+1dvxCZF6IYayKYKnqzl9wXhsx/XD0Q1gLC7TyHeSTsjmwPia+I7Z6Mre+wAAh/HJhv+3kzXSgbmAIOYJtIvODc5/3wpwyZOwCryFxMsWuHTLMO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C8RBOo6IxCTQi8Ff0Z66HbAH8dxANz48eaxlMIZo/hBNwjxP38sXkGMBNMn6Ol5U/8sxEyvmYOxHG54tcrzG1d+gG6QisW6WfMt3kSglt55t9fgbY+slHfKbTSMSadr+PmWAlF6J3JqsUWiaj06BtoyZljXVAcoxu6K3l29qhgSWC+pQNxkwHnmvis/JlepYZJ6JXigl+7jq458KnJH0TcwzcBL6f6FL9STSbctsTcOhwT1xTEJLDWz12oCMQuWO1+AZTpK3nUCKDxBcs5xLS24YfJE/EemVLtHIIaLF35zkZ7s7yZRzpOlS34TtlmVy114bMDnvZQZ4r53JC8tiiSJ1t3bW101a32z7v9YSKpBr9f49x42LznqJ7IWwIiP0T5/9DyQoSsZc6zgACCESE52FRE0Mim35Ar4HgItwB7fkjOt376Vqpaw5SHYyFQoQWbtrXCono7SiVcoAEtC2ipAp71rNULHL9mexp+I6QmnCkDBIa+A6qlfUK9jZO14tpaB8sAkh60RAhwTBr5GPBid6UbVxYRT4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(84791874153150); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(6041248)(20161123558100)(201703131423075)(201703011903075)(201702281528075)(201703061421075)(20161123560025)(20161123562025)(20161123564025)(20161123555025)(6072148);SRVR:BY1PR0701MB1271;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0701MB1271; X-Microsoft-Exchange-Diagnostics: 1;BY1PR0701MB1271;4:DIpHUCplaYRPKrJ1IxUg4ve6pdmroORUTMF7TN+oVi4UX0s07FZE00xriu1nAKFphSH5oAp+rtYKPmd+i9q+2ya9CHSW2uUabMuRc109bjShQB57jyH1mKtBRL0JDZLxOqoyo1LwI2V7sWgDuHWupwZT0NOxphTsUUqUEGV66XCo293kmGTSKoxh5nTBvbMXnJZ48TjBWbafJ46lCxg64qDbPu/rNtc272M6bVrPuf3WLMdZF3H/pLfiEAz3CcpYgqFNOo5VjvXbLTueIKWUgZn2G+1u0SOYuEkM6AxIo4I0lCNisxjkoPXowF6xLJOy1cWysiLv9d0RfRCRkQu+kzJy9rz3gvefaPRqvo8WHPcCmNO1ySUMpYEsgr2rBNtTVueV5OSZ2kaVgFFzDm65RS4oxT+hTGNt/NU7BnMmaJIWBLa+qKaTL0I7yAv1x+WjOvESlM0nLJ8EaYL7FXLpSyebha2lo8J4MeUJGqErx1cGLM3HCM4PQFh4M5zgSkARTpg9izvuxKBateRW90/Hdijq1QthMGI82pf43PcfI/jeacWSqU/uybMVKdB3hpV2Yvse3UouvVG8/7xfwDykrq7A3KSxjz0MLw6iAdtTYUSMk7KWMCWDqjrYP17Jyn60xdFMc0BDTeuCy6DsrIRZUVr93AsISzAxdp2ZLTluQ607dRJkA3q+UAZK+Uac6QwvLXLhgru3ZekbRq75E/1+pHZXWBS9B7qmBxD79aH5pmAnTyNikalv0skY+Ec0zQG+SHgN2LovNkKHvObXHs47QTTLG/7TNkEZQPQsp7FUzIycUaDiSIz2hMMhkhtjZ/dp X-Forefront-PRVS: 029174C036 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6069001)(6009001)(39840400002)(39450400003)(39860400002)(39410400002)(39400400002)(39850400002)(24454002)(377454003)(53754006)(6246003)(38730400002)(110136004)(6486002)(6496005)(9686003)(575784001)(6306002)(25786009)(53936002)(50986999)(54356999)(76176999)(66066001)(47776003)(4001350100001)(189998001)(5660300001)(6916009)(42882006)(6666003)(2950100002)(7736002)(305945005)(81166006)(8676002)(229853002)(33646002)(93886004)(76506005)(42186005)(53546009)(3846002)(23726003)(1076002)(4326008)(50466002)(2906002)(6116002)(83506001)(33716001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY1PR0701MB1271;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR0701MB1271;23:asxnvznXJyKzetnoqe4mw6CDkXr09PjsR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y7qPw==;5:8QQE4nxSmyTJ7W+1CsArUj1A71kVbTT+kQOUVZZ3X3f4D4hFiFGHo5iWs9NcG1gmM0cjoOUwV1NXzW8gT9KT1UQqUvo+FkA058K//n9e1HbjfNjyJ05W0rjCjPX/FhwKkIMCAaOYK/uBGXG+aVJJOQ==;24:oCVdMB+3Tcz50rhwuwInsgrWnuewfTzFbLCqDQ/fbWGvVG8Wn0BwWZdQISTpYknsJwYmWBdUT37YIl9n5tYjnUJQjApA++cYSzLaOOa7rVY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BY1PR0701MB1271;7:2sMvMqzQwaUsaJk7ZYZeAg0ohFJ0IF1LhEGuiVwAAzdZADe9sk+4AELcriSjN3BjdwtJwtjPKKPFHnYLB8em5k/VHJgbw1wO9SkY6QOZmB595NoYPY+H8qEdeOdl5ij8rKMm4iT0oRD1NOPXmRcWw3UUyXt8hjJEhb4AyDgIYin/Q65i34PK3YtKxyhsce0/LePlkeFJBvywoS7xwaVewjnvI7A32EDBshjdrMNYOlVxZWZ1jBiCC0TaYIgBr00fT7qLECTRKvZBEYnKr8yG5nkxW4EIby5ntwcd4qc82+/sfxMveMLzeEwA60A7VesvEBdvlBsmXK4sltBd2M4Gpg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2017 16:11:08.4732 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1271 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2175 Lines: 51 On Fri, Apr 28, 2017 at 08:40:54AM -0700, Florian Fainelli wrote: > On 04/28/2017 08:09 AM, Yury Norov wrote: > > On Fri, Apr 28, 2017 at 03:52:34PM +0100, Mark Rutland wrote: > >> On Fri, Apr 28, 2017 at 04:24:29PM +0300, Yury Norov wrote: > >>> Hi all, > >> > >> Hi, > >> > >> [adding Dave Miller, netdev, lkml] > > > > thanks > > > >>> On QEMU the next-20170428 hangs on boot for me due to kernel panic in > >>> rtnetlink_init(): > >>> > >>> void __init rtnetlink_init(void) > >>> { > >>> if (register_pernet_subsys(&rtnetlink_net_ops)) > >>> panic("rtnetlink_init: cannot initialize rtnetlink\n"); > >>> > >>> ... > >>> } > >> > >> I see the same thing with a next-20170428 arm64 defconfig, on a Juno R1 > >> system: > >> > >> [ 0.531949] Kernel panic - not syncing: rtnetlink_init: cannot initialize rtnetlink > >> [ 0.531949] > >> [ 0.541271] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc8-next-20170428-00002-g6ee3799 #10 > >> [ 0.550307] Hardware name: ARM Juno development board (r1) (DT) > >> [ 0.556332] Call trace: > >> [ 0.558833] [] dump_backtrace+0x0/0x238 > >> [ 0.564332] [] show_stack+0x14/0x20 > >> [ 0.569477] [] dump_stack+0x9c/0xc0 > >> [ 0.574622] [] panic+0x11c/0x28c > >> [ 0.579505] [] rtnetlink_init+0x2c/0x1d0 > >> [ 0.585092] [] netlink_proto_init+0x14c/0x17c > >> [ 0.591119] [] do_one_initcall+0x38/0x120 > >> [ 0.596796] [] kernel_init_freeable+0x1a0/0x240 > >> [ 0.603003] [] kernel_init+0x10/0x100 > >> [ 0.608324] [] ret_from_fork+0x10/0x50 > >> [ 0.613736] SMP: stopping secondary CPUs > >> [ 0.617738] ---[ end Kernel panic - not syncing: rtnetlink_init: cannot initialize rtnetlink > >> > >> If this isn't a known issue, it would be worth trying to bisect this. > > It's fixed already by this commit in net-next: > > https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=2d2ab658d2debcb4c0e29c9e6f18e5683f3077bf Works for me, thank you.