Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

Recompile with genkernel error sync hwclock.


morphmex

Question

Hello everyone, I have installed on my pc funtoo current 64-bit version using the debian kernel-source. If I try to compialre the same or gentoo-sources everything works except the sync hwclock startup and shutdowns pc.

Thanks in advance for your help and good day.   :)

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

 

I too have often seen this type of error; But I have not worried too much as it belongs to the "shutdown" of the system. 
In the moment this does not happen for me anymore. (I do not know if it can be correlated with bios UEFI or for any options you set in /etc/conf.d/hwclock). 
Fundamental set: 
 
# cp /usr/share/zoneinfo/Europe/Rome/ /etc/localtime [/code] 
This should be done before compiling the kernel. 
As for the upgrade timetable, I wrote a little row in /etc/local.d/
Then you may: 
 
# Emerge -u ntp ntpclient 
# Touch /etc/local.d/local.start 
# chmod u+x /etc/local.d/local.start
Then "instruct this" ........ and. g. 
# echo "sleep 90 && /etc/init.d/local.start &>/dev/null 2>&1 &" >> /etc/local.d/local.start

If you want you may change the "delay time" .... from 90 to a values thet works fine with your system.

 

but it is only an example :)
Good for All :)

 

Surely there will be solutions "more elegant": D

 

In primis changing debian-sources with gentoo-sources or ck-sources ..... You know that Funtoo has 

You know well that there are with Fun-tasstic-too many possibilities to configure your system to the top :)

Link to comment
Share on other sites

  • 0

You know well that there are with Fun-tasstic-too many possibilities to configure your system to the top :)

 

 

# cp /usr/share/zoneinfo/Europe/Rome/ /etc/localtime [/code]

There are a few problems with your aproach.

That file should be a symbolic link(upgrades), from funtoo wiki[1]:

/etc/localtime ... Your timezone, which will default to UTC if not set. This should be a symbolic link to something located under /usr/share/zoneinfo (e.g. /usr/share/zoneinfo/America/Montreal)

 

This should be done before compiling the kernel. 

As for the upgrade timetable, I wrote a little row in /etc/local.d/

Then you may: 

 

# Emerge -u ntp ntpclient 

# Touch /etc/local.d/local.start 

# chmod u+x /etc/local.d/local.start

Then "instruct this" ........ and. g. 

# echo "sleep 90 && /etc/init.d/local.start &>/dev/null 2>&1 &" >> /etc/local.d/local.start

First,  there's no '/etc/init.d/local.start' file so that would print and error but you are sending it to /dev/null, and It doesn't make sense  to call something in /etc/init.d in a local script,  read  the README inside /etc/local.d/ for information on the correct use of the 'local' service.

 

Second, why didn't you just used the init script for ntp? I see you didn't even added ntp to your default runlevel services, that would be:

rc-update -v add ntp default

 Check that's the acutal script name you want to add, in /etc/init.d, I don't have ntp here so didn't check that, If unsure ntp is the actual provider for the service,  use ` equery f ntp | grep /etc/init.d ` to confirm

[1] http://www.funtoo.org/Funtoo_Linux_Installation#Configuring_your_system

Link to comment
Share on other sites

  • 0
I configure ntp or not with the new kernel and alll'avvio al'arresto get the message of no hwclock sync. Have you encountered the same problem, you have solutions or is it a fake message and the time is synchronized.? 

I apologize for the language problem, good day

funtoo modules # hwclock --debug
hwclock da util-linux 2.24.2
Utilizzo di /dev interface to clock.
Ultima regolazione della deriva effettuata 1409483213 secondi dopo il 1969
Ultima calibrazione effettuata 1409483213 secondi dopo il 1969
Il clock hardware ? sull'orario UTC
Si presuppone che il clock hardware sia mantenuto nell'orario UTC.
Attesa del segnale dal clock...
...ricevuto segnale dal clock
Orario letto dal clock hardware: 2014/09/10 07:22:20
Orario clock hardware : 2014/09/10 07:22:20 = 1410333740 secondi dal 1969
mer 10 set 2014 09:22:20 CEST  -0.110541 secondi
funtoo modules # 

Link to comment
Share on other sites

×
×
  • Create New...