Re: [PATCH] Use BIOS reboot on Toshiba Portege 4000



On Mon, Nov 03, 2008 at 12:02:53PM +0200, Avi Kivity wrote:
Ingo Molnar wrote:
Subject: [PATCH] Use BIOS reboot on Toshiba Portege 4000

From: Andrey Borzenkov <arvidjaar@xxxxxxx>

After commit c7ffa6c26277b403920e2255d10df849bd613380 which defaults
to reboot via ACPI keyboard is dead on Toshiba Portege 4000 upon reboot.
Power off is required to revive it again. Add DMI entry to force BIOS
reboot method as it was before.

Signed-off-by: Andrey Borzenkov <arvidjaar@xxxxxxx>


Avi, i expect more boxes to be affected by this bug, and the DMI
solution just does not scale.

So could we please disable VMX from the emergency-shutdown code
instead of twiddling with the reboot method?

Something like this might work as well: iff VMX is enabled, we just do
smp_send_stop() (instead of skipping it) which should take care of
this.


There is already some code being worked on for kdump (which suffers from
the same symptoms), only kdump uses NMI IPIs for increased stopping
power. Eduardo, can you take a look at porting it to emergency reboot?

We probably need to disable vmx on all CPUs, but emergency reboot skips
native_smp_send_stop() (where we could hook a virt_disable call in).

As relying on IPIs defeats the whole point of emergency_restart, a proper
fix will need to use NMIs like the kdump code does.

--
Eduardo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: WDS + WPA + RADIUS problem
    ... dive into the router from a telnet or SSH session ... command line or menu driven reboot. ... range of power supply voltages. ... but haven't spoken to client this morning to ascertain). ...
    (alt.internet.wireless)
  • [SUMMARY] Sunfire v880 reboot
    ... are the responses to my post regarding: Sunfire v880 reboot ... I should have mentioned in my original post that this system has been ... take a look in the RSC buffer logs for whatever ... >if your ups has a glitch, you have a power event. ...
    (SunManagers)
  • Re: Samsung ML-2010
    ... it on after the computer has been turned on, it draws so much ... I took it off the power strip. ... plugs, the ... No problem with the computer - it didn't reboot. ...
    (comp.periphs.printers)
  • Re: Samsung ML-2010
    ... turn it on after the computer has been turned on, it draws so ... much current that it causes the computer to reboot. ... I took it off the power strip. ... contacts on the plugs, or maybe even inside the wall going up to ...
    (comp.periphs.printers)
  • Re: problem with a net printer
    ... Yes, I can solve the electrical power, but I can´t solve the software problem. ... Always I reboot XP laptop where is connected the printer, ... If I wan´t print from Millenium computer I must reboot this computer. ...
    (microsoft.public.windowsxp.network_web)