From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VobPi-0005UR-BV for mharc-grub-devel@gnu.org; Thu, 05 Dec 2013 11:04:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VobPZ-0005RM-ND for grub-devel@gnu.org; Thu, 05 Dec 2013 11:04:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VobPS-0003Ee-7x for grub-devel@gnu.org; Thu, 05 Dec 2013 11:04:21 -0500 Received: from mail-ee0-f53.google.com ([74.125.83.53]:58657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VobPS-0003EM-1O for grub-devel@gnu.org; Thu, 05 Dec 2013 11:04:14 -0500 Received: by mail-ee0-f53.google.com with SMTP id b57so3393948eek.40 for ; Thu, 05 Dec 2013 08:04:12 -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 :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=7VvhCSleWRyyxGv9JyT7yTyNqNMAr1Uo/h0GzlASC00=; b=ceEmlwiXNyN/oV4idEn41pfZaAkCfoJ0H4dWE2jYVkJ30BcHDlMohbFxknd/mrMFUF HnAnldiu4pyjUZ+5sAoVLEMPBCXMVn93ZWfAvhbaU5FqxWgHKcN35npIBNpGavvPJmFV BNEQYIfKfttLoGNChuQhclGNQUGuC26807yHCBzIaug0TnWEO8DZQ1nzfpBlUFsdh/h2 PHcmr/8erIvc48cLlleCF2989hP5Kp2PkL5UDPj0E7PWKS47R2zRkU0/T2KuOsTh+aIc hHszwkS22JVgC70wkLsdNg2nZ3NU6NVN6NTKAF9LOzA+uiHsg8IGX4JAExdzBBgCoyIt jt/g== X-Gm-Message-State: ALoCoQl5SPxXafPvtq/PRFmrEmjKP8scJk7TtlkZS4qaWscZt+DI+07TN4Q7dNLwyQ6yry3kGMyR X-Received: by 10.15.34.197 with SMTP id e45mr13555760eev.61.1386259452927; Thu, 05 Dec 2013 08:04:12 -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 e3sm70496326eeg.11.2013.12.05.08.04.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Dec 2013 08:04:12 -0800 (PST) Message-ID: <52A0A404.2030406@m2r.biz> Date: Thu, 05 Dec 2013 17:04:20 +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=?= Subject: Re: [Xen-devel] pvgrub2 is merged References: <527EA084.6000706@gmail.com> <20131110084753.540b0107@opensuse.site> <5283DD8F.5080103@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> <52A0A0E2.6030906@gmail.com> In-Reply-To: <52A0A0E2.6030906@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.53 Cc: Andrey Borzenkov , The development of GNU GRUB , "xen-devel@lists.xen.org" , M A Young 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: Thu, 05 Dec 2013 16:04:29 -0000 Il 05/12/2013 16:50, Vladimir 'φ-coder/phcoder' Serbinenko ha scritto: > On 29.11.2013 12:28, Fabio Fantoni wrote: >> I updated git to commit 69ca97c820a623f85baf2db1627e19bef9c24e44 and the >> regression persist. > I've just tested it here and it works perfectly. Are you sure you don't > have a typo in variable name? > The script for include the grub.cfg of domU works, was only my stupid error with cat, sorry. Below the actual version of the script that works on many common cases. Are there other modules to insert for other partitions or file systems, other grub cfg path for other distributions or other kernel type to search for that support xen pv domUs? I think is good to make and post complete pvgrub2 cfg that support all pv domUs cases. > cat > boot/grub/grub.cfg <<'EOF' > insmod lvm > insmod ext2 > insmod part_msdos > insmod part_gpt > insmod btrfs > insmod xzio > > insmod regexp > for dev in (*); do > # $device: parenthesis removed from $dev > regexp -s device '\((.*)\)' $dev > set root=$device > for file in /boot/vmlinuz-* /boot/linux-*; do > if test -f $file; then > set saved_root=$root > fi > done > done > set root=$saved_root > > if test -f /boot/grub2/grub.cfg ; then > configfile /boot/grub2/grub.cfg > elif test -f /boot/grub/grub.cfg ; then > configfile /boot/grub/grub.cfg > fi > EOF About the other problem of stop/crash on domU kernel/initrd without any errors (also with serial and debug enabled) the problem persist, I'll do further test tomorrow.