LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-04-2005, 10:59 PM   #1
gongcon
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Rep: Reputation: 0
Real Time Clock(RTC) problem


I want to disable the rtc module/driver when the system boot, since it will make my computer hangs on "acpi_power_off called" when shutdown. Now I delete the rtc.ko from the /lib/modules, and get the error message saying that the file is missing. It seems that someone calls the hwclock.sh at the boot time. Is there any way to disable it?
 
Old 01-04-2005, 11:09 PM   #2
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 363
Blog Entries: 1

Rep: Reputation: 44
autoload

You need to remove the module's listing from "/etc/modules.autoload" and then run "modules-update".

the autoload file might have a different name on your system, but you will probably find it with a

find /etc | grep autoload

hope this helps,
jrtayloriv
 
Old 01-05-2005, 07:59 PM   #3
gongcon
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for your reply.

1. There's no file named *.autoload
My system is Debian SID, kernel 2.6.8.

2. There's no a command modules-update.
 
Old 01-05-2005, 11:14 PM   #4
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 363
Blog Entries: 1

Rep: Reputation: 44
Forgive me, it seems that with debian, the file is simply, /etc/modules, so you can remove it from there.

sorry about the confusion,
jrtayloriv
 
Old 01-06-2005, 02:19 PM   #5
gongcon
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Original Poster
Rep: Reputation: 0
There's nothing in the file /etc/modules
I also removed the line:
alias char-major-10-135 rtc
in the file /etc/modules.conf and /etc/modutils/arch/i386.
However, this has no help for preventing the rtc module loading at boot time.
Probably there's some other functions are using this module. Any idea? Sorry for bothering you again.
 
Old 01-06-2005, 05:40 PM   #6
gongcon
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Original Poster
Rep: Reputation: 0
I finally got it worked. The problem is after I modified the file /etc/modules.conf and /etc/modutils/arch/i386, I must run the update-modules to get it be effective. The command is update-modules , not modules-update
 
Old 01-06-2005, 09:36 PM   #7
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 363
Blog Entries: 1

Rep: Reputation: 44
Talking

sorry, running gentoo here and on mine it is modules-update. didn't mean to confuse ya . Anyway glad you got everything working...


jrtayloriv
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 09:58 PM
Cannot Access my Real Time Clock? raid517 Linux - Hardware 1 05-08-2005 05:09 PM
Freeze while loading Real Time Clock Driver [10.1] playroll Slackware - Installation 0 04-28-2005 03:22 PM
System hanging at "Real Time Clock Driver" raccoon Linux - General 3 07-15-2004 02:57 PM
RTC time on a locally set clock pe2338 Debian 8 09-06-2003 04:30 AM


All times are GMT -5. The time now is 05:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration