Re: setclock Question (lfs-bootscripts-20110424)

2011-04-29 Thread Neal Murphy
On Saturday 30 April 2011 01:11:01 Simon Geard wrote: > Andrew's post is missing a newline, I think. It's actually two rules: > > SUBSYSTEM=="rtc", ACTION=="add", > MODE="0644", > RUN+="/etc/rc.d/init.d/setclock start" > > and > > KERNEL=="rtc", ACTION=="add", > MODE="0644", > RU

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-29 Thread Simon Geard
On Fri, 2011-04-29 at 14:04 -0400, Neal Murphy wrote: > On Friday 29 April 2011 12:42:47 Andrew Benton wrote: > > SUBSYSTEM=="rtc", ACTION=="add", MODE="0644", > > RUN+="/etc/rc.d/init.d/setclock start" KERNEL=="rtc", ACTION=="add", > > MODE="0644", RUN+="/etc/rc.d/init.d/setclock start" > > This

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-29 Thread bsquared
On Fri, Apr 29, 2011 at 11:22 AM, bsquared wrote: > > At what step are the rules installed? I could not locate 50*, 55* > above in /etc.  /etc/udev/rules.d has contains two files > (70-persistent*.rules).  Did I miss an instruction? I see that I did. I some how missed the instuctions after comp

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-29 Thread bsquared
On Fri, Apr 29, 2011 at 9:42 AM, Andrew Benton wrote: > It seems that /dev/rtc0 is matching this rule in 50-udev-default.rules > which is why it's making the symlink: > > SUBSYSTEM=="rtc", DRIVERS=="rtc_cmos", SYMLINK+="rtc" > > The question is, why doesn't it match the 55-lfs.rules: > > SUBSYSTE

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-29 Thread Neal Murphy
On Friday 29 April 2011 12:42:47 Andrew Benton wrote: > On Fri, 29 Apr 2011 08:57:54 -0700 > > bsquared wrote: > > > Yes, I rebooted and checked /dev/rtc is a link to /dev/rtc0 which > > > matches kernel config. > > > -- > > > Thank you, > > > -Brian > > > > On re-reading my last message wasn'

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-29 Thread Andrew Benton
On Fri, 29 Apr 2011 08:57:54 -0700 bsquared wrote: > > Yes, I rebooted and checked /dev/rtc is a link to /dev/rtc0 which > > matches kernel config. > > -- > > Thank you, > > -Brian > > > On re-reading my last message wasn't very clear. Yes I have the rtc > file, but the time is incorrrect. It

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-29 Thread bsquared
On Thu, Apr 28, 2011 at 4:55 PM, bsquared wrote: > On Thu, Apr 28, 2011 at 4:39 PM, Bruce Dubbs wrote: > > >> Does /dev/rtc exist on your system?  As Andy said, setclock is run by >> udev. It's been that way in LFS since May, 2009 (revision 8902). We are >> now at revision 9518. >> >>   -- Bruce

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-29 Thread Simon Geard
On Thu, 2011-04-28 at 20:30 +0100, Andrew Benton wrote: > According to 55-lfs.rules udev should run the setclock script > when /dev/rtc becomes available. Does /dev/rtc exist? Maybe you > configured your kernel without real time clock support? Really? I can't say I've noticed any problems, but it'