Skip to content

Problems in installing Nephele environment #1

@LunaWhispers

Description

@LunaWhispers

My server version is Ubuntu 22.04, with Linux kernel version 5.15.
Because my server originally had a Xen environment, I did not follow the instructions at https://github.com/nephele-vm/experiments entirely, but I referenced the Xen part of the build.sh script to set up. Here is the installation process:

git clone https://github.com/nephele-vm/experiments.git
cd experiments
mkdir dev
cd dev
git clone https://github.com/nephele-vm/xen.git

# build ovs,the build.sh script used
build_ovs 

cd /root/experiments/dev/xen

# configure
./configure --disable-docs --disable-stubdom #--prefix=/root/dist/xen/

# build xen hypervisor
cd xen
cp /root/experiments/build/xen/config .config
make CONFIG_MEM_SHARING=y
cd ../

# build tools
make dist-tools CONFIG_SEABIOS=n CONFIG_IPXE=n CONFIG_QEMU_XEN=y CONFIG_QEMUU_EXTRA_ARGS="--disable-slirp --enable-virtfs --disable-werror" OCAML_TOOLS=y GIT_HTTP=y
make install-tools

Then I used xen.gz compiled from the xen/xen directory for booting, and the GRUB program I used is:

menuentry 'Ubuntu GNU/Linux, with Xen xen and Linux 5.15.0-100-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-5.15.0-100-generic-advanced-11caf4b7-5439-477c-9845-f067275de7df' {
	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  f6a640c9-038e-4061-8828-757241d84dfc
	else
	  search --no-floppy --fs-uuid --set=root f6a640c9-038e-4061-8828-757241d84dfc
	fi
	echo	'Loading Xen xen ...'
        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
            xen_rm_opts=
        else
            xen_rm_opts="no-real-mode edd=off"
        fi
	multiboot2	/xen.gz placeholder   ${xen_rm_opts}
	echo	'Loading Linux 5.15.0-100-generic ...'
	module2	/vmlinuz-5.15.0-100-generic placeholder root=/dev/mapper/ubuntu--vg-ubuntu--lv ro  
	echo	'Loading initial ramdisk ...'
	module2	--nounzip   /initrd.img-5.15.0-100-generic
}

The server hangs at this point during startup, and there are RCU CPU Stall warnings on each CPU.
image
Firstly, I am certain that there are no issues with the dom0 Linux kernel because when I attempted to boot with the original xen-4.16, no errors occurred, and Xen executed normally.
I suspect that there might be an error in the xen.gz I compiled. Subsequently, I replaced xen.gz with xen-4.16-unstable.gz from the /alpine-v3.13-rootfs/boot/ directory. However, during boot, it still hangs at this point.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions