Received: from list by lists.gnu.org with archive (Exim 4.71) id 1cccfY-00020H-BD for mharc-grub-devel@gnu.org; Sat, 11 Feb 2017 13:45:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cccfW-0001yv-AD for grub-devel@gnu.org; Sat, 11 Feb 2017 13:45:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cccfT-00036H-93 for grub-devel@gnu.org; Sat, 11 Feb 2017 13:45:10 -0500 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:35673) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cccfT-00034X-1l for grub-devel@gnu.org; Sat, 11 Feb 2017 13:45:07 -0500 Received: by mail-lf0-x243.google.com with SMTP id v186so5320924lfa.2 for ; Sat, 11 Feb 2017 10:45:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=Pxv8stArQQmVxyZWUQXOfHSPM2x86AOSJxsroG6fVmU=; b=vRsGwF8r2pNCGceKldPOL+Y9JQiDDxtsCWuC8M5STlHngsAFXfy7Vduk5rglLnJlh/ 7bSRkN5gBqIU7NZGIA4nOv0naWrrvcncpiwBYhrcwAbdL9tmLEbu+tIwTIzgSDNUknbk k4B7AcbZ8qqbRMwTOZD5cxgmaiybA3rtLgoX/Opa3FbQN/KM4qv8whzXj/YpQDkckSyJ odiZ0raO0k/B/y5gB2C4PSvxsfg2rHtTFAEzTsds22VP2ZBDzPazt5e8gzceqzayQEeA WPDMypg4YIjndx64I+kVKeiWHaNht2u0qEbldMFnadPegAqYSxPauLYoPxpnzTAKgvAg r6XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Pxv8stArQQmVxyZWUQXOfHSPM2x86AOSJxsroG6fVmU=; b=q9LSqbl5G0K7PpKEy3iUXqN6P4NfmIIgc0H046bVYEWG/T6zchXCyiB9QG9ravewXH 1i36CPHT1Q2qn7Tye3zqk7TVOLq1DGDcSNIoN8HGrxWZmNtJxGzA15X76cPGTC9DWJPE U/E52163y/8uoBSw9ahA3oxBorV8pZiTaa580hwjPDVgrz/0pveoahXxDyV58aE1Iwcd VJA8BF7yR14gIE9L1M1uWtr5FdRuq4G86sVEjDvtl9cx1WV32OWCQlZinO8GkwtvZp9c cxTtwIPSrv9a6g6qgnTAPcUeZso76MtfqbLcrixUrBDhXbFv8VTEUJmsRLZV+YFDik0r ejiw== X-Gm-Message-State: AMke39muGQvyqA9w7cK5Cab44jchXliTxWB95IAxwFOKwyJLan4ywsj+vZ9OuC5P4CdkhQ== X-Received: by 10.46.69.7 with SMTP id s7mr5181467lja.44.1486838705230; Sat, 11 Feb 2017 10:45:05 -0800 (PST) Received: from [192.168.1.6] (ppp109-252-90-129.pppoe.spdop.ru. [109.252.90.129]) by smtp.gmail.com with ESMTPSA id j123sm842427lfe.69.2017.02.11.10.45.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Feb 2017 10:45:04 -0800 (PST) Subject: Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8 To: Andy Smith References: <20170211135314.GY21587@bitfolk.com> <20170211152643.GH1804@bitfolk.com> <20170211171934.GJ1804@bitfolk.com> Cc: The development of GNU GRUB From: Andrei Borzenkov Message-ID: Date: Sat, 11 Feb 2017 21:45:03 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170211171934.GJ1804@bitfolk.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::243 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2017 18:45:11 -0000 11.02.2017 20:19, Andy Smith пишет: > Hello, > > On Sat, Feb 11, 2017 at 03:26:43PM +0000, Andy Smith wrote: >> Here is what the config looks like if I interrupt the boot and go to >> edit it: >> >> set root='(hd0,1)'; set legacy_hdbias='0' >> legacy_kernel '/boot/vmlinuz-3.16.0-4-amd64' '/boot/vmlinuz-3.16.0-4-amd64' 'root=UUID=38420e46-6123-477d-ba23-baeba8ac0d59' 'ro' >> legacy_initrd '/boot/initrd.img-3.16.0-4-amd64' '/boot/initrd.img-3.16.0-4-amd64' > > Over on the xen-users list, Sarah Newman pointed out that the > legacy_initrd line should not have a repeated argument: > > https://lists.xenproject.org/archives/html/xen-users/2017-02/msg00029.html > > If I edit away the repetition, so that the config line is: > > legacy_initrd '/boot/initrd.img-3.16.0-4-amd64' > > then this boots fine. > This was explicitly added in commit 9fb175ed9a48102543867f8006842628cc41217c. I do not understand the purpose of this (is there any requirement that multiboot kernel/module gets its name as the first parameter?) @Vladimir? Either we need to revert this, or add similar handling to legacy_initrd, but I miss why we need it in the first place. > Should I report this in grub's bugzilla? > Sure. Although I still wonder why it fails. I.e. kernel should simply extract the same initrd content twice, why it causes such effect?