Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems in installing Nephele environment #1

Open
coder-y04 opened this issue Mar 14, 2024 · 2 comments
Open

Problems in installing Nephele environment #1

coder-y04 opened this issue Mar 14, 2024 · 2 comments

Comments

@coder-y04
Copy link

coder-y04 commented Mar 14, 2024

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

@clupuishere
Copy link
Member

First of all, thanks for your interest in Nephele! I would need a few more details to understand your setup:

  1. What kind of machine are you using? And how does it access the storage?

  2. Can you please also paste the entire stack trace in the first case?

  3. In the second case, when using the Xen image from alpine-v3.13-rootfs, does Dom0 respond to ping?

@coder-y04
Copy link
Author

Because I haven't had the chance to continue trying Nephele recently, I apologize for not receiving and replying to your messages in a timely manner.

  1. I performed this operation on a physical machine with 48 Intel(R) Xeon(R) Silver 4214 CPUs @ 2.20GHz. The virtual machine created on it has 16GB of memory and 400GB of storage space, using the default virtual disk storage method provided by VMware, and includes necessary support for virtualization.
  2. Like this? Because the startup log output is very fast, I find it difficult to capture all the stack traces and determine the error location.
    image
  3. dom0 can ping the network.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants