All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems booting 32-bit PV; just me or more widespread?
@ 2018-08-30  0:51 Andy Smith
  2018-08-30 21:59 ` Boris Ostrovsky
  0 siblings, 1 reply; 6+ messages in thread
From: Andy Smith @ 2018-08-30  0:51 UTC (permalink / raw)
  To: xen-devel

Hi,

I'm sorry this is a long email, but I wanted to explain everything
that I have tried, because it seems like quite a few different
versions of 32-bit upstream Linux kernel no longer boot as PV guest
and I'm surprised I am the first to encounter this. Probably I
have done something wrong.

I cannot get any of the Ubuntu packaged 32-bit mainline kernels
after v4.13.16 that are found at
http://kernel.ubuntu.com/~kernel-ppa/mainline/ to boot in 32-bit PV
mode. All of them from v4.14.0rc1 onwards crash on xl create either
saying "error: no XEN note found." or else immediately producing a
kernel panic like:

.
.
.
[ 0.114370] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.114382] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.114423] pinctrl core: initialized pinctrl subsystem
[ 0.134326] RTC time: 165:165:165, date: 165/165/65
[ 0.134442] NET: Registered protocol family 16
[ 0.134457] xen:grant_table: Grant tables using version 1 layout
[ 0.134502] Grant table initialized
[ 0.134544] audit: initializing netlink subsys (disabled)
[ 0.134611] audit: type=2000 audit(1535307799.132:1): state=initialized audit_enabled=0 res=1
[ 0.134678] EISA bus registered
[ 0.136019] PCI: setting up Xen PCI frontend stub
[ 0.136073] BUG: unable to handle kernel paging request at edc21fd9
[ 0.136084] IP: eisa_bus_probe+0x19/0x36
[ 0.136089] *pdpt = 0000000001ee6027 *pde = 0000000029cc6067 *pte = 0000000000000000
[ 0.136100] Oops: 0000 [#1] SMP
[ 0.136105] Modules linked in:
[ 0.136111] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.15.0-33-generic #36-Ubuntu
[ 0.136120] EIP: eisa_bus_probe+0x19/0x36
[ 0.136125] EFLAGS: 00010246 CPU: 0
[ 0.136130] EAX: edc21fd9 EBX: 00000000 ECX: 01e0d000 EDX: 00000200
[ 0.136138] ESI: c1d0d452 EDI: c1dd34a4 EBP: e9c89f24 ESP: e9c89f24
[ 0.136145] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: e021
[ 0.136154] CR0: 80050033 CR2: edc21fd9 CR3: 01e10000 CR4: 00042660
[ 0.136166] Call Trace:
[ 0.136173] do_one_initcall+0x49/0x174
[ 0.136179] ? parse_args+0x143/0x390
[ 0.136187] ? set_debug_rodata+0x14/0x14
[ 0.136193] kernel_init_freeable+0x149/0x1c5
[ 0.136201] ? rest_init+0xa0/0xa0
[ 0.136207] kernel_init+0xd/0xf0
[ 0.136213] ret_from_fork+0x2e/0x38
[ 0.140000] Code: ff b8 df 43 ae c1 e8 35 1b 88 ff e8 20 12 88 ff c9 c3 3e 8d 74 26 00 55 b9 04 00 00 00 31 d2 b8 d9 ff 0f 00 89 e5 e8 35 8d 35 ff <8b> 10 81 fa 45 49 53 41 75 0a c7 05 a0 76 ed c1 01 00 00 00 e8
[ 0.140000] EIP: eisa_bus_probe+0x19/0x36 SS:ESP: e021:e9c89f24
[ 0.140000] CR2: 00000000edc21fd9
[ 0.140000] ---[ end trace 8c00b3cb7d4f06ba ]---
[ 0.140013] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009

(that one was from the currently-packaged linux-image-generic in
Ubuntu 18.04 LTS).

amd64 kernels work no problem.

On the host I'm running Xen 4.10.1 with up to date XSAs.

The guests are booted by either 32-bit or 64-bit pvgrub2 but to take
that out of the picture I copied the kernels and initramfs files to
the host and tried direct kernel boot. In that case I get:

$ sudo xl create -c /var/tmp/debtest1.conf
Parsing config from /var/tmp/debtest1.conf
xc: error: panic: xc_dom_core.c:702: xc_dom_find_loader: no loader found: Invalid kernel
libxl: error: libxl_dom.c:718:libxl__build_dom: xc_dom_parse_image failed: No such file or directory
libxl: error: libxl_create.c:1264:domcreate_rebuild_done: Domain 43:cannot (re-)build domain: -3
libxl: error: libxl_domain.c:1000:libxl__destroy_domid: Domain 43:Non-existant domain
libxl: error: libxl_domain.c:959:domain_destroy_callback: Domain 43:Unable to destroy guest
libxl: error: libxl_domain.c:886:domain_destroy_cb: Domain 43:Destruction of domain failed

The "No such file or directory" is strange as the file does exist at
the correct path. I can only think that the previous "Invalid
kernel" causes that.

I then began to wonder what the situation was like in Debian.

32-bit Debian stable works fine, but that's a 4.9.x kernel. That
works both from pvgrub2 and from direct kernel boot. A kernel based
on 4.9.17 is available in stretch-backports so I tried that
(linux-image-4.17.0-0.bpo.3-686). That behaves as above (either "No
XEN note" from pvgrub2 or "Invalid kernel" from xl create).

I then used the procedure described in the Debian Kernel Handbook
(https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s-kernel-org-package)
to build a kernel from
https://git.kernel.org/torvalds/t/linux-4.19-rc1.tar.gz. That also
fails to boot in the same way.

So, my investigations so far suggest that everything from v4.14.0
onwards will not boot as a 32-bit PV guest. Is this a known issue,
or did I do something wrong? As I say, if it were an upstream kernel
issue then I am surprised I am the first to encounter it, but
perhaps the use of more modern kernel versions and 32-bit PV is
quite low.

If this is not a known issue then perhaps I can git bisect to find
what broke this, or perform any other debugging you'd like me to
try.

I started looking into this because I have a user who was running
32-bit Ubuntu 16.04 LTS. They did a release upgrade to 18.04 from
their working guest, and then found their new kernel did not boot. I
confirmed the behaviour as above and also realised that I had in
fact never tested 32-bit Ubuntu 18.04, only 64-bit, so at the moment
there is no packaged 32-bit kernel in Ubuntu 18.04 that is working
for my setup, and possibly everyone else's. The user has since
reinstalled their guest with 64-bit.

Thanks,
Andy

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems booting 32-bit PV; just me or more widespread?
  2018-08-30  0:51 Problems booting 32-bit PV; just me or more widespread? Andy Smith
@ 2018-08-30 21:59 ` Boris Ostrovsky
  2018-08-31 12:48   ` Jason Andryuk
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Boris Ostrovsky @ 2018-08-30 21:59 UTC (permalink / raw)
  To: xen-devel

On 08/29/2018 08:51 PM, Andy Smith wrote:
> Hi,
>
> I'm sorry this is a long email, but I wanted to explain everything
> that I have tried, because it seems like quite a few different
> versions of 32-bit upstream Linux kernel no longer boot as PV guest
> and I'm surprised I am the first to encounter this. Probably I
> have done something wrong.
>
> I cannot get any of the Ubuntu packaged 32-bit mainline kernels
> after v4.13.16 that are found at
> http://kernel.ubuntu.com/~kernel-ppa/mainline/ to boot in 32-bit PV
> mode. All of them from v4.14.0rc1 onwards crash on xl create either
> saying "error: no XEN note found." 

Don't know what this error is, perhaps kernel was not compiled with
CONFIG_XEN.


> or else immediately producing a
> kernel panic like:
>
> .
> .
> .
> [ 0.114370] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
> [ 0.114382] futex hash table entries: 256 (order: 2, 16384 bytes)
> [ 0.114423] pinctrl core: initialized pinctrl subsystem
> [ 0.134326] RTC time: 165:165:165, date: 165/165/65
> [ 0.134442] NET: Registered protocol family 16
> [ 0.134457] xen:grant_table: Grant tables using version 1 layout
> [ 0.134502] Grant table initialized
> [ 0.134544] audit: initializing netlink subsys (disabled)
> [ 0.134611] audit: type=2000 audit(1535307799.132:1): state=initialized audit_enabled=0 res=1
> [ 0.134678] EISA bus registered
> [ 0.136019] PCI: setting up Xen PCI frontend stub
> [ 0.136073] BUG: unable to handle kernel paging request at edc21fd9
> [ 0.136084] IP: eisa_bus_probe+0x19/0x36
> [ 0.136089] *pdpt = 0000000001ee6027 *pde = 0000000029cc6067 *pte = 0000000000000000
> [ 0.136100] Oops: 0000 [#1] SMP
> [ 0.136105] Modules linked in:
> [ 0.136111] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.15.0-33-generic #36-Ubuntu
> [ 0.136120] EIP: eisa_bus_probe+0x19/0x36
> [ 0.136125] EFLAGS: 00010246 CPU: 0
> [ 0.136130] EAX: edc21fd9 EBX: 00000000 ECX: 01e0d000 EDX: 00000200
> [ 0.136138] ESI: c1d0d452 EDI: c1dd34a4 EBP: e9c89f24 ESP: e9c89f24
> [ 0.136145] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: e021
> [ 0.136154] CR0: 80050033 CR2: edc21fd9 CR3: 01e10000 CR4: 00042660
> [ 0.136166] Call Trace:
> [ 0.136173] do_one_initcall+0x49/0x174
> [ 0.136179] ? parse_args+0x143/0x390
> [ 0.136187] ? set_debug_rodata+0x14/0x14
> [ 0.136193] kernel_init_freeable+0x149/0x1c5
> [ 0.136201] ? rest_init+0xa0/0xa0
> [ 0.136207] kernel_init+0xd/0xf0
> [ 0.136213] ret_from_fork+0x2e/0x38
> [ 0.140000] Code: ff b8 df 43 ae c1 e8 35 1b 88 ff e8 20 12 88 ff c9 c3 3e 8d 74 26 00 55 b9 04 00 00 00 31 d2 b8 d9 ff 0f 00 89 e5 e8 35 8d 35 ff <8b> 10 81 fa 45 49 53 41 75 0a c7 05 a0 76 ed c1 01 00 00 00 e8
> [ 0.140000] EIP: eisa_bus_probe+0x19/0x36 SS:ESP: e021:e9c89f24
> [ 0.140000] CR2: 00000000edc21fd9
> [ 0.140000] ---[ end trace 8c00b3cb7d4f06ba ]---
> [ 0.140013] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
>
> (that one was from the currently-packaged linux-image-generic in
> Ubuntu 18.04 LTS).


Yes, this looks like it was broken by f7eaf6e00fd5 ("x86/boot: Move EISA
setup to a separate file").

We used to use fixmap for EISA addresses, but not anymore. If you can
build your own kernel you could try the patch below (may be
whitespace-damaged)

-boris

diff --git a/arch/x86/kernel/eisa.c b/arch/x86/kernel/eisa.c
index f260e452e4f8..133e16c2fbc6 100644
--- a/arch/x86/kernel/eisa.c
+++ b/arch/x86/kernel/eisa.c
@@ -9,7 +9,12 @@
 
 static __init int eisa_bus_probe(void)
 {
-       void __iomem *p = ioremap(0x0FFFD9, 4);
+       void __iomem *p;
+
+       if (EISA_bus == -1)
+               return 0;
+
+       p = ioremap(0x0FFFD9, 4);
 
        if (readl(p) == 'E' + ('I'<<8) + ('S'<<16) + ('A'<<24))
                EISA_bus = 1;
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
index 1163e33121fb..b78ef1a67943 100644
--- a/arch/x86/xen/setup.c
+++ b/arch/x86/xen/setup.c
@@ -12,6 +12,10 @@
 #include <linux/memblock.h>
 #include <linux/cpuidle.h>
 #include <linux/cpufreq.h>
+#ifdef CONFIG_EISA
+#include <linux/eisa.h>
+#endif
+
 
 #include <asm/elf.h>
 #include <asm/vdso.h>
@@ -854,6 +858,10 @@ char * __init xen_memory_setup(void)
 
        e820__update_table(e820_table);
 
+#ifdef CONFIG_EISA
+       EISA_bus = -1;
+#endif
+


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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: Problems booting 32-bit PV; just me or more widespread?
  2018-08-30 21:59 ` Boris Ostrovsky
@ 2018-08-31 12:48   ` Jason Andryuk
  2018-09-02 22:39   ` Andy Smith
  2018-09-03  0:32   ` Andy Smith
  2 siblings, 0 replies; 6+ messages in thread
From: Jason Andryuk @ 2018-08-31 12:48 UTC (permalink / raw)
  To: Boris Ostrovsky, andy; +Cc: xen-devel

On Thu, Aug 30, 2018 at 6:00 PM Boris Ostrovsky
<boris.ostrovsky@oracle.com> wrote:
>
> On 08/29/2018 08:51 PM, Andy Smith wrote:
> > Hi,
> >
> > I'm sorry this is a long email, but I wanted to explain everything
> > that I have tried, because it seems like quite a few different
> > versions of 32-bit upstream Linux kernel no longer boot as PV guest
> > and I'm surprised I am the first to encounter this. Probably I
> > have done something wrong.
> >
> > I cannot get any of the Ubuntu packaged 32-bit mainline kernels
> > after v4.13.16 that are found at
> > http://kernel.ubuntu.com/~kernel-ppa/mainline/ to boot in 32-bit PV
> > mode. All of them from v4.14.0rc1 onwards crash on xl create either
> > saying "error: no XEN note found."
>
> Don't know what this error is, perhaps kernel was not compiled with
> CONFIG_XEN.

32bit 4.14 stable kernels work for me. Like Boris said, "error: no XEN
note found." makes me think CONFIG_XEN was not set.

> > or else immediately producing a
> > kernel panic like:
> >
> > .
> > .
> > .
> > [ 0.114370] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
> > [ 0.114382] futex hash table entries: 256 (order: 2, 16384 bytes)
> > [ 0.114423] pinctrl core: initialized pinctrl subsystem
> > [ 0.134326] RTC time: 165:165:165, date: 165/165/65
> > [ 0.134442] NET: Registered protocol family 16
> > [ 0.134457] xen:grant_table: Grant tables using version 1 layout
> > [ 0.134502] Grant table initialized
> > [ 0.134544] audit: initializing netlink subsys (disabled)
> > [ 0.134611] audit: type=2000 audit(1535307799.132:1): state=initialized audit_enabled=0 res=1
> > [ 0.134678] EISA bus registered
> > [ 0.136019] PCI: setting up Xen PCI frontend stub
> > [ 0.136073] BUG: unable to handle kernel paging request at edc21fd9
> > [ 0.136084] IP: eisa_bus_probe+0x19/0x36
> > [ 0.136089] *pdpt = 0000000001ee6027 *pde = 0000000029cc6067 *pte = 0000000000000000
> > [ 0.136100] Oops: 0000 [#1] SMP
> > [ 0.136105] Modules linked in:
> > [ 0.136111] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.15.0-33-generic #36-Ubuntu
> > [ 0.136120] EIP: eisa_bus_probe+0x19/0x36
> > [ 0.136125] EFLAGS: 00010246 CPU: 0
> > [ 0.136130] EAX: edc21fd9 EBX: 00000000 ECX: 01e0d000 EDX: 00000200
> > [ 0.136138] ESI: c1d0d452 EDI: c1dd34a4 EBP: e9c89f24 ESP: e9c89f24
> > [ 0.136145] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: e021
> > [ 0.136154] CR0: 80050033 CR2: edc21fd9 CR3: 01e10000 CR4: 00042660
> > [ 0.136166] Call Trace:
> > [ 0.136173] do_one_initcall+0x49/0x174
> > [ 0.136179] ? parse_args+0x143/0x390
> > [ 0.136187] ? set_debug_rodata+0x14/0x14
> > [ 0.136193] kernel_init_freeable+0x149/0x1c5
> > [ 0.136201] ? rest_init+0xa0/0xa0
> > [ 0.136207] kernel_init+0xd/0xf0
> > [ 0.136213] ret_from_fork+0x2e/0x38
> > [ 0.140000] Code: ff b8 df 43 ae c1 e8 35 1b 88 ff e8 20 12 88 ff c9 c3 3e 8d 74 26 00 55 b9 04 00 00 00 31 d2 b8 d9 ff 0f 00 89 e5 e8 35 8d 35 ff <8b> 10 81 fa 45 49 53 41 75 0a c7 05 a0 76 ed c1 01 00 00 00 e8
> > [ 0.140000] EIP: eisa_bus_probe+0x19/0x36 SS:ESP: e021:e9c89f24
> > [ 0.140000] CR2: 00000000edc21fd9
> > [ 0.140000] ---[ end trace 8c00b3cb7d4f06ba ]---
> > [ 0.140013] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
> >
> > (that one was from the currently-packaged linux-image-generic in
> > Ubuntu 18.04 LTS).
>
>
> Yes, this looks like it was broken by f7eaf6e00fd5 ("x86/boot: Move EISA
> setup to a separate file").
>
> We used to use fixmap for EISA addresses, but not anymore. If you can
> build your own kernel you could try the patch below (may be
> whitespace-damaged)

My kernels disable CONFIG_ISA, and therefore CONFIG_EISA, so I haven't hit this.

Regards,
Jason

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems booting 32-bit PV; just me or more widespread?
  2018-08-30 21:59 ` Boris Ostrovsky
  2018-08-31 12:48   ` Jason Andryuk
@ 2018-09-02 22:39   ` Andy Smith
  2018-09-03  0:32   ` Andy Smith
  2 siblings, 0 replies; 6+ messages in thread
From: Andy Smith @ 2018-09-02 22:39 UTC (permalink / raw)
  To: xen-devel

Hi Boris,

On Thu, Aug 30, 2018 at 05:59:38PM -0400, Boris Ostrovsky wrote:
> Yes, this looks like it was broken by f7eaf6e00fd5 ("x86/boot: Move EISA
> setup to a separate file").
> 
> We used to use fixmap for EISA addresses, but not anymore. If you can
> build your own kernel you could try the patch below (may be
> whitespace-damaged)

Yep, I recompiled Ubuntu 18.04's
linux-image-4.15.0-33-generic_4.15.0-33.36_i386.deb with this patch
and it now works, thanks. I reported the bug here:

    https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1789118

So I'll now add a pointer there to your patch.

Cheers,
Andy

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems booting 32-bit PV; just me or more widespread?
  2018-08-30 21:59 ` Boris Ostrovsky
  2018-08-31 12:48   ` Jason Andryuk
  2018-09-02 22:39   ` Andy Smith
