public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] 2.6.26, rtc problem
@ 2008-07-18 15:02 Andrew Gaydenko
  2008-07-18 15:41 ` Alan McKinnon
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Andrew Gaydenko @ 2008-07-18 15:02 UTC (permalink / raw
  To: gentoo-user

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?

2. How to determine which concrete module is most appropriate to my hardware 
(there are plenty of rtc_xyz modules)?


Andrew
-- 
gentoo-user@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] 2.6.26, rtc problem
  2008-07-18 15:02 [gentoo-user] 2.6.26, rtc problem Andrew Gaydenko
@ 2008-07-18 15:41 ` Alan McKinnon
  2008-07-18 16:07   ` Andrew Gaydenko
  2008-07-18 16:03 ` Sebastian Günther
  2008-07-18 20:53 ` Neil Bothwick
  2 siblings, 1 reply; 10+ messages in thread
From: Alan McKinnon @ 2008-07-18 15:41 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] 2.6.26, rtc problem
  2008-07-18 15:02 [gentoo-user] 2.6.26, rtc problem Andrew Gaydenko
  2008-07-18 15:41 ` Alan McKinnon
@ 2008-07-18 16:03 ` Sebastian Günther
  2008-07-18 20:53 ` Neil Bothwick
  2 siblings, 0 replies; 10+ messages in thread
From: Sebastian Günther @ 2008-07-18 16:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 901 bytes --]

* 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

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] 2.6.26, rtc problem
  2008-07-18 15:41 ` Alan McKinnon
@ 2008-07-18 16:07   ` Andrew Gaydenko
  2008-07-18 16:19     ` Joshua D Doll
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Gaydenko @ 2008-07-18 16:07 UTC (permalink / raw
  To: gentoo-user

======= 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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] 2.6.26, rtc problem
  2008-07-18 16:07   ` Andrew Gaydenko
@ 2008-07-18 16:19     ` Joshua D Doll
  2008-07-18 16:35       ` Andrew Gaydenko
  0 siblings, 1 reply; 10+ messages in thread
From: Joshua D Doll @ 2008-07-18 16:19 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] 2.6.26, rtc problem
  2008-07-18 16:19     ` Joshua D Doll
@ 2008-07-18 16:35       ` Andrew Gaydenko
  2008-07-18 16:52         ` Joshua D Doll
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Gaydenko @ 2008-07-18 16:35 UTC (permalink / raw
  To: gentoo-user

======= 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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] 2.6.26, rtc problem
  2008-07-18 16:35       ` Andrew Gaydenko
@ 2008-07-18 16:52         ` Joshua D Doll
  0 siblings, 0 replies; 10+ messages in thread
From: Joshua D Doll @ 2008-07-18 16:52 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] 2.6.26, rtc problem
  2008-07-18 15:02 [gentoo-user] 2.6.26, rtc problem Andrew Gaydenko
  2008-07-18 15:41 ` Alan McKinnon
  2008-07-18 16:03 ` Sebastian Günther
@ 2008-07-18 20:53 ` Neil Bothwick
  2008-07-18 21:51   ` Andrew Gaydenko
  2 siblings, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2008-07-18 20:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

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)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] 2.6.26, rtc problem
  2008-07-18 20:53 ` Neil Bothwick
@ 2008-07-18 21:51   ` Andrew Gaydenko
  2008-07-20 15:13     ` Andrew Gaydenko
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Gaydenko @ 2008-07-18 21:51 UTC (permalink / raw
  To: gentoo-user

======= 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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] 2.6.26, rtc problem
  2008-07-18 21:51   ` Andrew Gaydenko
@ 2008-07-20 15:13     ` Andrew Gaydenko
  0 siblings, 0 replies; 10+ messages in thread
From: Andrew Gaydenko @ 2008-07-20 15:13 UTC (permalink / raw
  To: gentoo-user

======= 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



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-07-20 15:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-18 15:02 [gentoo-user] 2.6.26, rtc problem Andrew Gaydenko
2008-07-18 15:41 ` Alan McKinnon
2008-07-18 16:07   ` Andrew Gaydenko
2008-07-18 16:19     ` Joshua D Doll
2008-07-18 16:35       ` Andrew Gaydenko
2008-07-18 16:52         ` Joshua D Doll
2008-07-18 16:03 ` Sebastian Günther
2008-07-18 20:53 ` Neil Bothwick
2008-07-18 21:51   ` Andrew Gaydenko
2008-07-20 15:13     ` Andrew Gaydenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox