public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* reboot via bios on X86_64?
@ 2012-04-09 15:39 Miles Fidelman
  2012-04-09 15:51 ` Matthew Garrett
  0 siblings, 1 reply; 15+ messages in thread
From: Miles Fidelman @ 2012-04-09 15:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: tglx, mingo, hpa, x86, peter.chubb, michael.d.labriola, mjg

[cc'd to maintainers of reboot.c]

Re. the 2.6.32.5 kernel (currently used in Debian stable), and this 
seems to apply to
later ones as well:

The reboot code in arch/x86/kernel/reboot.c provides for rebooting 
through the bios
by either a kernel option of "reboot=bios" or as automatically invoked 
by quite
a few of the quirks case statements.

But... reboot=bios is  enabled only when configured for 32-bit mode - 
which just bit me
when I moved from a 32bit kernel to a 64bit one on an old P4 box, which 
hangs on
reboot for all reboot options except reboot=bios when running in 32 bit 
mode.

Which leads to two questions:

1. What's the logic behind this?  Why not enable a bios reboot for 64bit
kernels?  Is there any reason why the machine_real_restart code wouldn't
work just as well in 64bit mode?  Anybody know the history?

2. Anybody know a workaround, short of patching and compiling a custom
kernel? Are there other paths through the reboot code that can invoke a 
bios
reboot?  [Note: someone suggested trying a kexec-reboot, but that's also
not supported on my configuration (running over a Xen hypervisor).]

Thank you very much,

Miles Fidelman

-- 
In theory, there is no difference between theory and practice.
In practice, there is.   .... Yogi Berra



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-04-10 18:09 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-09 15:39 reboot via bios on X86_64? Miles Fidelman
2012-04-09 15:51 ` Matthew Garrett
2012-04-09 17:26   ` Miles Fidelman
2012-04-09 17:32     ` Matthew Garrett
2012-04-09 17:57       ` Miles Fidelman
2012-04-09 17:59         ` H. Peter Anvin
2012-04-09 18:06           ` Miles Fidelman
2012-04-09 18:07         ` Matthew Garrett
2012-04-10 14:03           ` Miles Fidelman
2012-04-10 14:22             ` Matthew Garrett
2012-04-10 17:26               ` Miles Fidelman
2012-04-10 17:44                 ` Matthew Garrett
2012-04-10 18:09                   ` Miles Fidelman
2012-04-09 17:53     ` H. Peter Anvin
2012-04-09 18:07       ` Miles Fidelman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox