From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 472 invoked from network); 10 Dec 2020 20:43:44 -0000 Received: from ewsd.inri.net (107.191.116.128) by inbox.vuxu.org with ESMTPUTF8; 10 Dec 2020 20:43:44 -0000 Received: from mail-io1-f53.google.com ([209.85.166.53]) by ewsd; Thu Dec 10 15:37:28 -0500 2020 Received: by mail-io1-f53.google.com with SMTP id p187so7023477iod.4 for <9front@9front.org>; Thu, 10 Dec 2020 12:37:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=1eGSVU0Wy7EkXeSIFMwFCw6C40v75QzWJ2ynpreXSUM=; b=ei/vKVagRxgKwu3LXL7nLoi/7fcmv9JhtRMyFZzYcXhZx771ddtk2kMibpoPIzfAsz C6DxEZComWLlesVcZvtYYaWVB/NCkg+TbH1tX90JB4DK3lL1TQTCOAAzpG2IYVlOteHK zjc9HRW1mjoZBW1MN01jGcMTlc+pW1J3geLTc7gW0QoYzCEA6EC1NPImA4KtB3tjmjRd 1/3mH4TgqXyfrjv4CqMjIqwxf8h+dLkduWoXdzQ+pVavQdZA0mpDyPYGuJJKGqE7MR81 8BzjmhqkW5FMdlC8U2xM5KZD7dAMnWw1BiXtDR7lpmuV9g7y6/6akK1jxLqupbpU5LnG +BZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=1eGSVU0Wy7EkXeSIFMwFCw6C40v75QzWJ2ynpreXSUM=; b=sxSTv/86cSsr3UJM4RoT0A3xdThIkWO9+p7Hkm0YA9RbLackRfz3rAxHkv9hrbG4LO wKbilo/Z2VOqNDj9go/cbAthjB4hcvumGd9QA0XW+gAhsoyATXaS+7cc5hZrLfjqk/4q cXOUWTxAm47tJe7Yr3mZxrUAVNhCpLHBAKbE/IL+MxMl+LrCLuIffcLvbQAPZkI1hA3w bY8MzihVx4UN6KZQPDYhB8/E5rHvmpa0tYYJxkttoVKPXVHAuHF9ru6XZjd8t02Ya6D/ oEVtaNYB3TZqvBYYuXTC7LQH21+qw3hNulO0ZkLzvwC9Abb4VF2k3YJd4gj/l2RAIGcy ZWrQ== X-Gm-Message-State: AOAM530Bw/wyBI8bqK2l9ipJ2DB2GHbi3FZm+jLRKs6gSRdzl11fGEh8 DShoJ+dX3+rKEcEPI379jaim03sR+Gc= X-Google-Smtp-Source: ABdhPJzutLzlqcJensD74YLb22iR6O3znpPDFlMZjg2l4TDd6yl7OrTM38j94IW0TCcjUxCA49MzsQ== X-Received: by 2002:a05:6602:26d4:: with SMTP id g20mr10224176ioo.152.1607632643690; Thu, 10 Dec 2020 12:37:23 -0800 (PST) Return-Path: Received: from [10.0.1.5] (c-67-184-39-205.hsd1.il.comcast.net. [67.184.39.205]) by smtp.gmail.com with ESMTPSA id x5sm3889286ilm.22.2020.12.10.12.37.22 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Dec 2020 12:37:23 -0800 (PST) From: Xiao-Yong Jin Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.21\)) Date: Thu, 10 Dec 2020 14:37:21 -0600 References: To: 9front@9front.org In-Reply-To: Message-Id: <5D95EB31-AA3C-4D20-A314-568A308A4CE2@gmail.com> X-Mailer: Apple Mail (2.3654.20.0.2.21) List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: asynchronous polling app shader descriptor-oriented locator Subject: Re: [9front] kernel crash in bhyve Reply-To: 9front@9front.org Precedence: bulk > On Dec 10, 2020, at 5:30 AM, cinap_lenrek@felloff.net wrote: > > Btw, would it be possible for you to file a bug > with bhyve? > > I do not have a bsd installation nor do i want to > subscribe to their mailinglist right now. > > The issue is that the mtrr values they give us > are basically useless. > > Qemu, vmware and everyone else gets this right. > > The simplest fix might be that they just change > cpuid to tell the guest that mtrr is not supported. > > -- > cinap I'm not sure I understand the issue completely. I was using a specific debug switch '-w' in bhyve. -w Ignore accesses to unimplemented Model Specific Registers (MSRs). This is intended for debug purposes. Because previously, 9front wouldn't boot without this flag. Now I guess you added more error checking during the boot, and 9front boots fine without this '-w'. However, without this '-w' to bhyve, the MTRR code you gave me produces an error, rdmsr to register 0xc0010010 on vcpu 0 rdmsr c0010010: bad arg in system call range 0 1000000000 ( 1000000000) uc cache 0x0000000000000000 68719476736 uc It looks like '#P/msr' just cannot be read. ; cat '#P/msr' cat: error reading #P/msr: bad arg in system call