@ 2018-09-03  0:32   ` Andy Smith
  2018-09-04 23:53     ` Boris Ostrovsky
  2 siblings, 1 reply; 6+ messages in thread
From: Andy Smith @ 2018-09-03  0:32 UTC (permalink / raw)
  To: xen-devel

Hi Boris,

On Thu, Aug 30, 2018 at 05:59:38PM -0400, Boris Ostrovsky wrote:
> On 08/29/2018 08:51 PM, Andy Smith wrote:
> > I cannot get any of the Ubuntu packaged 32-bit mainline kernels
> > after v4.13.16 that are found at
> > http://kernel.ubuntu.com/~kernel-ppa/mainline/ to boot in 32-bit PV
> > mode. All of them from v4.14.0rc1 onwards crash on xl create either
> > saying "error: no XEN note found." 
> 
> Don't know what this error is, perhaps kernel was not compiled with
> CONFIG_XEN.

So, your patch gets the packaged linux-image-generic working. As
mentioned above, in the course of looking into this problem I found
that many of the other 32-bit Ubuntu kernels crashed as well.

You're probably right that whatever I was testing above was not
compiled with CONFIG_XEN.

This one should work though as it's their netboot installer:

    http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-i386/current/images/netboot/xen/

When I do xl create with this one (direct kernel boot), I get this
crash in the xl dmesg:

(XEN) domain_crash_sync called from entry.S: fault at ffff82d0803510d8 x86_64/compat/entry.S#compat_create_bounce_frame+0xd9/0xed
(XEN) Domain 73 (vcpu#0) crashed on cpu#4:
(XEN) ----[ Xen-4.10.1  x86_64  debug=n   Not tainted ]----
(XEN) CPU:    4
(XEN) RIP:    e019:[<00000000c1038ef9>]
(XEN) RFLAGS: 0000000000000292   EM: 1   CONTEXT: pv guest (d73v0)
(XEN) rax: 00000000c1cd3540   rbx: 00000000c18a01e0   rcx: 0000000000000000
(XEN) rdx: 0000000000000000   rsi: 00000000c1bfdeec   rdi: 00000000c1bfdf34
(XEN) rbp: 00000000c1bfdf10   rsp: 00000000c1bfdecc   r8:  0000000000000000
(XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
(XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
(XEN) r15: 0000000000000000   cr0: 0000000080050033   cr4: 00000000003526e0
(XEN) cr3: 0000003f56d54000   cr2: 0000000000000014
(XEN) fsb: 0000000000000000   gsb: 0000000000000000   gss: 0000000000000000
(XEN) ds: e021   es: e021   fs: e021   gs: e021   ss: e021   cs: e019
(XEN) Guest stack trace from esp=c1bfdecc:
(XEN)   00000000 c1038ef9 0001e019 00010092 c1cd3540 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 ffffffff c1bfdf24 c1cd3540 c1cd3540 c1bfdf30
(XEN)   c1bfdf34 c1bfdf50 c1039a77 c1bfdf3c c1bfdf38 c1bfdf40 0000202e 00001000
(XEN)   00000000 00000000 80000008 00000000 00000000 00000000 00000000 c248a000
(XEN)   c1eda000 c1bfdffc c1cf5222 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 c248a000 c1eda000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

Any ideas about that one?

Thanks,
Andy

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems booting 32-bit PV; just me or more widespread?
  2018-09-03  0:32   ` Andy Smith
@ 2018-09-04 23:53     ` Boris Ostrovsky
  0 siblings, 0 replies; 6+ messages in thread
From: Boris Ostrovsky @ 2018-09-04 23:53 UTC (permalink / raw)
  To: Andy Smith, xen-devel

On 09/02/2018 08:32 PM, Andy Smith wrote:
>
> This one should work though as it's their netboot installer:
>
>     http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-i386/current/images/netboot/xen/
>
> When I do xl create with this one (direct kernel boot), I get this
> crash in the xl dmesg:
>
> (XEN) domain_crash_sync called from entry.S: fault at ffff82d0803510d8 x86_64/compat/entry.S#compat_create_bounce_frame+0xd9/0xed
> (XEN) Domain 73 (vcpu#0) crashed on cpu#4:
> (XEN) ----[ Xen-4.10.1  x86_64  debug=n   Not tainted ]----
> (XEN) CPU:    4
> (XEN) RIP:    e019:[<00000000c1038ef9>]
> (XEN) RFLAGS: 0000000000000292   EM: 1   CONTEXT: pv guest (d73v0)
> (XEN) rax: 00000000c1cd3540   rbx: 00000000c18a01e0   rcx: 0000000000000000
> (XEN) rdx: 0000000000000000   rsi: 00000000c1bfdeec   rdi: 00000000c1bfdf34
> (XEN) rbp: 00000000c1bfdf10   rsp: 00000000c1bfdecc   r8:  0000000000000000
> (XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
> (XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
> (XEN) r15: 0000000000000000   cr0: 0000000080050033   cr4: 00000000003526e0
> (XEN) cr3: 0000003f56d54000   cr2: 0000000000000014
> (XEN) fsb: 0000000000000000   gsb: 0000000000000000   gss: 0000000000000000
> (XEN) ds: e021   es: e021   fs: e021   gs: e021   ss: e021   cs: e019
> (XEN) Guest stack trace from esp=c1bfdecc:
> (XEN)   00000000 c1038ef9 0001e019 00010092 c1cd3540 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 ffffffff c1bfdf24 c1cd3540 c1cd3540 c1bfdf30
> (XEN)   c1bfdf34 c1bfdf50 c1039a77 c1bfdf3c c1bfdf38 c1bfdf40 0000202e 00001000
> (XEN)   00000000 00000000 80000008 00000000 00000000 00000000 00000000 c248a000
> (XEN)   c1eda000 c1bfdffc c1cf5222 00000000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 c248a000 c1eda000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> (XEN)   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
>
> Any ideas about that one?
>

No. You will need to find out what RIP points to in the vmlinux. And
possibly unwrap the stack.

(BTW, when replying, please include whoever you are replying to, not
just the list)


-boris

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-09-04 23:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-30  0:51 Problems booting 32-bit PV; just me or more widespread? Andy Smith
2018-08-30 21:59 ` Boris Ostrovsky
2018-08-31 12:48   ` Jason Andryuk
2018-09-02 22:39   ` Andy Smith
2018-09-03  0:32   ` Andy Smith
2018-09-04 23:53     ` Boris Ostrovsky

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.