FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-18-2008, 03:41 PM
Alan McKinnon
 
Default 2.6.26, rtc problem

On Friday 18 July 2008, Andrew Gaydenko wrote:
> Hi!
>
> After upgrading to 2.6.26 I have got a problem with starting hwclock
> service - it doesn't find /dev/rtc. I have tried to add rtc_cmos
> to /conf.d/modules, but the module loads after the service starting.
>
> So, questions are:
>
> 1. How to force the module loading be before the service starting?

I believe /etc/modules.d/* may do it. AFAIK it runs very early in the
init sequence



--
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list
 
Old 07-18-2008, 04:03 PM
Sebastian Günther
 
Default 2.6.26, rtc problem

* Andrew Gaydenko (a@gaydenko.com) [18.07.08 17:03]:
> Hi!
>
> After upgrading to 2.6.26 I have got a problem with starting hwclock
> service - it doesn't find /dev/rtc. I have tried to add rtc_cmos
> to /conf.d/modules, but the module loads after the service starting.
>
> So, questions are:
>
> 1. How to force the module loading be before the service starting?
>
Do not build it as module....

> 2. How to determine which concrete module is most appropriate to my hardware
> (there are plenty of rtc_xyz modules)?
>
If your system does an autoloading of modules somewhere in time: just
lsmod. Otherwise you have to try to load them all and take that one that
does not complain about missing hardware... ;-)

>
> Andrew

HTH
Sebastian

--
" Religion ist das Opium des Volkes. " Karl Marx

SEB@STI@N GÜNTHER mailto:samson@guenther-roetgen.de
 
Old 07-18-2008, 04:07 PM
Andrew Gaydenko
 
Default 2.6.26, rtc problem

======= On Friday 18 July 2008, Alan McKinnon wrote: =======
> On Friday 18 July 2008, Andrew Gaydenko wrote:
> > Hi!
> >
> > After upgrading to 2.6.26 I have got a problem with starting hwclock
> > service - it doesn't find /dev/rtc. I have tried to add rtc_cmos
> > to /conf.d/modules, but the module loads after the service starting.
> >
> > So, questions are:
> >
> > 1. How to force the module loading be before the service starting?
>
> I believe /etc/modules.d/* may do it. AFAIK it runs very early in the
> init sequence
>
>
>
> --
> Alan McKinnon
> alan dot mckinnon at gmail dot com

If understand well, those files (in /etc/modules.d/) contain configuration
options for modules rather a list of modules to load.

The was /etc/modules.autoload.d/kernel-2.6 file wich at some update point
magically disappered. I think Gentoo developers suppose some replacement
for this file.


Andrew
--
gentoo-user@lists.gentoo.org mailing list
 
Old 07-18-2008, 04:19 PM
Joshua D Doll
 
Default 2.6.26, rtc problem

Andrew Gaydenko wrote:

======= On Friday 18 July 2008, Alan McKinnon wrote: =======


On Friday 18 July 2008, Andrew Gaydenko wrote:


Hi!

After upgrading to 2.6.26 I have got a problem with starting hwclock
service - it doesn't find /dev/rtc. I have tried to add rtc_cmos
to /conf.d/modules, but the module loads after the service starting.

So, questions are:

1. How to force the module loading be before the service starting?


I believe /etc/modules.d/* may do it. AFAIK it runs very early in the
init sequence



--
Alan McKinnon
alan dot mckinnon at gmail dot com



If understand well, those files (in /etc/modules.d/) contain configuration
options for modules rather a list of modules to load.


The was /etc/modules.autoload.d/kernel-2.6 file wich at some update point
magically disappered. I think Gentoo developers suppose some replacement
for this file.



Andrew

I still have that file on one of my systems. My other system is running
openrc which does not have that file but it does have /etc/conf.d/modules.


--Joshua Doll
--
gentoo-user@lists.gentoo.org mailing list
 
Old 07-18-2008, 04:35 PM
Andrew Gaydenko
 
Default 2.6.26, rtc problem

======= On Friday 18 July 2008, Joshua D Doll wrote: =======
> Andrew Gaydenko wrote:
> > ======= On Friday 18 July 2008, Alan McKinnon wrote: =======
> >
> >> On Friday 18 July 2008, Andrew Gaydenko wrote:
> >>> Hi!
> >>>
> >>> After upgrading to 2.6.26 I have got a problem with starting hwclock
> >>> service - it doesn't find /dev/rtc. I have tried to add rtc_cmos
> >>> to /conf.d/modules, but the module loads after the service starting.
> >>>
> >>> So, questions are:
> >>>
> >>> 1. How to force the module loading be before the service starting?
> >>
> >> I believe /etc/modules.d/* may do it. AFAIK it runs very early in the
> >> init sequence
> >>
> >>
> >>
> >> --
> >> Alan McKinnon
> >> alan dot mckinnon at gmail dot com
> >
> > If understand well, those files (in /etc/modules.d/) contain
> > configuration options for modules rather a list of modules to load.
> >
> > The was /etc/modules.autoload.d/kernel-2.6 file wich at some update
> > point magically disappered. I think Gentoo developers suppose some
> > replacement for this file.
> >
> >
> > Andrew
>
> I still have that file on one of my systems. My other system is running
> openrc which does not have that file but it does have
> /etc/conf.d/modules.
>
> --Joshua Doll

'hwclock' contains this fragment:

ebegin "Setting system clock using the hardware clock [${utc}]"
if [ -e /proc/modules -a ! -e /dev/rtc ]; then
modprobe -q rtc || modprobe -q genrtc
fi

But there are no such modules at all :-) I have installed openrc since
april, but have got time-related problem only now.


Andrew
--
gentoo-user@lists.gentoo.org mailing list
 
Old 07-18-2008, 04:52 PM
Joshua D Doll
 
Default 2.6.26, rtc problem

Andrew Gaydenko wrote:

======= On Friday 18 July 2008, Joshua D Doll wrote: =======


Andrew Gaydenko wrote:


======= On Friday 18 July 2008, Alan McKinnon wrote: =======



On Friday 18 July 2008, Andrew Gaydenko wrote:


Hi!

After upgrading to 2.6.26 I have got a problem with starting hwclock
service - it doesn't find /dev/rtc. I have tried to add rtc_cmos
to /conf.d/modules, but the module loads after the service starting.

So, questions are:

1. How to force the module loading be before the service starting?


I believe /etc/modules.d/* may do it. AFAIK it runs very early in the
init sequence



--
Alan McKinnon
alan dot mckinnon at gmail dot com


If understand well, those files (in /etc/modules.d/) contain
configuration options for modules rather a list of modules to load.

The was /etc/modules.autoload.d/kernel-2.6 file wich at some update
point magically disappered. I think Gentoo developers suppose some
replacement for this file.


Andrew


I still have that file on one of my systems. My other system is running
openrc which does not have that file but it does have
/etc/conf.d/modules.

--Joshua Doll



'hwclock' contains this fragment:

ebegin "Setting system clock using the hardware clock [${utc}]"
if [ -e /proc/modules -a ! -e /dev/rtc ]; then
modprobe -q rtc || modprobe -q genrtc
fi

But there are no such modules at all :-) I have installed openrc since
april, but have got time-related problem only now.



Andrew

I was just letting you know where the file moved to for auto-loading
modules. I'm not sure why hwclock isn't loading the module. You could
try changing the modprobe -q to modprobe -v. To make the output verbose.


--Joshua Doll
--
gentoo-user@lists.gentoo.org mailing list
 
Old 07-18-2008, 08:53 PM
Neil Bothwick
 
Default 2.6.26, rtc problem

On Fri, 18 Jul 2008 19:02:33 +0400, Andrew Gaydenko wrote:

> After upgrading to 2.6.26 I have got a problem with starting hwclock
> service - it doesn't find /dev/rtc. I have tried to add rtc_cmos
> to /conf.d/modules, but the module loads after the service starting.

If you need rtc_cmos every time you boot, why not build it into the
kernel. That way you can be sure it will be available to anything that
needs it.


--
Neil Bothwick

Stop tagline theft! Copyright your tagline (c)
 
Old 07-18-2008, 09:51 PM
Andrew Gaydenko
 
Default 2.6.26, rtc problem

======= On Saturday 19 July 2008, Neil Bothwick wrote: =======
> On Fri, 18 Jul 2008 19:02:33 +0400, Andrew Gaydenko wrote:
> > After upgrading to 2.6.26 I have got a problem with starting hwclock
> > service - it doesn't find /dev/rtc. I have tried to add rtc_cmos
> > to /conf.d/modules, but the module loads after the service starting.
>
> If you need rtc_cmos every time you boot, why not build it into the
> kernel. That way you can be sure it will be available to anything that
> needs it.

At first, I frustrated with situation when I can not manage such things :-)
Then, I don't understand the reason of the problem. And yet don't know is
rtc_cmos the most appropriate choice.
--
gentoo-user@lists.gentoo.org mailing list
 
Old 07-20-2008, 03:13 PM
Andrew Gaydenko
 
Default 2.6.26, rtc problem

======= On Saturday 19 July 2008, Andrew Gaydenko wrote: =======
..
> At first, I frustrated with situation when I can not manage such things
> :-) Then, I don't understand the reason of the problem. And yet don't
> know is rtc_cmos the most appropriate choice.


In accordance with http://bugs.gentoo.org/show_bug.cgi?id=232343 - will
anybody be so kind to attach (or send using direct emailing)
~amd64/x86_64/gentoo-sources-2.6.26 .config file with the CONFIG_GEN_RTC
set? I have not found this flag in menuconfig - probably there are some
dependencies I can not recognize.


Andrew
 

Thread Tools




All times are GMT. The time now is 07:25 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org