LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Real Time Clock(RTC) problem (https://www.linuxquestions.org/questions/linux-software-2/real-time-clock-rtc-problem-273983/)

gongcon 01-04-2005 10:59 PM

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?

jrtayloriv 01-04-2005 11:09 PM

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

gongcon 01-05-2005 07:59 PM

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.

jrtayloriv 01-05-2005 11:14 PM

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

gongcon 01-06-2005 02:19 PM

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.

gongcon 01-06-2005 05:40 PM

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 :)

jrtayloriv 01-06-2005 09:36 PM

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


jrtayloriv


All times are GMT -5. The time now is 08:50 PM.