Bug 12901
Summary: | (patch queued)reboot=b is mandatory on Dell Dimension 9200/DXP061. | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | Jason (jsnmchaon22) |
Component: | i386 | Assignee: | Alan (alan) |
Status: | RESOLVED CODE_FIX | ||
Severity: | low | CC: | alan, rui.zhang |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.28.8 #1 SMP i686 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 56331 | ||
Attachments: |
acpidump
acpidump-2.6.28.8 dmidecode-2.6.28.8 Patch to test patch: sony VGN Z540N needs reboot=b |
Description
Jason
2009-03-20 08:33:09 UTC
I'm going to reassign this to ACPI for the moment see if the power folks have any ideas. If not please can they assign it back to me and I'll push a DMI match upstream for the box.
> I'm going to reassign this to ACPI for the moment see if the power
> folks have any ideas. If not please can they assign it back to me
> and I'll push a DMI match upstream for the box.
there seems to be a lot of such problems and it would be nice to
find a more general workaround for it. DMI quirks are always
incomplete and always lag behind.
Ingo
Hi, Jason Will you please attach the output of acpidump? Will you please try the boot option of "reboot=a" on the latest kernel and see whether the acpi reboot is helpful for this box? Thanks. Created attachment 20626 [details]
acpidump
reboot=a on my current kernel still hangs the restart process. I will try and recompile a kernel as soon as possible. Created attachment 20628 [details]
acpidump-2.6.28.8
On kernel 2.6.28.8 the problem persists.
reboot=a has no effect on it and hangs during restart. reboot=b allows a proper reboot.
Attached: acpidump, dmidecode for 2.6.28.8
Created attachment 20629 [details]
dmidecode-2.6.28.8
On kernel 2.6.28.8 the problem persists.
reboot=a has no effect on it and hangs during restart. reboot=b allows a proper reboot.
Attached: acpidump, dmidecode for 2.6.28.8
Hi, Jason From the acpidump we know that the RESET_REG bit of FADT.flags is clear, which indicates that acpi reset is not supported.(Of course there is no definition of reset_reg/reset_value). In such case the box can't be rebooted by using ACPI reboot. How about the boot option of "reboot=p"? If the boot option of "reboot=p" is added, the 0xCF9 reboot register will be used. If the box still can't be rebooted by 0xCF9 reboot register, maybe this box should be added to DMI check list. thanks. reboot=p has no effect - the hanging still occurs. reboot=b is the only boot option I've tried (p & e) that seems to work. A quick google search I just did turned up this: http://74.125.95.132/search?q=cache:P8wuFKJjK4sJ:ftp.gnu.org/tmp/linux-libre-fsf2_2.6.28/linux-2.6.28/arch/x86/kernel/reboot.c+dell+dimension+9200+enable+acpi&cd=15&hl=en&ct=clnk&gl=us&client=firefox-a The code below is copied from the above link - It is not included in my /arch/x86/kernel/reboot.c file (2.6.28.8). { /* Handle problems with rebooting on Dell Dimension 9200 */ .callback = set_bios_reboot, .ident = "Dell Dimension 9200", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), DMI_MATCH(DMI_PRODUCT_NAME, "Dell DXP061"), DMI_MATCH(DMI_BOARD_NAME, "0CT017"), }, }, I'm not sure if the code snippet I found on Google even applies to this situation. I can't find: "OCT017" in my dmidecode file so sorry if it's not applicable. Hi, Alan From the test it seems that the box can't be rebooted unless it is rebooted via bios(32bit). Even when the 0xCF9 I/O port reset register is used, it still can't be rebooted. (ACPI reset is not supported on this box). How about reassign this bug to you again? Please add this box to DMI check table so that the box is rebooted via bios. Thanks. Ok will do Created attachment 20637 [details]
Patch to test
Just tested Alan's patch and it works as expected. I'm not familiar with bugzilla so can someone tell me what status I should change this bug to (or do it yourself if you can). Thanks Alan + ykzhao Thanks - I will submit the patch next merge window and then close the bug Created attachment 20664 [details]
patch: sony VGN Z540N needs reboot=b
sony VGN Z540N need reboot=b to reboot as well.
patch is in upstream kernel now, c5da9a2bb24a7928c39495cdabf98d3f7931bde5 the patch in comment #16 is also taken. http://git.kernel.org/?p=linux/kernel/git/x86/linux-2.6-tip.git;a=commitdiff;h=88dff4936c0a5fa53080cca68dc963a8a2a674b0 |