From owner-freebsd-virtualization@freebsd.org Mon Jul 15 10:16:51 2019 Return-Path: Delivered-To: freebsd-virtualization@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 77283B60FF for ; Mon, 15 Jul 2019 10:16:51 +0000 (UTC) (envelope-from kek@semihalf.com) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (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 E054389759 for ; Mon, 15 Jul 2019 10:16:48 +0000 (UTC) (envelope-from kek@semihalf.com) Received: by mail-wr1-x42b.google.com with SMTP id x1so1437264wrr.9 for ; Mon, 15 Jul 2019 03:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=CmdyX+nNcdwmuWccOU1IHfO1rqR46GIeor+swYsY2KY=; b=RmZXSD3dGaPO6Lskyk1XWKL/uix7TLM67pTCiOIpv8QNLkGPXcajDdLv9VQ5WHpC0o fy72MzP5al5dwoNLzacH30DTQ/VAoaV6ugzogAN2o2o2FdCAau2x44tPH5uTaZQUXUEG 2Ey/2NzRibMzlA2xcV7oSnYIKVEIYvS7k1bNtQejS4iFmPr2mMZ/AqwEEhdTn3lD7NLP eDe+iayE+smKNm/0Njpb2cHjtIRs2czVGS827UQ5AX//R7YsM70eB7SmkQVwYdTd7rJs gG025wWZRIy8EYl/iMu3U8ngekXHNMHiXpQYzAI5ttYefIB0UHgpH/QkmnJtLiq6TjPR AH1Q== 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=CmdyX+nNcdwmuWccOU1IHfO1rqR46GIeor+swYsY2KY=; b=cZZJNTZCq/Cd+pr71vwa3Z9/to3Hy4N8PeFVe+9kf+xxUz07F1fDTVnKXbzSZGTwsl ZBGwh7mWZqA5KS9t7yL6w2r/XFd5Ehnft5057jVHTrkUt8D/OadmAo1ON1ytGCOYYOFw wIXq3asj4mfKnaWQfYOyrUqvQXd1/ApkaEKOqaGF1xZBcKl6wBL0wbqjJ97l35ky9UI3 UlboPBN+it7aAQEm4ouscPNKnx7FzuzAXR7LOCMXhrCEvXUpiuMi+Iysudze5o5WdkNp ehahgV8rnxtSrsp8vyF8oXRgFX/Gs9NSt+QskpXA90UNp2iJzbveikjgSoMaFhLULn+Y vSyQ== X-Gm-Message-State: APjAAAVUuXQ8JJPMZMweh40eCPhiMKpzvTFt62j6tSCrFfK8il0AEByI it8GDD8UrggDqmRgkF+I2Z0LsG3uMcoAvWM3pt8D1FUe X-Google-Smtp-Source: APXvYqzwBEq6kJSeXZNdyR7O+bCj9mPPEKh7V/2Nta+X+RQUwpyTWVAzeH6qnv1Z4VrEOYetVQ7LjNqv9OzzA0Oojoo= X-Received: by 2002:a5d:5448:: with SMTP id w8mr28217530wrv.180.1563185807179; Mon, 15 Jul 2019 03:16:47 -0700 (PDT) MIME-Version: 1.0 From: Kamil Koczurek Date: Mon, 15 Jul 2019 12:16:36 +0200 Message-ID: Subject: bhyve fails on arm64 -- unknown exception type To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: E054389759 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=RmZXSD3d X-Spamd-Result: default: False [-5.92 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[semihalf-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[semihalf.com]; DKIM_TRACE(0.00)[semihalf-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[ASPMX2.GOOGLEMAIL.com,ALT2.ASPMX.L.GOOGLE.com,ASPMX.L.GOOGLE.com,ALT1.ASPMX.L.GOOGLE.com,ASPMX3.GOOGLEMAIL.com,ASPMX2.GOOGLEMAIL.com,ALT2.ASPMX.L.GOOGLE.com,ASPMX.L.GOOGLE.com,ALT1.ASPMX.L.GOOGLE.com,ASPMX3.GOOGLEMAIL.com]; RCVD_IN_DNSWL_NONE(0.00)[b.2.4.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]; NEURAL_HAM_SHORT(-0.66)[-0.658,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.96)[ip: (-9.39), ipnet: 2a00:1450::/32(-2.90), asn: 15169(-2.44), country: US(-0.06)] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2019 10:16:51 -0000 Hello, I'm testing bhyve on an arm64 board, and it fails on a basic use case. Setup: - board: EspressoBin - FreeBSD 13.0 (https://github.com/FreeBSD-UPB/freebsd/tree/projects/bhyvearm64-refactor) Steps to reproduce: $ kldload vmm $ cd /boot/kernel $ bhyveload -k kernel guest $ bhyve guest The following error appears almost instantly: `arm64_handle_world_switch:534 Unknown exception type: 1514243680` After this, the board stops responding and requires a hard reset. Debugger doesn't kick in either. It's not completely frozen though: I can see new kernel messages regarding the attached usb drive. I believe this might be interesting to people working on bhyve. Ps. I can collect additional information if needed, feel free to contact me either here or privately. Respectfully, Kamil Koczurek