[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Pygrub on ARM64



On Thu, 2016-02-25 at 10:35 +0000, Stefano Stabellini wrote:
> On Thu, 25 Feb 2016, Ian Campbell wrote:
> > On Thu, 2016-02-25 at 13:20 +0530, Sanjeev Pandita wrote:
> > >  
> > > Terminal 3: (manually running the pygrub command)
> > > [root@dhcp-194 xen]# export LD_LIBRARY_PATH=/usr/lib
> > > [root@dhcp-194 xen]# mkdir -p /var/run/xen/bootloader.2.d
> > > [root@dhcp-194 xen]# touch /var/run/xen/bootloader.2.out
> > > [root@dhcp-194 xen]# /usr/lib/xen/bin/pygrub --args="root=/dev/xvda4
> > > rw
> > > console=hvc0 earlyprintk=xen" --output=/var/run/xen/bootloader.2.out
> > > --
> > > output-format=simple0 --output-directory=/var/run/xen/bootloader.2.d
> > > /mnt/xen/CentOS-7-aarch64.img
> > > 
> > > (nothing comes on console after this) 
> > 
> > I don't remember ever seeing pygrub fail silently in this way.
> > 
> > I think at this point I would be trying a few different things, firstly
> > using strace(1) on the pygrub invocation to see if I could see where it
> > was
> > blocked. I think you can drop all of the arguments except for the
> > image,
> > e.g.
> > 
> >     pygrub /mnt/xen/CentOS-7-aarch64.img
> > 
> > leading to
> > 
> >     strace -o pygrub.strace pygrub /mnt/xen/CentOS-7-aarch64.img
> > 
> > (maybe add -fff if it looks to be using threads)
> > 
> > Secondly manually mounting CentOS-7-aarch64.img (e.g. "mount -o loop
> > etc",
> > or maybe kpartx -a first if the image has a partition table) to check
> > it
> > really is some sort of sensible/readable image.
> 
> CentOS's first partition is fat to boot on efi systems, but it only
> contains the grub efi binary. All the other partitions are xfs. Does
> pygrub support it?

I don't know, but pygrub is normally pretty vocal in these situations if it
doesn't ("cannot find partition" style message), here it is apparently just
silently hanging, which is pretty odd.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.