#emc-devel | Logs for 2008-07-04

[01:00:36] <jmkasunich> poor seb
[02:19:56] <CIA-34> EMC: 03jmkasunich 07TRUNK * 10emc2/src/hal/utils/halcmd_completion.h: fix 'implicit declaration of function halcmd_completer' warning
[02:20:22] <jmkasunich> I'm slightly astounded that warning was only a warning
[02:21:32] <SWPadnos> hmm
[02:21:49] <SWPadnos> yeah, you'd think that passing more than the default int to a function would be an error
[02:26:36] <jmkasunich> hmm, I wonder if I should set up my shoptask computer as the dapper RT compile farm slot
[02:26:47] <SWPadnos> that could be a good idea
[02:26:49] <SWPadnos> hi seb
[02:26:57] <jmkasunich> it is powered up more often than the other one
[02:26:59] <seb_kuzminsky> hi
[02:27:54] <jepler> jmkasunich: I'm embarassed to say I wasn't able to spot why that warning was being given. thanks for fixing it.
[02:28:09] <jmkasunich> you're welcome
[02:29:05] <jmkasunich> I had never noticed it before, but I just brought the cvs checkout on the shoptask up to date
[02:35:21] <jmkasunich> I think I'm gonna do something very novel, and go to bed before 11pm
[02:35:23] <jmkasunich> night folks
[02:35:27] <SWPadnos> night
[02:35:41] <SWPadnos> I was thikning the same thing, but maybe before midnight instead :)
[02:36:46] <jmkasunich> * jmkasunich sends seb a new network connection
[02:49:52] <seb_kuzminsky> * seb_kuzminsky drops every other packet and waits for the retransmit
[02:50:52] <seb_kuzminsky> how do you do "svn revert" in git?
[02:51:19] <SWPadnos> first, the command would be git something, not svn something :)
[02:51:29] <seb_kuzminsky> kthx
[02:51:39] <SWPadnos> it may be something like git rebase <foo>
[02:51:53] <SWPadnos> but don't listen to me - I've only used git a little bit, on one project
[02:52:16] <seb_kuzminsky> no rebase means "make it look like i branched off the other branch at some other point than i did"
[02:53:06] <SWPadnos> ok - see, don't listen to me
[02:53:33] <SWPadnos> http://www.kernel.org/pub/software/scm/git/docs/howto/revert-branch-rebase.html
[02:54:08] <seb_kuzminsky> git reset --hard
[02:55:48] <SWPadnos> there is a git revert command (apparently)
[02:56:00] <SWPadnos> I don't know if it does what you'd expect though
[02:57:21] <SWPadnos> yay - 8.04.1 is out
[02:57:29] <SWPadnos> maybe my dual Opteron will boot with that
[02:59:06] <seb_kuzminsky> git revert is like bzr uncommit, it throws away whole commits
[02:59:29] <seb_kuzminsky> which is confusing to those of us who think revert should revert to the "HEAD" commit
[02:59:50] <SWPadnos> oh, you want to synchronize your repo with the current TRUNK?
[03:00:45] <seb_kuzminsky> what? no. I'm hacking on udev, which is kept in a git repo.
[03:01:02] <SWPadnos> oh
[03:01:02] <seb_kuzminsky> i made some changes and decided i wanted to commit them to a private branch instead of the master from kernel.org
[03:01:33] <seb_kuzminsky> so i hadda do some switcheroo kung foo
[03:01:45] <SWPadnos> indeed
[03:01:54] <SWPadnos> that seems to be the case with git more often than not
[03:05:39] <seb_kuzminsky> one thing i dislike about both git and hg, but that bzr get right, is keeping different branches in different working directories
[03:06:03] <SWPadnos> yeah. it seems to me that git and svn both do that strangely
[03:06:08] <seb_kuzminsky> git and hg both have this behavior where a repo has a working dir, and you switch which branch is "displayed" in that working dir
[03:06:16] <SWPadnos> but I don't have a lot of experience with either
[03:06:31] <seb_kuzminsky> well svn doesnt do that
[03:06:37] <seb_kuzminsky> but then svn just barely has branches...
[03:06:42] <seb_kuzminsky> you mean git & hg?
[03:06:57] <SWPadnos> the svn repos I've seen had branches subdirs in them, so you would essentially make a copy to create a branch
[03:07:08] <SWPadnos> which is odd to me
[03:07:29] <seb_kuzminsky> that doesnt really bother me, what bothers me about svn branches (and cvs branches) is the lack of merge tracking
[03:08:25] <seb_kuzminsky> they just added merge tracking to svn 1.5 but i havent played with it yet
[03:09:52] <SWPadnos> oh, interesting
[04:08:59] <CIA-34> EMC: 03seb 07TRUNK * 10emc2/configs/hostmot2/ (README hm2-2-boards.hal hm2.hal): Sample configs for hostmot2.
[13:30:43] <tissf> hello all
[13:32:10] <tissf> "cvs up" asks a password under Dapper it is new?
[13:38:00] <alex_joni> tissf: no, you probably have problems with your ssh setup
[13:39:07] <tissf> !
[13:39:14] <tissf> hello Alex
[13:39:18] <alex_joni> tissf: is it a different machine?
[13:39:27] <alex_joni> (different than the one you used to work on?)
[13:40:05] <tissf> no another partition with dapper for my translation tools
[13:40:30] <alex_joni> you need to look in your home dir in .ssh
[13:40:40] <tissf> I can copy the ssh folder from hardy ?
[13:40:44] <alex_joni> yes
[13:40:48] <tissf> ok
[13:47:15] <tissf> i have to reboot, can't found ~/home :)
[13:49:16] <SWPadnos> ~/home?
[13:52:42] <rayh> I'm home now;
[14:13:32] <tissf> no way
[14:14:52] <SWPadnos> what way?
[14:14:57] <alex_joni> hi rayh
[14:15:19] <tissf> cvs up ask for password !
[14:16:36] <rayh> Hi alex
[14:16:53] <tissf> probably invalidated ssh
[14:16:53] <SWPadnos> hmmm. that's strange if you copied the contents of ~/.ssh/ to your new home directory
[14:16:57] <SWPadnos> hi rayh
[14:17:12] <rayh> Hey Steven
[14:18:13] <tissf> this is on my old Dapper partition
[14:18:36] <SWPadnos> oh. oops
[14:18:52] <tissf> never them this problem before
[14:19:16] <jepler> tissf: is this a key that you generated on a gutsy/feisty/hardy (not dapper) machine before May 2008? If so, the key has been removed from the ssh server for security reasons.
[14:20:07] <jepler> http://www.ubuntu.com/usn/usn-612-5
[14:20:31] <jepler> er, this is the correct url: http://www.ubuntu.com/usn/usn-612-1
[14:22:05] <tissf> ahhhh ok Thank you jepler, I have to renew my key with cradek ?
[14:22:31] <jepler> tissf: yes, contact him in e-mail
[14:22:47] <tissf> ok
[14:22:54] <jepler> you have his address?
[14:24:25] <tissf> yes tks
[14:25:51] <tissf> last question: can the ssh key the same for 3 machines ? 1 dapper and 2 hardy ?
[14:26:18] <alex_joni> tissf: yes
[14:26:27] <alex_joni> if you generate it on dapper it shouldn't be a problem
[14:26:44] <jepler> or with an updated hardy
[14:27:15] <alex_joni> or that
[14:28:56] <tissf> all update are done every day
[14:31:08] <tissf> thanks, I must leave now
[14:34:00] <SWPadnos> hey alex, when you made the hardy liveCD, did you make any changes to syslinux (or whatever the boot code is)?
[15:21:45] <alex_joni> SWPadnos: any reasons for asking?
[15:21:54] <SWPadnos> yesp
[15:22:14] <SWPadnos> hmmm
[15:22:35] <SWPadnos> then again, maybe not. I've just realized that your CD is i386 and the others I tried are a64
[15:22:44] <alex_joni> heh
[15:22:52] <alex_joni> tad bit of a difference there :)
[15:23:16] <SWPadnos> if you recall, I couldn't boot your liveCD on my (core 2 duo) laptop, but I could boot the 8.04 liveCD
[15:23:30] <alex_joni> how would one go and move a /home/ folder from one machine to another?
[15:23:33] <SWPadnos> but then again, I couldn't boot the stock CD on my opteron but I could boot the EMC liveCD
[15:23:41] <SWPadnos> scp?
[15:23:43] <SWPadnos> rsync?
[15:23:46] <alex_joni> SWPadnos: guess that makes it even
[15:23:49] <alex_joni> rsync sounds good
[15:24:09] <SWPadnos> the interesting thing is that this time I waited long enough, and eventually ended up with an initrd busybox shell :)
[15:41:12] <alex_joni> SWPadnos: you can try some boot params
[15:41:23] <alex_joni> like allgenericide or something like that
[15:41:34] <SWPadnos> heh
[15:41:49] <SWPadnos> pci=nomsi may help
[15:41:52] <alex_joni> and irqpoll
[15:42:03] <alex_joni> that worked on a couple of machines that didn't want to boot
[15:42:16] <SWPadnos> I swapped in a different hard disk, and now it doesn't boot from CD at all :~
[15:42:20] <SWPadnos> ~:
[15:42:24] <SWPadnos> :~)
[15:42:26] <SWPadnos> hmm
[15:42:27] <alex_joni> acpi=off all-generic-ide irqpoll
[15:42:56] <SWPadnos> there may be a BIOS issue also, it's listing the CD drive as ATAPI, though it's SATA connected
[15:43:05] <SWPadnos> may not be aproblem, but I don't recall if it used to do that
[15:43:30] <SWPadnos> if I ever get to a cd menu again, I'll try some of those boot param
[15:43:31] <SWPadnos> s
[15:48:10] <alex_joni> heh
[15:48:21] <alex_joni> is boot-order ok?
[15:51:25] <SWPadnos> I select the pop-up menu and select the correct device
[15:51:35] <SWPadnos> you can hit F11 to get a list of devices from which to boot
[15:55:23] <SWPadnos> well, something else is screwed with that machine. I'll have to leave it until the end of the month
[15:56:00] <SWPadnos> if I go into BIOS setup, the screen only updates about once every 10 seconds (though there's a nive scrolling blue background behind the "BIOS Setup" title)
[15:56:11] <SWPadnos> I can hit one key, and after that the keyboard locks up
[15:56:15] <jepler> maybe the turbo button got turned off?
[15:56:18] <alex_joni> lol
[15:56:20] <SWPadnos> yeah
[15:56:33] <SWPadnos> 2.2 Hz istead of 2.2 GHz
[20:07:47] <alex_joni> do files in /etc dated from 2004 mean the machine was installed back then?
[20:08:34] <SWPadnos> good question
[20:10:11] <alex_joni> hmm.. most files in /dev are dated from the same day in feb 2005
[20:27:22] <micges> alex_joni: what files ?
[20:27:35] <alex_joni> dev entries
[20:28:04] <micges> in etc ?
[20:28:15] <alex_joni> ah.. hang on
[20:28:55] <alex_joni> 428 2004-05-19 21:34 csh.cshrc
[20:29:33] <micges> I think so
[20:55:41] <jepler> alex_joni: depending what installed them, the timestamp might come from the package
[20:56:02] <jepler> for instance, my /bin/dash is dated 2008-03-12 but I know I didn't have this machine before April
[20:56:04] <alex_joni> jepler: I figured so too.. but the /dev/ entries seem to be generated
[21:05:43] <SWPadnos> tune2fs -l /dev/whatever will tell you the date the filesystem was created
[21:10:35] <alex_joni> ah, thx
[21:20:40] <CIA-34> EMC: 03bigjohnt 07v2_2_branch * 10emc2/docs/src/ (Master_User.lyx Submakefile): Added reference to user_intro.lyx
[21:25:43] <BigJohnT> hmmm, I added a file to docs/src/common and it show up in docs/src/common/Attic did I do something wrong?
[21:26:09] <BigJohnT> I did a cvs add filename.ext from the /common folder
[21:26:20] <BigJohnT> after the commit I got
[21:26:43] <jepler> BigJohnT: you didn't do anything wrong
[21:26:50] <SWPadnos> take a look at the branch tags
[21:26:52] <jepler> BigJohnT: a file is in the "Attic" if it doesn't exist on trunk
[21:27:02] <jepler> it looks like you added it in 2.2 only (so far anyway)
[21:27:04] <BigJohnT> ok I was going to do trunk next
[21:27:11] <BigJohnT> yes 2.2
[21:27:13] <jepler> after you add it on trunk it should come out of the attic
[21:27:19] <BigJohnT> ok cool
[21:27:33] <BigJohnT> :)
[21:29:58] <jepler> * jepler wonders what else he should order from sparkfun while he's ordering jumper wires
[21:30:04] <jepler> hah they're called "premium". http://www.sparkfun.com/commerce/product_info.php?products_id=8430
[21:30:12] <SWPadnos> a GPS and/or cell modem experimentation kit
[21:30:20] <SWPadnos> they have a combined one actually
[21:30:43] <SWPadnos> plus an RFID experimentation kit, especially if you have a new, security-disabled passport
[21:30:46] <jepler> darn they don't have anything for OBD-II interfacing
[21:31:53] <SWPadnos> that's too easy anyway - you can get kits for $30 or so
[21:31:58] <jepler> I want to make an instantaneous MPG display using OBD-II data -- the internet says that you get an OK estimate by using the MAF (air flow) sensor as a proxy for fule consumption.
[21:33:02] <jmkasunich> http://www.sparkfun.com/commerce/product_info.php?products_id=286
[21:33:24] <SWPadnos> heh
[21:33:32] <BigJohnT> back in the late 70's one of the car makers use a vacuum gauge as a MPG display, Pontiac or something, my girlfriend's mother had one
[21:34:10] <SWPadnos> I like this one better: http://www.thinkgeek.com/gadgets/cellphone/8928/
[21:35:38] <jepler> BigJohnT: the more things change ...
[21:36:04] <BigJohnT> yes
[21:36:16] <SWPadnos> huh: http://www.thinkgeek.com/gadgets/car/8426/
[21:45:09] <CIA-34> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/common/user_intro.lyx: adding user_intro.lyx I hope
[21:51:41] <skunkworks> my stealth used airflow thru the maf to calculate boost. It sucked.
[21:53:25] <SWPadnos> jepler, http://prj.perquin.com/obdii/
[21:54:13] <CIA-34> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/ (Master_Integrator.lyx Master_User.lyx Submakefile): added spindle.lyx
[21:54:14] <CIA-34> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/examples/spindle.lyx: added spindle.lyx
[21:54:51] <skunkworks> ooh - neat.. Dad should see that. (he wants a decent scan tool)
[21:55:13] <BigJohnT> Sweeeet it works!
[21:55:48] <SWPadnos> linked from that page: http://sourceforge.net/projects/freediag/
[22:00:30] <jmkasunich> SWPadnos: haven't cut metal yet, but 1ppr g33 seems to work great
[22:00:48] <BigJohnT> cool
[22:00:52] <SWPadnos> great!
[22:01:11] <SWPadnos> I guess I shoudl fire up that PC and get it so it can build EMC2 :)
[22:01:30] <SWPadnos> not that I have a mill or lathe to test it on
[22:01:36] <jmkasunich> I'm showing deviation between the 500ppr encoder and the 1ppr one of consistently less than 0.01 revolution
[22:02:02] <jepler> jmkasunich: neat!
[22:02:13] <BigJohnT> jmkasunich: sweet
[22:02:20] <SWPadnos> jmkasunich, beet!
[22:02:26] <SWPadnos> (well, it rhymes anywat)
[22:02:48] <jmkasunich> its easy to make them track when the speed is more-or-less constant
[22:02:55] <BigJohnT> hey I'm near Arkansas so ... well they invented the tooth brush you know
[22:03:02] <jmkasunich> the challenge is when you take a cut and it slows sown
[22:03:04] <jepler> skunkworks: you mean it was unreliable? or sucked in some other way?
[22:03:04] <jmkasunich> down
[22:05:45] <jepler> skunkworks: did you see my blog entry? http://axis.unpy.net/01215190154
[22:06:43] <jepler> * jepler wanders off again
[22:08:22] <BigJohnT> when I do a cvs diff I get "? man/man9/ilowpass.9" I assume that file was deleted
[22:08:40] <BigJohnT> is there a switch with update to delete local too?
[22:08:48] <jmkasunich> cvs up -dP
[22:09:01] <BigJohnT> that's what I do...
[22:09:06] <jmkasunich> hmm
[22:09:34] <BigJohnT> opps I do -Pd is that different
[22:09:41] <jmkasunich> I don't think so
[22:09:47] <BigJohnT> hmmm
[22:11:35] <SWPadnos> -dP is the same as -Pd, but the case of both P and d is significant
[22:12:23] <BigJohnT> ok, I just ran it again and the same results...
[22:12:59] <jmkasunich> ? <somefile> means that somefile is on your disk, but not in CVS
[22:13:12] <jmkasunich> i think that ilowpass is on trunk only?
[22:13:16] <BigJohnT> that's what I kinda thought
[22:13:39] <jmkasunich> is this happening in a trunk checkout?
[22:13:47] <BigJohnT> yes
[22:14:36] <jepler> BigJohnT: ilowpass.9 is a generated file that CVS hasn't been told to ignore yet
[22:14:45] <BigJohnT> ok, thanks
[22:14:57] <jepler> that's what "?" means: the file exists in your directory but isn't known to cvs
[22:15:11] <BigJohnT> so that gets added to .cvsignore?
[22:15:38] <CIA-34> EMC: 03jepler 07TRUNK * 10emc2/docs/man/man9/.cvsignore: new generated file
[22:15:39] <jepler> yes
[22:17:49] <SWPadnos> are there other *.9 files in that dir that shouldn't be ignored?
[22:18:37] <jmkasunich> manpages that were written by humans rather than generated from .comp files
[22:19:02] <SWPadnos> right. oh well :)
[22:19:18] <jmkasunich> which reminds me, I need to document the interpolated output
[22:19:21] <SWPadnos> make ignore ;)
[22:19:31] <BigJohnT> that cleared that up
[22:19:40] <BigJohnT> for threading?
[22:19:45] <jmkasunich> the normal output is "position", I called the interpolated one "pos-interp", I wonder if it should be "position-interp"?
[22:19:47] <jmkasunich> yes
[22:19:53] <SWPadnos> interpolated-position
[22:20:07] <jmkasunich> position-interpolated
[22:20:14] <jmkasunich> (I like related things to sort together)
[22:20:17] <SWPadnos> whichever
[22:20:36] <SWPadnos> that way there's not interpretation problem betweem interpreters and interpolators
[22:20:38] <BigJohnT> I like my ducks to line up too :)
[22:21:01] <BigJohnT> BBQ time fellas see you later
[22:21:02] <jepler> may I suggest 'pionstietripoonlated'
[22:21:12] <SWPadnos> no
[22:21:16] <SWPadnos> see ya BigJohnT
[22:21:26] <SWPadnos> maybe it is time for lunch
[22:21:26] <BigJohnT> see ya
[22:21:34] <jmkasunich> dinner
[22:21:41] <jepler> argh where are the microswitches I bought for home switches?
[22:21:49] <jepler> I have a good idea how to mount them, but now I can't find them
[22:21:50] <jmkasunich> in that box
[22:21:56] <SWPadnos> no, the other one
[22:21:58] <BigJohnT> I have some extras
[22:22:11] <BigJohnT> I'll e-mail them to you
[22:22:14] <jepler> jmkasunich: yeah that's my best guess
[22:22:57] <jmkasunich> argh - this poison ivy is driving me nutz
[22:45:03] <jepler> uh oh something's not right in the documentation
[22:45:04] <jepler> make: *** No rule to make target `objects/examples_spindle.xml', needed by `objects/xref.xml'. Stop.
[22:46:29] <SWPadnos> there's an error in the submakefile change
[22:46:49] <SWPadnos> oh, maybe not
[22:48:17] <jepler> found it
[22:49:01] <CIA-34> EMC: 03jepler 07TRUNK * 10emc2/docs/src/Submakefile: new directory needs new rule
[22:50:30] <SWPadnos> cool
[22:50:36] <SWPadnos> food time. bbl
[22:50:56] <jepler> see you
[23:01:30] <BigJohnT> jepler: does the 2.2.x branch need the same line in submakefile?
[23:01:42] <CIA-34> EMC: 03bigjohnt 07TRUNK * 10emc2/docs/src/gcode/main.lyx: Moved G38 to numerical position
[23:01:44] <jepler> BigJohnT: it doesn't seem to have the same error
[23:01:54] <BigJohnT> ok
[23:01:59] <jepler> BigJohnT: there are some details that are different between 2.2 and TRUNK, I guess this is one
[23:04:57] <BigJohnT> thanks, well back to the BBQ
[23:05:44] <CIA-34> EMC: 03bigjohnt 07v2_2_branch * 10emc2/docs/src/Submakefile: Moved G38 to numerical position
[23:05:45] <CIA-34> EMC: 03bigjohnt 07v2_2_branch * 10emc2/docs/src/gcode/main.lyx: Moved G38 to numerical position