Re: [PATCH] Remove 9 second reboot delay on Lenovo T400/T500

From: Pedro Ribeiro
Date: Wed Jul 14 2010 - 10:46:52 EST


On 14 July 2010 15:36, Matthew Garrett <mjg59@xxxxxxxxxxxxx> wrote:
> On Wed, Jul 14, 2010 at 03:33:08PM +0100, Pedro Ribeiro wrote:
>>  Please consider this patch. Let me know if you would like me to change
>>  anything or if you don't agree with it. It applies cleanly to 2.6.35-rc5.
>>
>>  The Lenovo T400 and T500 have an annoying 9 second delay when
>>  rebooting, unless reboot=pci is passed to the kernel command line.
>>  This delay happens from at least kernel 2.6.20.
>>
>>  Make this change permanent by hardcoding the Tx00 on the
>>  arch/kernel/reboot.c pci quirks table.
>
> There's two possibilities here:
>
> 1) Lenovo's firmware is broken and the 9-second delay is always going to
> be there. In that case we should try to use the ACPI reboot vector
> first.
>
> 2) We're doing something wrong in our shutdown sequence which then
> triggers this problem as a result.
>
> Either way, I think this patch is wrong.
>
> --
> Matthew Garrett | mjg59@xxxxxxxxxxxxx
>

Hi Matthew,

by acpi reboot vector you mean using reboot=acpi?
I tried it and does not solve the problem.
Check here http://marc.info/?l=linux-kernel&m=127590255224570&w=2

Can you please tell me how to debug this?

Thanks,
Pedro
--
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/