Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NbO5g-0005GW-AS for mharc-grub-devel@gnu.org; Sat, 30 Jan 2010 19:55:04 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NbO5e-0005GQ-M8 for grub-devel@gnu.org; Sat, 30 Jan 2010 19:55:02 -0500 Received: from [199.232.76.173] (port=56840 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbO5e-0005G2-AC for grub-devel@gnu.org; Sat, 30 Jan 2010 19:55:02 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NbO5d-0005fX-G7 for grub-devel@gnu.org; Sat, 30 Jan 2010 19:55:02 -0500 Received: from mail-fx0-f216.google.com ([209.85.220.216]:32789) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NbO5d-0005fB-5p for grub-devel@gnu.org; Sat, 30 Jan 2010 19:55:01 -0500 Received: by fxm8 with SMTP id 8so3607803fxm.26 for ; Sat, 30 Jan 2010 16:54:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=/b/0ucWKN3fBNZL0aeTiO4MN0d7JJJpNH6KJt79Y6gc=; b=mUK0JiK9te6v/UqGbR1AdDeWesXWU4oysKeoIQo6kRzv7PygUbNZYiXT1/5B9xyz7l a+FyyZLqNWPPzJuUWRt3GErKt4FdfxlNdyjmHuRa7Z+avIKjCi/jJ4dbM9T3EMamVjIH PtuJ/GIB+ynTBmfoSlZhpVm6637A0zCQ1Pbmc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=P072BpODVi/0qgP61bJi6Gis3xbN7dhMrIBaOjTftoN7YYDhsk5aWyWZWy2/tUsgOD EFSLKaGGMwbuB1tl0l1cgFzQyGa1KirNiUBD3zt3PwSucZpnwiJe/WB15ECa8E1MxVE/ MR+USi2OJBQAoHmaSXqf7ssdxu2ZMk9WS6iQM= MIME-Version: 1.0 Received: by 10.239.187.82 with SMTP id k18mr396034hbh.5.1264899299606; Sat, 30 Jan 2010 16:54:59 -0800 (PST) In-Reply-To: References: Date: Sat, 30 Jan 2010 18:54:59 -0600 Message-ID: <2e59e6971001301654i5cd1d326y28ce696ef805679b@mail.gmail.com> From: "richardvoigt@gmail.com" To: The development of GNU GRUB Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Setting of PE bit reboots the system X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Sun, 31 Jan 2010 00:55:02 -0000 On Sat, Jan 30, 2010 at 12:26 PM, Swapnil Pimpale wrote: > Hi all, > > I am working on GRUB 2 on Intel Core 2 Duo architecture. As a part of > my academic project, I need to bring up the second core. > When the second core comes up, I need to switch from real mode to > protected mode. > For this, I am trying to set the PE bit of cr0 register. But, whenever > I set the PE bit the system reboots. > > Is there any solution on this problem? What do you expect to accomplish on the second core? Are you trying to boot a different OS on each core? Every general purpose OS expects to be activated on the first core with no other cores running and to have possession of all RAM. You'll either need a specialty kernel (for all active OSes) or a virtualization layer. Does the reboot happen immediately when you set the PE bit, or does that cause something to fail later (maybe in the OS startup code)? > > Thanks, > Swapnil Pimpale. > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >