9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Xiao-Yong Jin <meta.jxy@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] kernel crash in bhyve
Date: Thu, 10 Dec 2020 22:55:06 -0600	[thread overview]
Message-ID: <59540567-ACE4-46A1-8B60-78B9BBF78187@gmail.com> (raw)
In-Reply-To: <CAH_zEu6_eaX0gZe6jgKx8hO2FSwC2A_8UHPmda1QBeUoQ3MweQ@mail.gmail.com>


> On Dec 10, 2020, at 5:12 PM, Nick Owens <mischief@offblast.org> wrote:
> 
> you cannot just read #P/msr at offset 0. the offset is significant. io
> -M can be used to read an MSR at a specific offset.

That makes sense.  The registers are 0 with the correct offset.

; for(r in 0x2ff 0x0fe) io -r -M $r
0x0
0x0

In fact, the MTRR registers are all 0:

https://github.com/freebsd/freebsd/blob/e8142e44905fa62147ba10703e7ce2c5464fb2b7/sys/amd64/vmm/intel/vmx_msr.c#L426-L432

> On Dec 10, 2020, at 7:12 PM, ori@eigenstate.org wrote:
> 
> I can try to reproduce and maybe file a bug this
> weekend.

Please do.  Thanks.



  reply	other threads:[~2020-12-11  5:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-09 18:18 Xiao-Yong Jin
2020-12-09 18:26 ` [9front] " Xiao-Yong Jin
2020-12-09 18:44   ` ori
2020-12-09 19:05 ` [9front] " cinap_lenrek
2020-12-09 19:42   ` Xiao-Yong Jin
2020-12-09 20:52     ` cinap_lenrek
2020-12-09 21:22       ` Xiao-Yong Jin
2020-12-09 22:04         ` cinap_lenrek
2020-12-09 22:36           ` Xiao-Yong Jin
2020-12-09 23:18             ` cinap_lenrek
2020-12-10  0:10               ` Xiao-Yong Jin
2020-12-10  0:45                 ` cinap_lenrek
2020-12-10 11:30                 ` cinap_lenrek
2020-12-10 20:37                   ` Xiao-Yong Jin
2020-12-10 23:12                     ` Nick Owens
2020-12-11  4:55                       ` Xiao-Yong Jin [this message]
2020-12-11 14:27                         ` cinap_lenrek
2020-12-11  1:12                   ` ori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59540567-ACE4-46A1-8B60-78B9BBF78187@gmail.com \
    --to=meta.jxy@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).