You are not logged in.

#1 2013-08-18 03:21:27

EvanTeitelman
Member
From: North America
Registered: 2013-08-17
Posts: 1

Unable to boot Xen 4.1

The problem

When I boot Xen, I see the following text for less than one second.

Loading Xen 4.2.2 ...
Loading Linux linux ...
Loading initial ramdisk ...

I am then presented with a white cursor. The cursor is in the upper-left screen corner. It blinks at a rate of two or three hertz. The rest of the screen is black. The fan revs up. The system remains in this state indefinitely.

What I am using
  • Xen 4.2.2 from the AUR

  • An up-to-date Arch system as dom0

  • `uname -a` output: Linux paradark 3.10.6-2-ARCH #1 SMP PREEMPT Tue Aug 13 09:47:01 CEST 2013 x86_64 GNU/Linux

  • A Lenovo Ideapad y500

How I installed and configured Xen

I installed and configured Xen according to the Xen Arch Wiki page. Here are the steps I took in order:

  1. Installed Xen from the AUR

  2. Generated Grub configuration file with

    grub-mkconfig -o /boot/grub/grub.cfg
  3. Enabled the Xen systemd services (xenstored, xenconsoled, and xendomains)

  4. Added `none /proc/xen xenfs defaults 0 0` to /etc/fstab

My question

What steps should I take to trace down the root of my problem?

Additional information

/boot/grub/grub.cfg:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

set menu_color_normal=white/black
set menu_color_highlight=black/white

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  322fcb27-5e60-4fdc-8cf9-eeb5ffc6e906
else
  search --no-floppy --fs-uuid --set=root 322fcb27-5e60-4fdc-8cf9-eeb5ffc6e906
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if sleep --interruptible 1 ; then
  set timeout=1
fi

set super_users="para"
password_pbkdf2 para <password redacted>

### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/09_xen ###
menuentry 'Xen 4.2.2 / para GNU/Linux, with Linux linux' --class xen --class para --class gnu-linux --class gnu --class os {
	savedefault
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  28bec037-2a4f-44c4-894e-55584f06a4cc
	else
	  search --no-floppy --fs-uuid --set=root 28bec037-2a4f-44c4-894e-55584f06a4cc
	fi
       echo    'Loading Xen 4.2.2 ...'
       multiboot       /xen-4.2.2.gz /xen-4.2.2.gz xsave=1
       echo    Loading Linux linux ...
       module  /vmlinuz-linux /vmlinuz-linux root=UUID=322fcb27-5e60-4fdc-8cf9-eeb5ffc6e906 ro console=tty0
       echo    "Loading initial ramdisk ..."
       module  /initramfs-linux.img
}
### END /etc/grub.d/09_xen ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'para Linux, with Linux core repo kernel' --class para --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-322fcb27-5e60-4fdc-8cf9-eeb5ffc6e906' {
	savedefault
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  28bec037-2a4f-44c4-894e-55584f06a4cc
	else
	  search --no-floppy --fs-uuid --set=root 28bec037-2a4f-44c4-894e-55584f06a4cc
	fi
	echo	'Loading Linux core repo kernel ...'
	linux	/vmlinuz-linux root=UUID=322fcb27-5e60-4fdc-8cf9-eeb5ffc6e906 rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-linux.img
}
menuentry 'para Linux, with Linux core repo kernel (Fallback initramfs)' --class para --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-322fcb27-5e60-4fdc-8cf9-eeb5ffc6e906' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  28bec037-2a4f-44c4-894e-55584f06a4cc
	else
	  search --no-floppy --fs-uuid --set=root 28bec037-2a4f-44c4-894e-55584f06a4cc
	fi
	echo	'Loading Linux core repo kernel ...'
	linux	/vmlinuz-linux root=UUID=322fcb27-5e60-4fdc-8cf9-eeb5ffc6e906 rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-linux-fallback.img
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###

Modules loaded by dom0 without Xen:

Module                  Size  Used by
dm_mod                 72431  0 
iptable_filter          1488  0 
ip_tables              17282  1 iptable_filter
x_tables               17351  2 ip_tables,iptable_filter
joydev                  9663  0 
snd_hda_codec_hdmi     29701  1 
mperf                   1267  0 
arc4                    2000  2 
iwldvm                171906  0 
iTCO_wdt                5407  0 
iTCO_vendor_support     1929  1 iTCO_wdt
mxm_wmi                 1467  0 
mac80211              455011  1 iwldvm
uvcvideo               72761  0 
videobuf2_vmalloc       3272  1 uvcvideo
videobuf2_memops        2335  1 videobuf2_vmalloc
videobuf2_core         27797  1 uvcvideo
iwlwifi               136611  1 iwldvm
videodev              105373  2 uvcvideo,videobuf2_core
alx                    27461  0 
media                  10916  2 uvcvideo,videodev
snd_hda_codec_realtek    35549  1 
jmb38x_ms              11233  0 
cfg80211              406112  3 iwlwifi,mac80211,iwldvm
memstick                7376  1 jmb38x_ms
intel_powerclamp        8802  0 
btusb                  18496  0 
coretemp                6038  0 
bluetooth             308366  2 btusb
mdio                    3525  1 alx
snd_hda_intel          35309  3 
kvm_intel             128977  0 
snd_hda_codec         147506  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               6332  1 snd_hda_codec
kvm                   376394  1 kvm_intel
snd_pcm                77765  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          7234  2 snd_pcm,snd_hda_intel
thermal                 8620  0 
crc32_pclmul            3019  0 
crc32c_intel           14249  0 
snd_timer              18718  2 snd_pcm
ghash_clmulni_intel     4501  0 
snd                    58950  11 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
aesni_intel            46124  0 
ideapad_laptop          9961  0 
aes_x86_64              7399  1 aesni_intel
lrw                     3565  1 aesni_intel
nvidia               9323761  54 
gf128mul                5858  1 lrw
sparse_keymap           3114  1 ideapad_laptop
soundcore               5418  1 snd
mei_me                  9688  0 
rfkill                 15666  4 cfg80211,ideapad_laptop,bluetooth
glue_helper             4609  1 aesni_intel
i2c_i801               11237  0 
mei                    61444  1 mei_me
ablk_helper             1972  1 aesni_intel
wmi                     8283  1 mxm_wmi
ac                      3324  0 
lpc_ich                12849  0 
battery                 6925  0 
cryptd                  8473  3 ghash_clmulni_intel,aesni_intel,ablk_helper
video                  11328  0 
psmouse                85132  0 
button                  4669  0 
microcode              13172  0 
serio_raw               5041  0 
processor              27755  0 
pcspkr                  2027  0 
evdev                   9880  8 
drm                   231168  2 nvidia
i2c_core               23720  4 drm,i2c_i801,nvidia,videodev
ext4                  456123  4 
crc16                   1359  2 ext4,bluetooth
mbcache                 5866  1 ext4
jbd2                   81946  1 ext4
sd_mod                 30730  6 
ahci                   22792  4 
libahci                21169  1 ahci
libata                171016  2 ahci,libahci
sdhci_pci              11819  0 
ehci_pci                4120  0 
ehci_hcd               47640  1 ehci_pci
xhci_hcd               89455  0 
scsi_mod              127772  2 libata,sd_mod
sdhci                  28627  1 sdhci_pci
mmc_core               94875  2 sdhci,sdhci_pci
usbcore               177151  5 btusb,uvcvideo,ehci_hcd,ehci_pci,xhci_hcd
usb_common              1648  1 usbcore

lsblk output:

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0  22.4G  0 disk 
|-sda1   8:1    0     1M  0 part 
|-sda2   8:2    0   400M  0 part /boot
|-sda3   8:3    0     8G  0 part 
`-sda4   8:4    0    10G  0 part /
sdb      8:16   0 931.5G  0 disk 
|-sdb1   8:17   0     1M  0 part 
|-sdb2   8:18   0     5G  0 part 
|-sdb3   8:19   0   250G  0 part /home
|-sdb4   8:20   0 660.5G  0 part 
|-sdb5   8:21   0     7G  0 part /var
`-sdb6   8:22   0     5G  0 part 

/proc/cpuinfo:

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 58
model name	: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
stepping	: 9
microcode	: 0x15
cpu MHz		: 2352.000
cache size	: 6144 KB
physical id	: 0
siblings	: 8
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips	: 4790.62
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 58
model name	: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
stepping	: 9
microcode	: 0x15
cpu MHz		: 3024.000
cache size	: 6144 KB
physical id	: 0
siblings	: 8
core id		: 0
cpu cores	: 4
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips	: 4790.62
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 58
model name	: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
stepping	: 9
microcode	: 0x15
cpu MHz		: 2448.000
cache size	: 6144 KB
physical id	: 0
siblings	: 8
core id		: 1
cpu cores	: 4
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips	: 4790.62
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 58
model name	: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
stepping	: 9
microcode	: 0x15
cpu MHz		: 1176.000
cache size	: 6144 KB
physical id	: 0
siblings	: 8
core id		: 1
cpu cores	: 4
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips	: 4790.62
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 4
vendor_id	: GenuineIntel
cpu family	: 6
model		: 58
model name	: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
stepping	: 9
microcode	: 0x15
cpu MHz		: 2400.000
cache size	: 6144 KB
physical id	: 0
siblings	: 8
core id		: 2
cpu cores	: 4
apicid		: 4
initial apicid	: 4
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips	: 4790.62
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 5
vendor_id	: GenuineIntel
cpu family	: 6
model		: 58
model name	: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
stepping	: 9
microcode	: 0x15
cpu MHz		: 2472.000
cache size	: 6144 KB
physical id	: 0
siblings	: 8
core id		: 2
cpu cores	: 4
apicid		: 5
initial apicid	: 5
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips	: 4790.62
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 6
vendor_id	: GenuineIntel
cpu family	: 6
model		: 58
model name	: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
stepping	: 9
microcode	: 0x15
cpu MHz		: 2520.000
cache size	: 6144 KB
physical id	: 0
siblings	: 8
core id		: 3
cpu cores	: 4
apicid		: 6
initial apicid	: 6
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips	: 4790.62
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 7
vendor_id	: GenuineIntel
cpu family	: 6
model		: 58
model name	: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
stepping	: 9
microcode	: 0x15
cpu MHz		: 2832.000
cache size	: 6144 KB
physical id	: 0
siblings	: 8
core id		: 3
cpu cores	: 4
apicid		: 7
initial apicid	: 7
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips	: 4790.62
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

Last edited by EvanTeitelman (2013-08-18 03:25:04)

Offline

Board footer

Powered by FluxBB