On 07/27/2011 06:06 AM, Jeff Mahoney wrote:
On 07/25/2011 07:43 AM, Bruno Friedmann wrote:
On 07/25/2011 11:51 AM, Mel Gorman wrote:
On Sat, Jul 23, 2011 at 02:23:35PM +0200, Bruno Friedmann wrote:
<SNIP> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=...
and
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=...
but for a not yet "blacklisted" model ?
That's what I'm expecting.
After testing : reboot work at 100% with reboot=pci
I don't know how or what to push upstream.
Can you test the following patch without the reboot=pci switch please? If it works, I'll push it upstream. Thanks.
==== CUT HERE ==== x86: Add reboot quirk for Dell Precision M4600
ACPI reboot does not work for Dell Precision M4600. Detect this machine via DMI and force the use of the PCI reboot method.
Reported-by: Bruno Friedmann
Signed-off-by: Mel Gorman --- arch/x86/kernel/reboot.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index 9242436..7ca2ec4 100644 --- a/arch/x86/kernel/reboot.c +++ b/arch/x86/kernel/reboot.c @@ -443,6 +443,15 @@ static struct dmi_system_id __initdata pci_reboot_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6420"), }, }, + { /* Handle problems with rebooting on Dell Precision M4600's */ + .callback = set_pci_reboot, + .ident = "Dell Precision M4600", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "Precision M4600"), + }, + }, + { } };
Greg sorry to bother you,
If applying the patch is easy, how can I get just that rebuild against my actual 3.0.0-2-desktop #1 SMP PREEMPT Fri Jul 22 08:28:15 UTC 2011 (50c05d7) x86_64 x86_64 x86_64 GNU/Linux without rebuilding the whole kernel ?
You're gonna need to rebuild the kernel proper, vmlinux. You won't need to rebuild modules. Since the openSUSE kernel is mostly modular, that cuts out a good deal of build time.
'make bzImage' will do it. It'll end up in arch/x86/boot/bzImage. That'll cut the build time down to a few minutes.
-Jeff
Jeff thanks, was easy once what was needed ... I'm now using it. test several reboot without a glitch I've asked on the Linux Dell Precision ML [1] if someone else, also with other distribution can give some feedback. I'm asking myself if the M6600 (same base but 17" screen) could be also affected. I will wait some days (~ a week) and see if there's reports [1] http://lists.us.dell.com/pipermail/linux-precision -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Ambassador GPG KEY : D5C9B751C4653227 irc: tigerfoot