Comments (10)
Hello Stefano,
So one of the things we did in TS after 2.2 was to fix the clock. Yes it is fixed, not broken. In 2.2 and older, the clock was always stored as if though it were UTC and then an offset was applied in a non-standard way. Now, we use the unix standard of actually storing the time in UTC and use a zonefile for display of the correct local time.
The difference in your config, is that you can only select one timezone at buildtime and it should be in the Standard Zone spec like America/Los_Angeles. There is an alltimezone package that will include all the zoneinfo files, so that the timezone can be selected from the kernel cmdline.
The RTC module is now built-in to the kernel, as the SMP and UP actually use different RTC drivers which have different names. This made switching a little confusing, as you had to include both and watch one make an error message. This could be your only problem, so please correct and retest your other issues.
Best,
Don Cupp
On Wednesday, May 21, 2014 2:22 AM, Stefano Ceccherini [email protected] wrote:
In Thinstation 5.2 hwclock is not functional, I guess the rtc driver is missing.
ts_test:/etc/init.d# hwclock -r
hwclock: can't open '/dev/misc/rtc': No such file or directory
ts_test:/etc/init.d# find /dev -name rtc
ts_test:/etc/init.d#
In Thinstation 5.1:
ts_test:# hwclock -r# find / -name rtc
Wed May 21 09:21:15 2014 0.000000 seconds
ts_test:
/proc/driver/rtc
/sys/devices/pnp0/00:06/rtc
/sys/class/rtc
/run/udev/links/rtc
/dev/rtc
ts_test:~#
—
Reply to this email directly or view it on GitHub.
from thinstation.
Hi,
I set now TIME_ZONE=Europe/Rome in thinstation.conf.buildtime.
It seems it's still ignored, though, since, after syncing to the ntp server, "date" returns:
gio mag 22 07:24:37 UTC 2014
And it's 2 hours off.
I also tried TIME_ZONE=America/Los_Angeles (the default), but nothing changed.
Moreover, the hwclock is still not set though, since on poweroff the machine reverts to the old date.
from thinstation.
What machine is this?
On Thursday, May 22, 2014 12:27 AM, Stefano Ceccherini [email protected] wrote:
Hi,
I set now TIME_ZONE=Europe/Rome in thinstation.conf.buildtime.
It seems it's still ignored, though, since, after syncing to the ntp server, "date" returns:
gio mag 22 07:24:37 UTC 2014
And it's 2 hours off.
I also tried TIME_ZONE=America/Los_Angeles (the default), but nothing changed.
Moreover, the hwclock is still not set though, since on poweroff the machine reverts to the old date.
—
Reply to this email directly or view it on GitHub.
from thinstation.
Have you tried the other kernel?
On Thu, May 22, 2014 at 12:27 AM, Stefano Ceccherini <
[email protected]> wrote:
Hi,
I set now TIME_ZONE=Europe/Rome in thinstation.conf.buildtime.
It seems it's still ignored, though, since, after syncing to the ntp
server, "date" returns:gio mag 22 07:24:37 UTC 2014
And it's 2 hours off.
I also tried TIME_ZONE=America/Los_Angeles (the default), but nothing
changed.Moreover, the hwclock is still not set though, since on poweroff the
machine reverts to the old date.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/43#issuecomment-43856416
.
from thinstation.
2014-05-22 11:46 GMT+02:00 Donald A. Cupp Jr. [email protected]:
What machine is this?
Hi,
It's an old Compaq Evo D510 CMT, Pentium 4.
I can post the output of lshw if it's needed.Have you tried the other kernel?
It works with the UP kernel.
It would be nice if it also worked with the SMP kernel, since we have newer
machines, and maintaining different builds for different machines is a PITA.
Thanks for your help.
from thinstation.
2014-05-22 12:44 GMT+02:00 Stefano Ceccherini [email protected]
:
2014-05-22 11:46 GMT+02:00 Donald A. Cupp Jr. [email protected]:
What machine is this?
Hi,
It's an old Compaq Evo D510 CMT, Pentium 4.
I can post the output of lshw if it's needed.Have you tried the other kernel?
It works with the UP kernel.
When I say "it works" I mean hwclock works, but the TIME_ZONE is still not
respected.
from thinstation.
A timezone must be specified at buildtime, or you need to include the
alltimezones package if you want to specify it in the network.conf
On Thu, May 22, 2014 at 3:44 AM, Stefano Ceccherini <
[email protected]> wrote:
2014-05-22 12:44 GMT+02:00 Stefano Ceccherini <
[email protected]>
:2014-05-22 11:46 GMT+02:00 Donald A. Cupp Jr. <[email protected]
:What machine is this?
Hi,
It's an old Compaq Evo D510 CMT, Pentium 4.
I can post the output of lshw if it's needed.Have you tried the other kernel?
It works with the UP kernel.
When I say "it works" I mean hwclock works, but the TIME_ZONE is still not
respected.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/43#issuecomment-43872490
.
from thinstation.
Hmmmm. Custom kernel time?
On Thu, May 22, 2014 at 3:44 AM, Stefano Ceccherini <
[email protected]> wrote:
2014-05-22 11:46 GMT+02:00 Donald A. Cupp Jr. [email protected]:
What machine is this?
Hi,
It's an old Compaq Evo D510 CMT, Pentium 4.
I can post the output of lshw if it's needed.Have you tried the other kernel?
It works with the UP kernel.
It would be nice if it also worked with the SMP kernel, since we have newer
machines, and maintaining different builds for different machines is a
PITA.Thanks for your help.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/43#issuecomment-43872443
.
from thinstation.
2014-05-22 12:47 GMT+02:00 Thinstation [email protected]:
Hmmmm. Custom kernel time?
What do you mean ?
With the UP kernel:
ts_test:~# dmesg | grep rtc
rtc_cmos 00:02: RTC can wake from S4
rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
rtc_cmos 00:02: alarms up to one month, y3k, 114 bytes nvram
Using IPI Shortcut mode
rtc_cmos 00:02: setting system clock to 2014-05-22 16:33:42 UTC (1400776422)
With the SMP kernel:
ts_test:~# dmesg | grep rtc
Using IPI No-Shortcut mode
Maybe the SMP kernel uses HPET only, and the support for the old timers
isn't compiled in ?
from thinstation.
Looks like the Enhanced Real Time Clock option has been removed. I guess that's why your having this issue. It looks like putting the regular RTC in should solve the issue. Next kernel release.
On Thursday, May 22, 2014 7:49 AM, Stefano Ceccherini [email protected] wrote:
2014-05-22 12:47 GMT+02:00 Thinstation [email protected]:
Hmmmm. Custom kernel time?
What do you mean ?
With the UP kernel:
ts_test:~# dmesg | grep rtc
rtc_cmos 00:02: RTC can wake from S4
rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
rtc_cmos 00:02: alarms up to one month, y3k, 114 bytes nvram
Using IPI Shortcut mode
rtc_cmos 00:02: setting system clock to 2014-05-22 16:33:42 UTC (1400776422)
With the SMP kernel:
ts_test:~# dmesg | grep rtc
Using IPI No-Shortcut mode
Maybe the SMP kernel uses HPET only, and the support for the old timers
isn't compiled in ?
—
Reply to this email directly or view it on GitHub.
from thinstation.
Related Issues (20)
- WIFI Driver add to build
- freerdp USB redirection HOT 1
- Flatpak in TS 6.2 HOT 3
- USB-Headphones HOT 1
- [docs on github] Lack of introductory note about the project HOT 2
- USB camera and headset do not work HOT 27
- No network configuration is applied HOT 1
- Generation of UEFI ISO file not found HOT 4
- Environment cleanup after port update is not working properly HOT 2
- Problem with update operation
- Mirror mode when connecting 2 monitors
- Running XDM as a session HOT 11
- Problem with monitor resolution HOT 2
- update support HOT 6
- The overlayfs package gives an error when loading HOT 3
- Emulation of processor instructions HOT 3
- USB Card Reader Redirection Issue HOT 5
- Authorization required, but no authorization protocol specified HOT 11
- Serial Port Redirection Issue HOT 1
- Grub loader error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thinstation.