grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabio Fantoni <fabio.fantoni@m2r.biz>
To: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>,
	"The development of GRUB 2" <grub-devel@gnu.org>
Subject: Re: [Xen-devel] pvgrub2 is merged
Date: Fri, 06 Dec 2013 12:11:07 +0100	[thread overview]
Message-ID: <52A1B0CB.3000705@m2r.biz> (raw)
In-Reply-To: <529E03FB.90603@m2r.biz>

Il 03/12/2013 17:16, Fabio Fantoni ha scritto:
> Il 03/12/2013 16:33, Vladimir 'φ-coder/phcoder' Serbinenko ha scritto:
>> On 03.12.2013 15:00, Fabio Fantoni wrote:
>>> Il 03/12/2013 12:29, Vladimir 'φ-coder/phcoder' Serbinenko ha scritto:
>>>> On 03.12.2013 12:22, Fabio Fantoni wrote:
>>>>> Il 03/12/2013 11:33, Vladimir 'φ-coder/phcoder' Serbinenko ha 
>>>>> scritto:
>>>>>> On 03.12.2013 11:31, Fabio Fantoni wrote:
>>>>>>> If you need more tests/informations tell me and I'll post them.
>>>>>> I've already asked you for exact kernel that I can download (and 
>>>>>> SHA512
>>>>>> to check it's the same one) and got only vague response
>>>>>>
>>>>> Thanks for reply.
>>>>> The actual kernel used is from this package:
>>>>> http://packages.debian.org/sid/linux-image-3.11-2-amd64
>>>>>
>>>>> I already checked kernel's files integrity with md5 (using the debian
>>>>> package's md5sums file and is correct).
>>>>> Same domU with pygrub with manual and minimal grub.cfg 
>>>>> configuration and
>>>>> it boots correctly, but with pvgrub2 and grub.cfg created 
>>>>> automatically
>>>>> (see attachment of previous mail) it doesn't boot.
>>>>>
>>>> With HEAD:
>>>> phcoder@debian:12:21:06:~/compile/bt/x86_64-xen$ ar x
>>>> ~/downloads/linux-image-3.11-2-amd64_3.11.8-1_amd64.deb
>>>> phcoder@debian:12:23:29:~/compile/bt/x86_64-xen$ tar --xz -xf 
>>>> data.tar.xz
>>>> phcoder@debian:12:28:36:~/compile/bt/x86_64-xen$ sha512sum
>>>> boot/vmlinuz-3.11-2-amd64
>>>> 002bc39cfc0191614ec380a44993d20691e1dc8791a8c6f3a163777ef6fb733243d3da48760b2eedfc3ab9b8bd7b8fe2d473cdd3a91eb3d855eb4f3db9f7b6df 
>>>>
>>>>
>>>>    boot/vmlinuz-3.11-2-amd64
>>>> phcoder@debian:12:23:38:~/compile/bt/x86_64-xen$ ./grub-mkstandalone
>>>> --grub-mkimage=./grub-mkimage -o grub.xen -O x86_64-xen -d grub-core/
>>>> boot/vmlinuz-3.11-2-amd64
>>>>
>>>>                                GNU GRUB  version 2.00
>>>>
>>>>      Minimal BASH-like line editing is supported. For the first 
>>>> word, TAB
>>>>      lists possible command completions. Anywhere else TAB lists 
>>>> possible
>>>>      device or file completions.
>>>>
>>>>
>>>> grub> insmod xzio
>>>> grub> linux /boot/vmlinuz-3.11-2-amd64
>>>> grub> boot
>>>> [    0.000000] Initializing cgroup subsys cpuset
>>>> [    0.000000] Initializing cgroup subsys cpu
>>>> [    0.000000] Initializing cgroup subsys cpuacct
>>>>
>>>> I've uploaded my grub.xen to
>>>> http://download-mirror.savannah.gnu.org/releases/grub/phcoder/grub.xen.xz 
>>>>
>>>>
>>>>> Thanks for any reply.
>>>>>
>>> Thanks for your reply.
>>> I tried with your build and gave me:
>>>
>>> Caricamento Linux 3.11-2-amd64...
>>> errore: not xen image.
>>> Caricamento ramdisk iniziale...
>>> errore: ? necessario caricare il kernel prima.
>>>
>>> I also rebuilt pvgrub2 from clean directory, full logs of configure,
>>> make and xl create on attachment.
>>> Also in this case domU destroys on kernel and initrd loading.
>>> I not understand what are my errors and/or forgetfulness.
>>>
>> $ sha512sum /boot/vmlinuz-3.11-2-amd64
>
> sha512sum /mnt/tmp/boot/vmlinuz-3.11-2-amd64
> 002bc39cfc0191614ec380a44993d20691e1dc8791a8c6f3a163777ef6fb733243d3da48760b2eedfc3ab9b8bd7b8fe2d473cdd3a91eb3d855eb4f3db9f7b6df 
> /mnt/tmp/boot/vmlinuz-3.11-2-amd64
>
>> Did you try with kernel embed in GRUB?
>
> I tried with ./grub-mkstandalone --grub-mkimage=./grub-mkimage -o 
> pvgrub2.xen -O x86_64-xen -d grub-core/ 
> /mnt/tmp/boot/vmlinuz-3.11-2-amd64
> Probably I did something wrong or missed about this test.
> On xl create it arrives to grub console, so I tried to set root and 
> include the grub.cfg of domU but gave nothing, only new console line.
> Can you give me more details to do a complete and correct test?
>
>> Did you try root/linux/initrd/boot sequence manually?
>
> I presume you mean to do insmod, set root and all other command 
> manually without using grub.cfg, could you confirm that or give me an 
> exact howto?
>
>>
>

I tried manually sequence instead of do it with grub.cfg (I hope to did 
it correctly):

...
grub> insmod part_msdos
grub> insmod xzio
grub> insmod ext2
grub> insmod gzio
grub> set root=(xen/xvda,msdos1)
grub> linux /boot/vmlinuz-3.11-2-amd64 
root=UUID=3ab55964-09d1-4853-be38-661b56a14 ro console=tty0 debug
grub> initrd /boot/initrd.img-3.11-2-amd64
grub> boot
xc: debug: hypercall buffer: total allocations:237 total releases:237
xc: debug: hypercall buffer: current allocations:0 maximum allocations:4
xc: debug: hypercall buffer: cache current size:4
xc: debug: hypercall buffer: cache hits:226 misses:4 toobig:7

unfortunately the result is the same :(



  reply	other threads:[~2013-12-06 11:11 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-09 20:52 pvgrub2 is merged Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-09 21:01 ` [Xen-devel] " Samuel Thibault
2013-11-10  4:47 ` Andrey Borzenkov
2013-11-11 11:51   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-13 19:06   ` [Xen-devel] " M A Young
2013-11-13 20:14     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-14 12:27       ` M A Young
2013-11-14 17:03         ` M A Young
2013-11-14 17:32           ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-14 18:48             ` M A Young
2013-11-14 18:57               ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-14 18:59                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-14 21:11                   ` M A Young
2013-11-14 21:43                     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-25 15:56                       ` Fabio Fantoni
2013-11-25 19:35                         ` M A Young
2013-11-26 17:58                           ` Fabio Fantoni
2013-11-26 18:12                             ` Andrey Borzenkov
2013-11-26 19:16                               ` Andrew Cooper
2013-11-27 11:32                               ` Fabio Fantoni
2013-11-27 11:50                                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-27 15:59                                   ` Fabio Fantoni
2013-11-27 16:03                                     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-27 16:24                                       ` Fabio Fantoni
2013-11-27 17:35                                         ` Andrey Borzenkov
2013-11-28 13:07                                           ` Fabio Fantoni
2013-11-28 14:05                                             ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-28 14:17                                               ` Fabio Fantoni
2013-11-29 11:28                                                 ` Fabio Fantoni
     [not found]                                                   ` <52987D7F.3050006@gmail.com>
     [not found]                                                     ` <52988F86.6050008@m2r.biz>
2013-12-03 10:31                                                       ` Fabio Fantoni
2013-12-03 10:33                                                         ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-03 11:22                                                           ` Fabio Fantoni
     [not found]                                                             ` <529DC07E.8000201@gmail.com>
     [not found]                                                               ` <529DE3FD.90002@m2r.biz>
2013-12-03 15:33                                                                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-03 16:16                                                                   ` Fabio Fantoni
2013-12-06 11:11                                                                     ` Fabio Fantoni [this message]
2013-12-06 11:32                                                                       ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-06 14:44                                                                         ` Fabio Fantoni
2013-12-06 14:55                                                                           ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-06 15:22                                                                             ` Fabio Fantoni
2013-12-07 10:06                                                                               ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-09 10:06                                                                                 ` Fabio Fantoni
2013-12-17 10:44                                                                                   ` Fabio Fantoni
2013-12-17 11:03                                                                                     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-17 13:11                                                                                       ` Fabio Fantoni
2013-12-17 13:32                                                                                         ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-17 13:55                                                                                           ` Fabio Fantoni
2013-12-17 14:08                                                                                             ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-17 14:10                                                                                               ` Fabio Fantoni
2013-12-17 14:35                                                                                                 ` Fabio Fantoni
2013-12-18 14:58                                                                                                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-18 19:39                                                                                                     ` Stefano Stabellini
2013-12-18 20:20                                                                                                       ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-19 11:54                                                                                                         ` Stefano Stabellini
2013-12-20 12:14                                                                                                           ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-01-06 12:23                                                                                                             ` Stefano Stabellini
2014-11-07 15:20                                                                                                             ` Stefano Stabellini
2013-12-17 11:59                                                                                     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-05 15:50                                                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-05 16:04                                                     ` Fabio Fantoni
2013-11-27 16:10                                     ` M A Young
2013-11-11 10:10 ` Ian Campbell
2013-11-11 11:54   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-11 12:06     ` Ian Campbell
2013-11-11 12:52       ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-14  9:48   ` Dario Faggioli
2013-11-13 16:36 ` Ian Campbell
2013-11-13 18:25   ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-14  8:37     ` Ian Campbell
2013-12-11 11:47       ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-11 11:51         ` Ian Campbell
2013-12-11 11:54           ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-11 14:34             ` Dario Faggioli
2013-12-14 17:13             ` Leif Lindholm
2014-01-06 15:35           ` Lars Kurth
2013-11-29 13:24 ` Colin Watson
2013-11-29 17:44   ` Andrey Borzenkov
2013-11-29 18:16     ` Colin Watson
2013-12-02  9:48     ` [Xen-devel] " Ian Campbell
2013-12-02 10:37       ` Samuel Thibault
2013-12-02 10:46         ` Ian Campbell
2013-12-03 17:27       ` Colin Watson
2013-12-03 17:41         ` Ian Campbell
2013-11-30 10:36   ` Vladimir 'φ-coder/phcoder' Serbinenko

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=52A1B0CB.3000705@m2r.biz \
    --to=fabio.fantoni@m2r.biz \
    --cc=grub-devel@gnu.org \
    --cc=phcoder@gmail.com \
    /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).