From owner-freebsd-virtualization@freebsd.org Mon Jul 15 10:41:29 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 046A0B6948 for ; Mon, 15 Jul 2019 10:41:29 +0000 (UTC) (envelope-from alexandru.elisei@gmail.com) Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) (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 267418A6AC for ; Mon, 15 Jul 2019 10:41:28 +0000 (UTC) (envelope-from alexandru.elisei@gmail.com) Received: by mail-ed1-x543.google.com with SMTP id w13so14985962eds.4 for ; Mon, 15 Jul 2019 03:41:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y6MWPZUfIJv55xeg6Quc/bzpoqhPbzpbOxeUhnKnZls=; b=Ik3J59gqe+68RBGBhJvlQ9U8lKiehqUaYM/+iUn9Ky4QbCkonH6TzTYmVneWio49by c2PondkkyvI0P03VCjw6FKbDdjNp0mV03IrUBAXOY/wyjVKolvF3lqq/Hf7ZIq+OPbSA ADu+7BXRYYDVCSCAOcItf2u7sIxvWz/x26xVKy4iOboOR4HJ+YZwUGqbUDKX5pOI++5f Ij9vl6791b6JbSbaxWG2twdTIqKQCCK7FoEmvi6d6lblsIvadtAmlaNZWqLjOc3z+Syt 0WV8tYAE3k7nQk7ZaRto0BjJQZfayFJ1IrG3B/znb3mKdNSfa89pbzGHu4AVR1LjvXsL XrwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y6MWPZUfIJv55xeg6Quc/bzpoqhPbzpbOxeUhnKnZls=; b=J9cX+5ObryysyOY8a82fx8fsgQNl6MioRFbSeWo4jyz4u99HDe/Ii8hlFG3U8hPA4e CejptvKHzR2EYRikmCSbQ7fNOBtsyu1xq5dHNRo3Gg2g2SkhwBMEXMfJN/PAwBlOOtQ6 +rjSQKDERldfp45YlkedNh0EFw9P+B2ZkTJJHIVDp0oJ0rWFZnhbheAkMn2f7RX5Xxcb oYGuVENvLJ3r2ssiLApJsGUo3zxUgURMTZIG4IlxfaQmNHB4gJRdoztksOvvKShVO4W4 /3EezEmciRg1BeWnRpKzCgBopuSJ5/YUP+tp3HR0WzB2PT6Udv4UQaMP2L+lQLmdHCtm 6ZwA== X-Gm-Message-State: APjAAAXLfLl7yPDwAkR60mCJa5C9iaN2aLuZXGhNgYQUPT1b74Nj9pfU YWLY+4WrKirHDBRqQpX66X4c/Q5qEBeJ1RuthLW29qY+cfc= X-Google-Smtp-Source: APXvYqyTxo4zWbROLbThoSftNlXfeCTeAzq43d2MtKYAgDXDJidBPXlalSoe8hYbTxXJ8SzmnNzPhLU0nr/65KpTEh8= X-Received: by 2002:a17:906:e95:: with SMTP id p21mr19531793ejf.205.1563187287079; Mon, 15 Jul 2019 03:41:27 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alexandru Elisei Date: Mon, 15 Jul 2019 11:41:16 +0100 Message-ID: Subject: Re: bhyve fails on arm64 -- unknown exception type To: Kamil Koczurek Cc: freebsd-virtualization@freebsd.org X-Rspamd-Queue-Id: 267418A6AC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Ik3J59gq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of alexandruelisei@gmail.com designates 2a00:1450:4864:20::543 as permitted sender) smtp.mailfrom=alexandruelisei@gmail.com X-Spamd-Result: default: False [-4.86 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.75)[-0.754,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)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.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]; IP_SCORE(-1.09)[ip: (-0.07), ipnet: 2a00:1450::/32(-2.89), asn: 15169(-2.44), country: US(-0.06)]; 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-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:41:29 -0000 Hello, >From the error message and the symptoms you described, it looks like something is broken with the world switch code. Thank you for testing bhyve. Regards, Alex On Mon, Jul 15, 2019 at 11:17 AM Kamil Koczurek wrote: > 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 > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" >