<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.2.4">
</HEAD>
<BODY>
lDear Friends,<BR>
<BR>
I have a near perfect grml setup - all hardware actually works, without exception on my dell laptop.<BR>
<BR>
However, and this is a problem deep enough to render the system useless in the long run, there is no way to get the time to read correctly.<BR>
<BR>
I have tried editing the plethora of timezone files, and even /etc/sysconfig/grml until my fingers hurt, but here is the description of the malaise:<BR>
<BR>
BIOS clock(hwclock) set to local, as it is in most dual boot machines, for the obvious reason.<BR>
<BR>
PC boots, fly by statement is that the system clock is set to localtime, and this is always correct.<BR>
<BR>
gdm starts and the time is seen as six hours earlier, i e, if udt is ten, clock reads four.<BR>
<BR>
Setting the /etc/sysconfig/grml file as follows created yet more difference, dropping about four hours from the time!<BR>
<BR>
Current file:<BR>
<BR>
<BR>
<BR>
LANG="en_US.iso885915"<BR>
COUNTRY="us"<BR>
LANGUAGE="us"<BR>
CHARSET="iso8859-1"<BR>
KEYTABLE="us"<BR>
XKEYBOARD="us"<BR>
KDEKEYBOARD="us"<BR>
KDEKEYBOARDS="de,fr"<BR>
DESKTOP=""<BR>
TZ="America/New_York"<BR>
<BR>
<BR>
Note the following interesting things:<BR>
<BR>
x log:<BR>
<BR>
<BR>
X Window System Version 6.9.0 (Debian 6.9.0.dfsg.1-6 20060403233528 David Nusinow <<A HREF="mailto:dnusinow@debian.org">dnusinow@debian.org</A>>)<BR>
Release Date: 21 December 2005<BR>
X Protocol Version 11, Revision 0, Release 6.9<BR>
Build Operating System: Linux 2.6.12-1-686 i686 [ELF] <BR>
Current Operating System: Linux deblap1 2.6.16-grml #1 PREEMPT Tue Mar 28 11:47:55 CEST 2006 i686<BR>
Build Date: 04 April 2006<BR>
        Before reporting problems, check <A HREF="http://wiki.X.Org">http://wiki.X.Org</A><BR>
        to make sure that you have the latest version.<BR>
