Gentoo Archives: gentoo-user

From: Andrew Gaydenko <a@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 2.6.26, rtc problem
Date: Fri, 18 Jul 2008 16:35:07
Message-Id: 200807182035.06023@goldspace.net
In Reply to: Re: [gentoo-user] 2.6.26, rtc problem by Joshua D Doll
1 ======= On Friday 18 July 2008, Joshua D Doll wrote: =======
2 > Andrew Gaydenko wrote:
3 > > ======= On Friday 18 July 2008, Alan McKinnon wrote: =======
4 > >
5 > >> On Friday 18 July 2008, Andrew Gaydenko wrote:
6 > >>> Hi!
7 > >>>
8 > >>> After upgrading to 2.6.26 I have got a problem with starting hwclock
9 > >>> service - it doesn't find /dev/rtc. I have tried to add rtc_cmos
10 > >>> to /conf.d/modules, but the module loads after the service starting.
11 > >>>
12 > >>> So, questions are:
13 > >>>
14 > >>> 1. How to force the module loading be before the service starting?
15 > >>
16 > >> I believe /etc/modules.d/* may do it. AFAIK it runs very early in the
17 > >> init sequence
18 > >>
19 > >>
20 > >>
21 > >> --
22 > >> Alan McKinnon
23 > >> alan dot mckinnon at gmail dot com
24 > >
25 > > If understand well, those files (in /etc/modules.d/) contain
26 > > configuration options for modules rather a list of modules to load.
27 > >
28 > > The was /etc/modules.autoload.d/kernel-2.6 file wich at some update
29 > > point magically disappered. I think Gentoo developers suppose some
30 > > replacement for this file.
31 > >
32 > >
33 > > Andrew
34 >
35 > I still have that file on one of my systems. My other system is running
36 > openrc which does not have that file but it does have
37 > /etc/conf.d/modules.
38 >
39 > --Joshua Doll
40
41 'hwclock' contains this fragment:
42
43 ebegin "Setting system clock using the hardware clock [${utc}]"
44 if [ -e /proc/modules -a ! -e /dev/rtc ]; then
45 modprobe -q rtc || modprobe -q genrtc
46 fi
47
48 But there are no such modules at all :-) I have installed openrc since
49 april, but have got time-related problem only now.
50
51
52 Andrew
53 --
54 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] 2.6.26, rtc problem Joshua D Doll <joshua.doll@×××××.com>