On Sat, 2005-05-28 at 11:05 +1000, Benjamin Herrenschmidt wrote: > On Fri, 2005-05-27 at 17:00 -0700, Adam Done wrote: > > I have been able to correlate my dates from dual booting into OS X and > > Linux to have the same date. Now after putting the 15" PB to sleep > > using 2.6.11.9 kernel my date changes to UTC time and resets its self > > when rebooted. This is bad because it does through off all my logs > > until I reset the time manually or reboot. Has anyone else seen this > > before? > > Hrm... Afaik, OS X is agnostic to the timezone stored in the pram (which > is obsolete). Ideally, you should clear that value to 0 and have the > real time clock be in UTC.
I had hwclock daemon started when booting into Linux and upon shutdown and restart it saved the data and noticed that it was set to UTC but when I booted in OS X (for digital imaging) the time was off by the hrs from UTC. So I removed the hwclock daemons from starting and then used hwclock --localtime --hctosys or was it hwclock --localtime --systohc (I can not remember which one work to get the 2 times in sync but they did work for that part.) Now, clearning by resetting the p-ram would get it back to 'normal' but then how would i set the clock to utc? I am asuming it is by the same methods I used before. It looks like in OS X that I can only set the clock to local time zone or am I mistaken? > MacOS 9 used to have the real time clock in local time with an offset in > PRAM, and that did confuse things. With OS X, you should be able to get > it sane. > > Now, how to reset the PRAM value ? Heh, I remember writing a tool for > that a while ago though I can't find it anymore :) Going to OS 9 if you > machine supports it and switching OS 9 time zone to UTC would probably > do the trick too. I can reset the PRAM using the comand-option-p-r but I do not have OS 9 on my PB since it is only OS X and Linux or can that be done in OS X? -Adam and many thanks :) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]