From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vsulj-0006dE-Er for mharc-grub-devel@gnu.org; Tue, 17 Dec 2013 08:33:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsulc-0006d6-7m for grub-devel@gnu.org; Tue, 17 Dec 2013 08:33:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VsulV-0008Kv-7L for grub-devel@gnu.org; Tue, 17 Dec 2013 08:32:56 -0500 Received: from mail-ee0-x22c.google.com ([2a00:1450:4013:c00::22c]:46932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsulU-0008Kp-SH for grub-devel@gnu.org; Tue, 17 Dec 2013 08:32:49 -0500 Received: by mail-ee0-f44.google.com with SMTP id b57so2890692eek.3 for ; Tue, 17 Dec 2013 05:32:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=tWB9/dUJQUophHXLkX0rxo8A19R6iIYma+iyCGIOA7o=; b=P6Dv4IKPmR2FimjGpYnDAFGPuljOriXXUvBbzMYOUcZNXzo/pOatamudbMmqV48uH+ traxPnmrpNpsCOvDpNzAnj/wxhKTxj4FmtHBt0qOoYmbA08H7rTnzgL5eGfH7SkEYLcB sPQsf0y/Tak4RUwEWKuN8jUqoJZtPgwLMdnZZR8cz7a7OmfT5nhCgV1fc+R9gosVoGZu S9BvDvqeARDEKDazPHSq6qWuWfQcIFxo5gtYVXdAVEMNXy0lxuLtBge84tdA4NP5LChL 99zzhemSJlb2ldIwF/gWhEP/CiN3bfR1ksWUgtuHfK99DjdqJ2pc+kmenHuA7BByM4V0 /lfw== X-Received: by 10.15.67.142 with SMTP id u14mr22705937eex.59.1387287168015; Tue, 17 Dec 2013 05:32:48 -0800 (PST) Received: from [192.168.1.16] (85-188.196-178.cust.bluewin.ch. [178.196.188.85]) by mx.google.com with ESMTPSA id j46sm53110132eew.18.2013.12.17.05.32.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Dec 2013 05:32:45 -0800 (PST) Message-ID: <52B0527C.40104@gmail.com> Date: Tue, 17 Dec 2013 14:32:44 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: Fabio Fantoni Subject: Re: [Xen-devel] pvgrub2 is merged References: <527EA084.6000706@gmail.com> <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> <52A1B0CB.3000705@m2r.biz> <52A1B5E8.5090709@gmail.com> <52A1E2CD.9030002@m2r.biz> <52A1E56E.3070105@gmail.com> <52A1EBAB.5090006@m2r.biz> <52A2F341.9010606@gmail.com> <52A5961A.2010608@m2r.biz> <52B02B13.1000103@m2r.biz> <52B02F84.6070403@gmail.com> <52B04D6E.3070700@m2r.biz> In-Reply-To: <52B04D6E.3070700@m2r.biz> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Vh5wQ2dGH627W2rDC7bqqeSPx7l7tTLOr" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22c Cc: The development of GRUB 2 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, 17 Dec 2013 13:33:01 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Vh5wQ2dGH627W2rDC7bqqeSPx7l7tTLOr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 17.12.2013 14:11, Fabio Fantoni wrote: > Il 17/12/2013 12:03, Vladimir '=CF=86-coder/phcoder' Serbinenko ha scri= tto: >> On 17.12.2013 11:44, Fabio Fantoni wrote: >>> Il 09/12/2013 11:06, Fabio Fantoni ha scritto: >>>> Il 07/12/2013 11:06, Vladimir '=CF=86-coder/phcoder' Serbinenko ha s= critto: >>>>> On 06.12.2013 16:22, Fabio Fantoni wrote: >>>>>> Il 06/12/2013 15:55, Vladimir '=CF=86-coder/phcoder' Serbinenko ha= >>>>>> scritto: >>>>>>> On 06.12.2013 15:44, Fabio Fantoni wrote: >>>>>>>> Il 06/12/2013 12:32, Vladimir '=CF=86-coder/phcoder' Serbinenko = ha >>>>>>>> scritto: >>>>>>>>> On 06.12.2013 12:11, Fabio Fantoni wrote: >>>>>>>>>> Il 03/12/2013 17:16, Fabio Fantoni ha scritto: >>>>>>>>>>> Il 03/12/2013 16:33, Vladimir '=CF=86-coder/phcoder' Serbinen= ko ha >>>>>>>>>>> scritto: >>>>>>>>>>>> On 03.12.2013 15:00, Fabio Fantoni wrote: >>>>>>>>>>>>> Il 03/12/2013 12:29, Vladimir '=CF=86-coder/phcoder' Serbin= enko ha >>>>>>>>>>>>> scritto: >>>>>>>>>>>>>> On 03.12.2013 12:22, Fabio Fantoni wrote: >>>>>>>>>>>>>>> Il 03/12/2013 11:33, Vladimir '=CF=86-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 po= st >>>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>> 002bc39cfc0191614ec380a44993d20691e1dc8791a8c6f3a163777ef6= fb733243d3da48760b2eedfc3ab9b8bd7b8fe2d473cdd3a91eb3d855eb4f3db9f7b6df >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> boot/vmlinuz-3.11-2-amd64 >>>>>>>>>>>>>> phcoder@debian:12:23:38:~/compile/bt/x86_64-xen$ >>>>>>>>>>>>>> ./grub-mkstandalone >>>>>>>>>>>>>> --grub-mkimage=3D./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/phco= der/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 loadin= g. >>>>>>>>>>>>> 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 >>>>>>>>>>> 002bc39cfc0191614ec380a44993d20691e1dc8791a8c6f3a163777ef6fb7= 33243d3da48760b2eedfc3ab9b8bd7b8fe2d473cdd3a91eb3d855eb4f3db9f7b6df >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> /mnt/tmp/boot/vmlinuz-3.11-2-amd64 >>>>>>>>>>> >>>>>>>>>>>> Did you try with kernel embed in GRUB? >>>>>>>>>>> I tried with ./grub-mkstandalone >>>>>>>>>>> --grub-mkimage=3D./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 ro= ot >>>>>>>>>>> and >>>>>>>>>>> include the grub.cfg of domU but gave nothing, only new conso= le >>>>>>>>>>> line. >>>>>>>>>>> Can you give me more details to do a complete and correct tes= t? >>>>>>>>>>> >>>>>>>>>>>> Did you try root/linux/initrd/boot sequence manually? >>>>>>>>>>> I presume you mean to do insmod, set root and all other comma= nd >>>>>>>>>>> manually without using grub.cfg, could you confirm that or gi= ve >>>>>>>>>>> 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=3D(xen/xvda,msdos1) >>>>>>>>>> grub> linux /boot/vmlinuz-3.11-2-amd64 >>>>>>>>>> root=3DUUID=3D3ab55964-09d1-4853-be38-661b56a14 ro console=3Dt= ty0 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 :( >>>>>>>>>> >>>>>>>>> Hm, that is different from previous. Previously you spoke about= >>>>>>>>> "not a >>>>>>>>> xen image" message. I'd remove console=3Dtty0 and also try with= out >>>>>>>>> initrd. >>>>>>>> Without console and initrd: >>>>>>>> >>>>>>>> ... >>>>>>>> grub> insmod part_msdos >>>>>>>> grub> insmod xzio >>>>>>>> grub> insmod ext2 >>>>>>>> grub> insmod gzio >>>>>>>> grub> set root=3D(xen/xvda,msdos1) >>>>>>>> grub> linux /boot/vmlinuz-3.11-2-amd64 >>>>>>>> root=3DUUID=3D3ab55964-09d1-4853-be38-661b5a476a14 ro debug >>>>>>>> grub> boot >>>>>>>> xc: debug: hypercall buffer: total allocations:247 total >>>>>>>> releases:247 >>>>>>>> xc: debug: hypercall buffer: current allocations:0 maximum >>>>>>>> allocations:4 >>>>>>>> xc: debug: hypercall buffer: cache current size:4 >>>>>>>> xc: debug: hypercall buffer: cache hits:236 misses:4 toobig:7 >>>>>>>> >>>>>>> Which xen version is it? I tried only with 4.3 >>>>>>> >>>>>> I always use xen-unstable (4.4) for pvgrub2 tests. >>>>>> My actual build is on upstream commit >>>>>> 4b07b3cbf29f66da6090d52e75b5fdae592c6441 >>>>>> Could you check with xen-unstable? (now on freeze and near to firs= t >>>>>> 4.4 rc) >>>>>> >>>>> Can't tell I get far on this one. I installed xen from git but when= I >>>>> attempt to execute any command with xl it just hangs. >>>> Did you try also -vvv? >>>> If it show any debug messages please post them and add also xen-deve= l >>>> to cc in that case. >>>> Can you also post details about your dom0? >>>> >>>>> Is there anything in your xl dmesg >>>>> Meanwhile I implemented vfb/vkbd in phcoder/vfb branch. >>>> I tried vfb branch: >>>> git log >>>> commit acc3ea93f59727bdac47b1fef4eef24380161847 >>>> Author: Vladimir Serbinenko >>>> Date: Sat Dec 7 12:46:59 2013 +0100 >>>> >>>> Fix compilation error >>>> >>>> I installed missed unifont package and compiled grub. >>>> >>>> xl -vvv create -c does not show any grub line and crashes. >>>> I attached xl -vvv create -c output and xl dmesg with calltrace insi= de. >>>> >>>> If you need more informations and/or tests tell me and I'll post the= m. >>>> >>>> Thanks for any reply. >>>> >>> I've seen 2 new commits about xen on master, than I tried to update a= nd >>> rebuild pvgrub2. >>> >> With Xen 4.3 everything seems to work. However if I install Xen 4.4 fr= om >> git. All I get: >> phcoder@debian:11:58:30:~/grub2$ sudo /usr/local/sbin/xl create -f >> grub.dom -vv >> Swipe your right index finger across the fingerprint reader >> xc: error: Could not obtain handle on privileged command interface (2 = =3D >> No such file or directory): Internal error >> libxl: error: libxl.c:92:libxl_ctx_alloc: cannot open libxc handle: No= >> such file or directory >> cannot init xl context >> phcoder@debian:11:58:36:~/grub2$ sudo mount -t xenfs xenfs /proc/xen/ >> phcoder@debian:11:58:46:~/grub2$ sudo /usr/local/sbin/xl create -f >> grub.dom -vv >> option `v' not supported. >> option `v' not supported. >> Parsing config from grub.dom >> >=20 > -v must be before the subcommand, for example "xl -vvv create > /etc/xen/sid.cfg". > xenfs should be automatically mounted by xencommons init script, make > sure that it is running before executing xl commands, it is needed to > load necessary kernel modules (if they are not already loaded), xenfs, > xenstore and xenconsoled. Yes, gone through that already, see my other mail and recent commits. Your issue should be fixed. > In that case it is good to use also -c after create to open the xl > console strightaway and see what pvgrub2 is doing, for example "xl -vvv= > create -c /etc/xen/sid.cfg". >=20 >>> git log >>> commit a82010503e3098930a56110826c4ffe6e1609726 >>> Author: Vladimir Serbinenko >>> Date: Tue Dec 17 01:18:09 2013 +0100 >>> >>> Update exclude.pot and mark few strings for translation. >>> >>> >>> My problem on kernel boot with Sid and Wheezy domUs persist. >>> >>> Thanks for any reply. >>> >> >=20 >=20 --Vh5wQ2dGH627W2rDC7bqqeSPx7l7tTLOr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlKwUnwACgkQmBXlbbo5nOvMMAD/b8TkXHvQPvZKSUF0PrGv2wP8 fD4YXmPjbidIdMkYdVgA/0VWTm/8SqE7gFagqNJaXdahJqaEKSt0ACgfMRF8N6W9 =s5cU -----END PGP SIGNATURE----- --Vh5wQ2dGH627W2rDC7bqqeSPx7l7tTLOr--