Re: setclock Question (lfs-bootscripts-20110424)

2011-05-02 Thread alupu
May 1, 2011 12:12:01 AM, neal.p.murphy wrote. Hi Neil, Thank you very much for your comments. I'm trying to comment on your comments now. Alex said: '/lib/udev/rules.d/50-udev-default.rules': SUBSYSTEM==rtc, DRIVERS==rtc_cmos, SYMLINK+=rtc FWIW, I don't see the relevance of rule 50-udev

Re: setclock Question (lfs-bootscripts-20110424)

2011-05-02 Thread Bruce Dubbs
al...@verizon.net wrote: That's a 360 (as they say) reversal of what I said in my previous post. Not sure if I got the attribution right. LOL. I think you mean 180. :) -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ:

Re: setclock Question (lfs-bootscripts-20110424)

2011-05-02 Thread alupu
May 2, 2011 05:24:23 PM, Bruce wrote: Alex wrote: That's a 360 (as they say) reversal of what I said in my previous post. Not sure if I got the attribution right.LOL. I think you mean 180. :) Hi Bruce, This is a relatively known joke (expression) in relative wide use. It is attributed

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-30 Thread Andrew Benton
On Sat, 30 Apr 2011 17:11:01 +1200 Simon Geard delga...@ihug.co.nz 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,

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-30 Thread Neal Murphy
On Saturday 30 April 2011 23:00:42 al...@verizon.net wrote: Hello, The time sequence on my standard system would be: 1. '/lib/udev/rules.d/50-udev-default.rules': SUBSYSTEM==rtc, DRIVERS==rtc_cmos, SYMLINK+=rtc 2. '/etc/udev/rules.d/55-lfs.rules': # This causes the system clock to be

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,

setclock Question (lfs-bootscripts-20110424)

2011-04-28 Thread alupu
htmlhead link media=all type=text/css href=/netmail/static/deg/css/wysiwyg-3933289048.css rel=stylesheet /headbody Hello,brbrI'm confused about 'setclock' script activation in the boot sequence.brMaybe I'm missing something:brnbsp;seems to have disappeared from

setclock Question (lfs-bootscripts-20110424)

2011-04-28 Thread alupu
Hello, I'm confused about 'setclock' script activation in the boot sequence. Maybe I'm missing something: seems to have disappeared from '/etc/rc.d/rcsysinit.d/' Thanks, -- Alex -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-28 Thread bsquared
On Thu, Apr 28, 2011 at 10:00 AM, al...@verizon.net wrote: Hello, I'm confused about 'setclock' script activation in the boot sequence. Maybe I'm missing something:  seems to have disappeared from '/etc/rc.d/rcsysinit.d/' Thanks, -- Alex --

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-28 Thread Andrew Benton
On Thu, 28 Apr 2011 12:00:37 -0500 (CDT) al...@verizon.net wrote: Hello, I'm confused about 'setclock' script activation in the boot sequence. Maybe I'm missing something: seems to have disappeared from '/etc/rc.d/rcsysinit.d/' According to 55-lfs.rules, udev runs the setclock script

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-28 Thread Andrew Benton
On Thu, 28 Apr 2011 10:13:47 -0700 bsquared bwcod...@gmail.com wrote: On Thu, Apr 28, 2011 at 10:00 AM, al...@verizon.net wrote: Hello, I'm confused about 'setclock' script activation in the boot sequence. Maybe I'm missing something:  seems to have disappeared from

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-28 Thread bsquared
On Thu, Apr 28, 2011 at 12:30 PM, Andrew Benton b3n...@gmail.com wrote: zgrep CONFIG_RTC /proc/config.gz egrep ^CONFIG_RTC config-2.6.37 CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE=rtc0 CONFIG_RTC_INTF_SYSFS=y CONFIG_RTC_INTF_PROC=y CONFIG_RTC_INTF_DEV=y

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-28 Thread alupu
Apr 28, 2011 03:32:59 PM, 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? It seems we're in the fortunate situation here where people

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-28 Thread Andrew Benton
On Thu, 28 Apr 2011 13:18:05 -0700 bsquared bwcod...@gmail.com wrote: egrep ^CONFIG_RTC config-2.6.37 CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE=rtc0 CONFIG_RTC_INTF_SYSFS=y CONFIG_RTC_INTF_PROC=y CONFIG_RTC_INTF_DEV=y

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-28 Thread bsquared
On Thu, Apr 28, 2011 at 3:59 PM, Andrew Benton b3n...@gmail.com wrote: On Thu, 28 Apr 2011 13:18:05 -0700 bsquared bwcod...@gmail.com wrote: egrep ^CONFIG_RTC config-2.6.37 CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE=rtc0 CONFIG_RTC_INTF_SYSFS=y

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-28 Thread Bruce Dubbs
bsquared wrote: On Thu, Apr 28, 2011 at 12:30 PM, Andrew Benton b3n...@gmail.com wrote: zgrep CONFIG_RTC /proc/config.gz egrep ^CONFIG_RTC config-2.6.37 CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE=rtc0 CONFIG_RTC_INTF_SYSFS=y CONFIG_RTC_INTF_PROC=y

Re: setclock Question (lfs-bootscripts-20110424)

2011-04-28 Thread bsquared
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 revision 9518.   -- Bruce -- Yes, I rebooted and checked /dev/rtc