Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Fri Jul 20, 2018 2:08 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Mon Sep 15, 2008 7:02 am 
Offline
Regular Member
User avatar

Joined: Fri Jul 25, 2008 3:23 pm
Posts: 160
Location: Kobe, Japan
EDIT: problem solved

Code:
(none) ~ # hwclock --utc --systohc                                                                                  
RTC_RD_TIME: Invalid argument                                                                                       
ioctl() to /dev/rtc to read the time failed.                                                                       
(none) ~ # dmesg | grep rtc                                                                                         
rtc-rs5c372 0-0032: clock needs to be set                                                                           
rtc-rs5c372 0-0032: rs5c372a found, 24hr, driver version 0.5                                                       
rtc-rs5c372 0-0032: rtc core: registered rtc-rs5c372 as rtc0                                                       
rtc-rs5c372 0-0032: hctosys: unable to read the hardware clock                                                     
(none) ~ # hwclock --show                                                                                           
RTC_RD_TIME: Invalid argument                                                                                       
ioctl() to /dev/rtc to read the time failed.                                                                       


Top
   
PostPosted: Sat Sep 12, 2009 9:08 am 
Offline
Newbie

Joined: Wed Jul 08, 2009 8:18 pm
Posts: 25
How did you solve the problem? I have the same problem


Top
   
PostPosted: Sat Sep 12, 2009 9:50 am 
Offline
Site Admin
User avatar

Joined: Sun Jul 17, 2005 4:34 pm
Posts: 5332
I guess "ln -s /dev/rtc0 /dev/rtc" will do


Top
   
PostPosted: Tue Sep 15, 2009 4:33 pm 
Offline
Newbie

Joined: Wed Jul 08, 2009 8:18 pm
Posts: 25
andre wrote:
I guess "ln -s /dev/rtc0 /dev/rtc" will do


Not working.

Ideas?


Top
   
PostPosted: Sun Sep 20, 2009 5:14 pm 
Offline
Newbie

Joined: Wed Jul 08, 2009 8:18 pm
Posts: 25
Doesn't anybody have any ideas to this hwclock problem?


Top
   
PostPosted: Sun Sep 20, 2009 6:04 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
LaitrKeiows, could you elaborate on what you did as a solution?

Is there a kernel patch somewhere? or something different for the config?

LaitrKeiows wrote:
EDIT: problem solved



??

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
   
PostPosted: Sun Sep 20, 2009 9:53 pm 
Offline
Regular Member
User avatar

Joined: Fri Jul 25, 2008 3:23 pm
Posts: 160
Location: Kobe, Japan
davy_gravy wrote:
LaitrKeiows, could you elaborate on what you did as a solution?

It was more that year ago. I can't remember exactly, sorry.

Possibly one needs to reset the clock somehow, as it is not saved between power cycles and may be filled with garbage.
Code:
# ls -l /dev/rtc
lrwxrwxrwx 1 root root 4 Jun  6 07:16 /dev/rtc -> rtc0
# hwclock --utc --systohc
# date
Mon Sep 21 05:49:15 JST 2009
# hwclock --version
hwclock from util-linux-ng 2.16
Currently there is no such problem on the Mini/Genlink in my belonging.


Top
   
PostPosted: Sat Oct 03, 2009 10:51 am 
Offline
Newbie

Joined: Wed Jul 08, 2009 8:18 pm
Posts: 25
Some progress now

I installed util-linux-ng 2.16 (old version was 2.13)

Now I can set hardware clock like this
Code:
hwclock --systohc --utc


If the power from linkstation mini is off for example one day, I get this
Code:
rtc-rs5c372 0-0032: hctosys: unable to read the hardware clock

at booting. This is way the checking of file systems goes mad because clock isn't on time.

How can I set the clock on right time at booting?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 guests


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:
Powered by phpBB® Forum Software © phpBB Limited