From owner-freebsd-arm@freebsd.org Sun May 26 21:29:14 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B8CA15B1A06 for ; Sun, 26 May 2019 21:29:14 +0000 (UTC) (envelope-from balanga.bar@gmail.com) Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CCC336F811 for ; Sun, 26 May 2019 21:29:12 +0000 (UTC) (envelope-from balanga.bar@gmail.com) Received: by mail-ed1-x542.google.com with SMTP id w11so23624709edl.5 for ; Sun, 26 May 2019 14:29:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=GutgSoR/LsgoMzmBS4dfMVQFg9Ke3Dry5Dl/zHch+vY=; b=CLGyo2GAANdRaTRSIpGscpGQbpj0Ejh6q35yrDDamT4aSisXqITOXxTCx35nQLsC9u PSJo6Ae5nKpg1nNPhNvyaRDM/38R1lEVJYGrOiKS/1sLbiju2dyGo8Vw3Fyi7sziaE0J K1EAx0qz8CiInCr29ibhxAP/17YvS/Ps8sJjgXE1xA8ksSBld7aZgLKifTFrIumxjBNO 2xdiSwIsVFXgkOr5RR/vE0xJ7xgDkL3Uvnue0Ae+997h0UyjB7tv0IaLh2mEnJcCQN9I e++cx+8nRncBiBEQv/WD8apzZ5Ui4/84tfhWfLsFBxeg+Bc4coaYkGrrbX1bH1THo+F5 j8uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=GutgSoR/LsgoMzmBS4dfMVQFg9Ke3Dry5Dl/zHch+vY=; b=WzSO5+uQ8ucgAff8Hd7kC2/68NwYxK7EM4AKjqErRN58K53bdOluMQtnwY1bnRGqV7 YBKNXJpHmzKd2HnHfwoND0UUKeiuyP2FW1saq1Zvt6TBTe6STw2szK05yYc1YS+R5cLd PIznu5jFDQkoh68RHFUDlzdrNXvBwAhIws/pGGqQGbcs5Vjs1+gxUY4puCjnMT3tCvD9 78319aEQc10Kt3iy3JcsaRMeTUUHj7187HfQnfJUvB17O+4IXuaQCqX5ZLxvu+CJ2OcS z5YprmHUT7m4Nd+a6gNlnKnzHa16tOqNwTxyqZL3znSPXOlxKTT1gf7NAGSH3Q2XgM1F b4uA== X-Gm-Message-State: APjAAAVu73nVFLQRObaP8PpuwCI4bvterZOtHHLmvHk433LeRVFEkQgK 1w6OkRjA8HK2yMXVmkZcaddO32rfcIrKj43yg88LjIos X-Google-Smtp-Source: APXvYqwfSioH4hIgfFRY4/K1lq+TM/Bpcs2kh0O9IXj587/f2TA9CBNIo2Rq03Dc+SeqtKWEpFMHAU4t1s7Hr5aFbhc= X-Received: by 2002:a50:e79c:: with SMTP id b28mr116795652edn.277.1558906151457; Sun, 26 May 2019 14:29:11 -0700 (PDT) MIME-Version: 1.0 From: Balanga Bar Date: Sun, 26 May 2019 22:28:40 +0100 Message-ID: Subject: Debugging a hang during boot To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: CCC336F811 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=CLGyo2GA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of balangabar@gmail.com designates 2a00:1450:4864:20::542 as permitted sender) smtp.mailfrom=balangabar@gmail.com X-Spamd-Result: default: False [-4.94 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.97)[ip: (-0.31), ipnet: 2a00:1450::/32(-2.19), asn: 15169(-2.29), country: US(-0.06)]; RCVD_IN_DNSWL_NONE(0.00)[2.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2019 21:29:14 -0000 Can anyone suggest how to go about debugging a hang during booting? I built a kernel for a GoFlex Home unit using DREAMPLUG-1001 without any amendments. Here is my boot log:- ========================================================================== Booting [/boot/kernel/kernel]... Using DTB compiled into kernel. / - \ | Kernel entry at 0x1200180... Kernel args: (null) Copyright (c) 1992-2017 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.1-RELEASE #0: Sun May 26 16:53:47 UTC 2019 root@11-1:/usr/obj/arm.arm/usr/src/sys/DREAMPLUG-1001 arm FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) CPU: Feroceon 88FR131 rev 1 (**unknown 4** core) Little-endian DC enabled IC disabled WA disabled DC streaming enabled BTB disabled L2 enabled L2 prefetch enabled WB enabled LABT branch prediction disabled 16KB/32B 4-way instruction cache 16KB/32B 4-way write-back-locking-C data cache real memory = 134213632 (127 MB) avail memory = 121282560 (115 MB) SOC: Marvell 88F6281 rev A1, TClock 200MHz Instruction cache prefetch disabled, data cache prefetch disabled 256KB 4-way set-associative write-through unified L2 cache random: entropy device external interface ofwbus0: simplebus0: on ofwbus0 cpulist0: on ofwbus0 cpu0: on cpulist0 localbus0: on ofwbus0 ic0: mem 0x20200-0x2023b on simplebus0 timer0: mem 0x20300-0x2032f irq 1 on simplebus0 Event timer "CPUTimer0" frequency 200000000 Hz quality 1000 Timecounter "CPUTimer1" frequency 200000000 Hz quality 1000 gpio0: mem 0x10100-0x1011f irq 35,36,37,38,39,40,41 on simplebus0 rtc0: mem 0x10300-0x10307 on simplebus0 twsi0: mem 0x11000-0x1101f irq 43 on simplebus0 iicbus0: on twsi0 iic0: on iicbus0 mge0: mem 0x72000-0x73fff irq 12,13,14,11,46 on simplebus0 mge0: PHY0 attached, phy_sc points to mge0 mge0: Ethernet address: 00:10:75:28:cc:00 miibus0: on mge0 e1000phy0: PHY 0 on miibus0 e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto mge1: mem 0x76000-0x77fff irq 16,17,18,15,47 on simplebus0 mge1: PHY1 attached, phy_sc points to mge0 mge1: MII failed to find PHY device_attach: mge1 attach returned 6 uart0: <16550 or compatible> mem 0x12000-0x1201f irq 33 on simplebus0 uart0: console (1056,n,8,1) uart1: <16550 or compatible> mem 0x12100-0x1211f irq 34 on simplebus0 cesa0: mem 0x30000-0x30fff,0x3d000-0x3dfff irq 22 on simplebus0 ehci0: mem 0x50000-0x50fff irq 48,19 on simplebus0 usbus0: EHCI version 1.0 usbus0 on ehci0 mvs0: mem 0x80000-0x85fff irq 21 on simplebus0 mvs0: Gen-IIe, 2 3Gbps ports, Port Multiplier supported with FBS mvsch0: at channel 0 on mvs0 mvsch1: at channel 1 on mvs0 cryptosoft0: Timecounters tick every 10.000 msec usbus0: 480Mbps High Speed USB v2.0