From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_NEOMUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1545C43381 for ; Sat, 2 Mar 2019 11:03:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6CCAF2083D for ; Sat, 2 Mar 2019 11:03:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dv7vsJQk"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="Ao9zjG07" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6CCAF2083D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8jZ6vdIbL4uEcI7SVCLCWDoa0hvMxuL+NZl3UbUt0dQ=; b=dv7vsJQkR4XsLd VasD/DB0lCXg/5LMHFPaMk9AMwr1oxyxJzNvfJXSjtruzz1F8c4I0oSvExzkLMZbm22erWgzJtBvj HgaopJqpMWdvYiAuGMGFZldnUeNwAa/JN4fcJRQwXROOa4CoVzV6xCk7B80g4+hg/Xn3g8e94Asw4 9ddmzvyZnLYXu8WPU/4yQ/MGtrYblermyhSMF2gCBHaTHNjU3wV9LvR5d2SaMkVU+PNIvhIF2/hvV PUgUxEnrk1AkUDqI60ApihMflg8XgQY6Q0kB3WYIk3m9hc93qHfMmg2X62wy5Lhbpoiy2qaEYWsA+ NJlaet+s8BhoecmcxZkQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h02Q4-00065J-DR; Sat, 02 Mar 2019 11:03:04 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:3201:214:fdff:fe10:1be6]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h02Q0-0005lo-GW for linux-arm-kernel@lists.infradead.org; Sat, 02 Mar 2019 11:03:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=DWum3qQHOxjKwbmGI3eVAeURcpk0pBnb/UdzYdSAmws=; b=Ao9zjG07gwfaFaK/Kqrk/TGr/ qxXJKwnNlxOLLlB3GsyBS89xp+TJZ2Euu3er4Kdv9iVFYkPgx71GBA3JDwTmzgeasdjUMivMu4v3A x3ZKzVZ3UiZwPVDBoUVT/MgC3cGfokZVjG9kVxH/3IyzrMe/5q74CFCgFucbuzxkGT4DcjWmYk41a FjVPW0Qa0rGsoqm47+dXD19L+rXC1avvlj/DtmwZJu6Eqc5c4Blts0x5+N2zUu6HbAEYP48/tUVic abL+zsDCn2UiUkAqeem/vJ0qvK6AidrRcUkFUbQXjklL4Z8O052OsFiWxUnDbp3kOCUvGw8dSlN/Q wROhKs2Jw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:51546) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1h02Nv-0005VP-2o; Sat, 02 Mar 2019 11:00:51 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.89) (envelope-from ) id 1h02Np-0000aM-91; Sat, 02 Mar 2019 11:00:45 +0000 Date: Sat, 2 Mar 2019 11:00:45 +0000 From: Russell King - ARM Linux admin To: Embedded Engineer Subject: Re: Unstable Kernel behavior on an ARM based board Message-ID: <20190302110045.sf5d2oenrgrakkzj@shell.armlinux.org.uk> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190302_030300_690884_9256D3D7 X-CRM114-Status: GOOD ( 13.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Mar 02, 2019 at 03:44:49PM +0500, Embedded Engineer wrote: > We have designed a custom board based on an ARM based SoC (Nvidia > TK1). Much of the board design is derived from reference kit (Jetson > TK1). But on our board, we are facing quite an unstable behavior of > Kernel (v 3.10.40 downstream). As per my understanding, the issues are > not vendor specific, so I am posting the issues here. Two of the main > unstablilites we are getting as mentioned below: > > - The board starts and shows u-boot prints normally every time, but > sometimes the kernel boots normally after the last print by u-boot > "Starting kernel ..." and sometimes the boards hangs at this point. I > tried adding printk in the first line of start_kernel() function but I > get the print only when the system boots normally, meaning that when > the system is stuck at "Starting kernel ...", even start_kernel() is > not executing. > > - When the system is successfully booted to command line, it hangs > randomly without showing any output. The watchdog then resets the > board. > > Can someone please guide how to debug these issues? I'm sorry, but 3.10.40 is almost five years old, and will be riddled with known security holes and bugs. For the sake of the greater good, please move forward to a more modern kernel, such as one released in the last six months which is in active stable maintanence. There are way too many insecure, vulnerable products out there which are constantly being hijacked to be part of bot networks attacking others. We don't need another product developed against an ancient kernel. I'm afraid it would be irresponsible to help in this situation. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel