SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
Hardware clock - common problem
This is a problem that i saw occur on many slack installations, on different computers, and im wondering how to fix it.
When the halt command is given, the system sends TERM and KILL signals to proceses, then goes on to save system time to hardware clock, and freezes, i can't do anything but take power away. Otherwise the system works perfectly normal.
This problem eventually gets fixed if i compile a new kernel (same version of the kernel, just a new compile) but not always.
How can i fix this, since it's very annoying because the system doesn't power off automatically like it should, but freezes and it happened that i walked away a couple of times forgeting about it, and it stayed on for a whole weekend because of this.
So is there a solution?
Thanks
-NSKL
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Original Poster
Rep:
I guess i didnt explain myself well, APM is compiled into the kernel, and works no problem, but it jnever gets to the stage where APM should power off the computer because it freezes on
"Saving system time to hardware clock"
even on reboots. This problem occured to me many times on different computers and different versions of slack (8, and 8.1). I don't see what causes it, because i never mess with clock, except using timeconfig to setup my time zone.
I will try to recompile the kernel without "enhanced RTC" (real time clock) support and that should get it fixed for the time being, but im still curious why does this happen.
Thanks
-NSKL
I'd be leaving the RTC support alone and look closer at what options you've enabled for apm. This is what I config for apm,
CONFIG_PM=y
# CONFIG_ACPI is not set
CONFIG_APM=m
# 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 set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Original Poster
Rep:
My APM config is identical to yours, and it used to shutdown just fine, but for no apparent reason, two days ago it started freezing at
"saving system time to hardware clock"
I recompiled the kernel, but still didnt boot it, when i reboot the system i hope it'll get solved, if not i'll come back here to cry for help
thanks
-NSKL
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Original Poster
Rep:
Ya, disabling enhananced RTC solved the problem. I still dont understand why this occurs, on both computers, with both slack 8.0 and 8.1.
Maybe its a issue with the motherboard. Both computers have the same motherboard, Asus a7v if i recall well.
-NSKL
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.