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's

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-29 Thread bsquared
On Thu, Apr 28, 2011 at 4:55 PM, bsquared bwcod...@gmail.com wrote: On Thu, Apr 28, 2011 at 4:39 PM, Bruce Dubbs bruce.du...@gmail.com 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

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-29 Thread Andrew Benton
On Fri, 29 Apr 2011 08:57:54 -0700 bsquared bwcod...@gmail.com 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.

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 bwcod...@gmail.com 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

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-29 Thread bsquared
On Fri, Apr 29, 2011 at 11:22 AM, bsquared bwcod...@gmail.com 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

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 rule looks rather

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,