Bug 67621
Summary: | BOOT_BIOS fails after Linux-2.6.29 | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | Dimon (dimon.bat) |
Component: | i386 | Assignee: | platform_i386 |
Status: | NEEDINFO --- | ||
Severity: | normal | CC: | alan, dimon.bat, hpa, lenb, mozilla, rjw, tianyu.lan |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.10.15 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
config of kernel 3.10.15
dmesg dmidecode patch patch |
Created attachment 119461 [details]
dmesg
Dmesg 3.10.15 kernel
Created attachment 119471 [details]
dmidecode
Created attachment 119481 [details]
patch
this patch adds "bios_reboot" (renamed to "old_reboot") from kernel 2.6.29.3 to 3.10.15, and change default reboot type for HP Compaq laptops to old_reboot
hi, could you send the patch in the comment3 to acpi and x86 maillist? Created attachment 119561 [details]
patch
Its new patch. Find some errors in old patch.
(In reply to Lan Tianyu from comment #4) > hi, could you send the patch in the comment3 to acpi and x86 maillist? Sorry, but I don't know how to do it. Im a newbie here. Please follow this link to send the patch. http://linux.koolsolutions.com/2011/02/26/howto-create-and-submit-your-first-linux-kernel-patch/ The reboot on this type of machine appears to work in kernel 3.2, but not in 3.9. Might help when producing a solution. > restart works correctly if the "bios_reboot" > code of linux-3.10.15 replaced with "bios_reboot" code from linux-2.6.29.3 Can you can git bisect which change broke bios_reboot? http://git-scm.com/docs/git-bisect Also please check 3.15-rc3, there have been some changes related to reboot recently. The old code and the new code are very, very similar, making this hard to guess what might be wrong. You could try to change: bios: ljmpw $0xf000, $0xfff0 ... to ... bios: ljmpw $0xffff, $0x0000 ... in arch/x86/realmode/rm/reboot.S ... ... to see if that matters. (In reply to Rafael J. Wysocki from comment #10) > Also please check 3.15-rc3, there have been some changes related to reboot > recently. ==================================== (In reply to H. Peter Anvin from comment #11) > The old code and the new code are very, very similar, making this hard to > guess what might be wrong. You could try to change: > > bios: > ljmpw $0xf000, $0xfff0 > > ... to ... > > bios: > ljmpw $0xffff, $0x0000 > > ... in arch/x86/realmode/rm/reboot.S ... > > ... to see if that matters. I have no more this laptop. Its not my. |
Created attachment 119451 [details] config of kernel 3.10.15 Laptop HP Compaq nx6110 hangs on restart. Test for linux version 3.10.15, 3.10.24 and 3.12.5. Normally works with kernel-2.6.29.3 Not tested with other kernels. reboot=acpi,reboot=efi,reboot=bios,reboot=triple,reboot=pci in kernel parameters does not works too restart works correctly if the "bios_reboot" code of linux-3.10.15 replaced with "bios_reboot" code from linux-2.6.29.3