Skip to contentSkip to conversation

Work around Dell E520 BIOS reboot bug.

PATCH In review Tim Gardner 4 participants 4 messages May 23, 2007 – May 29, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Work around Dell E520 BIOS reboot bug.

From: Tim Gardner <[email protected]>
Subject: [PATCH] Work around Dell E520 BIOS reboot bug.

Force Dell E520 to use the BIOS to shutdown/reboot.

---

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(-)
arch/i386/kernel/reboot.c +8 -0
index 3514b41..e33f51a 100644
@@ -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",
Signature · 1 line
1.4.4.2
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Tim Gardner

From: Tim Gardner <[email protected]>
Subject: [PATCH] Work around Dell E520 BIOS reboot bug.

Force Dell E520 to use the BIOS to shutdown/reboot.

Thanks Tim for submitting this.
-Matt

Signature · 4 lines
Matt Domsch
Software Architect
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com
Acked-by Matt Domsch
#2 lore raw
Quoted 11 lines · On Fri, 25 May 2007 21:58:09 -0500 Matt Domsch <[email protected]> wrote:
Quoted 6 lines · Tim Gardner

From: Tim Gardner <[email protected]>
Subject: [PATCH] Work around Dell E520 BIOS reboot bug.

Force Dell E520 to use the BIOS to shutdown/reboot.

Thanks Tim for submitting this.

Do you think this is also required in 2.6.21.x?

Andi: ack for 2.6.22 inclusion?

Thanks.

From: Tim Gardner <[email protected]>

Force Dell E520 to use the BIOS to shutdown/reboot.

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(+)
arch/i386/kernel/reboot.c renamed from arch/i386/kernel/reboot.c~work-around-dell-e520-bios-reboot-bug +8 -0
diff -puN arch/i386/kernel/reboot.c~work-around-dell-e520-bios-reboot-bug arch/i386/kernel/reboot.c
@@ -89,6 +89,14 @@ static int __init set_bios_reboot(struct
 }
 
 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",

_

#3 lore raw
Quoted 9 lines · Andrew Morton

On Fri, 25 May 2007 21:58:09 -0500

Quoted 6 lines · Matt Domsch
Quoted 5 lines · Tim Gardner

From: Tim Gardner <[email protected]>
Subject: [PATCH] Work around Dell E520 BIOS reboot bug.

Force Dell E520 to use the BIOS to shutdown/reboot.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Thanks Tim for submitting this.

Do you think this is also required in 2.6.21.x?

People can always set the boot option. It hardly seems like a critical issue needing a backport.

Quoted 1 line

Andi: ack for 2.6.22 inclusion?

Ok.

At some point we'll likely need to change the default anyways; the keyboard controller method seems to become flakier and flakier. I was actually thinking about using ACPI reset instead though.

-Andi