From nobody Mon Sep 20 17:02:13 2021 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EA79317C8E1A for ; Mon, 20 Sep 2021 17:02:25 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mail.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HCrT94Sbtz4ZKV; Mon, 20 Sep 2021 17:02:21 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1632157333; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WtqN3pyVixJYZpn0qiHGdcnSloH/YrV+zpIeU0eknQA=; b=Yax1rPU03oghnUIYYA0QX2yg1jwCSILuIYEHJRSoiwmXWzX/NzVJUT3Zq9GUDvXVzbwB0c /mPpn9Fx0sZkIbrjZ6PwMVrAmRWLvK4YvBCt0drP9xJqF+RhAhAxylq4AkZ614pyIas7yx bGYaHAaUN0iECzaR+jEHEf7ym+W/GU4= Received: from amy (lfbn-idf2-1-644-191.w86-247.abo.wanadoo.fr [86.247.100.191]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 899b6162 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 20 Sep 2021 17:02:13 +0000 (UTC) Date: Mon, 20 Sep 2021 19:02:13 +0200 From: Emmanuel Vadot To: Andriy Gapon Cc: "freebsd-arm@freebsd.org" Subject: Re: rock64 verbose boot hangs Message-Id: <20210920190213.5839f18816daf1f6e4289b94@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HCrT94Sbtz4ZKV X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=Yax1rPU0; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-3.49 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip4:212.83.155.74/32]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROM(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-0.99)[-0.986]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi Andriy, On Sat, 18 Sep 2021 15:58:00 +0300 Andriy Gapon wrote: > > Normal boot works every time, but with boot_verbose="YES" it hanged on all > attempts so far. > > Last messages on the console: > cpulist0: on ofwbus0 > cpu0: on cpulist0 > cpu0: Nominal frequency 600Mhz > cpufreq_dt0: on cpu0 > cpufreq_dt0: 408.000 Mhz (950000 uV) > cpufreq_dt0: 600.000 Mhz (950000 uV) > cpufreq_dt0: 816.000 Mhz (1000000 uV) > cpufreq_dt0: 1008.000 Mhz (1100000 uV) > cpufreq_dt0: 1200.000 Mhz (1225000 uV) > cpufreq_dt0: 1296.000 Mhz (1300000 uV) > cpu1: on cpulist0 > cpu1: Nominal frequency 600Mhz > cpufreq_dt1: on cpu1 > > The kernel is totally unresponsive after that. Can't reproduce here, I'm running 548a706608d with latest DTB and latest u-boot/atf > Any suggestions on how to debug this? Not really sure how to start, that seems weird that the kernel will hang at the cpufreq attach but maybe try modifying the DTB to remove this node ? Also did that happens with my recent commit on clock or was this the same before ? Cheers, > Thanks! > -- > Andriy Gapon > -- Emmanuel Vadot