From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1c5TyZ-00025u-S2 for mharc-grub-devel@gnu.org; Sat, 12 Nov 2016 03:47:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5TyX-00023J-DB for grub-devel@gnu.org; Sat, 12 Nov 2016 03:47:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c5TyT-0004Ib-I2 for grub-devel@gnu.org; Sat, 12 Nov 2016 03:47:49 -0500 Received: from mail-lf0-x233.google.com ([2a00:1450:4010:c07::233]:33380) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c5TyT-0004IS-9m for grub-devel@gnu.org; Sat, 12 Nov 2016 03:47:45 -0500 Received: by mail-lf0-x233.google.com with SMTP id c13so27457963lfg.0 for ; Sat, 12 Nov 2016 00:47:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=urzDnF1rIRqaFy/G0e/uQM49L+Eqy2iSizAh93QwdzE=; b=QLcTO0ymPD+ME2N72Oh5xC3ZZPJH92r6hziPITjz7RMuu7qNCPCzna4dC1wCdvjS5L o7r2BGmqSbjVdN/7NpNFd+fhKxOPCwiIrEAUem8BLhcbmPItXo0mnOrFIhoZPk0HVhEj YTZgYU0Ji3xOyx5Ys8X2DunAh5/2plnVOtsbknrINcWMk+gy5f07zWXh4YlgXy4D8hzo BBEFugwM87jEn30it+HpxsK/pw3s8yILxUZaYkeVjoQf23hZEEDPjGDYq5gaPNUfD/dn ADF3w3p+j0NacY5bQmoRMGtNrE0vjDKthTXbjjSMHfoouk1zdzQrF1dQpCYpQ9rYBk1E I2nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=urzDnF1rIRqaFy/G0e/uQM49L+Eqy2iSizAh93QwdzE=; b=Dof2ZhtYGtTGF6LGx+ogcDh9B5k55cDWkh1dIeQPx+6rBIqaK0IJoVp1/kVlNZJbY2 YFXGzWjx4GDK5m+6+UaLpk44ad6rr63WXEYEnOZba+Gqcowf5LFU9R5dYYgdMe+w5VCB 4rKSWqWq8feSKOOqfZmXnbEJPYagWu/WzAhjEbP9nL/7MJdfbyglZbNVFyULVG09ifZA Z0O2UZuZiBA2lwrLKJVk70qLqehxzskg7aaZZhrT9n1i5iRL1jzX/AovvymFrQjqu/nd ziU6daa764w3cv4x+eLGx1sw0mgKm623YGU5qjeea+Y+LJ2d1GqpeHJN6aKWYLpIe6RS 8ZGw== X-Gm-Message-State: ABUngvfRztdyr59mlGPVrn4K6/HF3TK2OjMKcBtFhyB2UjvsVuLiudWuadgjJLF/CFbUQQ== X-Received: by 10.25.206.3 with SMTP id e3mr481270lfg.42.1478940463368; Sat, 12 Nov 2016 00:47:43 -0800 (PST) Received: from [192.168.1.44] (ppp109-252-90-55.pppoe.spdop.ru. [109.252.90.55]) by smtp.gmail.com with ESMTPSA id e37sm3045623lji.42.2016.11.12.00.47.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Nov 2016 00:47:42 -0800 (PST) Subject: Re: GRUB reboots system after loading kernel and initrd on 80486 To: The development of GNU GRUB References: From: Andrei Borzenkov Message-ID: <38e96454-cd7d-f334-00a9-4ab0c1eabcf0@gmail.com> Date: Sat, 12 Nov 2016 11:47:42 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: 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::233 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, 12 Nov 2016 08:47:50 -0000 07.11.2016 16:49, tedheadster пишет: > GRUB developers, > I just installed GRUB 2.02~beta2-22+deb8u1 from the current Debian Please retest with current git head. > distribution. I am using it to boot an _old_ 80486 (squeeze) > distribution on a second partition. > > Legacy GRUB can load the old squeeze just fine. Current GRUB reboots > the computer after attempting to boot the kernel. > Did you test linux16 loader? That is what legacy grub effectively uses. > I did a 'set debug=all' right before the 'linux' and 'initrd' > commands. Below is the output. > > - Matthew > ... > loader/i386/linux.c:601: real_mode_mem = 0x40ed220 > loader/i386/linux.c:611: code32_start = 1000000 at this point we are about to jump to loaded kernel > lib/relocator.c:1385: chunks = 0x3fe3eb0 > lib/relocator.c:434: trying to allocate in 0x1000-0xffffff2f aligned 0x10 size > 0xd0 > lib/relocator.c:1186: allocated: 0x982000+0xd0 > lib/relocator.c:1397: allocated 0x982000/0x982000 > lib/relocator.c:1398: chunks = 0x3fe3eb0 > lib/relocator.c:1521: Preparing relocs (size=61) > lib/relocator.c:434: trying to allocate in 0x0-0xffffffc3 aligned 0x1 size > 0x3d > lib/relocator.c:1186: allocated: 0x9820d0+0x3d > lib/relocator.c:1533: Relocs allocated at 0x9820d0 > lib/relocator.c:1548: chunk 0x982000->0x982000, 0xd0 > lib/relocator.c:1548: chunk 0x40ed220->0x8b000, 0x5000 > lib/relocator.c:1548: chunk 0x37a7000->0x37a7000, 0x28dfc0 > lib/relocator.c:1548: chunk 0x100000->0x1000000, 0x882000 > lib/relocator.c:1592: sorted chunk 0x100000->0x1000000, 0x882000 > lib/relocator.c:1592: sorted chunk 0x982000->0x982000, 0xd0 > lib/relocator.c:1592: sorted chunk 0x37a7000->0x37a7000, 0x28dfc0 > lib/relocator.c:1592: sorted chunk 0x40ed220->0x8b000, 0x5000 > (system reboots at this point) > Please add grub_dprintf to grub_relocator32_boot to see how far it proceeds.