[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] problem on running xen on CentOS 7 on APM X-Gene Aarch64 platform
CC'ing xen-devel and Julien and George. The grub2 package coming with CentOS is not capable of booting Xen on arm64. When you do "yum update" after "yum install centos-release-xen", you should be getting a new grub2 package with Xen support in it. But it looks like that is not happening for you. Maybe there is an even newer version of grub2 available from the main CentOS repository which supersedes the one provided by centos-release-xen? Or maybe the Xen aware grub2 package in centos-release-xen has been dropped? The Xen aware grub2 package is (used to be) grub2-efi 2.02-0.16.1.el17. On Mon, 16 May 2016, Congfeng Jiang wrote: > Hi Stefano, > > Just add to my first email that when I run commands > > "yum install centos-release-xen " AND "yum update" > > > > Then reboot the system, the system won't boot and said > > "error: out of memory > > Press any key to continue..." > > > > I checked that when run "yum update" after "yum install centos-release-xen " > > It updated grub2-efi-2.02-0.16.1.el7.aarch64.rpm and > grub2-tools-2.02-0.16.1.el7.aarch64.rpm. > > > But I dont know what it updated. > > > Thanks! > > > Best, > > > Congfeng > > > > Hi Stefano, > > I 'm a student at Wayne State University in Detroit,Michigan. > > > > I tried to run xen on APM X-Gene Aarch64 platform with CentOS 7 but > failed. > > I followed your instructions here: > https://blog.xenproject.org/2015/10/05/xen-in-centos-7-aarch64/ > > However, when I run the following commands > > yum install centos-release-xen > yum update > yum install xen libvirt > > > and edited the /etc/default/grub file with > dtuart=/soc/serial@1c020000 as you did. > And then > grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg > > Actually after the "grub2-mkconfig ..." command, the grub.cfg > didn't change anything. > The grub.cfg file is the same with before running such commands. > I thought maybe it is because that the board is UEFI, not > U-booting? So it doesn't affect the grub.cfg file? > > The" yum install xen libvirt" only created a "Xen" directory in > /boot/efi/EFI/ > and placed two files in the "Xen'" directory: > Xen-4.6.0rc2x-4.el7.cfg.sample and Xen-4.6.0-rc-4.el7.efi > and place files in /boot directory with file Xen-4.6.0-rc-4.el7 and some > links. > > I copied the vmlinuz-4.2.0-0.28.el7.1.aarch64 and > initramfs-4.2.0-0.28.el7.1.aarch64.img > to /boot/efi/EFI/centos/Xen and wrote a configuration file named with > Xen-4.6.0-rc-4.el7.cfg according to the sample .cfg file. > > I also added an entry into the UEFI BOOT manager following the instructions : > http://wiki.xenproject.org/wiki/Xen_EFI > > > > After rebooting, > If I chose to boot Xen, it printed 5 lines and stalled after "L3C 3 8MB" > If I chose to boot my original system, it said: > > error: out of memory > Press any key to continue... > > To figure it out ,I tried the commands step by step ,and found that > even if I just did > yum install centos-release-xen > and then reboot the system, the system won't boot and said: > > error: out of memory > Press any key to continue... > > Here I didn't started anything related to Xen except installing the > centos-release-xen repo. > I looks so weird. > This means that after "yum install centos-release-xen" the system > is changed and resulted in the disability to boot which causing "out > of memory". > I did not know is it a bug because I can exactly reproduce it many times . > > > Here are the details of the platform: > ARM64 bit board: APM X-Gene , 8core/16GB Mem/500 HDD with UEFI support > OS: CentOS 7 for Aarch64, > http://mirror.centos.org/altarch/7/isos/aarch64/CentOS-7-aarch64-Everything.iso > Kernel: 4.2.0-0.28 after yum update(shipped with the above CentOS 7 > is 4.2.0-0.27) > > I greatly appreciate it if you can help me out. > > Thanks! > > Congfeng > > Department of Computer Science > Wayne State University > Detroit 48201, MI > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |