All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: Roman Shaposhnik <roman@zededa.com>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: [Xen-devel] UEFI support on Dell boxes (was: Re: Status of 4.13)
Date: Tue, 26 Nov 2019 04:55:17 +0100	[thread overview]
Message-ID: <20191126035517.GT5763@mail-itl> (raw)
In-Reply-To: <CAMmSBy9gkVR-ua9=kVn9rNSb2VnvvtzaLL=ZM-GXxCdtRGRtvA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2378 bytes --]

On Mon, Nov 25, 2019 at 07:44:03PM -0800, Roman Shaposhnik wrote:
> On Sun, Nov 24, 2019 at 4:48 PM Marek Marczykowski-Górecki
> <marmarek@invisiblethingslab.com> wrote:
> > Do you have by
> > a chance messages of that crash (without efi=no-rs, but with
> > EFI_SET_VIRTUAL_ADDRESS_MAP enabled)? Or even a photo if no serial output is
> > available?
> 
> With my awesome soldering skills ;-) I managed to rig a serial console.
> 
> Output is attached. Please let me know if you'd like me to run any
> other experiments.

Looks helpful, lets try to do something:

>  Xen 4.13.0-rc
> (XEN) Xen version 4.13.0-rc (@) (gcc (Alpine 6.4.0) 6.4.0) debug=y  Tue Nov 26 03:19:38 UTC 2019
> (XEN) Latest ChangeSet:
> (XEN) build-id: 07aa9f711fe09a91be2588ee7df10d93ebe34c80
> (XEN) Bootloader: GRUB 2.03
> (XEN) Command line: com1=115200,8n1 console=com1 loglvl=all noreboot dom0_mem=640M,max:640M dom0_max_vcpus=1 dom0_vcpus_pin smt=false
(...)
> (XEN) EFI memory map:
(...)
> (XEN)  0000077587000-00000775f4fff type=5 attr=800000000000000f

This is code that crashes - runtime services code, so somewhere with
actual UEFI code.

(...)
> (XEN)  00000ff900000-00000ffffffff type=11 attr=8000000000000000
> (XEN) Unknown cachability for MFNs 0xff900-0xfffff

The faulting address is in this range. And because of unknown
cachability, it isn't mapped. Try adding 'efi=attr=uc' to the Xen
cmdline.

(...)

> (XEN) Xen call trace:
> (XEN)    [<00000000775e0d21>] R 00000000775e0d21
> (XEN)    [<00000000775ddb8e>] S 00000000775ddb8e
> (XEN)    [<0000000000000000>] F 0000000000000000
> (XEN)    [<7fffffff00000000>] F 7fffffff00000000
> (XEN)
> (XEN) Pagetable walk from 00000000ff920020:
> (XEN)  L4[0x000] = 00000000787c0063 ffffffffffffffff
> (XEN)  L3[0x003] = 0000000071298063 ffffffffffffffff
> (XEN)  L2[0x1fc] = 0000000000000000 ffffffffffffffff
> (XEN)
> (XEN) ****************************************
> (XEN) Panic on CPU 0:
> (XEN) FATAL PAGE FAULT
> (XEN) [error_code=0000]
> (XEN) Faulting linear address: 00000000ff920020
> (XEN) ****************************************
> (XEN)
> (XEN) Manual reset required ('noreboot' specified)


-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 157 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-11-26  3:55 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-21  6:05 [Xen-devel] Status of 4.13 Jürgen Groß
2019-11-21  7:30 ` Steven Haigh
2019-11-21  7:36   ` Jürgen Groß
2019-11-21  8:41     ` Jan Beulich
2019-11-21 15:20       ` George Dunlap
2019-11-21 15:34         ` Jan Beulich
2019-11-21 16:03           ` George Dunlap
2019-11-21 16:56             ` Jan Beulich
2019-11-21  8:53 ` Jan Beulich
2019-11-21  9:22   ` Roger Pau Monné
2019-11-21 10:57 ` Wei Liu
2019-11-21 14:16   ` Ian Jackson
2019-11-21 17:11     ` Oleksandr Grytsov
2019-11-21 16:20 ` Andrew Cooper
2019-11-21 16:48   ` Jan Beulich
2019-11-21 17:31 ` Roman Shaposhnik
2019-11-21 17:38   ` Andrew Cooper
2019-11-21 19:39     ` Roman Shaposhnik
2019-11-21 22:07       ` Marek Marczykowski-Górecki
2019-11-23  6:00     ` Roman Shaposhnik
2019-11-25  0:47       ` [Xen-devel] UEFI support on Dell boxes (was: Re: Status of 4.13) Marek Marczykowski-Górecki
2019-11-26  3:44         ` Roman Shaposhnik
2019-11-26  3:55           ` Marek Marczykowski-Górecki [this message]
2019-11-26  7:02             ` Roman Shaposhnik
2019-11-26  8:32               ` [Xen-devel] UEFI support on Dell boxes Jan Beulich
2019-11-26 17:25                 ` Roman Shaposhnik
2019-11-26 17:56               ` [Xen-devel] UEFI support on Dell boxes (was: Re: Status of 4.13) Roman Shaposhnik
2019-11-26 18:32                 ` Marek Marczykowski-Górecki
2019-11-26 20:12                   ` Roman Shaposhnik
2019-11-26 20:18                     ` Andrew Cooper
2019-11-27  9:07                       ` [Xen-devel] UEFI support on Dell boxes Jan Beulich
2019-11-27  9:01                   ` Jan Beulich
2019-11-25 14:02 ` [Xen-devel] Status of 4.13 Doug Goldstein
2019-11-25 14:06   ` Wei Liu
2019-11-25 15:59     ` Roger Pau Monné
2019-11-25 17:07       ` Wei Liu
2019-11-25 17:27         ` Roger Pau Monné
2019-11-25 17:34           ` Andrew Cooper
2019-11-25 17:43             ` Wei Liu
2019-11-25 17:49             ` Roger Pau Monné
2019-11-26  8:30               ` Jan Beulich
2019-11-26  9:08                 ` Roger Pau Monné
2019-11-26  9:32                   ` Jürgen Groß
2019-11-25 14:06   ` Jan Beulich
2019-11-26 21:20 [Xen-devel] UEFI support on Dell boxes (was: Re: Status of 4.13) Rich Persaud
2019-11-26 21:54 ` Roman Shaposhnik
2019-11-27  9:14 ` Jan Beulich
2019-11-27 11:34   ` Marek Marczykowski-Górecki
2019-11-27 11:57 Rich Persaud

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=20191126035517.GT5763@mail-itl \
    --to=marmarek@invisiblethingslab.com \
    --cc=roman@zededa.com \
    --cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.