All times are UTC-06:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Thu Dec 02, 2004 2:37 pm 
Offline

Joined: Thu Dec 02, 2004 2:22 pm
Posts: 3
Hi,

I recently got a Pegasos2 (Thanks Sven and all concerned at Genesi! :D :D )
There were one or two issues : a reset switch got broke in transit which made it
hard to boot, but during fixing this I took out the battery to see if that would help;
now the clock is reset to 1 Jab 1970 (the HW clock) , and under Debian I cannot
reset it: 'hwclock' hangs. I currently have the system working by commenting
out hwclock and using ntpdate, but how can I fix it? Is there an OF command I
need to do?

Thanks
Alastair McKinstry


Top
   
PostPosted: Thu Dec 02, 2004 4:55 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 52
Location: Gothenburg
I got this problem on a Pegasos II ones, and couldn't find a solution in Linux for it.

I booted MorphOS and issued the shell-command;

> Setclock reset

That fixed it.

Gunne


Top
   
PostPosted: Fri Dec 03, 2004 6:54 am 
Offline

Joined: Thu Dec 02, 2004 2:22 pm
Posts: 3
Ok, so there is a solution :-)

Unfortunately I don't have morphOS (I trashed the disk figuring out how to install);
any ideas as to where to get the docs and fix 'hwclock' for Pegasos2?

Thx
Alastair


Top
   
PostPosted: Fri Dec 03, 2004 7:29 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 52
Location: Gothenburg
Hi Alastair

I see.

I suggest you ask the people who shipped you the machine, if they can supply you with a MorphOS CD.

Or, you could send me a email to my company; gunne@ggsdata.se and we can help you out.

Thank You !

Gunne


Top
   
PostPosted: Sat Dec 04, 2004 12:46 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 111
Quote:
Hi,

I recently got a Pegasos2 (Thanks Sven and all concerned at Genesi! :D :D )
There were one or two issues : a reset switch got broke in transit which made it
hard to boot, but during fixing this I took out the battery to see if that would help;
now the clock is reset to 1 Jab 1970 (the HW clock) , and under Debian I cannot
reset it: 'hwclock' hangs. I currently have the system working by commenting
out hwclock and using ntpdate, but how can I fix it? Is there an OF command I
need to do?

Thanks
Alastair McKinstry
Did you try setting the hwclock directly once the system is running ? With something like :
Code:
hwclock --set --date="12/04/04 07:45:00"
Or :
Code:
hwclock --systohc
Try these and report back, and we will see if there is something else needed if this doesn't work out (not before monday though).

Friendly,

Sven Luther


Top
   
PostPosted: Sat Dec 04, 2004 5:23 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 52
Location: Gothenburg
I would be interested in knowing if this works to do in Linux as well :-)

Gunne


Top
   
PostPosted: Sun Dec 05, 2004 2:55 pm 
Offline

Joined: Thu Dec 02, 2004 2:22 pm
Posts: 3
Yes, in fact running

hwclock --systohc

hangs the system trying to set the clock ; I've had to edit it out of the
/etc/init.d for the moment, and rely on ntpdate.

The kernel log has "localhost kernel: Warning: real time clock seems stuck!"
warnings during boot.

This is the 2.6 kernel from Svens directory. So perhaps the reset code from
morphOS should be ported? Any email addresses for the morphos developers?

Thanks
Alastair


Top
   
PostPosted: Wed Dec 08, 2004 2:40 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 52
Location: Gothenburg
amck:

Actually that was exactly what I also found out myself when trying this in Linux, when this fault occured on a Pegasos for us here.

The MorphOS command solved it.

Gunne


Top
   
PostPosted: Mon Dec 13, 2004 6:19 pm 
Offline

Joined: Fri Oct 22, 2004 6:00 am
Posts: 81
Very strange. On my Sarge (at even Woody) distribution it worked. Upon shutdown system updated hardware clock from OS clock and everything went almost fine. I say "Almost" because this confused MorphOS because MorphOS and Linux store dates beyond 2000 in different formats. Linux is able to load MorphOS date correctly but not vice versa. So i disabled this by correcting a script in /etc/init.d.


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

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 9 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

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group