Linux kernel rebooting
Hello
I've got a problem with rebooting my linux on laptop hp nx6310 (centrino core duo). After restarting, bios hangs for a while and it runs slower then usual (up to 15 seconds until grub loads). After that, my linux works quite fine, however I'm not able to achieve maximym cpu speed with cpufreq and acpi doesn't show actual information about battery left (it shows all the time 2:30 hours left) - simply, acpi hangs in the moment of booting.
But there is also ms windows on the same laptop. It reboots smoothly and quickly. There is no bios hanging effect. And after such reboot from windows, when I boot linux, everything works fine!
I guess it's the problem of the way how linux' kernel with acpi reboots. Can somebody tell me what can I do with it? Maybe it's some kind of a bug in acpi or kernel?
Piece of my kernel (2.6.17.4) .config:
#
# ACPI (Advanced Configuration and Power Interface) Support #CONFIG_ACPI=yCONFIG_ACPI_AC=yCONFIG_ACPI_BATTERY=yCONFIG_ACPI_BUTTON=yCONFIG_ACPI_VIDEO=y
# CONFIG_ACPI_HOTKEY is not setCONFIG_ACPI_FAN=yCONFIG_ACPI_PROCESSOR=yCONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set CONFIG_ACPI_BLACKLIST_YEAR=0CONFIG_ACPI_DEBUG=yCONFIG_ACPI_EC=yCONFIG_ACPI_POWER=yCONFIG_ACPI_SYSTEM=yCONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set
// without APM it also fails.
#
# APM (Advanced Power Management) BIOS Support
#CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not setCONFIG_APM_REAL_MODE_POWER_OFF=y
#
# CPU Frequency scaling
#CONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_TABLE=y
# CONFIG_CPU_FREQ_DEBUG is not set CONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_STAT_DETAILS=y CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
#
# CPUFreq processor drivers
#CONFIG_X86_ACPI_CPUFREQ=y
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_GX_SUSPMOD is not setCONFIG_X86_SPEEDSTEP_CENTRINO=yCONFIG_X86_SPEEDSTEP_CENTRINO_ACPI=yCONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=yCONFIG_X86_SPEEDSTEP_ICH=yCONFIG_X86_SPEEDSTEP_SMI=y
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
# CONFIG_X86_LONGRUN is not set
#
# shared options # # CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set CONFIG_X86_SPEEDSTEP_LIB=y # CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK is not set
Signature · 8 lines
Łukasz Jachymczyk http://fatcat.ftj.agh.edu.pl/~lfx/ - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · Łukasz Jachymczyk
Hello
I've got a problem with rebooting my linux on laptop hp nx6310 (centrino core duo). After restarting, bios hangs for a while and it runs slower then usual (up to 15 seconds until grub loads). After that, my linux works quite fine, however I'm not able to achieve maximym cpu speed with cpufreq and acpi doesn't show actual information about battery left (it shows all the time 2:30 hours left) - simply, acpi hangs in the moment of booting.
Quoted 8 lines
But there is also ms windows on the same laptop. It reboots smoothly and quickly. There is no bios hanging effect. And after such reboot from windows, when I boot linux, everything works fine!
I guess it's the problem of the way how linux' kernel with acpi reboots. Can somebody tell me what can I do with it? Maybe it's some kind of a bug in acpi or kernel?
I think I identified two problems of your machine (on a HP nx9420):
Please have a look at:
https://bugzilla.novell.com/show_bug.cgi?id=179702
The battery issue should be related to ACPICA. Hmm, not sure whether this is really fixed yet, could you try a kernel with latest ACPICA patches in (try to use Len's ACPI test tree, not sure what is the latest ACPICA in there it should at least be 20060608).
If it does not work yet, please comment in the bug and I try to track it down.
The max_freq is never reached because _PPC always returns 1. I couldn't identify what goes wrong inside there, this looks like a BIOS issue to me and HP eventually takes care (already updated to latest BIOS? -> better do that before starting anything else).
Would be nice if you can add a comment there (including your machine model), this might help to get HP to have a look at it, they care about Linux compatibility...
Thanks,
Thomas
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html