From owner-freebsd-arm@freebsd.org Thu Dec 31 12:15:40 2020 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 0CD4F4C0134 for ; Thu, 31 Dec 2020 12:15:40 +0000 (UTC) (envelope-from dan.kotowski@a9development.com) Received: from mail-40131.protonmail.ch (mail-40131.protonmail.ch [185.70.40.131]) (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 (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D66Yk31cYz4hZ6 for ; Thu, 31 Dec 2020 12:15:37 +0000 (UTC) (envelope-from dan.kotowski@a9development.com) Date: Thu, 31 Dec 2020 12:15:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a9development.com; s=protonmail; t=1609416928; bh=+//1JSOoNYx1uxKRPFkY7sGCkf/AQq42Tz5FSwTRVFQ=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=gYKm2sjO9ERJb3txiMMuCkDCecNMMvXjcjYzhejMcaEojURmLrkmSCw1QW9jAzK76 4vvYJuNcYLdGPNR9gMStFNVJ59zm1NIE6fdVXuSiDujR3vhPuhGkTC09hQBoltB4ZE r0xNiyTzZJX1TjwHnlak4xliL9gjZDz+oMm83uKI= To: Andrea Brancatelli From: Dan Kotowski Cc: freebsd-arm@freebsd.org Reply-To: Dan Kotowski Subject: Re: VirtIO-Net not correctly handled Message-ID: In-Reply-To: <7849A0D0-7307-4432-B0B0-6005C7062BBA@schema31.it> References: <7849A0D0-7307-4432-B0B0-6005C7062BBA@schema31.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Rspamd-Queue-Id: 4D66Yk31cYz4hZ6 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=a9development.com header.s=protonmail header.b=gYKm2sjO; dmarc=pass (policy=none) header.from=a9development.com; spf=none (mx1.freebsd.org: domain of dan.kotowski@a9development.com has no SPF policy when checking 185.70.40.131) smtp.mailfrom=dan.kotowski@a9development.com X-Spamd-Result: default: False [-1.80 / 15.00]; HAS_REPLYTO(0.00)[dan.kotowski@a9development.com]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[a9development.com:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[185.70.40.131:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[a9development.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[a9development.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[185.70.40.131:from]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[185.70.40.131:from] 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: Thu, 31 Dec 2020 12:15:40 -0000 > I could not find any way to get it to boot. :-( > > Machine on, white block upper left, nothing else happens. > > Inviato da iPhone > > > Il giorno 29 dic 2020, alle ore 19:14, Dan Kotowski dan.kotowski@a9deve= lopment.com ha scritto: > > > > > Hello everybody, > > > > > > after tuning CPU (1 cpu only) and Ram I was able to do a full install= of > > > > > > FreeBSD 12.2 in a Parallel Desktop VM running on an Apple M1. > > > > > > Everything seems quite in order but I can't get the network card to > > > > > > work. > > > > > > Parallel Desktop is presenting a virtio-net card and pciconf is > > > > > > correctly listing it but the driver doesn't hook to it. > > > > > > Here you can see a screenshot of the situation: > > > > > > https://www.dropbox.com/s/hv6g8btjm45m0mh/Schermata 2020-12-29 alle 1= 6.42.10.png?dl=3D0 > > > > > > [sorry if I keep posting screenshots but there's no console integrati= on > > > > > > so I can't copy and paste...] > > > > > > Any suggestion on how to get it working or investigate deeper? > > > > What about with 13-CURRENT? There's a lot of aarch64 work going on in 1= 3 that is unlikely to be backported to 12, so it'll be best to focus effort= there. > > > > --Dan Kotowski Can you do a verbose boot of 12.2 and post `/var/run/dmesg.boot` to https:/= /dmesgd.nycbug.org/index.cgi ? Also if you can figure out how to copy the output of `devinfo -v` and `pcic= onf -lv` somewhere shareable like a github gist or pastebin, it might help = as well. --Dan Kotowski