[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#404101: linux-image-2.6.18-3-powerpc64: /dev/rtc not available



Package: linux-image-2.6.18-3-powerpc64
Version: 2.6.18-7
Severity: normal

I've just moved an Apple G5 Xserve from Sarge to Etch, and then
tried to set the hardware clock.

# hwclock
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
# hwclock --debug
hwclock from util-linux-2.12r
hwclock: Open of /dev/rtc failed, errno=2: No such file or directory.
No usable clock interface found.
Cannot access the Hardware Clock via any known method.

I even tried 
for i in /lib/modules/2.6.18-3-powerpc64/kernel/drivers/rtc/* ; do modprobe `basename $i .ko` ; done
to no avail. At boot time there is a mention of:
Processor timebase sync using Pulsar i2c clock

Same hardware, linux-image-2.6.12-1-powerpc64 (Version: 2.6.12-10):
# hwclock --debug
hwclock from util-linux-2.12p
Using /dev/rtc interface to clock.
Last drift adjustment done at 1166638203 seconds after 1969
Last calibration done at 1166638203 seconds after 1969
Hardware clock is on UTC time
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
/dev/rtc does not have interrupt functions. Waiting in loop for time from /dev/rtc to change
...got clock tick
Time read from Hardware Clock: 2006/12/21 16:17:24
Hw clock time : 2006/12/21 16:17:24 = 1166717844 seconds since 1969
Thu 21 Dec 2006 11:17:24 AM EST  -0.781007 seconds

Perhaps there is a kernel configuration option missing that
creates /dev/rtc? Or maybe this bug needs to be reassigned
against udev.

There are no /dev/rt* on 2.6.18-3-powerpc64...
# ls /dev/rt*
ls: /dev/rt*: No such file or directory

# cat /proc/cpuinfo 
processor       : 0
cpu             : PPC970FX, altivec supported
clock           : 2300.000000MHz
revision        : 3.1 (pvr 003c 0301)

processor       : 1
cpu             : PPC970FX, altivec supported
clock           : 2300.000000MHz
revision        : 3.1 (pvr 003c 0301)

timebase        : 33333333
platform        : PowerMac
machine         : RackMac3,1
motherboard     : RackMac3,1 MacRISC4 Power Macintosh 
detected as     : 339 (XServe G5)
pmac flags      : 00000000
L2 cache        : 512K unified
pmac-generation : NewWorld



Reply to: