1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

The Linux 3.0 Kernel Will... Reboot Better?

Linux Kernel

Published on 31 May 2011 06:47 PM EDT
Written by Michael Larabel in Linux Kernel
12 Comments

Beyond file-system cleancache support, a Microsoft Kinect driver, Intel Ivy Bridge support, and various open-source graphics driver improvements, the Linux 3.0 kernel may also reboot your system better. Yes, really.

Matthew Garrett of Red Hat today is blogging about the different ways to reset an x86 system and the limitations of these five different methods available on Linux. These methods include using kbd (rebooting via the keyboard controller), triple (generating a triple fault), PCI, EFI, and ACPI.

Matthew recently began exploring how Microsoft Windows handles the reboot process. "A while back I did some tests with Windows running on top of qemu. This is a great way to evaluate OS behaviour, because you've got complete control of what's handed to the OS and what the OS tries to do to the hardware. And what I discovered was a little surprising. In the absence of an ACPI reboot vector, Windows will hit the keyboard controller, wait a while, hit it again and then give up. If an ACPI reboot vector is present, windows will poke it, try the keyboard controller, poke the ACPI vector again and try the keyboard controller one more time."

Knowing this ended up being very useful. "This turns out to be important. The first thing it means is that it generates two writes to the ACPI reboot vector. The second is that it leaves a gap between them while it's fiddling with the keyboard controller. And, shockingly, it turns out that on most systems the ACPI reboot vector points at 0xcf9 in system IO space. Even though most implementations nominally require two different values be written, it seems that this isn't a strict requirement and the ACPI method works."

Now knowing this, Matthew adapted this reboot method to the Linux kernel and it's been integrated into the 3.0 kernel. Not only is it in this next kernel release, but it will be the default behavior. This blog post by Matthew has all of the details and he notes that this should fix the Linux reboot support for various Apple computers and ThinkPads, in particular.

The Linux 3.0 kernel may also solve the Linux kernel power regressions.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Scythe Mugen MAX
  2. Intel Core i7 5960X Haswell-E On Linux
  3. Intel 80GB 530 Series M.2 SSD On Linux
  4. With A New Motherboard, The Core i7 5960X Haswell-E Lights Up
Latest Linux Articles
  1. 7-Way Linux Desktop Gaming Comparison On Ubuntu 14.10
  2. Intel P-State vs. CPUFreq Benchmarks On The i7-5960X
  3. RadeonSI GLAMOR Benchmarks With X.Org Server 1.16
  4. RadeonSI Gallium3D vs. Catalyst At 4K UHD On Linux
Latest Linux News
  1. Mesa 10.3 Released With The Latest Open-Source GPU Driver Improvements
  2. GNOME 3.13.92 Officially Released
  3. Wine 1.7.27 Is Still Working Towards Direct2D Support
  4. Wasteland 2 Officially Launched Today, Including For Linux Gamers
  5. Tropico 5 Launches On Steam For Linux
  6. The Intel Core i7 5960X Continues Running Great On Linux
  7. Geometry Shaders, OpenGL 3.2 Land In Mesa For Intel Sandy Bridge
  8. Wayland & Weston 1.6 Released
  9. Tizen Smartphones Reported To Launch In November
  10. NVIDIA Releases The 343.22 Linux Driver With GTX 980 Support
Latest Forum Discussions
  1. X.Org Women Outreach Program Only Turns Up Two Applicants So Far
  2. Can Linux kill a motherboard?
  3. ASRock AM1H-ITX: One Of The Best AM1 Mini-ITX Motherboards
  4. Stop grabbing my keyboard :(
  5. New Group Calls For Boycotting Systemd
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  7. Best Radeon for a Power Mac G5?
  8. New stress testing utility for GPU's