Re: RTC on 2.6.36 for PowerMac 8600

2012-01-31 Thread kevin diggs
Hi, On 1/29/12, Andreas Schwab wrote: > kevin diggs writes: > > > Perhaps the RTC was reset due to battery running out? That would set > the year to 1900, but the kernel RTC interface cannot represent dates > before 1970. Unfortunately hwclock insists on reading the RTC even when > you just wa

Re: RTC on 2.6.36 for PowerMac 8600

2012-01-31 Thread Benjamin Herrenschmidt
On Sat, 2012-01-28 at 21:08 -0600, kevin diggs wrote: > Hi, > > What will give me access to the RTC hardware on an old PowerMac 8600? > I modload rtc-generic. /proc/devices has: should work with rtc generic, not sure what's up. You can check with printk ... rtc_generic should call into get_rtc_t

Re: RTC on 2.6.36 for PowerMac 8600

2012-01-29 Thread Andreas Schwab
kevin diggs writes: > [root@PowerMac8600B root]# hwclock --debug > hwclock from util-linux-2.12pre > Using /dev/rtc interface to clock. > Last drift adjustment done at 131743 seconds after 1969 > Last calibration done at 131743 seconds after 1969 > Hardware clock is on local time > Assumi

RTC on 2.6.36 for PowerMac 8600

2012-01-28 Thread kevin diggs
Hi, What will give me access to the RTC hardware on an old PowerMac 8600? I modload rtc-generic. /proc/devices has: 254 rtc and ls -l /dev/rtc*: crw-r--r-- 2 root root 254, 0 Sep 2 2010 /dev/rtc crw-r--r-- 2 root root 254, 0 Sep 2 2010 /dev/rtc0 crw-r--r-- 1 root root 10, 135 Aug 10