9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] kernel crash in bhyve
Date: Wed, 09 Dec 2020 20:05:14 +0100	[thread overview]
Message-ID: <CCB90423AC46D11566DD984AE761E1EA@felloff.net> (raw)
In-Reply-To: <805BF1C8-F6F2-449A-B954-DCF1BD4D1BAC@gmail.com>

the wmsr 0x401 is harmless. its trying to initialize
the MCE registers. you can get rid of it by passing
*nomce= to the kernel.

for the panic...

is this a regression or the first time you tried it?

the kernel calls rampage() initially to get memory
for the page tables todo the mappings at KZERO.

if this is a regression, you might try the *nomtrr=
flag. maybe the mtrr's are giving strange cache
attributes which makes the kernel exclude it from
the memory map.

the relevant line is here:

	/* RAM needs to be writeback */
	mtrrexclude(MemRAM, "wb");

maybe you can insert a call of memmapdump() before
and after this line?

--
cinap

  parent reply	other threads:[~2020-12-09 19:08 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 ` cinap_lenrek [this message]
2020-12-09 19:42   ` [9front] " 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
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=CCB90423AC46D11566DD984AE761E1EA@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --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).