From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VotJP-00047c-Us for mharc-grub-devel@gnu.org; Fri, 06 Dec 2013 06:11:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VotJJ-00046T-6b for grub-devel@gnu.org; Fri, 06 Dec 2013 06:11:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VotJD-0004Lh-6P for grub-devel@gnu.org; Fri, 06 Dec 2013 06:11:05 -0500 Received: from mail-ea0-f179.google.com ([209.85.215.179]:49122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VotJC-0004LB-TR for grub-devel@gnu.org; Fri, 06 Dec 2013 06:10:59 -0500 Received: by mail-ea0-f179.google.com with SMTP id r15so231871ead.10 for ; Fri, 06 Dec 2013 03:10:57 -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=eoRrus9brh3K4o0jjWjvlBmcvTbeT7UTj1Ub8MMrptg=; b=Jao9TDBmOAyHTv7eCM2CvIEQKG1oC6U3W0G0ri23asYGD9I9e99xO6I83bQw4BKYwa 9ezHhc/J5ViLtt1ITinFjETt/nGZGofUNJUcRi1uNvaFG9lxoK2QPtePLuyZXeqjpzpE mGuLdvpeDsR2fTyYvIsE5olrnNHL6Q6qLzYdB+RKuilqbnPldfCWaEeyizI/71JItEl9 pYwYoXHDM394KjGN75WbADXvoe5N60R/BEKXoEFZVRFOjUp/G1Val+BzXCxRU7OtK6nN ejVeN51dqFiSoAukK0gaSi90q+wpjwGY/hZY3mpXP32c7qm2B8l8xln13J9lqgOBdwie uSNw== X-Gm-Message-State: ALoCoQmoB1Hhp323+0h352O57gIC9f4XPRba05Opms7xocz5R4SNc1R1iHPcCwpahbXtphNNBVPB X-Received: by 10.15.74.200 with SMTP id j48mr2104847eey.102.1386328256980; Fri, 06 Dec 2013 03:10:56 -0800 (PST) Received: from [192.168.1.23] (ip-73-126.sn2.eutelia.it. [83.211.73.126]) by mx.google.com with ESMTPSA id h48sm116067000eev.3.2013.12.06.03.10.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 06 Dec 2013 03:10:56 -0800 (PST) Message-ID: <52A1B0CB.3000705@m2r.biz> Date: Fri, 06 Dec 2013 12:11:07 +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> <529E03FB.90603@m2r.biz> In-Reply-To: <529E03FB.90603@m2r.biz> 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: 209.85.215.179 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: Fri, 06 Dec 2013 11:11:11 -0000 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 :(