<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Igrat</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Igrat"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Igrat"/>
	<updated>2026-04-22T11:30:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problems_with_hwclock&amp;diff=30178</id>
		<title>Problems with hwclock</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problems_with_hwclock&amp;diff=30178"/>
		<updated>2007-05-30T19:01:41Z</updated>

		<summary type="html">&lt;p&gt;Igrat: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page discusses the problem with /dev/rtc on certain models.&lt;br /&gt;
&lt;br /&gt;
== Problem description ==&lt;br /&gt;
On bootup,a message like this shows up:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;select() to /dev/rtc to wait for clock tick timed out&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The RTC kernel driver can't handle the system clock.&lt;br /&gt;
&lt;br /&gt;
== Possible solutions ==&lt;br /&gt;
&lt;br /&gt;
=== Using the --directisa switch of hwclock(8) ===&lt;br /&gt;
The '''hwclock''' command knows the parameter ''--directisa'' to access the system clock &amp;quot;directly&amp;quot; instead of accessing it by using /dev/rtc. There are several ways of doing this automatically.&lt;br /&gt;
&lt;br /&gt;
==== Generic instructions ====&lt;br /&gt;
Move /sbin/hwclock (or wherever it is located on your system) to '''/sbin/hwclock.dist''' and create the following shell script, which you place at /sbin/hwclock&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/sh&lt;br /&gt;
/sbin/hwclock.dist --directisa &amp;quot;$@&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Make the script executable (apply the same permissions you had for ''hwclock'' before) and keep your packaging system from overwriting it on updates.&lt;br /&gt;
&lt;br /&gt;
==== Debian 4.0 (etch) ====&lt;br /&gt;
Add the following to '''/etc/default/rcS''':&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;HWCLOCKPARS=&amp;quot;--directisa&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Debian 3.1 (sarge) and previous ====&lt;br /&gt;
Edit '''/etc/init.d/hwclock.sh''' and change all instances of &amp;quot;/sbin/hwclock&amp;quot; to &amp;quot;/sbin/hwclock --directisa&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Gentoo ====&lt;br /&gt;
Edit '''/etc/init.d/clock''' and set ''CLOCK_OPTS'' to&lt;br /&gt;
&amp;lt;pre&amp;gt;CLOCK_OPTS=&amp;quot;--directisa&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compiling RTC-support into the kernel instead of as a module ===&lt;br /&gt;
&lt;br /&gt;
Compiling RTC-support (CONFIG_RTC) into the kernel instead of compiling it as a module seems to work also. Tested on: 2.6.20.6 at Thinkpad {{Z61m}} 9450-3HG&lt;br /&gt;
&lt;br /&gt;
== Affected Models ==&lt;br /&gt;
&lt;br /&gt;
*Thinkpad {{T60}} (not all models)&lt;br /&gt;
*Thinkpad {{T61}} (type 7662, maybe others)&lt;br /&gt;
*Thinkpad {{T60p}}&lt;br /&gt;
*Thinkpad {{X60s}}&lt;br /&gt;
*Thinkpad {{Z61m}}&lt;br /&gt;
&lt;br /&gt;
== Affected Operating Systems ==&lt;br /&gt;
&lt;br /&gt;
*Linux, all flavours. Tested with kernel 2.6.18, 2.6.19, 2.6.20.6&lt;/div&gt;</summary>
		<author><name>Igrat</name></author>
		
	</entry>
</feed>