From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vnsew-0002jP-Tl for mharc-grub-devel@gnu.org; Tue, 03 Dec 2013 11:17:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vnsen-0002Ve-J0 for grub-devel@gnu.org; Tue, 03 Dec 2013 11:17:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vnseh-0003jx-Gw for grub-devel@gnu.org; Tue, 03 Dec 2013 11:17:05 -0500 Received: from mail-ee0-f48.google.com ([74.125.83.48]:45413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vnseh-0003jl-5I for grub-devel@gnu.org; Tue, 03 Dec 2013 11:16:59 -0500 Received: by mail-ee0-f48.google.com with SMTP id e49so1650959eek.21 for ; Tue, 03 Dec 2013 08:16:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=luxnevSYbpeY7H0dOIomHc4zVF7Ub2pP6CxMhWTl0gM=; b=FBmKClNM6RktPP5UtkeqdeuO9mkgUKWy5/Jd1kLJ8jRfbLW+e+1wxo47xoKUnPZe4K SXYxVjk++T8wKfLWgN6K818XyhjJ2Bqzaw439tFDb5NC+5ld8sECz3BKMFgFdWus7IPe XMvL3O0QGwZCsmUrdtuEathGLHeZ1L/ygd+W3IbCn6y8JI81vk2tfm9NAEIXC0Yx9ivf NqYclI75eYkOYw9u04VMM/fsalwHzgH5ZJIrTHGPPYrbw8GWT8PSQFa23NboN+yMnQ3e uFLhbh2GBWy9oRw/S4HQIQmYT1CFEqFaSR8AdueOKUU13BfnK/0W4C5jzziyARPbRgQ+ fuqw== X-Gm-Message-State: ALoCoQnC5AhZn+fyfe7MSAP8hB6Y21lmvdnTVIL+50EMBw9B708XUfa2fCYbtrK2UeKvRBBvFRad X-Received: by 10.15.75.68 with SMTP id k44mr7243811eey.57.1386087418344; Tue, 03 Dec 2013 08:16:58 -0800 (PST) Received: from [192.168.1.26] (ip-73-126.sn2.eutelia.it. [83.211.73.126]) by mx.google.com with ESMTPSA id n1sm84329304eep.20.2013.12.03.08.16.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Dec 2013 08:16:57 -0800 (PST) Message-ID: <529E03FB.90603@m2r.biz> Date: Tue, 03 Dec 2013 17:16:59 +0100 From: Fabio Fantoni User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= , The development of GRUB 2 Subject: Re: [Xen-devel] pvgrub2 is merged References: <527EA084.6000706@gmail.com> <52850918.1040406@gmail.com> <52851D28.1090905@gmail.com> <52851D77.6060203@gmail.com> <5285440B.2040301@gmail.com> <5293733B.3090604@m2r.biz> <5294E157.90708@m2r.biz> <20131126221221.3fe316e3@opensuse.site> <5295D867.9050306@m2r.biz> <5295DCA0.2010805@gmail.com> <529616EA.4000504@m2r.biz> <529617B7.2020507@gmail.com> <52961CD5.1040009@m2r.biz> <20131127213552.3120f5e5@opensuse.site> <52973FF8.7040502@m2r.biz> <52974D98.3090608@gmail.com> <5297508C.40607@m2r.biz> <52987A43.9070806@m2r.biz> <52987D7F.3050006@gmail.com> <52988F86.6050008@m2r.biz> <529DB2F1.4080509@m2r.biz> <529DB363.7080003@gmail.com> <529DBED9.80105@m2r.biz> <529DC07E.8000201@gmail.com> <529DE3FD.90002@m2r.biz> <529DF9D5.2060301@gmail.com> In-Reply-To: <529DF9D5.2060301@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.125.83.48 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2013 16:17:11 -0000 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? >