LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-07-2003, 12:36 PM   #1
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
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
 
Old 01-07-2003, 10:43 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
If you modprobe apm it will power off with halt or shutdown -h "now".
 
Old 01-08-2003, 09:52 AM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 47
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
 
Old 01-08-2003, 02:31 PM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
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

Last edited by Aussie; 01-08-2003 at 02:33 PM.
 
Old 01-08-2003, 03:49 PM   #5
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 47
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
 
Old 01-09-2003, 09:18 AM   #6
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Original Poster
Rep: Reputation: 47
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System clock correct, hardware clock wrong karlovac Linux - General 5 01-16-2009 07:19 PM
system clock,hardware clock varunbihani Linux - Newbie 2 07-23-2005 09:04 AM
i can't set my hardware clock jogurt666 Linux - General 3 08-05-2004 10:22 AM
Why can't a common hardware driver format/system be developed? oudent Linux - General 6 02-01-2004 11:08 PM
Hardware Clock... philfighter General 0 08-18-2001 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration