Applicable to:
- SolusVM
Symptoms
- VPS on SolusVM Xen HVM node does not start:
# xl create -c -V /home/xen/vm101/vm101.cfg
...
c: error: panic: xc_dom_boot.c:379: xc_dom_gnttab_hvm_seed: failed to add gnttab to physmap [errno=12]
: Internal error
libxl: error: libxl_dom.c:708:libxl__build_dom: xc_dom_gnttab_init failed: Cannot allocate memoryOr
Xen HVM VPS starts but shuts down unexpectedly.
- In Xen dmesg logs there is the following error:
# xl dmesg
...
(XEN) Failed to shatter gfn 44a75: -12
(XEN) d12124v0 EPT violation 0x59c (--x/rw-) gpa 0x00000044a750d6 mfn 0x644a75 type 0
(XEN) d12124v0 Walking EPT tables for GFN 44a75:
(XEN) d12124v0 epte 9c000019e5d86107
(XEN) d12124v0 epte 9c00000640000bf3
(XEN) d12124v0 --- GLA 0xffffb00a430100d6
(XEN) domain_crash called from vmx.c:3385
(XEN) Domain 12124 (vcpu#0) crashed on cpu#10: - The xen package version is or bigger than:
# rpm -qa | grep xen
xen-4.8.5.75
xen-4.10.4.26
xen-4.12.1.70
Cause
SolusVM sets too low value for shadow_memory
Resolution
- Open SolusVM > Virtual Servers > VPS > Custom Config
- Tick the "Enable Custom Config" and "Custom Only" options
- Copy and paste Live Config to Custom Config field
- Remove the line "shadow_memory"
- Press Save and Reboot
OR
- Connect to Master server via SSH
- Access Master database:
# wget https://raw.githubusercontent.com/solusvm-support/helpers/master/solusvmdb.sh && sh solusvmdb.sh
- Run the query:
MYSQL_LIN: update xendata set shadow=NULL;
- Navigate to SolusVM > Virtual Servers > VPS
- Click Rewrite Config and Reboot.
- Connect to Master server over SSH.
- Access Master database:
# wget https://raw.githubusercontent.com/solusvm-support/helpers/master/solusvmdb.sh && sh solusvmdb.sh
- Run the query:
MYSQL_LIN: ALTER table xendata modify shadow int(5) NULL;
Comments
0 commentsPlease sign in to leave a comment.