grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: PV-Grub2 works here but doesnt work their...
Date: Fri, 22 Jan 2016 13:58:21 +0100	[thread overview]
Message-ID: <56A2276D.3020208@gmail.com> (raw)
In-Reply-To: <em8035b73b-6c6b-4805-ae95-1c9f9ed4f944@ndc-wkst-2>

[-- Attachment #1: Type: text/plain, Size: 2166 bytes --]

On 10.09.2015 20:46, Shaun Reitan wrote:
> I posted this to the Xen Mailing Lists too but figured i should post
> here as well. 
>  
> We are experiencing a odd issue after we built grub2 support.  The image
> we built works fine on some hosts and then just hangs on others.
>  
> I built grub2 as follows...
> -------------
> git clone http://git.savannah.gnu.org/cgit/grub.git
> cd  grub
> wget http://prgmr.com/~srn/grub2/xen-linux16.patch
> patch -p1 < xen-linux16.patch
> ./autogen.sh
> ./configure --target=x86_64 --with-platform=xen --prefix=/opt/grub2
> make
> make install
> export PATH=/opt/grub2/bin:/opt/grub2/sbin:$PATH
>  
> Next I built the image as follows...
> ---------------
> cat > grub-bootstrap.cfg << EOF
> normal (memdisk)/grub.cfg
> EOF
> cat > grub.cfg << EOF
> for grubcfg in /boot/grub2/grub.cfg /boot/grub2/grub2.cfg
> /boot/grub/grub2.cfg /boot/grub/grub.cfg /grub2/grub2.cfg /grub/grub.cfg
> /etc/grub2.cfg /etc/grub.cfg ; do
>    if search -s -f $grubcfg ; then
>       echo "Reading (${root}$grubcfg"
>       configfile $grubcfg
>    fi
> done
> EOF
> tar cf memdisk.tar grub.cfg
> /opt/grub2/bin/grub-mkimage -O x86_64-xen -c grub-bootstrap.cfg -m
> memdisk.tar -o grub2-x86_64 /opt/grub2/lib/grub/x86_64-xen/*.mod
>  
> This works fine on some of our hosts, but then just seams to hang on
> others.  When starting the guest i see the following...
>  
> [root@devhostxxx ~]# xm create -c /home/username/vs.config
> Using config file "/home/username/vs.config".
> Started domain username (id=34)
>                                  [root@devhostxxx ~]#
>  
> Then it just hangs from their.
>  
Are you able to add echo's along the way and look at xen console?
> These hosts are CentOS 6 using the CentOS-Xen RPMS. Hosts are running
> Xen version 4.4.1-8el6 and still using xend with xm commands
>  
>  
> Any idea what may be going on here? Or how i should go about debugging
> this issue?
>  
> --
> Shaun
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

      reply	other threads:[~2016-01-22 12:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-10 18:46 PV-Grub2 works here but doesnt work their Shaun Reitan
2016-01-22 12:58 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56A2276D.3020208@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).