Mailing List Archive

Boot Sometimes Hangs At "masked EXTINT" (Varies)
I finally got a serial port working to capture problems with a xen
startup.  (Details in a posting
which I create after this.)

I have found I am having mixed results booting xen, sometimes it works,
other times
the boot process gets hung at a "masked ExtINT" stage.  I ran xen on
this server for 2 years
using a method of launching and EFI file in conjunction with a
configuration file.  I've
wanted to have xen work with grub so I did not have to manually nurse
each start-up.

It seems like if I select the edit mode in Grub2 of the Xen entry and
then launch
using control-x from within the editing session where I have not made
any changes,
I have a better chance of the boot process working.  Now it could be that
something is failing with the serial console; however, I have noticed that
when I click the reset button on the panel, a very short click simply
turns off
the server.  Normally, when the server is running and I have to turn it
off, I have
to hold the reset button down several seconds to cause power to go off.
This suggests that the hanging
session with the last posted message of "masked ExtINT[number varies]"
is, indeed,
the last event.

The boot ends up hanging at "masked ExtINT on CPU#2" or on "CPU#4" or
"CPU#6".

My next step is to try the latest version of xen and xen-tools, though
Gentoo has
that version flagged and I have to determine what the flagging is for:

https://packages.gentoo.org/packages/app-emulation/xen-tools

Here the tail of the boot log to the point of stopping:

...
(XEN) [2019-03-03 22:59:59] HVM: ASIDs enabled.
(XEN) [2019-03-03 22:59:59] HVM: VMX enabled
(XEN) [2019-03-03 22:59:59] HVM: Hardware Assisted Paging (HAP) detected
(XEN) [2019-03-03 22:59:59] HVM: HAP page sizes: 4kB, 2MB
(XEN) [2019-03-03 22:59:55] masked ExtINT on CPU#1
(XEN) [2019-03-03 22:59:55] masked ExtINT on CPU#2

Any thoughts or flags I should use to further capture what is happening?

Thank you,

John

-----------------------------------------------------------------------------------

The full log of the boot session from the point of selection in Grub2 is at:
https://pastebin.com/zsZrXhgJ


A log of a successful boot into a regular Linux session (non-Xen) is at:
https://pastebin.com/ZQ55wvaW

================== SOFTWARE ============================
Gentoo Linux:
# uname -a
Linux zeta 4.19.23-gentoo #7 SMP Sat Mar 2 20:42:00 PST 2019 x86_64
Intel(R) Atom(TM) CPU C2750 @ 2.40GHz GenuineIntel GNU/Linux
#

Kernel configuration (201903031742.config):

     https://pastebin.com/bBUAmcqG


installed Xen 4.11.1:
# eix -I xen
[I] app-emulation/xen
     Available versions:  4.10.2-r2^st (~)4.10.3^st (~)4.11.1^st
**4.12.0_rc2^st {custom-cflags debug efi flask}
     Installed versions:  4.11.1^st(09:56:57 PM 03/02/2019)(efi flask
-custom-cflags -debug)
     Homepage:            https://www.xenproject.org
     Description:         The Xen virtual machine monitor

[I] app-emulation/xen-tools
     Available versions:  4.10.2-r1(0/4.10)^t ~4.10.3(0/4.10)^t
(~)4.11.1(0/4.11)^t **4.12.0_rc2(0/4.12)^t {api custom-cflags debug doc
flask hvm ocaml ovmf +pam pygrub python +qemu +qemu-traditional screen
sdl static-libs system-qemu system-seabios PYTHON_TARGETS="python2_7"}
     Installed versions:  4.11.1(0/4.11)^t(09:53:47 PM
03/02/2019)(flask hvm ovmf pam qemu qemu-traditional screen sdl -api
-custom-cflags -debug -doc -ocaml -pygrub -python -static-libs
-system-qemu -system-seabios PYTHON_TARGETS="python2_7")
     Homepage:            https://www.xenproject.org
     Description:         Xen tools including QEMU and xl

Found 2 matches
 #

 Emerge log of xen-tools install:

    https://pastebin.com/yffT0gNb

 Emerge log of xen install:

    https://pastebin.com/Ygaefaf6

 # eix -I grub
[I] sys-boot/grub
     Available versions:  (2) 2.02-r1(2/2.02-r1)^st