Module Loader present<BR>
OS Kernel: Linux version 2.6.16-grml (mika@grml) (gcc version 4.0.3 (Debian 4.0.3-1)) #1 PREEMPT Tue Mar 28 11:47:55 CEST 2006 T<BR>
Markers: (--) probed, (**) from config file, (==) default setting,<BR>
        (++) from command line, (!!) notice, (II) informational,<BR>
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.<BR>
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Apr 21 17:30:32 2006<BR>
(==) Using config file: "/etc/X11/xorg.conf"<BR>
Could not init font path element /usr/lib/X11/fonts/cyrillic, removing from list!<BR>
Could not init font path element /usr/lib/X11/fonts/Speedo, removing from list!<BR>
Could not init font path element /usr/share/fonts/truetype, removing from list!<BR>
AUDIT: Fri Apr 21 17:35:41 2006: 3784 X: client 24 rejected from local host<BR>
AUDIT: Fri Apr 21 17:35:43 2006: 3784 X: client 24 rejected from local host<BR>
AUDIT: Fri Apr 21 17:35:44 2006: 3784 X: client 24 rejected from local host<BR>
AUDIT: Fri Apr 21 17:35:44 2006: 3784 X: client 24 rejected from local host<BR>
<BR>
<BR>
Note please, the time...<BR>
<BR>
<BR>
Now, look at last log and observe, please:<BR>
<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] free LFB = 104280064<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] max LFB = 104280064<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] free Inv = 0<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] max Inv = 0<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] total Inv = 0<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] total TIM = 0<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] total FB = 0<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] total PCIe = 16384<BR>
Apr 21 17:30:45 deblap1 gdm[3779]: gdm_auth_user_add: /home/yazdzik/.Xauthority is writable by group.<BR>
Apr 21 23:31:39 deblap1 kernel: ndiswrapper version 1.8 loaded (preempt=yes,smp=no)<BR>
Apr 21 23:31:40 deblap1 kernel: ndiswrapper: driver bcmwl5 (Broadcom,11/27/2004, 3.100.35.0) loaded<BR>
Apr 21 23:31:40 deblap1 kernel: ACPI: PCI Interrupt 0000:03:03.0[A] -> GSI 17 (level, low) -> IRQ 209<BR>
Apr 21 23:31:40 deblap1 kernel: ndiswrapper: using irq 209<BR>
Apr 21 23:31:41 deblap1 kernel: wlan0: vendor: ''<BR>
Apr 21 23:31:41 deblap1 kernel: wlan0: ndiswrapper ethernet device 00:0b:7d:28:9b:63 using driver bcmwl5, 14E4:4324:1028:0003.5.conf<BR>
Apr 21 23:31:41 deblap1 kernel: wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK<BR>
Apr 21 17:31:48 deblap1 dhclient: Internet Systems Consortium DHCP Client V3.0.3<BR>
Apr 21 17:31:48 deblap1 dhclient: Copyright 2004-2005 Internet Systems Consortium.<BR>
Apr 21 17:31:48 deblap1 dhclient: All rights reserved.<BR>
Apr 21 17:31:48 deblap1 dhclient: For info, please visit <A HREF="http://www.isc.org/products/DHCP">http://www.isc.org/products/DHCP</A><BR>
Apr 21 17:31:48 deblap1 dhclient: <BR>
Apr 21 23:31:49 deblap1 kernel: NET: Registered protocol family 17<BR>
Apr 21 17:31:49 deblap1 dhclient: Listening on LPF/wlan0/00:0b:7d:28:9b:63<BR>
Apr 21 17:31:49 deblap1 dhclient: Sending on LPF/wlan0/00:0b:7d:28:9b:63<BR>
Apr 21 17:31:49 deblap1 dhclient: Sending on Socket/fallback<BR>
Apr 21 17:31:53 deblap1 dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8<BR>
Apr 21 17:31:53 deblap1 dhclient: DHCPOFFER from 192.168.1.254<BR>
Apr 21 17:31:53 deblap1 dhclient: DHCPREQUEST on wlan0 to 255.255.255.255 port 67<BR>
Apr 21 17:31:53 deblap1 dhclient: DHCPACK from 192.168.1.254<BR>
Apr 21 17:31:53 deblap1 dhclient: bound to 192.168.1.1 -- renewal in 108852 seconds.<BR>
Apr 21 17:31:53 deblap1 postfix/master[3372]: reload configuration /etc/postfix<BR>
Apr 21 23:31:58 deblap1 kernel: wlan0: no IPv6 routers present<BR>
<BR>
<BR>
<BR>
Note that gdm, and then the dhclient, postfix, in other words, the userland stuff are all at five thirty-ish, while the kernel level stuff is all at the correct time.<BR>
<BR>
<BR>
A look at kernlog sustains this.<BR>
<BR>
pr 21 23:30:33 deblap1 kernel: [fglrx] module loaded - fglrx 8.23.7 [Mar 6 2006] on minor 0<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] free PCIe = 54804480<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] max PCIe = 54804480<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] free LFB = 104280064<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] max LFB = 104280064<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] free Inv = 0<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] max Inv = 0<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] total Inv = 0<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] total TIM = 0<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] total FB = 0<BR>
Apr 21 23:30:35 deblap1 kernel: [fglrx] total PCIe = 16384<BR>
Apr 21 23:31:39 deblap1 kernel: ndiswrapper version 1.8 loaded (preempt=yes,smp=no)<BR>
Apr 21 23:31:40 deblap1 kernel: ndiswrapper: driver bcmwl5 (Broadcom,11/27/2004, 3.100.35.0) loaded<BR>
Apr 21 23:31:40 deblap1 kernel: ACPI: PCI Interrupt 0000:03:03.0[A] -> GSI 17 (level, low) -> IRQ 209<BR>
Apr 21 23:31:40 deblap1 kernel: ndiswrapper: using irq 209<BR>
Apr 21 23:31:41 deblap1 kernel: wlan0: vendor: ''<BR>
Apr 21 23:31:41 deblap1 kernel: wlan0: ndiswrapper ethernet device 00:0b:7d:28:9b:63 using driver bcmwl5, 14E4:4324:1028:0003.5.conf<BR>
Apr 21 23:31:41 deblap1 kernel: wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK<BR>
Apr 21 23:31:49 deblap1 kernel: NET: Registered protocol family 17<BR>
Apr 21 23:31:58 deblap1 kernel: wlan0: no IPv6 routers present<BR>
<BR>
<BR>
There are no references to a bad time...<BR>
<BR>
Now, somehow, the laptop is convinced that the localtime that I have in BIOS is the time in Wien, romantic but impractical.<BR>
<BR>
I am missing a symlink or something somewhere, and the google stuff is all the old redhat clock stuff.<BR>
<BR>
At some point, when installing grml to hdd, I must have missed a step, as I needed to make sure that grml knew that the machine was in the us, the hwclock is set to local time, and my local time is america/newyork. But why does this only affect life after x is started?<BR>
<BR>
I am happy to re-install completely, and do everything over again if need be, but there has to be an easier fix, or there has to be a way during the hdd install to make sure that the config files read the bios clock as localtime and we can always adjust from there.<BR>
<BR>
I apologise for the length, but this is a thorny issue.<BR>
<BR>
<BR>
Regards to all,<BR>
<BR>
<BR>
Martin<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
"...children and young people feel instinctively the difference between those who genuinely wish them well and those who regard them merely as raw material for some scheme." --Russell
</TD>
</TR>
</TABLE>
</BODY>
</HTML>