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 |
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 |
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 |
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 |
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 |
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 |
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) |
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 |
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 |
| All times are GMT. The time now is 10:20 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.