SuSE 9.1: Uhrzeit spielt verrückt!!!



  • NTP kommt für mich nicht in Frage, weil ich keine Flatrate habe. Ich hatte herukmgespielt mit isdnctrl (das kann angeblich die Uhrzeit über die ISDN-Leitung synchronisieren; hat auch geklappt, aber seitdem ich das tool wieder entfernt habe, habe ich diese Probleme).
    Woran erkenne ich, ob es die bios-zeit korrekt liest? in der boot.msg?



  • das ist die boot.msg

    Inspecting /boot/System.map-2.6.5-7.104-default
    Loaded 23748 symbols from /boot/System.map-2.6.5-7.104-default.
    Symbols match kernel version 2.6.5.
    No module symbols loaded - kernel modules not enabled.
    
    klogd 1.4.1, log source = ksyslog started.
    <4>Linux version 2.6.5-7.104-default (geeko@buildhost) (gcc version 3.3.3 (SuSE Linux)) #1 Wed Jul 28 16:42:13 UTC 2004
    <6>BIOS-provided physical RAM map:
    <4> BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
    <4> BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
    <4> BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
    <4> BIOS-e820: 0000000000100000 - 0000000017ff0000 (usable)
    <4> BIOS-e820: 0000000017ff0000 - 0000000017ff3000 (ACPI NVS)
    <4> BIOS-e820: 0000000017ff3000 - 0000000018000000 (ACPI data)
    <4> BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
    <5>629MB vmalloc/ioremap area available.
    <5>0MB HIGHMEM available.
    <5>383MB LOWMEM available.
    <4>On node 0 totalpages: 98288
    <4>  DMA zone: 4096 pages, LIFO batch:1
    <4>  Normal zone: 94192 pages, LIFO batch:16
    <4>  HighMem zone: 0 pages, LIFO batch:1
    <6>DMI 2.3 present.
    <5>ACPI disabled because your bios is from 2000 and too old
    <5>You can enable it with acpi=force
    <4>Built 1 zonelists
    <4>Kernel command line: root=/dev/hda3 vga=0x31a desktop resume= splash=silent
    <6>bootsplash: silent mode.
    <6>Initializing CPU#0
    <4>PID hash table entries: 2048 (order 11: 16384 bytes)
    <4>CKRM Initialization
    <4>...... Initializing ClassType<taskclass> ........
    <4>...... Initializing ClassType<socket_class> ........
    <4>CKRM Initialization done
    <4>Detected 801.641 MHz processor.
    <6>Using tsc for high-res timesource
    <4>Console: colour dummy device 80x25
    <6>Memory: 384636k/393152k available (1964k kernel code, 7776k reserved, 690k data, 216k init, 0k highmem)
    <4>Checking if this processor honours the WP bit even in supervisor mode... Ok.
    <4>Calibrating delay loop... 1576.96 BogoMIPS
    <6>Security Scaffold v1.0.0 initialized
    <6>SELinux:  Disabled at boot.
    <6>Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    <4>Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    <4>Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
    <7>CPU:     After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000
    <7>CPU:     After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000
    <6>CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
    <6>CPU: L2 Cache: 64K (64 bytes/line)
    <7>CPU:     After all inits, caps: 0183f9ff c1c7f9ff 00000000 00000020
    <6>Intel machine check architecture supported.
    <6>Intel machine check reporting enabled on CPU#0.
    <4>CPU: AMD Duron(tm) Processor stepping 01
    <6>Enabling fast FPU save and restore... done.
    <6>Checking 'hlt' instruction... OK.
    <6>checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
    <6>Looking for DSDT in initrd ...No customized DSDT found in initrd!
    <6>Freeing initrd memory: 1238k freed
    <6>NET: Registered protocol family 16
    <6>PCI: PCI BIOS revision 2.10 entry at 0xfb4b0, last bus=1
    <6>PCI: Using configuration type 1
    <6>mtrr: v2.0 (20020519)
    <6>ACPI: Subsystem revision 20040326
    <6>ACPI: Interpreter disabled.
    <6>Linux Plug and Play Support v0.97 (c) Adam Belay
    <4>PCI: Probing PCI hardware
    <4>PCI: Probing PCI hardware (bus 00)
    <6>PCI: Using IRQ router VIA [1106/0686] at 0000:00:07.0
    <6>vesafb: framebuffer at 0xd8000000, mapped to 0xd8800000, size 4096k
    <6>vesafb: mode is 1280x1024x16, linelength=2560, pages=0
    <6>vesafb: protected mode interface info at c000:0336
    <6>vesafb: scrolling: redraw
    <6>vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
    <6>fb0: VESA VGA frame buffer device
    <6>apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
    <4>Initial HugeTLB pages allocated: 0
    <5>VFS: Disk quotas dquot_6.5.1
    <6>Initializing Cryptographic API
    <6>Applying VIA southbridge workaround.
    <6>PCI: Disabling Via external APIC routing
    <6>isapnp: Scanning for PnP cards...
    <6>isapnp: No Plug & Play device found
    <6> silentjpeg size 50023 bytes,<6> does not fit into framebuffer.
    <6>...found (1280x1024, 23357 bytes, v3).
    <4>Console: switching to colour frame buffer device 147x55
    <6>Real Time Clock Driver v1.12
    <6>Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
    <4>ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    <4>ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
    <4>Using anticipatory io scheduler
    <6>Floppy drive(s): fd0 is 1.44M
    <6>FDC 0 is a post-1991 82077
    <4>RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
    <6>loop: loaded (max 8 devices)
    <6>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    <6>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    <6>VP_IDE: IDE controller at PCI slot 0000:00:07.1
    <6>VP_IDE: chipset revision 6
    <6>VP_IDE: not 100%% native mode: will probe irqs later
    <6>VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
    <6>    ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
    <6>    ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:pio
    <4>hda: QUANTUM FIREBALLlct15 20, ATA DISK drive
    <4>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    <4>hdc: ATAPI 44X CDROM, ATAPI CD/DVD-ROM drive
    <4>ide1 at 0x170-0x177,0x376 on irq 15
    <4>hda: max request size: 128KiB
    <6>hda: 39876480 sectors (20416 MB) w/418KiB Cache, CHS=39560/16/63, UDMA(66)
    <4>hda: cache flushes not supported
    <6> hda: hda1 hda2 hda3
    <4>ide-floppy driver 0.99.newide
    <6>mice: PS/2 mouse device common for all mice
    <6>input: PC Speaker
    <6>serio: i8042 AUX port at 0x60,0x64 irq 12
    <6>input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
    <6>serio: i8042 KBD port at 0x60,0x64 irq 1
    <6>input: AT Translated Set 2 keyboard on isa0060/serio0
    <6>md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
    <6>NET: Registered protocol family 2
    <6>IP: routing cache hash table of 4096 buckets, 32Kbytes
    <6>TCP: Hash tables configured (established 32768 bind 65536)
    <6>NET: Registered protocol family 1
    <6>NET: Registered protocol family 8
    <6>NET: Registered protocol family 20
    <4>Resume Machine: suspension device unspecified
    <6>md: Autodetecting RAID arrays.
    <6>md: autorun ...
    <6>md: ... autorun DONE.
    <5>RAMDISK: Compressed image found at block 0
    <4>VFS: Mounted root (ext2 filesystem).
    <5>ReiserFS: hda3: found reiserfs format "3.6" with standard journal
    <5>ReiserFS: hda3: using ordered data mode
    <4>reiserfs: using flush barriers
    <5>ReiserFS: hda3: journal params: device hda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
    <5>ReiserFS: hda3: checking transaction log (hda3)
    <5>ReiserFS: hda3: replayed 16 transactions in 5 seconds
    <4>reiserfs: disabling flush barriers on hda3
    <5>ReiserFS: hda3: Using r5 hash to sort names
    <4>VFS: Mounted root (reiserfs filesystem) readonly.
    <5>Trying to move old root to /initrd ... failed
    <5>Unmounting old root
    <5>Trying to free ramdisk memory ... okay
    <6>Freeing unused kernel memory: 216k freed
    <5>ReiserFS: hda3: Removing [2121 107171 0x0 SD]..done
    <5>ReiserFS: hda3: There were 1 uncompleted unlinks/truncates. Completed
    <6>md: Autodetecting RAID arrays.
    <6>md: autorun ...
    <6>md: ... autorun DONE.
    <6>device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com
    <6>subfs 0.9
    <6>NET: Registered protocol family 10
    <6>IPv6 over IPv4 tunneling driver
    <4>ip6_tables: (C) 2000-2002 Netfilter core team
    <4>ip_tables: (C) 2000-2002 Netfilter core team
    <4>ip_conntrack version 2.1 (3071 buckets, 24568 max) - 300 bytes per conntrack
    Kernel logging (ksyslog) stopped.
    Kernel log daemon terminating.
    
    Boot logging started on /dev/tty1(/dev/console) at Wed Jul 21 21:15:01 2004
    
    <notice>run boot scripts (setserial boot.proc)
    Configuring serial ports...
    /dev/ttyS0 at 0x03f8 (irq = 4) is a 16550A
    /dev/ttyS1 at 0x02f8 (irq = 3) is a 16550A
    Configured serial ports
    done<notice>exit status of (setserial boot.proc) is (0 0)
    <notice>run boot scripts (boot.shm)
    Mounting shared memory FS on /dev/shmdone
    <notice>exit status of (boot.shm) is (0)
    <notice>run boot scripts (boot.rootfsck)
    Activating swap-devices in /etc/fstab...
    doneChecking root file system...
    fsck 1.34 (25-Jul-2003)
    Reiserfs super block in block 16 on 0x303 of format 3.6 with standard journal
    Blocks (total/free): 1032176/160419 by 4096 bytes
    Filesystem is NOT clean
    Filesystem seems mounted read-only. Skipping journal replay.
    Checking internal tree..finished
    done<notice>exit status of (boot.rootfsck) is (0)
    <notice>run boot scripts (boot.md boot.device-mapper)
    Activating device mapper...
    Creating /dev/mapper/control character device with major:10 minor:63.
    done
    <notice>exit status of (boot.md boot.device-mapper) is (0 0)
    <notice>run boot scripts (boot.localfs)
    Checking file systems...
    fsck 1.34 (25-Jul-2003)
    /dev/hda2 was not cleanly unmounted, check forced.
    ^A/dev/hda2: |=============                                           | 23.3%   ^B^A/dev/hda2: |========================================================| 100.0%   ^B^A                                                                               ^B/dev/hda2: 36/6024 files (11.1% non-contiguous), 6462/24096 blocks
    doneSetting updone
    Mounting local file systems...
    proc on /proc type proc (rw)
    tmpfs on /dev/shm type tmpfs (rw)
    devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
    /dev/hda2 on /boot type ext2 (rw,acl,user_xattr)
    /dev/hda1 on /windows/C type vfat (rw)
    /dev/hdc on /media/cdrom type subfs (ro,nosuid,nodev,fs=cdfss,procuid,iocharset=utf8)
    /dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)
    done<notice>exit status of (boot.localfs) is (0)
    <notice>run boot scripts (boot.crypto)
    <notice>exit status of (boot.crypto) is (0)
    <notice>run boot scripts (boot.swap boot.scpm boot.restore_permissions boot.loadmodules)
    Loading required kernel modules
    doneActivating remaining swap-devices in /etc/fstab...
    doneRestore device permissionsdone
    <notice>exit status of (boot.swap boot.scpm boot.restore_permissions boot.loadmodules) is (0 0 0 0)
    <notice>run boot scripts (boot.idedma boot.clock)
    Setting up the CMOS clockdone
    <notice>exit status of (boot.idedma boot.clock) is (0 0)
    <notice>run boot scripts (boot.ldconfig)
    Setting up linker cache (/etc/ld.so.cache) using ldconfigdone
    Setting up timezone datadone
    <notice>exit status of (boot.ldconfig) is (0)
    <notice>run boot scripts (boot.sched boot.localnet boot.isapnp)
    Setting scheduling timeslices unused
    Setting up hostname 'linux'done
    Setting up loopback interface     lo       
        lo        IP address: 127.0.0.1/8   
    done
    Cleaning up using /sbin/modify_resolvconf:
    restored /etc/resolv.conf from /etc/resolv.conf.saved.by.ipppd.ippp1
    done
    <notice>exit status of (boot.sched boot.localnet boot.isapnp) is (6 0 0)
    <notice>run boot scripts (boot.klog boot.ipconfig)
    Enabling syn flood protectiondone
    Disabling IP forwardingdone
    Disabling IPv6 forwardingdone
    Disabling IPv6 privacydone
    done
    Creating /var/log/boot.msg
    done<notice>killproc: kill(341,29)
    <notice>exit status of (boot.klog boot.ipconfig) is (0 0)
    System Boot Control: The system has been set up
    Skipped features: boot.sched
    System Boot Control: Running /etc/init.d/boot.local
    done<notice>killproc: kill(341,3)
    
    INIT: Entering runlevel: 5
    
    Boot logging started on /dev/tty1(/dev/console) at Fri Jul 16 02:35:04 2004
    
    Master Resource Control: previous runlevel: N, switching to runlevel: 5
    <notice>start services (random isdn hotplug SuSEfirewall2_init)
    Hotplug is already active  (disable with  NOHOTPLUG=1 at the boot prompt)done
    Initializing random number generatordone
    Starting Firewall Initialization (phase 1 of 3) done
    Setting up ISDN card contr0 AVM FRITZ!Card PCIdone
    Loading Driver contr0 1 kcapi capi capidrvdone
    Initializing capi for contr0 (1)done
    <notice>exit status of (random isdn hotplug SuSEfirewall2_init) is (0 0 0 0)
    <notice>start services (coldplug)
    coldplug scanning input: ***done
             scanning pci: WWW.*WWWWdone
             scanning usb: done
             .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .done
    <notice>exit status of (coldplug) is (0)
    <notice>start services (network)
    Setting up network interfaces:
        lo       
        lo        IP address: 127.0.0.1/8   
    done    ippp0    
     askpassword=yes: manual start is needed
    skipped    ippp1    
     askpassword=yes: manual start is needed
    skippedSetting up service network  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .done
    <notice>exit status of (network) is (0)
    <notice>start services (syslog)
    Starting syslog services<notice>startproc: execve (/sbin/syslogd) [ /sbin/syslogd -a /var/lib/ntp/dev/log ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=26 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=147 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin vga=0x31a RUNLEVEL=5 PWD=/ PREVLEVEL=N LINES=55 SHLVL=2 splash=silent sscripts=36 _=/sbin/startproc DAEMON=/sbin/syslogd ]
    <notice>startproc: execve (/sbin/klogd) [ /sbin/klogd -c 1 -2 ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=26 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=147 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin vga=0x31a RUNLEVEL=5 PWD=/ PREVLEVEL=N LINES=55 SHLVL=2 splash=silent sscripts=36 _=/sbin/startproc DAEMON=/sbin/klogd ]
    done
    <notice>exit status of (syslog) is (0)
    <notice>start services (SuSEfirewall2_setup)
    Starting Firewall Initialization (phase 2 of 3) done
    <notice>exit status of (SuSEfirewall2_setup) is (0)
    <notice>start services (resmgr)
    Starting resource manager<notice>startproc: execve (/sbin/resmgrd) [ /sbin/resmgrd ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=28 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=147 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin vga=0x31a RUNLEVEL=5 PWD=/ PREVLEVEL=N LINES=55 SHLVL=2 splash=silent sscripts=36 _=/sbin/startproc DAEMON=/sbin/resmgrd ]
    done
    <notice>exit status of (resmgr) is (0)
    <notice>start services (smpppd fbset alsasound)
    <notice>startproc: execve (/usr/sbin/smpppd) [ /usr/sbin/smpppd ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=29 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=147 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin vga=0x31a RUNLEVEL=5 PWD=/ PREVLEVEL=N LINES=55 SHLVL=2 splash=silent sscripts=36 _=/sbin/startproc DAEMON=/usr/sbin/smpppd ]
    Starting SMPPPDdone
    Starting sound driver:  ens1371 via82xxdone
    Restoring the previous sound settingdone
    <notice>exit status of (smpppd fbset alsasound) is (0 0 0)
    <notice>start services (kbd cups)
    <notice>startproc: execve (/usr/sbin/cupsd) [ /usr/sbin/cupsd ], [ CONSOLE=/dev/console TERM=linux SHELL=/bin/sh progress=32 INIT_VERSION=sysvinit-2.85 REDIRECT=/dev/tty1 COLUMNS=147 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin vga=0x31a RUNLEVEL=5 PWD=/ PREVLEVEL=N LINES=55 SHLVL=2 splash=silent sscripts=36 _=/sbin/startproc DAEMON=/usr/sbin/cupsd ]
    Starting cupsddone
    Loading keymap qwertz/de-latin1-nodeadkeys.map.gz
    doneLoading compose table latin1.adddone
    Start Unicode mode
    doneLoading console font lat9w-16.psfu  -m trivial (K
    done<notice>exit status of (kbd cups) is (0 0)
    <notice>start services (xdm)
    Starting service kdm<notice>startproc: execve (/opt/kde3/bin/kdm) [ /opt/kde3/bin/kdm ], [ LC_MONETARY= CONSOLE=/dev/console TERM=linux SHELL=/bin/sh LC_NUMERIC= QTDIR=/usr/lib/qt3 LC_ALL= progress=34 INIT_VERSION=sysvinit-2.85 KDEROOTHOME=/root/.kdm REDIRECT=/dev/tty1 COLUMNS=147 PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin LC_MESSAGES= vga=0x31a RUNLEVEL=5 LC_COLLATE= PWD=/ LANG=de_DE.UTF-8 PREVLEVEL=N LINES=55 SHLVL=2 XCURSOR_THEME=crystalwhite no_proxy=localhost WINDOWMANAGER=/usr/X11R6/bin/kde LC_CTYPE=de_DE.UTF-8 splash=silent sscripts=36 LC_TIME= _=/sbin/startproc DAEMON=/opt/kde3/bin/kdm ]
    done
    <notice>exit status of (xdm) is (0)
    <notice>start services (SuSEfirewall2_final)
    Starting Firewall Initialization (phase 3 of 3) done
    <notice>exit status of (SuSEfirewall2_final) is (0)
    Master Resource Control: runlevel 5 has been reached
    <notice>killproc: kill(1221,3)
    


  • Ich meinte eigentlich dass Du das entsprechende Skript in /etc/init.d/ überprüfen sollst das die Zeit setzt... 🙄



  • Geht die Uhrzeit ansonsten korrekt? (Schau mal im BIOS Menü) Vielleicht ist dein CMOS Akku kaputt und du musst einen neuen kaufen.



  • kingruedi schrieb:

    Geht die Uhrzeit ansonsten korrekt? (Schau mal im BIOS Menü) Vielleicht ist dein CMOS Akku kaputt und du musst einen neuen kaufen.

    Direx schrieb:

    Nach dem nächsten Neustart aber, ist wieder alles verkehrt. Komisch ist aber, dass die Zeit im BIOS immer richtig ist und das es unter Windows auch geht.



  • nman schrieb:

    Ich meinte eigentlich dass Du das entsprechende Skript in /etc/init.d/ überprüfen sollst das die Zeit setzt... 🙄

    Und welches ist das?



  • Direx schrieb:

    nman schrieb:

    Ich meinte eigentlich dass Du das entsprechende Skript in /etc/init.d/ überprüfen sollst das die Zeit setzt... 🙄

    Und welches ist das?

    Keine Ahnung wie das bei Dir heißt, bei mir (Gentoo) macht das /etc/init.d/clock.



  • Bei mir sagt das script "boot.clock":

    #! /bin/sh
    #
    # Copyright (c) 2001-2002 SuSE Linux AG, Nuernberg, Germany.
    # All rights reserved.
    #
    # /etc/init.d/boot.clock
    #
    ### BEGIN INIT INFO
    # Provides:          boot.clock
    # Required-Start:    boot.localfs
    # X-UnitedLinux-Should-Start:	boot.crypto boot.swap
    # Required-Stop:
    # Default-Start:     B S
    # Default-Stop:
    # Description:       set cmos clock
    ### END INIT INFO
    
    . /etc/rc.status
    . /etc/sysconfig/clock
    rc_reset
    
    case "$1" in
      start|restart)
       # set and adjust the CMOS clock
       if [ "$HOSTTYPE" = "s390" -o "$HOSTTYPE" = "s390x" ] ; then
        echo -n Setting up the system clock
        # On s390 the hwclock is set outside Linux currently.  The kernel
        # always assumes it to be set to UTC.  So if it is set to local
        # time, we have to compensate for that.  We might achieve this
        # using this special settimeofday(2) linux feature:
        #  Under  Linux there is some peculiar `warp clock' semantics
        #  associated to the settimeofday system call if on the  very
        #  first  call  (after  booting) that has a non-NULL tz argu-
        #  ment, the tv argument is NULL and the tz_minuteswest field
        #  is  nonzero.  In  such  a case it is assumed that the CMOS
        #  clock is on local time, and that it has to be  incremented
        #  by  this  amount to get UTC system time.  No doubt it is a
        #  bad idea to use this feature.  (settimeofday(2) man page)
        # But unless someone complains we simply will use date(1) to shift
        # the system time by the difference between UTC and local time, if
        # the system clock is set to local time.  This will introduce a
        # minimal shift due to the delay between gettimeofday and
        # settimeofday, and it only works as long as $0 is executed
        # exactly once, at boot.
        if test "$HWCLOCK" != "-u"; then
            date $(date -u +'%m%d%H%M%Y')
           rc_status
        fi
        rc_status -v -r
       else
        echo -n Setting up the CMOS clock
        test -f /etc/adjtime || echo "0.0 0 0.0" > /etc/adjtime
        /sbin/hwclock --adjust $HWCLOCK
        rc_status
        /sbin/hwclock --hctosys $HWCLOCK
        rc_status
        rc_status -v -r
       fi
       ;;
      stop)
        if [ "$HOSTTYPE" != "s390" -a "$HOSTTYPE" != "s390x" ] ; then
    	echo -n "Set Hardware Clock to the current System Time"
    	# write back to hardware clock and calculate adjtime
    	/sbin/hwclock --systohc $HWCLOCK
    	rc_status -v -r
        fi
        ;;
      status)
        rc_failed 4
        rc_status -v
        ;;
      *)
        echo "Usage: $0 {start|stop|status|restart}"
        exit 1
        ;;
    esac
    
    rc_exit
    


  • Gut, und jetzt versuchst Du einfach, die aufgelisteten Programme selbst aufzurufen und schaust was dann passiert.



  • Da passiert nix - die Uhr bleibt unverändert (habe sie richtig gestellt und sie bleibt auch richtig, aber nach dem Neustart ist alles wieder falsch).



  • Hm, versuch mal, in Deinem Kernel "Enhanced RTC" zu aktivieren.



  • Vielleicht steht auch in der Datei /etc/adjtime Murks.



  • Ponto schrieb:

    Vielleicht steht auch in der Datei /etc/adjtime Murks.

    Gute Idee - lösch die mal ganz einfach.


Anmelden zum Antworten