[Bug 216059] New: G5 should use UTC instead of localtime
https://bugzilla.novell.com/show_bug.cgi?id=216059 Summary: G5 should use UTC instead of localtime Product: openSUSE 10.2 Version: Beta 1 Platform: PowerPC OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: yast2-maintainers@suse.de ReportedBy: olh@novell.com QAContact: jsrain@novell.com There is some flaky code in the powermac kernel that adjusts the system clock based on some timezone value in the nvram. MacOS 9 uses this timezone offset. This code runs only on 32bit, OS9 does not run on G5. A G5 has to run always with UTC instead of localtime. YaST has some code to force localtime on pmac. This should happen only on 32bit, not on 64bit. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216059 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |jsuchome@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216059 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |olh@novell.com ------- Comment #1 from jsuchome@novell.com 2006-10-30 04:51 MST ------- Just to be sure, how Arch module works: does it mean localtime should be forced only in case of "(Arch::board_mac () && Arch::i386 ()"? What does this example string return for you: { import "Arch"; y2internal ("mac: %1, arch: %2", Arch::board_mac (), Arch::architecture ()); } Or should I even disable changing to localtime, just like it is done e.g. for Arch::board_iseries? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216059 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|olh@novell.com | ------- Comment #2 from olh@novell.com 2006-10-30 05:34 MST ------- board_mac is only used on ppc. something like if (Arch:ppc) { if (Arch::board_mac && Arch::ppc32) uselocaltime; else useutc; } On i386, just use utc. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216059 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #3 from jsuchome@novell.com 2006-10-30 08:13 MST ------- fixed in yast2-country-2.13.40 and 2.14.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216059 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #4 from olh@novell.com 2006-11-09 03:10 MST ------- 479 if (windows_partition || (Arch::board_mac () && Arch::ppc32 ())) It seems windows_partition is set to true somewhere, thats why it doesnt work in beta2. include/timezone/dialogs.ycp 236 if (Timezone::windows_partition || Arch::board_mac ()) Maybe Timezone::hwclock should be set only in one place -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216059 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |olh@novell.com ------- Comment #5 from jsuchome@novell.com 2006-11-09 03:18 MST -------
236 if (Timezone::windows_partition || Arch::board_mac ())
well, yes, I should adapt also this one
479 if (windows_partition || (Arch::board_mac () && Arch::ppc32 ())) It seems windows_partition is set to true somewhere, thats why it doesnt work in beta2.
Hm... and? If windows_partition is true, what can I do about this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216059 ------- Comment #6 from jsuchome@novell.com 2006-11-09 03:56 MST ------- I mean, should I ignore windows_partition flag for (Arch::board_mac && !Arch::ppc32) ? Isn't it possible to have windows partition on G5? (But in that case storage should not report it.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216059 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|olh@novell.com | ------- Comment #7 from olh@novell.com 2006-11-09 04:02 MST ------- windows_partition was not set, the y2milestones were not in y2log. I suspect the dialogs.ycp part forced localtime again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216059 ------- Comment #8 from jsuchome@novell.com 2006-11-09 04:23 MST ------- OK, fixing dialogs.ycp -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216059 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #9 from jsuchome@novell.com 2006-11-09 04:46 MST ------- yast2-country-2.14.4 and yast2-country-2.13.43 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=216059 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|Other |Development -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com