~2.02-r2(2/2.02-r2)^st ~2.02-r3(2/2.02-r3)^st **9999(2/9999)^st
       {debug device-mapper doc efiemu +fonts libzfs mount multislot
nls sdl static test +themes truetype GRUB_PLATFORMS="coreboot efi-32
efi-64 emu ieee1275 loongson multiboot pc qemu qemu-mips uboot xen xen-32"}
     Installed versions:  2.02-r1(2/2.02-r1)^st(11:16:22 PM
03/02/2019)(fonts nls themes -debug -device-mapper -doc -efiemu -libzfs
-mount -multislot -sdl -static -test -truetype GRUB_PLATFORMS="efi-64 pc
xen -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -qemu
-qemu-mips -uboot -xen-32")
     Homepage:            https://www.gnu.org/software/grub/
     Description:         GNU GRUB boot loader

 #

================== HARDWARE =======================
Motherboard: Supermicro A1SAi-2750F

Processor/Cache:
CPU Intel® Atom™ Processor C2750
CPU TDP 20W (8-Core)
FCBGA 1283
System-on-Chip

Memory Capacity:
4x 204-pin DDR3 SO-DIMM socket
Supports up to 64GB DDR3 ECC Un-Buffered memory
Memory Type
1600/1333MHz ECC DDR3 SDRAM, 204-pin gold-plated DIMMs
DIMM Sizes 16GB, 8GB, 4GB, 2GB
Memory Voltage 1.5 V, 1.35

System BIOS Type 64Mb SPI Flash EEPROM with AMI UEFI

BIOS Features:
Plug and Play (PnP)
DMI 2.3
ACPI 5.0
USB Keyboard support
SMBIOS 2.7.1
UEFI

--
Email Rider

John Laurence Poole
Salem OR 97301-4241
707-812-1323 office


_______________________________________________
Xen-users mailing list
Xen-users@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-users
Re: Boot Sometimes Hangs At "masked EXTINT" (Varies) [ In reply to ]
Trying the 4.12.0_rc2 proved uneventful as as the seabios download task
of the Gentoo ebuild failed.  I've notified the Gentoo Xen maintainers
of that issue.  I looked into what it would take to try 4.12.0_rc4, but
realized the seabios problem would probably manifest itself there, too. 
So, to keep the momentum going, I back-stepped and uninstall 4.11.1 and
installed 4.10.2. This time the kerneal stopped earlier at:

(XEN) [2019-03-04 18:28:01] HVM: ASIDs enabled.
(XEN) [2019-03-04 18:28:01] HVM: VMX enabled
(XEN) [2019-03-04 18:28:01] HVM: Hardware Assisted Paging (HAP) detected

(XEN) [2019-03-04 18:28:01] HVM: HAP page sizes: 4kB, 2MB

[HUNG]

The complete log is at https://pastebin.com/HcqgubWa (for 30 days).

At this point, I'm out of options trying to install using Gentoo's
grub.  Since I had been able to boot Xen using the EFI shell, I guess
I'll return to that and see if I can get a reliable boot-up as I had
enjoyed previously.


On 3/3/2019 6:33 PM, John L. Poole wrote:
> I finally got a serial port working to capture problems with a xen
> startup.  (Details in a posting
> which I create after this.)
>
> I have found I am having mixed results booting xen, sometimes it
> works, other times
> the boot process gets hung at a "masked ExtINT" stage.  I ran xen on
> this server for 2 years
> using a method of launching and EFI file in conjunction with a
> configuration file.  I've
> wanted to have xen work with grub so I did not have to manually nurse
> each start-up.
>
> It seems like if I select the edit mode in Grub2 of the Xen entry and
> then launch
> using control-x from within the editing session where I have not made
> any changes,
> I have a better chance of the boot process working.  Now it could be that
> something is failing with the serial console; however, I have noticed
> that
> when I click the reset button on the panel, a very short click simply
> turns off
> the server.  Normally, when the server is running and I have to turn
> it off, I have
> to hold the reset button down several seconds to cause power to go off.
> This suggests that the hanging
> session with the last posted message of "masked ExtINT[number varies]"
> is, indeed,
> the last event.
>
> The boot ends up hanging at "masked ExtINT on CPU#2" or on "CPU#4" or
> "CPU#6".
>
> My next step is to try the latest version of xen and xen-tools, though
> Gentoo has
> that version flagged and I have to determine what the flagging is for:
>
> https://packages.gentoo.org/packages/app-emulation/xen-tools
>
> Here the tail of the boot log to the point of stopping:
>
> ...
> (XEN) [2019-03-03 22:59:59] HVM: ASIDs enabled.
> (XEN) [2019-03-03 22:59:59] HVM: VMX enabled
> (XEN) [2019-03-03 22:59:59] HVM: Hardware Assisted Paging (HAP) detected
> (XEN) [2019-03-03 22:59:59] HVM: HAP page sizes: 4kB, 2MB
> (XEN) [2019-03-03 22:59:55] masked ExtINT on CPU#1
> (XEN) [2019-03-03 22:59:55] masked ExtINT on CPU#2
>
> Any thoughts or flags I should use to further capture what is happening?
>
> Thank you,
>
> John
>
> -----------------------------------------------------------------------------------
>
>
> The full log of the boot session from the point of selection in Grub2
> is at:
> https://pastebin.com/zsZrXhgJ
>
>
> A log of a successful boot into a regular Linux session (non-Xen) is at:
> https://pastebin.com/ZQ55wvaW
>
> ================== SOFTWARE ============================
> Gentoo Linux:
> # uname -a
> Linux zeta 4.19.23-gentoo #7 SMP Sat Mar 2 20:42:00 PST 2019 x86_64
> Intel(R) Atom(TM) CPU C2750 @ 2.40GHz GenuineIntel GNU/Linux
> #
>
> Kernel configuration (201903031742.config):
>
>      https://pastebin.com/bBUAmcqG
>
>
> installed Xen 4.11.1:
> # eix -I xen
> [I] app-emulation/xen
>      Available versions:  4.10.2-r2^st (~)4.10.3^st (~)4.11.1^st
> **4.12.0_rc2^st {custom-cflags debug efi flask}
>      Installed versions:  4.11.1^st(09:56:57 PM 03/02/2019)(efi flask
> -custom-cflags -debug)
>      Homepage:            https://www.xenproject.org
>      Description:         The Xen virtual machine monitor
>
> [I] app-emulation/xen-tools
>      Available versions:  4.10.2-r1(0/4.10)^t ~4.10.3(0/4.10)^t
> (~)4.11.1(0/4.11)^t **4.12.0_rc2(0/4.12)^t {api custom-cflags debug
> doc flask hvm ocaml ovmf +pam pygrub python +qemu +qemu-traditional
> screen sdl static-libs system-qemu system-seabios
> PYTHON_TARGETS="python2_7"}
>      Installed versions:  4.11.1(0/4.11)^t(09:53:47 PM
> 03/02/2019)(flask hvm ovmf pam qemu qemu-traditional screen sdl -api
> -custom-cflags -debug -doc -ocaml -pygrub -python -static-libs
> -system-qemu -system-seabios PYTHON_TARGETS="python2_7")
>      Homepage:            https://www.xenproject.org
>      Description:         Xen tools including QEMU and xl
>
> Found 2 matches
>  #
>
>  Emerge log of xen-tools install:
>
>     https://pastebin.com/yffT0gNb
>
>  Emerge log of xen install:
>
>     https://pastebin.com/Ygaefaf6
>
>  # eix -I grub
> [I] sys-boot/grub
>      Available versions:  (2) 2.02-r1(2/2.02-r1)^st
> ~2.02-r2(2/2.02-r2)^st ~2.02-r3(2/2.02-r3)^st **9999(2/9999)^st
>        {debug device-mapper doc efiemu +fonts libzfs mount multislot
> nls sdl static test +themes truetype GRUB_PLATFORMS="coreboot efi-32
> efi-64 emu ieee1275 loongson multiboot pc qemu qemu-mips uboot xen
> xen-32"}
>      Installed versions:  2.02-r1(2/2.02-r1)^st(11:16:22 PM
> 03/02/2019)(fonts nls themes -debug -device-mapper -doc -efiemu
> -libzfs -mount -multislot -sdl -static -test -truetype
> GRUB_PLATFORMS="efi-64 pc xen -coreboot -efi-32 -emu -ieee1275
> -loongson -multiboot -qemu -qemu-mips -uboot -xen-32")
>      Homepage:            https://www.gnu.org/software/grub/
>      Description:         GNU GRUB boot loader
>
>  #
>
> ================== HARDWARE =======================
> Motherboard: Supermicro A1SAi-2750F
>
> Processor/Cache:
> CPU Intel® Atom™ Processor C2750
> CPU TDP 20W (8-Core)
> FCBGA 1283
> System-on-Chip
>
> Memory Capacity:
> 4x 204-pin DDR3 SO-DIMM socket
> Supports up to 64GB DDR3 ECC Un-Buffered memory
> Memory Type
> 1600/1333MHz ECC DDR3 SDRAM, 204-pin gold-plated DIMMs
> DIMM Sizes 16GB, 8GB, 4GB, 2GB
> Memory Voltage 1.5 V, 1.35
>
> System BIOS Type 64Mb SPI Flash EEPROM with AMI UEFI
>
> BIOS Features:
> Plug and Play (PnP)
> DMI 2.3
> ACPI 5.0
> USB Keyboard support
> SMBIOS 2.7.1
> UEFI
>
--
Email Rider

John Laurence Poole
1566 Court ST NE
Salem OR 97301-4241
707-812-1323 office