From owner-freebsd-arm@freebsd.org Wed Jan 27 15:41:53 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0E6284FC513 for ; Wed, 27 Jan 2021 15:41:53 +0000 (UTC) (envelope-from freebsd-rj@obsigna.com) Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [85.215.255.52]) (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 "*.smtp.rzone.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DQnsD0x5kz4fLV for ; Wed, 27 Jan 2021 15:41:51 +0000 (UTC) (envelope-from freebsd-rj@obsigna.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1611762109; s=strato-dkim-0002; d=obsigna.com; h=References:To:Cc:In-Reply-To:Date:Subject:Message-Id:From:Cc:Date: From:Subject:Sender; bh=WOvTM5izW9lsgwOyoCOFEFoERNlvMZkQhh/vKw32ol0=; b=OwzVGWjGeN23Sjh72R8pxsa/h1Lr6OVhs7+h66EnK6yf8L5E+kAvlem8LQdhQIGxMo kOx+7XHssaEJWdGNBUPcBlPmZT80+mtQI86wuNBMnsduwWxDI7NM9tBwsD+3UBGkMuzr +BqJzV3kw/w4V8MKqCo2YeL+qMxuzrFXxKO6UQprGxnJW2FNBRkbyGPLh6wux4SV0+q3 0rFSBcXr6zP88fde1GTddPwsGLt3iWZgDKmClN25DNNJvUT+HQniNVeRkh/wFQYLTD07 zoYv33NkxoMdT+LTaHhAmKOJIbxeeF5GiySeQ6KE58+H057oepBEgpEyBL3T3pddTr9A LYiA== X-RZG-AUTH: ":O2kGeEG7b/pS1F2rRHW2isrKl4DV03XBEi+I6ZuztdvN9wS3wFGySS4Lw+ldTBio0dVVInWnas+zpAhAiA/W" X-RZG-CLASS-ID: mo00 Received: from mail.obsigna.com by smtp.strato.de (RZmta 47.15.2 DYNA|AUTH) with ESMTPSA id f09a39x0RFfk5Ks (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Wed, 27 Jan 2021 16:41:46 +0100 (CET) Received: from rolf-aux.obsigna.com (rolf-aux.obsigna.com [192.168.222.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.obsigna.com (Postfix) with ESMTPSA id 4E7321350F946; Wed, 27 Jan 2021 12:41:43 -0300 (-03) From: "Dr. Rolf Jansen" Message-Id: <0B51DB45-B571-4350-927C-41D73C206698@obsigna.com> Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.7\)) Subject: Re: Hang while trying to boot armv7 on qemu-system-arm Date: Wed, 27 Jan 2021 12:41:42 -0300 In-Reply-To: Cc: freebsd-arm@freebsd.org To: =?utf-8?B?TWljaGHFgiBHw7Nybnk=?= References: X-Mailer: Apple Mail (2.3445.9.7) X-Rspamd-Queue-Id: 4DQnsD0x5kz4fLV X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=obsigna.com header.s=strato-dkim-0002 header.b=OwzVGWjG; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-rj@obsigna.com designates 85.215.255.52 as permitted sender) smtp.mailfrom=freebsd-rj@obsigna.com X-Spamd-Result: default: False [-1.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:85.215.255.0/24]; URI_COUNT_ODD(1.00)[3]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[obsigna.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:6724, ipnet:85.215.255.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[obsigna.com:s=strato-dkim-0002]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[obsigna.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[85.215.255.52:from]; FROM_NAME_HAS_TITLE(1.00)[dr]; RWL_MAILSPIKE_VERYGOOD(0.00)[85.215.255.52:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2021 15:41:53 -0000 > Am 27.01.2021 um 11:21 schrieb Micha=C5=82 G=C3=B3rny = : >=20 > Hi, >=20 > I'm currently working on improving LLDB support for FreeBSD. As part > of that, I would like to do some testing on all platforms that are > supported by LLDB on FreeBSD. I've been trying to boot armv7 via qemu > following the recipe on wiki [1] but without success. >=20 > I've been trying the armv7 images from FTP, 12.2 in GENERICSD and RPI2 > variants, and 12.1 in GENERICSD variant. In all cases, the system > seemed to hang at 'spinner'. While qemu used 100% of one of the CPU > threads, nothing new was output for a few minutes (FWICS FreeBSD's CI > sets a timeout of 60 seconds), so I suppose it actually hanged. >=20 > The last screen of output I got is: >=20 > ``` > Loading kernel... > /boot/kernel/kernel text=3D0x8b757c data=3D0xa4d90 data=3D0x0+0x1f4000 > syms=3D[0x4+0xa42d0+0x4+0x106515] > Loading configured modules... > can't find '/boot/entropy' > /boot/kernel/umodem.ko text=3D0x1520 text=3D0xf10 data=3D0x234+0x4 > syms=3D[0x4+0xe70+0x4+0xa74] > loading required module 'ucom' > /boot/kernel/ucom.ko text=3D0x1714 text=3D0x2c6c data=3D0x3c4+0x838 > syms=3D[0x4+0x13e0+0x4+0xbac] > can't find '/etc/hostid' >=20 > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... =20 > Using DTB provided by EFI at 0x47dfd000. > Kernel entry at 0x57e00180... > Kernel args: (null) > | > ``` >=20 > Does anyone have any idea what I am doing wrong? Or have any recent > successes booting FreeBSD on qemu-system-arm? >=20 > Alternatively, would someone with real hardware or working VM be able = to > offer me shell access for a few days? I only need to transfer my = cross- > built LLDB, run one unit test and test a bit of debugging on a trivial > program, so I won't use many resources. >=20 >=20 > [1] https://wiki.freebsd.org/QemuRecipes#armv7 > [2] http://ftp.freebsd.org/pub/FreeBSD/releases/arm/armv7/ISO-IMAGES/ >=20 > --=20 > Best regards, > Micha=C5=82 G=C3=B3rny I cannot be of help with QUEMU, but I could give you ssh access to one = of my BeagleBone Blacks. This one is currently running 13.0-ALPHA2. = Frequently I build world with WORLD_FLAGS=3D"MK_LLDB=3Dyes". LLDB builds = fine for ARMv7 and it is usable to a certain extend on a BBB, but there = are some issues. Perhaps we may discuss this later on. Best regards Rolf Dr. Rolf Jansen - - Rua Reginaldo de Lima, 98 Parque S=C3=A3o Diogo 09732-550, S=C3=A3o Bernardo do Campo S=C3=A3o Paulo - Brazil Phone: 0055-11/4317-0974 Mobile: 0055-11/9 8141-1465 E-Mail: rj@obsigna.com BLog: obsigna.com