2005-09-21 13:01:27

by Florin Iucha

[permalink] [raw]
Subject: BUG: 2.6.14-rc2 sets the wrong time in NVRAM on PowerMac G5

Hello,

At shutdown, kernel 2.6.14-rc2 saves the wrong value in the hardware
clock, since at next bootup I get 21 August 1987.

I have narrowed the range down to:
2.6.14-rc1 is good
2.6.14-rc1-git1 is bad.

Also, the 2.6.14-rcX does not power off the machine at shutdown.
2.6.13 did work fine.

florin@zeus$ cat /proc/cpuinfo
processor : 0
cpu : PPC970FX, altivec supported
clock : 2700.000000MHz
revision : 3.1

processor : 1
cpu : PPC970FX, altivec supported
clock : 2700.000000MHz
revision : 3.1

timebase : 33333333
machine : PowerMac
detected as : 336 (PowerMac G5)
pmac flags : 00000000
pmac-generation : NewWorld

florin@zeus$ dmesg | grep "Linux version"
Linux version 2.6.14-rc2 (root@zeus) (gcc version 4.0.2 20050808
(prerelease) (Ubuntu 4.0.1-4ubuntu8)) #1 SMP Tue Sep 20 17:24:52
CDT 2005

Please let me know if you need more info, or want me to try a patch.

Thank you,
florin


Attachments:
(No filename) (1.02 kB)
signature.asc (189.00 B)
Digital signature
Download all attachments

2005-09-30 12:11:32

by Benjamin Herrenschmidt

[permalink] [raw]
Subject: Re: BUG: 2.6.14-rc2 sets the wrong time in NVRAM on PowerMac G5

On Wed, 2005-09-21 at 08:01 -0500, Florin Iucha wrote:
> Hello,
>
> At shutdown, kernel 2.6.14-rc2 saves the wrong value in the hardware
> clock, since at next bootup I get 21 August 1987.
>
> I have narrowed the range down to:
> 2.6.14-rc1 is good
> 2.6.14-rc1-git1 is bad.
>
> Also, the 2.6.14-rcX does not power off the machine at shutdown.
> 2.6.13 did work fine.

Is this still happening with current "git" ?

Ben.