rpms/kernel/F-7 linux-2.6-x86-dell-e520-shutdown.patch, NONE, 1.1 kernel-2.6.spec, 1.3194, 1.3195
Dave Jones (davej)
fedora-extras-commits at redhat.com
Thu May 24 15:14:27 UTC 2007
Author: davej
Update of /cvs/pkgs/rpms/kernel/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13490
Modified Files:
kernel-2.6.spec
Added Files:
linux-2.6-x86-dell-e520-shutdown.patch
Log Message:
* Thu May 24 2007 Dave Jones <davej at redhat.com>
- Add Dell e520 to shutdown DMI blacklist.
linux-2.6-x86-dell-e520-shutdown.patch:
--- NEW FILE linux-2.6-x86-dell-e520-shutdown.patch ---
>From davej Wed May 23 15:39:24 2007
Return-path: <linux-kernel-owner+davej=40kernelslacker.org-S934564AbXEWTiu at vger.kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on
gelk.kernelslacker.org
X-Spam-Level:
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham
version=3.1.8
Envelope-to: davej at kernelslacker.org
Delivery-date: Wed, 23 May 2007 20:39:00 +0100
Received: from testure.choralone.org [194.9.77.134]
by gelk.kernelslacker.org with IMAP (fetchmail-6.3.6)
for <davej at localhost> (single-drop); Wed, 23 May 2007 15:39:24 -0400 (EDT)
Received: from vger.kernel.org ([209.132.176.167])
by testure.choralone.org with esmtp (Exim 4.63)
(envelope-from <linux-kernel-owner+davej=40kernelslacker.org-S934564AbXEWTiu at vger.kernel.org>)
id 1Hqwfk-0006K1-21
for davej at kernelslacker.org; Wed, 23 May 2007 20:39:00 +0100
Received: (majordomo at vger.kernel.org) by vger.kernel.org via listexpand
id S934564AbXEWTiu (ORCPT <rfc822;davej at kernelslacker.org>);
Wed, 23 May 2007 15:38:50 -0400
Received: (majordomo at vger.kernel.org) by vger.kernel.org id S1756516AbXEWTil
(ORCPT <rfc822;linux-kernel-outgoing>);
Wed, 23 May 2007 15:38:41 -0400
Received: from mail.tpi.com ([198.107.51.143]:3707 "EHLO mail.tpi.com"
rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
id S1755898AbXEWTik (ORCPT <rfc822;linux-kernel at vger.kernel.org>);
Wed, 23 May 2007 15:38:40 -0400
X-Greylist: delayed 1539 seconds by postgrey-1.27 at vger.kernel.org; Wed, 23 May 2007 15:38:40 EDT
Received: from rtg.theglobal.net (unknown [10.0.2.5])
by mail.tpi.com (Postfix) with ESMTP id E45B4BC66B;
Wed, 23 May 2007 12:29:55 -0700 (PDT)
Received: by rtg.theglobal.net (Postfix, from userid 1000)
id 50078196AA1; Wed, 23 May 2007 13:12:44 -0600 (MDT)
To: akpm at linux-foundation.org, linux-kernel at vger.kernel.org,
tim.gardner at ubuntu.com
Subject: [PATCH 1/1] Work around Dell E520 BIOS reboot bug.
Message-Id: <20070523191244.50078196AA1 at rtg.theglobal.net>
Date: Wed, 23 May 2007 13:12:44 -0600 (MDT)
From: rtg at tpi.com (Tim Gardner)
Sender: linux-kernel-owner at vger.kernel.org
Precedence: bulk
X-Mailing-List: linux-kernel at vger.kernel.org
Status: RO
Content-Length: 1324
Lines: 41
From: Tim Gardner <tim.gardner at ubuntu.com>
Subject: [PATCH] Work around Dell E520 BIOS reboot bug.
Force Dell E520 to use the BIOS to shutdown/reboot.
Signed-off-by: Tim Gardner <tim.gardner at ubuntu.com>
---
I have at least one report that this patch fixes shutdown/reboot
problems on the Dell E520 platform.
arch/i386/kernel/reboot.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/i386/kernel/reboot.c b/arch/i386/kernel/reboot.c
index 3514b41..e33f51a 100644
--- a/arch/i386/kernel/reboot.c
+++ b/arch/i386/kernel/reboot.c
@@ -88,6 +88,14 @@ static int __init set_bios_reboot(struct dmi_system_id *d)
}
static struct dmi_system_id __initdata reboot_dmi_table[] = {
+ { /* Handle problems with rebooting on Dell E520's */
+ .callback = set_bios_reboot,
+ .ident = "Dell E520",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Dell DM061"),
+ },
+ },
{ /* Handle problems with rebooting on Dell 1300's */
.callback = set_bios_reboot,
.ident = "Dell PowerEdge 1300",
--
1.4.4.2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-7/kernel-2.6.spec,v
retrieving revision 1.3194
retrieving revision 1.3195
diff -u -r1.3194 -r1.3195
--- kernel-2.6.spec 24 May 2007 01:59:17 -0000 1.3194
+++ kernel-2.6.spec 24 May 2007 15:13:52 -0000 1.3195
@@ -422,6 +422,7 @@
Patch205: linux-2.6-x86-fix-oprofile.patch
Patch206: linux-2.6-x86-fsc-interrupt-controller-quirk.patch
Patch207: linux-2.6-x86-dell-hpet.patch
+Patch208: linux-2.6-x86-dell-e520-shutdown.patch
# 300 - 399 ppc(64)
Patch300: linux-2.6-g5-therm-shutdown.patch
@@ -1091,6 +1092,8 @@
%patch206 -p1
# Blacklist Dell Optiplex 320 from using the HPET
%patch207 -p1
+# Add Dell e520 to shutdown DMI blacklist.
+%patch208 -p1
#
# PowerPC
@@ -2404,6 +2407,9 @@
%endif
%changelog
+* Thu May 24 2007 Dave Jones <davej at redhat.com>
+- Add Dell e520 to shutdown DMI blacklist.
+
* Wed May 23 2007 Dave Jones <davej at redhat.com>
- Disable more debug options in the non-debug builds.
More information about the fedora-extras-commits
mailing list