Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Hardware Clock

  1. #1
    Join Date
    Oct 2008
    Beans
    30

    Hardware Clock

    Guys.

    When my system boots up, you know when you see the OK down the right hand side as its going through all the boot up stuff , for a brief moment i see something along the lines of

    Cannot access hardware clock.....something something something.

    Is there a log i can view to see what this message says in full?

    I know what i have put here is brief but any ideas?

    Craig

  2. #2
    Join Date
    Jan 2006
    Location
    United Kingdom
    Beans
    2,787
    Distro
    Kubuntu 6.06 Dapper

    Re: Hardware Clock

    Try running hwclock --show (or even --debug for extra detail) - this will attempt to read from the clock and hence test kernel access to it.

    Mathew
    www.NewtonNet.co.uk - Now supporting IPv6!

    ~ Please don't use PM's to request assistance - post your query on the forum and share the discussion - if you've got a problem chances are you won't be the only one! ~

  3. #3
    Join Date
    Oct 2008
    Beans
    30

    Re: Hardware Clock

    Thank you very much for passing the info along.

    Ok so i have run both commands and below is the output

    Any ideas?

    root@LNMON01:~# hwclock --show
    Cannot access the Hardware Clock via any known method.
    Use the --debug option to see the details of our search for an access method.
    root@LNMON01:~# hwclock --debug
    hwclock from util-linux-ng 2.14
    hwclock: Open of /dev/rtc failed, errno=2: No such file or directory.
    No usable clock interface found.
    Cannot access the Hardware Clock via any known method.

  4. #4
    Join Date
    Jan 2006
    Location
    United Kingdom
    Beans
    2,787
    Distro
    Kubuntu 6.06 Dapper

    Re: Hardware Clock

    (From a Google search)

    Try enabling the rtc-cmos module with sudo modprobe rtc-cmos and retrying hwclock. If this works then make it permanent by adding rtc-cmos to the /etc/modules file.

    Mathew
    www.NewtonNet.co.uk - Now supporting IPv6!

    ~ Please don't use PM's to request assistance - post your query on the forum and share the discussion - if you've got a problem chances are you won't be the only one! ~

  5. #5
    Join Date
    Oct 2008
    Beans
    30

    Re: Hardware Clock

    Thanks for the reply mate.

    I have tried the command and get the following

    root@LNMON01:~# modprobe rtc-cmos
    FATAL: Module rtc_cmos not found.

    Any ideas?

    Cheers

    Craig

  6. #6
    Join Date
    Oct 2006
    Location
    Belgrade, Serbia
    Beans
    1,321
    Distro
    Ubuntu

    Re: Hardware Clock

    *edited*

    what distribution are you using? Did you upgrade from hardy 8.04.1 to intrepid 8.10?

  7. #7
    Join Date
    Oct 2008
    Beans
    30

    Re: Hardware Clock

    Hi mate.

    Yes i upgraded from 8.04 server to 8.10 server

    Craig


    ***edit

    Please note this was a fresh install of 8.04 and then 8.10. At the moment the server is not doing anything and nothing has been installed on it.
    Last edited by cjwallace; November 5th, 2008 at 12:51 PM.

  8. #8
    Join Date
    Oct 2006
    Location
    Belgrade, Serbia
    Beans
    1,321
    Distro
    Ubuntu

    Re: Hardware Clock

    What's your hardware specification?
    Post a reply with
    Code:
    sudo lshw -short
    If you're using a macintosh, check this: http://ubuntuforums.org/showthread.php?t=229678

  9. #9
    Join Date
    Oct 2008
    Beans
    30

    Re: Hardware Clock

    Quote Originally Posted by forger View Post
    What's your hardware specification?
    Post a reply with
    Code:
    sudo lshw -short
    If you're using a macintosh, check this: http://ubuntuforums.org/showthread.php?t=229678

    Hi mate please find as requested. Thanks for your help so far.

    Code:
    root@LNMON01:~# lshw -short
    H/W path           Device      Class      Description
    =====================================================
                                   system     ProLiant DL360 G4p
    /0                             bus        Motherboard
    /0/0                           memory     64KiB BIOS
    /0/400                         processor  Intel(R) Xeon(TM) CPU 3.00GHz
    /0/400/710                     memory     16KiB L1 cache
    /0/400/720                     memory     2MiB L2 cache
    /0/400/730                     memory     L3 cache
    /0/400/0.1                     processor  Logical CPU
    /0/400/0.2                     processor  Logical CPU
    /0/406                         processor  Intel(R) Xeon(TM) CPU 3.00GHz
    /0/406/716                     memory     16KiB L1 cache
    /0/406/726                     memory     1MiB L2 cache
    /0/406/736                     memory     L3 cache
    /0/406/0.1                     processor  Logical CPU
    /0/406/0.2                     processor  Logical CPU
    /0/1000                        memory     9GiB System Memory
    /0/1000/0                      memory     2GiB DIMM DDR Synchronous 400 MHz (2.5
    /0/1000/1                      memory     2GiB DIMM DDR Synchronous 400 MHz (2.5
    /0/1000/2                      memory     2GiB DIMM DDR Synchronous 400 MHz (2.5
    /0/1000/3                      memory     2GiB DIMM DDR Synchronous 400 MHz (2.5
    /0/1000/4                      memory     512MiB DIMM DDR Synchronous 400 MHz (2
    /0/1000/5                      memory     512MiB DIMM DDR Synchronous 400 MHz (2
    /0/100                         bridge     E7520 Memory Controller Hub
    /0/100/2                       bridge     E7525/E7520/E7320 PCI Express Port A
    /0/100/4                       bridge     E7525/E7520 PCI Express Port B
    /0/100/4/0                     bridge     6700PXH PCI Express-to-PCI Bridge A
    /0/100/4/0.2                   bridge     6700PXH PCI Express-to-PCI Bridge B
    /0/100/6                       bridge     E7520 PCI Express Port C
    /0/100/1c                      bridge     6300ESB 64-bit PCI-X Bridge
    /0/100/1c/1                    storage    Smart Array 64xx
    /0/100/1c/2        eth0        network    NetXtreme BCM5704 Gigabit Ethernet
    /0/100/1c/2.1      eth1        network    NetXtreme BCM5704 Gigabit Ethernet
    /0/100/1d                      bus        6300ESB USB Universal Host Controller
    /0/100/1d.1                    bus        6300ESB USB Universal Host Controller
    /0/100/1d.4                    system     6300ESB Watchdog Timer
    /0/100/1d.5                    system     6300ESB I/O Advanced Programmable Inte
    /0/100/1d.7                    bus        6300ESB USB2 Enhanced Host Controller
    /0/100/1e                      bridge     82801 PCI Bridge
    /0/100/1e/3                    display    Rage XL
    /0/100/1e/4                    system     Integrated Lights Out Controller
    /0/100/1e/4.2                  system     Integrated Lights Out  Processor
    /0/100/1f                      bridge     6300ESB LPC Interface Controller
    /0/100/1f.1        scsi0       storage    6300ESB PATA Storage Controller
    /0/100/1f.1/0.0.0  /dev/cdrom  disk       DVD-ROM GDR8084N
    root@LNMON01:~#

  10. #10
    Join Date
    Oct 2006
    Location
    Belgrade, Serbia
    Beans
    1,321
    Distro
    Ubuntu

    Re: Hardware Clock

    Try this:
    WARNING: Use it at your own risk! (never tried it with servers)

    while you're logged in as root:
    Code:
    aptitude download udev util-linux
    dpkg -i --force-overwrite util-linux*.deb udev*.deb
    It will download two packages in current folder and reinstall them with forced overwrite, hopefully will work.

    You need to reboot after this!

    After you reboot, check if it's working (again as root)
    Code:
    hwclock --debug
    If it doesn't, reply with the output of:
    Code:
    grep -ri "rtc" /etc/udev/
    ls -ld /dev/rtc*

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •