* DMI_MATCH patch in reboot.c for SFF Dell OptiPlex 745 - fixes hang on reboot
@ 2007-06-04 16:12 James Jarvis
0 siblings, 0 replies; 4+ messages in thread
From: James Jarvis @ 2007-06-04 16:12 UTC (permalink / raw)
To: Riley; +Cc: Linux-Kernel, graham.newton, kenneth.macdonald
I trust this is the right list...
The following patch enables reboot through BIOS on the Dell Optiplex 745
Small Form Factor base, on which reboot hangs. The larger form factor
does not require this, hence the match on DMI_BOARD_NAME.
--- arch/i386/kernel/reboot.c.orig 2007-06-01 12:22:53.000000000 +0100
+++ arch/i386/kernel/reboot.c 2007-06-04 16:53:36.000000000 +0100
@@ -104,6 +104,15 @@
DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge 300/"),
},
},
+ { /* Handle problems with rebooting on Dell Optiplex 745's
SFF*/
+ .callback = set_bios_reboot,
+ .ident = "Dell OptiPlex 745",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 745"),
+ DMI_MATCH(DMI_BOARD_NAME, "0WF810"),
+ },
+ },
{ /* Handle problems with rebooting on Dell 2400's */
.callback = set_bios_reboot,
.ident = "Dell PowerEdge 2400",
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DMI_MATCH patch in reboot.c for SFF Dell OptiPlex 745 - fixes hang on reboot
[not found] <fa./cH7AY3hv2QMikoTK1P7fAVvbdI@ifi.uio.no>
@ 2007-06-05 0:49 ` Robert Hancock
2007-06-05 8:42 ` James E. Jarvis
2007-06-05 11:55 ` Matthew Garrett
0 siblings, 2 replies; 4+ messages in thread
From: Robert Hancock @ 2007-06-05 0:49 UTC (permalink / raw)
To: James Jarvis; +Cc: Riley, Linux-Kernel, graham.newton, kenneth.macdonald
James Jarvis wrote:
> I trust this is the right list...
>
> The following patch enables reboot through BIOS on the Dell Optiplex 745
> Small Form Factor base, on which reboot hangs. The larger form factor
> does not require this, hence the match on DMI_BOARD_NAME.
>
> --- arch/i386/kernel/reboot.c.orig 2007-06-01 12:22:53.000000000 +0100
> +++ arch/i386/kernel/reboot.c 2007-06-04 16:53:36.000000000 +0100
> @@ -104,6 +104,15 @@
> DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge 300/"),
> },
> },
> + { /* Handle problems with rebooting on Dell Optiplex 745's
> SFF*/
> + .callback = set_bios_reboot,
> + .ident = "Dell OptiPlex 745",
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> + DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 745"),
> + DMI_MATCH(DMI_BOARD_NAME, "0WF810"),
> + },
> + },
> { /* Handle problems with rebooting on Dell 2400's */
> .callback = set_bios_reboot,
> .ident = "Dell PowerEdge 2400",
This blacklist seems to be growing. Isn't there something better we can
do here? Can we just reboot through the BIOS by default, is that really
broken on some systems?
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DMI_MATCH patch in reboot.c for SFF Dell OptiPlex 745 - fixes hang on reboot
2007-06-05 0:49 ` DMI_MATCH patch in reboot.c for SFF Dell OptiPlex 745 - fixes hang on reboot Robert Hancock
@ 2007-06-05 8:42 ` James E. Jarvis
2007-06-05 11:55 ` Matthew Garrett
1 sibling, 0 replies; 4+ messages in thread
From: James E. Jarvis @ 2007-06-05 8:42 UTC (permalink / raw)
To: Robert Hancock; +Cc: Linux-Kernel, Kenneth MacDonald
On Mon, 4 Jun 2007, Robert Hancock wrote:
> James Jarvis wrote:
>> I trust this is the right list...
>>
>> The following patch enables reboot through BIOS on the Dell Optiplex 745
>> Small Form Factor base, on which reboot hangs. The larger form factor does
>> not require this, hence the match on DMI_BOARD_NAME.
>>
>> --- arch/i386/kernel/reboot.c.orig 2007-06-01 12:22:53.000000000
>> +0100
>> +++ arch/i386/kernel/reboot.c 2007-06-04 16:53:36.000000000 +0100
>> @@ -104,6 +104,15 @@
>> DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge 300/"),
>> },
>> },
>> + { /* Handle problems with rebooting on Dell Optiplex 745's
>> SFF*/
>> + .callback = set_bios_reboot,
>> + .ident = "Dell OptiPlex 745",
>> + .matches = {
>> + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
>> + DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 745"),
>> + DMI_MATCH(DMI_BOARD_NAME, "0WF810"),
>> + },
>> + },
>> { /* Handle problems with rebooting on Dell 2400's */
>> .callback = set_bios_reboot,
>> .ident = "Dell PowerEdge 2400",
>
> This blacklist seems to be growing. Isn't there something better we can do
> here? Can we just reboot through the BIOS by default, is that really broken
> on some systems?
Agreed, it is ugly. However I don't like leavng the determination of
whether the system board will only reboot through BIOS to the end user.
Whilst using the kernel boot argument "reboot=b" is an alternative, it
works only _if_ one knows the platform in advance. However our boot media
(and indeed live-cds generally) are used such that this is not practical.
As for whether rebooting through BIOS by default would solve this matter -
I don't know. It may break on some machines. Given that EFI may (???)
replace traditional BIOS in the future is it worth re-engineering this?
James Jarvis
Uinversity of Edinburgh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DMI_MATCH patch in reboot.c for SFF Dell OptiPlex 745 - fixes hang on reboot
2007-06-05 0:49 ` DMI_MATCH patch in reboot.c for SFF Dell OptiPlex 745 - fixes hang on reboot Robert Hancock
2007-06-05 8:42 ` James E. Jarvis
@ 2007-06-05 11:55 ` Matthew Garrett
1 sibling, 0 replies; 4+ messages in thread
From: Matthew Garrett @ 2007-06-05 11:55 UTC (permalink / raw)
To: Robert Hancock
Cc: James Jarvis, Riley, Linux-Kernel, graham.newton,
kenneth.macdonald
On Mon, Jun 04, 2007 at 06:49:10PM -0600, Robert Hancock wrote:
> This blacklist seems to be growing. Isn't there something better we can
> do here? Can we just reboot through the BIOS by default, is that really
> broken on some systems?
Yes, that breaks a separate set of machines. It would be interesting to
try resetting just by banging the keyboard controller from userspace,
and seeing if that fails in the same way - I suspect that on certain
hardware, part of the shutdown process confuses it in some way.
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-06-05 11:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <fa./cH7AY3hv2QMikoTK1P7fAVvbdI@ifi.uio.no>
2007-06-05 0:49 ` DMI_MATCH patch in reboot.c for SFF Dell OptiPlex 745 - fixes hang on reboot Robert Hancock
2007-06-05 8:42 ` James E. Jarvis
2007-06-05 11:55 ` Matthew Garrett
2007-06-04 16:12 James Jarvis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox