Kurobox NAS-Central Forums

Welcome to the Kuro Community
It is currently Mon Jun 25, 2018 12:00 am

All times are UTC-06:00




Forum locked  This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: hwclock troubles
PostPosted: Sat Jan 13, 2007 10:59 am 
Offline

Joined: Sat Jul 15, 2006 8:49 am
Posts: 219
Location: Virginia
I'm running the gentoo image with u-boot and a 2.6.18 kernel. When I run hwclock, I get:

Code:
gmyth ~ # hwclock
The Hardware Clock registers contain values that are either invalid (e.g. 50th day of month) or beyond the range we can handle (e.g. Year 2095).


This happens after 'hwclock --systohc' (since I set the system time with NTP).

Anyone know what the trouble is?


Thanks
russK


Top
   
 Post subject: Ever solve this??
PostPosted: Tue Apr 24, 2007 6:16 pm 
Offline

Joined: Mon Jan 01, 2007 10:03 pm
Posts: 29
russK:

I may be having the same issue, running sylver's 2.6.20.2_kurobox_hg and debian.:

Code:
KURO-BOX:/etc/rcS.d# hwclock          
The Hardware Clock registers contain values that are either invalid (e.g. 50th day of month) or beyond the range we can handle (e.g. Year 2095).


I'm seeing a 7-hour offset in my mythtv listings, and the date command always returns UTC, even though I've set UTC=no in /etc/default/rcS.

I can watch TV now in myth, but I can't schedule any recordings...I'm suspicious that it's because I have the time problems in my listings, but I'm not sure.

I'm running ntpd, if that helps.

Cheers - MMcK


Top
   
 Post subject:
PostPosted: Thu Apr 26, 2007 7:18 am 
Offline

Joined: Thu Jul 20, 2006 2:46 am
Posts: 82
i dont even have the device... lol

debian / Uboot with Linux 2.6.20-kuroboxHG #3 Thu Mar 29 10:24:30 BST 2007 ppc GNU/Linux
Code:
/# 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=19: No such device.
No usable clock interface found.
Cannot access the Hardware Clock via any known method.

_________________
monkeyboy


Top
   
 Post subject:
PostPosted: Fri May 25, 2007 12:29 am 
Offline

Joined: Thu May 03, 2007 1:22 pm
Posts: 29
Location: Belo Horizonte
monkeyboy, I was on the SAME situation!!!

Are you sure you are using udev ? The rtc on the kuro needs it.

Later, check if you have a /dev/rtc file. hwclock needs it. In my case, the file was named /dev/rtc0, so when I did

jangada:/home/wladston# ln /dev/rtc0 /dev/rtc

jangada:/home/wladston# hwclock
Thu May 24 16:21:57 2007 -0.631539 seconds

:D


Top
   
 Post subject:
PostPosted: Fri May 25, 2007 2:58 am 
Offline

Joined: Thu Jul 20, 2006 2:46 am
Posts: 82
Ive installed udev


/dev# ls -l rtc*
crw-rw---- 1 root root 10, 135 Apr 25 2004 rtc
/dev# cat rtc
cat: rtc: No such device
/dev# file rtc
rtc: character special (10/135)

----------

ignore all that , rebooted at ive got a rtc0 so linked it up and were away. thanks

_________________
monkeyboy


Top
   
 Post subject:
PostPosted: Fri Jun 01, 2007 2:19 am 
Offline

Joined: Thu May 03, 2007 1:22 pm
Posts: 29
Location: Belo Horizonte
have you noted that this will last until you reboot ?

I'm still trying to find a permanent solution.


Top
   
Display posts from previous:  Sort by  
Forum locked  This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited