#emc | Logs for 2009-01-26

Back
[00:03:00] <jmkasunich> not a bad idea
[00:03:11] <jmkasunich> hitting a brand new board with the soldering iron tho...
[00:03:21] <jmkasunich> I've made up a cable, so the problem is bypassed for now
[00:03:28] <jmkasunich> once I know all works, I might just do that
[00:04:02] <jmkasunich> boots into BIOS OK, now I need HD and CDROM and burn a boot CD
[00:06:18] <BigJohnT> jmkasunich: is this for the rat race?
[00:06:31] <jmkasunich> not rats this year, but yes, engineering week contest
[00:06:37] <jmkasunich> this time we need to solve a maze
[00:07:25] <jmkasunich> something like this: http://jmkasunich.com/pics/aMazingRaceSampleMaze.pdf
[00:08:13] <BigJohnT> saw that yesterday sounds like fun
[00:08:30] <BigJohnT> kinda like rats in a maze...
[00:08:57] <jmkasunich> need some cheeze
[00:18:26] <BigJohnT> I'll be glad when my finger feels as good as my ingrowing toe nail
[00:21:58] <jmkasunich> damn, I can't find a cd-rom drive
[00:22:09] <jmkasunich> one of those things I never use anymore
[00:23:35] <BigJohnT> I have some want me to e-mail you one?
[00:24:39] <BigJohnT> damm a table is a PIA in troff man
[00:26:10] <BigJohnT> grumble now I see the problem...
[00:26:25] <jmkasunich> BigJohnT: thanks for the offer, but my 3D printer is on the fritz
[00:26:51] <BigJohnT> they have one at the local Briggs plant it is neat
[00:27:17] <BigJohnT> you can print out a 3-d model of an engine part :)
[00:36:41] <jmkasunich> wonderfull - now I can't find a blank CD
[00:57:57] <Guest485> Does the current 8.04 live cd have the latest kernel bug fixes or is it the same kernel as the original 8.04 release?
[00:58:22] <jmkasunich> you mean the linuxcnc live CD, or the ubuntu one?
[00:58:38] <Guest485> the linuxcnc live cd
[00:58:42] <cradek> I bet it's somewhere in between
[00:59:00] <jmkasunich> we've only made one RT patched kernel for 8.04 (I think)
[00:59:16] <Guest485> does it have the bug fix in for the realtek/avahi bug in it?
[00:59:24] <jmkasunich> what bug is that?
[01:00:10] <Guest485> not sure what the bug nuber is, but the bug relates to dhcp for wire realtek interfaces
[01:00:26] <jmkasunich> some network driver thing?
[01:00:51] <Guest485> it's a realtek driver bug I think
[01:00:54] <cradek> dhcp is not part of the kernel - are you sure it was a kernel patch?
[01:01:06] <cradek> oh, ok
[01:01:06] <Guest485> eth0 shows up twice
[01:01:24] <Guest485> one as eth0:avahi
[01:01:42] <Guest485> not sure its a kernel patch
[01:08:34] <jmkasunich> do you know what kernel version it was fixed in?
[01:09:03] <jmkasunich> our RT kernel is 2.6.24-16-rtai
[01:15:58] <Guest485> Now I'm not sure it was fixed, some issue with Realtek drivers not getting updated in deb updates
[01:16:22] <Guest485> Some people say 8.10 doesn't show the problem
[01:17:25] <Guest485> different MV but similar problem as https://bugs.launchpad.net/ubuntu/+source/linux/+bug/205374
[01:18:41] <jmkasunich> are you actually having this problem? or just worrying in advance? ;-)
[01:19:08] <Guest485> No the linuxcnc livecd doesn't work with my MB
[01:19:35] <jmkasunich> "doesn't work" is very generic
[01:19:53] <jmkasunich> is it this network problem, or something else?
[01:20:00] <Guest485> Sorry, the wired network doesn't work
[01:20:11] <jmkasunich> ok, so you are seeing the problem
[01:20:29] <Guest485> says no interface on eth0
[01:20:54] <Guest485> yet it knows it's there
[01:20:57] <jmkasunich> so you aren't seeing the problem you described, you are seeing some other problem?
[01:21:12] <jmkasunich> maybe I'm just being dense this evening
[01:21:26] <jmkasunich> arg
[01:21:33] <jmkasunich> having my own problems
[01:22:13] <Guest485> if I do a google seatch on +eth0 +ubuntu +avahi +realtek I keep either directly or indirectly sent to that bugs/launchpad.net link
[01:23:32] <jmkasunich> so, you have successfully installed our CD, but you can't connect to the network
[01:25:01] <Guest485> yes, this isn't an emc issue other than the live CD - network shows the loopback eth0 and eth0:avahi and when I try to configure eth0 or eth0:avahi says it can't find the interface
[01:25:55] <jmkasunich> I'm afraid I can't help much
[01:26:39] <Guest485> the reason I asked about the live CD is the realtek chipset is used in a lot of wired MB's
[01:26:50] <Guest485> thanks anyway
[01:27:13] <jmkasunich> I'm trying to do an install myself at the moment
[01:27:35] <jmkasunich> dunno what NIC chip is on this board, but I've heard a rumor that we don't have the driver on our CD
[01:27:35] <Guest485> 8.04?
[01:28:16] <jmkasunich> yeah, using the ubuntu alternate CD, going for a lightweight install
[01:28:24] <jmkasunich> will add the RT kernel later
[01:28:30] <Guest485> I've got another MB based on the intel atom that the 8.04 CD doesn't have the nic interface
[01:28:33] <jmkasunich> thats if I can ever get a CD burnt without errors
[01:28:41] <jmkasunich> ah - are you ericJ?
[01:28:47] <Guest485> no
[01:29:04] <jmkasunich> he's been working with an atom board, and I'm using the same one
[01:29:09] <jmkasunich> D945GCLF2
[01:29:12] <Guest485> yes
[01:29:19] <jmkasunich> so that makes three of us
[01:29:32] <Guest485> I wanted to fix this other one first
[01:29:51] <jmkasunich> I absolutly hate CDs
[01:30:06] <Guest485> My plan on the atom it to get the tar pkg and install
[01:30:13] <jmkasunich> I would probably have better luck if my stack of blanks wasn't already about 4 years old
[01:30:24] <Guest485> from usb (i Hope)
[01:30:49] <jmkasunich> I thought about putting the iso on a usb stick and trying to boot that
[01:31:07] <jmkasunich> but the only stick I can find is small
[01:31:13] <jmkasunich> I think I have a 1G one around here somewhere
[01:31:20] <Guest485> you have to prep the usb stik don't you
[01:31:24] <jmkasunich> no clue
[01:31:57] <jmkasunich> but if I make a few more coasters, I might start looking for that stick again (and googling for a howto)
[01:32:22] <Guest485> I'm pretty sure you have to load some other stuff to boot the iso
[01:33:20] <jmkasunich> md5summing the latest possible coaster, we'll see what happens
[01:45:48] <jmkasunich> jmkasunich@mahan:~/isos$ md5sum </dev/hda md5sum: -: Input/output error
[01:46:13] <jmkasunich> does that just mean I have a coaster again, or does "input output error" mean a problem with the drive?
[01:48:37] <JymmmEMC> I just md5sum /dev/sda, what's the redirection (<) for?
[01:50:20] <jmkasunich> "take data from /dev/sda, send it to md5sum"
[01:51:10] <JymmmEMC> Oh, I just md5sum the device directly
[01:52:10] <jmkasunich> either way, I expect a sum (right or wrong), not "input/output error"
[01:52:11] <BeIdentityCrisis> BeIdentityCrisis is now known as brendanjerwin
[01:53:33] <JymmmEMC> try md5sum /dev/sdb (or whatever your drive is)
[01:53:44] <jmkasunich> I'm burning another disk
[01:53:52] <jmkasunich> I've used the < before and it worked
[01:54:13] <jmkasunich> I'll try that on the next md5sum, but I'll be astonished if it makes a difference
[01:55:11] <jmkasunich> duh, when you see input/output error, you should read dmesg
[01:55:40] <jmkasunich> craploads of bad sector errors on dev hda
[01:55:57] <JymmmEMC> hdd failing ?
[01:56:03] <jmkasunich> cd rom
[01:56:16] <JymmmEMC> hda is cd? what's hdd?
[01:56:22] <jmkasunich> serial ata
[01:56:25] <JymmmEMC> ah
[01:58:08] <jmkasunich> CDs: WORN media
[01:58:13] <jmkasunich> Write Once, Read NEver
[02:01:55] <JymmmEMC> you bought the wrong kind =)
[02:02:16] <JymmmEMC> stop digging your cd-r's from the dumpster =)
[02:02:25] <steve_stallings> Another thing EMC users chasing new motherboards should look out for... Intel Storage Matrix manager causes problems under Ubuntu 8.04 but 8.10 understands it. This "manager" shows up on lots of motherboards that support the ill fated Intel "turbomemory".
[02:03:48] <JymmmEMC> turbomemory?
[02:04:32] <steve_stallings> intended to fast boot and cache files in a flash memory module
[02:04:59] <steve_stallings> turns out it wasn't worth the bother
[02:05:09] <JymmmEMC> sounds like hybrid hdd's
[02:05:30] <steve_stallings> indeed, they do the job better is set up correctly
[02:05:53] <jmkasunich> JymmmEMC: these CDs are (were) good ones - memorex
[02:05:56] <jmkasunich> but they are old
[02:06:07] <JymmmEMC> jmkasunich: burn speed 4x ?
[02:06:17] <jmkasunich> they're rated at 52x
[02:06:32] <JymmmEMC> I know, but did you burn at 4x?
[02:06:48] <jmkasunich> I've tried burns at 24x (it actually did 16), 8x, and 4x (it actually did 8x)
[02:06:50] <steve_stallings> scary to think how much of our world is "digital archived" to these CDs
[02:07:31] <JymmmEMC> jmkasunich: I always had issues burning emc till I started burning at 4x, then no more issues
[02:07:39] <JymmmEMC> steve_stallings: make mine dvd-r's
[02:08:06] <steve_stallings> similar technology, yes? similar lifespan?
[02:08:25] <jmkasunich> probably worse - smaller bits
[02:08:33] <steve_stallings> I try to have important stuff on CD and magnetic tape
[02:08:38] <JymmmEMC> steve_stallings: I still have the VERY first cd-r I ever burned (mixed mode too), I use it as a refernece
[02:08:43] <jmkasunich> great - I can't even kill md5sum
[02:09:19] <JymmmEMC> steve_stallings: when I start getting crc errors on it I know it's time to duplicate the rest
[02:09:41] <steve_stallings> I suspect that early CD drives were much better than today, constant improvement = cost cutting
[02:09:50] <jmkasunich> when you start getting errors, it will be _past_ time to duplicate the rest
[02:10:30] <jmkasunich> I dunno whether I'm dealing with drive issues, media issues or both, but I'm getting a bit pissed off
[02:10:38] <JymmmEMC> steve_stallings: All my DVD'rs are 34x speed, but max speed i ever burn at is 12x
[02:10:50] <JymmmEMC> jmkasunich: got any cd-rw's ?
[02:10:56] <jmkasunich> no
[02:11:20] <jmkasunich> the only disks I have are this spindle of 100 that I bought years ago, and has probably 25-35 left on it
[02:11:31] <JymmmEMC> jmkasunich: net boot it
[02:11:36] <jmkasunich> if it wasn't sunday, I would already have new CDs
[02:12:04] <JymmmEMC> jmkasunich: net boot it or find that 1gb usb stick
[02:12:12] <jmkasunich> the bios will do net boot, but I suspect I have a ton of learning to do to figure out how to make it work
[02:12:21] <steve_stallings> are you burning CDs in a normal room temp environment?
[02:12:33] <jmkasunich> steve_stallings: more-or-less
[02:12:43] <jmkasunich> its probably between 60 and 62 (basement)
[02:13:08] <JymmmEMC> jmkasunich: got windows?
[02:13:12] <jmkasunich> no
[02:13:32] <steve_stallings> seems good enough, but CD burning is a thermal process so low temp ambient is a challenge
[02:13:43] <JymmmEMC> found your usb stick yet?
[02:13:48] <jmkasunich> no
[02:13:52] <JymmmEMC> go find it
[02:19:05] <JymmmEMC> jmkasunich: Unetbootin
[02:19:23] <jmkasunich> reading http://www.debian-administration.org/articles/478
[02:19:28] <JymmmEMC> jmkasunich: Unetbootin
[02:20:02] <jmkasunich> it looks like netboot would require disabling the DHCP in my normal router, setting up DHCP in my main system (where the iso's are), etc
[02:20:06] <jmkasunich> sounds messy
[02:20:16] <JymmmEMC> jmkasunich: http://en.wikipedia.org/wiki/UNetbootin
[02:20:33] <jmkasunich> * jmkasunich reads
[02:21:02] <JymmmEMC> jmkasunich: I build bootable USB sticks from various distros, this will be the bost straight forward for you. It works weill with EMC
[02:21:16] <jmkasunich> so I better find that memory stick
[02:21:16] <JymmmEMC> how do you think I tested emc on my IdeaPAd =)
[02:21:36] <jmkasunich> I was in microcenter today and almost bought one of the $5.99 ones (2G)
[02:21:46] <JymmmEMC> brand?
[02:21:53] <jmkasunich> no-brand
[02:21:59] <JymmmEMC> be careful
[02:22:06] <jmkasunich> they have bins of em at the cash registers
[02:22:25] <JymmmEMC> also, do NOT create a full 1GB partition, create a 750MB one instead
[02:22:58] <JymmmEMC> USB Flash geometrys are not all alike, even fro the same mfg/make/model I found out the hard way.
[02:23:48] <jmkasunich> way past dinnertime - gotta eat and try to find that memstick
[02:30:18] <Guest485> D945GCLF is going to have the same issue as I'm fighting I think: https://bugs.launchpad.net/ubuntu/+bug/215450
[02:31:37] <Guest485> Same issue Realtek RTL8139/810x my MB uses the 8139 the D945 uses the 8101e
[02:33:15] <JymmmEMC> mudder fscker... I just broke the head off a SS screw by hand! ARGH!!!!!!!
[02:33:15] <Guest485> A user says a kernel patch http://linuxtrek1.blogspot.com/2008/10/ubuntu-on-intel-d945gclf-with-intel.html
[02:49:15] <jepler> aha, surface-mount .100 dual-row headers, and it appears they'll ship small quantities direct to customers. http://www.samtec.com/technical_specifications/overview.aspx?series=TSM
[02:49:57] <jepler> it's a huge pain to do single-sided surface mount with dual-row headers coming out the parts side, this seems like it would be a nice solution
[02:50:55] <jmkasunich> yep
[02:51:46] <jmkasunich> things just get better and better - found the USB stick, but it seems dead
[02:52:01] <jmkasunich> when I stick the 128M one in, I get messages in dmesg
[02:52:06] <jmkasunich> stuck the larger one in, nada
[02:53:10] <jepler> yuck
[02:53:44] <jmkasunich> did you read my whining? there has got to be a better way
[02:53:58] <jmkasunich> I never use an optical drive except for the initial OS install
[02:54:12] <jmkasunich> apparently they resent that, and rotted
[02:54:35] <jepler> yeah I had the same experience last time -- I wrote about 5 different CDRs on 2 different machines, and finally one worked
[02:56:44] <jmkasunich> I wonder why my USB stick is dead
[03:02:44] <jmkasunich> jepler: so what are you building?
[03:03:42] <jepler> jmkasunich: nothing specific at the moment, though I want to do another iteration of my microcontroller board with USB and I/Os on headers
[03:04:02] <jmkasunich> what uC?
[03:04:20] <jepler> at90usb162 -- 8-bit and not much RAM, but gcc-supported
[03:05:10] <JymmmEMC> jmkasunich: try in another computer
[03:05:20] <jmkasunich> try what, the usb stick?
[03:05:25] <JymmmEMC> yeah
[03:05:50] <jmkasunich> I tried it in several USB ports, it doesn't work in any, the 128M one works in all
[03:05:52] <jepler> that chip is only available in surface-mount packages; the board works out nicely except for the pin headers
[03:06:16] <JymmmEMC> jmkasunich: different computer, not different ports
[03:06:31] <jmkasunich> JymmmEMC: I know what you said
[03:06:43] <jmkasunich> I also would be astonished if it worked on another computer
[03:06:49] <JymmmEMC> jmkasunich: is this mobo usb 1.1 or 2.0 ?
[03:06:56] <jmkasunich> which mobo?
[03:07:04] <JymmmEMC> whatever you are trying it in
[03:07:08] <JymmmEMC> all of them
[03:07:29] <jmkasunich> my main PC has 2.0 USB - that is where the iso's live on hard disk
[03:07:46] <jmkasunich> the new board that I want to install on probably has 2.0 as well
[03:08:10] <jepler> jmkasunich: can you use the "minimal cd" (<10MB) + usb boot ? https://help.ubuntu.com/community/Installation/MinimalCD
[03:08:43] <jmkasunich> gonna try
[03:10:04] <jepler> put the installation media in your real pc and install inside vmware
[03:10:47] <jmkasunich> installation media? you mean the hard disk I want to install to? or the 128M usb stick?
[03:11:20] <jepler> I mean the hard disk
[03:11:49] <jmkasunich> I think I'll try usb + mini.iso + Unetbootin first
[03:11:54] <jepler> the problem you will have with that approach is that it may not put the required hardware drivers inside the "initrd" so when you boot it on the other machine it will halt early in the boot process
[03:12:09] <jepler> there's some way to force it to include certain modules but you'd have to research it
[03:12:51] <jmkasunich> the other thing I thought of was to stick the HD in my PC, make a 750M partition, put the iso in it
[03:12:59] <jmkasunich> then boot from that partition as if it was a livecd
[03:13:03] <JymmmEMC> http://ubuntuforums.org/showthread.php?t=28948
[03:13:31] <jepler> yeah the "usb boot" method should work for that too (?)
[03:14:25] <JymmmEMC> jmkasunich: You can't do that,
[03:14:41] <jmkasunich> can't do what?
[03:14:44] <JymmmEMC> well you can, but it won't boot
[03:15:00] <JymmmEMC> This ---> mkasunich: the other thing I thought of was to stick the HD in my PC, make a 750M partition, put the iso in it
[03:15:00] <JymmmEMC> (07:12:59 PM) jmkasunich: then boot from that partition as if it was a livecd
[03:15:05] <jmkasunich> ah
[03:15:22] <JymmmEMC> wait, what size is the other usb stick?
[03:15:27] <jmkasunich> 128M
[03:15:28] <JymmmEMC> 250MB ?
[03:15:30] <JymmmEMC> fsck
[03:15:41] <jmkasunich> I'm gonna try the mini install
[03:15:54] <JymmmEMC> hang on a sec, let me see something
[03:16:35] <JymmmEMC> jmkasunich: do you have any live cd's already burned?
[03:16:41] <jmkasunich> no
[03:16:49] <JymmmEMC> literally none at all?
[03:16:52] <JymmmEMC> even old
[03:17:03] <JymmmEMC> any live linux distro
[03:17:13] <jmkasunich> no, its been ages since I needed one, and they rot
[03:19:17] <JymmmEMC> so you dont even have a rescue cd if ever needed?
[03:19:55] <JymmmEMC> jmkasunich: http://www.damnsmalllinux.org/wiki/index.php/Install_to_USB_From_within_Linux
[03:20:17] <JymmmEMC> DSL will fit on 128MB so it says
[03:20:31] <jmkasunich> that is about installing DSL on the stick
[03:20:39] <JymmmEMC> correct
[03:20:43] <jmkasunich> I want to install to the hard disk, using the stick to do the initial boot
[03:21:10] <jmkasunich> the Ubuntu mini-iso is designed for exactly that, so that is what I'm gonna try
[03:21:15] <JymmmEMC> it's the only one I know that will fit on 128MB
[03:21:26] <jmkasunich> the Ubuntu mini-iso is <10M
[03:21:44] <jmkasunich> all it is is an installer, it fetches packages from the net
[03:22:16] <JymmmEMC> jmkasunich: when you create the stick you want a persistant install
[03:22:50] <JymmmEMC> then you can edit the scr lists
[03:25:06] <steve_stallings> steve_stallings is now known as steves_logging
[03:30:08] <jmkasunich> wow, the mini CD sure is
[03:30:23] <jmkasunich> 17 files
[03:30:32] <jmkasunich> no directories
[03:34:17] <jmkasunich> well, here goes
[04:56:10] <eric_unterhausen> why would you need a kernel patch for an ethernet driver?
[05:01:35] <eric_unterhausen> there is a patch for dropped packets, doesn't exactly seem to be a crisis
[05:07:44] <JymmmEMC> Well, sinus nix is primarily based upon networking, I would actually suspect so
[05:07:57] <JymmmEMC> Well, sinse nix is primarily based upon networking, I would actually suspect so
[05:08:45] <eric_unterhausen> looks like it just reports the wrong number of dropped packets, I suppose I could go look at that patch
[05:12:30] <eric_unterhausen> the one guy reported a few billion dropped packets within the first 30 seconds of booting
[05:47:31] <jmkasunich> finally!
[05:48:07] <jmkasunich> much farting around, but I finally found a page that told me how to make a USB stick bootable (without skipping any important steps)
[05:48:26] <jmkasunich> got grub on the stick, then booted the "mini install CD", and it is now doing the install from the internet
[05:48:50] <jmkasunich> good page: http://www.mayrhofer.eu.org/Default.aspx?pageindex=6&pageid=45
[05:49:31] <jmkasunich> followed the grub related steps, copied the files from the mini-iso onto the stick, wrote a minimal menu.lst
[05:51:30] <jmkasunich> I think the important step that most of the pages using syslinux missed is "install-mbr"
[05:51:58] <eric_unterhausen> it's always something like that
[05:52:20] <jmkasunich> I bet many sticks already have a suitable MBR
[05:52:33] <jmkasunich> in my case, it must have gotten blown away at some point
[05:53:03] <eric_unterhausen> which distribution?
[05:53:22] <jmkasunich> I'm installing hardy right now
[05:53:25] <eric_unterhausen> ok
[05:53:57] <jmkasunich> the big obstacle wasn't so much the distro, it was making the stick properly bootable
[05:54:18] <eric_unterhausen> understood
[05:54:23] <jmkasunich> since I don't have the mbr package installed (provides install-mbr), I just said screw it and followed the grub instructions on that page
[05:54:39] <jmkasunich> grub is more flexible anyway (and can be used on sticks over 1G, syslinux can't)
[05:54:52] <jmkasunich> in fact, I just realized something
[05:55:23] <jmkasunich> I could make a stick, probably under 64M, that would boot to grub and give a menu: install Hardy, install Dapper, install xxx, etc
[05:55:36] <jmkasunich> it would do the actual install from the repositories
[05:56:07] <jmkasunich> ubuntu has mini.iso's for versions all the way back to dapper
[06:00:29] <eric_unterhausen> I take it this means that latency tests may be a while
[06:28:40] <jmkasunich> eric_unterhausen: definitely not tonight
[06:28:53] <jmkasunich> if I get generic hardy installed tonight I'll be thrilled
[06:29:51] <eric_unterhausen> I wish I could figure out how to clean off enough of my workbench to do an install
[06:38:17] <eric_unterhausen> comcast is wonderful
[06:38:25] <eric_unterhausen> they seem to have killed dns
[06:40:41] <toastydeath> i leave 4.2.2.{1,2,3,4} in my resolv.conf
[06:40:46] <toastydeath> for when comcast dns goes down
[06:40:58] <toastydeath> those are big verizon servers and i've never had them go down on me
[06:41:13] <eric_unterhausen> is that proper syntax?
[06:41:24] <toastydeath> no, i'm just saying those are the valid servers
[06:41:29] <toastydeath> pick any of the four
[06:44:38] <toastydeath> oh i guess it's a level 3 dns server
[06:44:42] <toastydeath> close enough i suppose
[07:45:42] <jmkasunich> heh - after several attempts to netinstall from the ubuntu servers (missed a package or two each time, doesn't recover well), I realized that I could have my main box serve the files from the iso
[07:45:52] <jmkasunich> fast package downloading ;-)
[07:46:30] <eric_unterhausen> I was wondering about that, but I thought you didn't have working optical drives
[07:46:53] <jmkasunich> I don't
[07:47:00] <jmkasunich> the iso's are on my hard disk
[07:47:12] <jmkasunich> mount an iso thru loopback device, it becomes a tree
[07:47:24] <jmkasunich> symlink that to var/www, and it appears on my webserver
[07:47:28] <eric_unterhausen> ok, they probably are on my drives too, didnt' think about that
[07:47:29] <jmkasunich> point the installer at my webserver
[07:48:45] <jmkasunich> there are docs inside the iso that tell you how to do it
[07:48:46] <eric_unterhausen> do you use dynamic dns?
[07:48:58] <jmkasunich> yeah, but that's irrelevant on my local network
[07:49:18] <jmkasunich> I just gave it the 192.168.1.... address of the server box
[07:52:48] <jmkasunich> the docs on the CD also pointed out the mbr problem that I had to figure out the hard way
[07:55:36] <eric_unterhausen> I use loopback mounting fairly frequently, have to look it up each time though
[07:55:52] <jmkasunich> fortunately the docs give an exact command line
[07:55:58] <jmkasunich> I've never really used it before today
[07:59:26] <eric_unterhausen> I installed Matlab on a batch of computers at work, far easier to use loopback than to go touch each machine. They finally wised up a while back and got a site license
[08:02:12] <jmkasunich> I think I shouldn't have checked "desktop"
[08:02:20] <jmkasunich> this is gonna take a while
[08:02:33] <eric_unterhausen> yeah, and you can't do development
[08:02:52] <jmkasunich> I can always do development - just add more packages
[08:02:59] <jmkasunich> build-essential and friends
[08:04:10] <eric_unterhausen> what are the friends, I still need to set this machine up
[08:04:48] <jmkasunich> if you add the emc2 repository to your sources list, I think its something like emc2-build-dep (or something)
[08:05:01] <jmkasunich> the details are on the wiki, not sure exactly where at the moment
[08:05:16] <eric_unterhausen> that's a good idea, dunno why I didn't think of it
[08:05:38] <eric_unterhausen> on fedora I would just yum install kdevelop and almost everything gets installed
[08:05:51] <eric_unterhausen> oh, and kernel-devel
[08:05:55] <jmkasunich> kdevelop is a gui IDE?
[08:05:59] <eric_unterhausen> yes
[08:06:15] <jmkasunich> I'm sure there are similar things on ubuntu, that would drag in the compiler and all that
[08:06:25] <jmkasunich> build-essential gets you gcc, make, libs, headers, etc
[08:06:33] <jmkasunich> but not everything that you need for emc
[08:07:18] <eric_unterhausen> It appears I finally figured out what installs kdevelop, build-essentials just installed more though
[08:07:55] <jmkasunich> I have no idea why I'm still awake (3am) - I'm gonna let this install finish while I sleep
[08:07:57] <jmkasunich> goodnight
[08:08:02] <eric_unterhausen> goodnight
[08:08:27] <jmkasunich> I need to remember what I did and document it - I didn't exactly do what the docs say, I sort of mixed and matched
[08:08:34] <jmkasunich> boot from USB, get packages from network
[08:08:58] <jmkasunich> they tell you how to boot from USB with the iso on the stick, or to boot from the net with the packages on the net
[08:09:25] <jmkasunich> hopefully I'll remember tomorrow
[08:09:27] <jmkasunich> zzzzzzzzzzzzzzzzzzzzzz
[10:32:45] <_Poincare> _Poincare is now known as Poincare
[13:46:30] <Mark_FAPS> hi all
[13:46:56] <BigJohnT> hi
[13:48:51] <Mark_FAPS> hell, I've got a little problem compiling a kinematics c-file, and hoped someone could point me to the right dirktion
[13:49:17] <Mark_FAPS> ok, sorry for my typing mistakes
[13:49:42] <micges> no problem, just ask
[13:49:53] <BigJohnT> that would not be me :)
[13:51:59] <Mark_FAPS> wenn I try to compiel it with the "comp --compile" I get following errors in every line with a hal component:
[13:51:59] <Mark_FAPS> for example: ´╗┐WARNING: "hal_init" [/tmp/tmphEpelY/tripodkinsfaps.ko] undefined!
[13:52:46] <Mark_FAPS> I haven't done much with c exept microcontrollers so any help would be apreciated
[13:53:51] <micges> can you paste your kins at www.pastebin.ca ?
[13:54:09] <SWPadnos> does the tripodkinsfaps.ko get created?
[13:54:45] <SWPadnos> there are some places where you get XXX undefined, because those symbols get resolved when the module gets loaded into the kernel
[13:55:23] <Mark_FAPS> the ko file gets created but I can't load it in halrun
[13:55:38] <Mark_FAPS> @micgres anywhere on that site in particular?
[13:56:01] <SWPadnos> kinematics modules are harder to load with halrun. I think you may need to load motion first
[13:57:27] <Mark_FAPS> ok thanks, I didn#t kno that, I just thought I could load a kinematics moule just like that, because the ones that come with emc2 I was able to load just like that
[13:57:44] <SWPadnos> oh. well I could be wrong :)
[13:57:58] <micges> SWPadnos: trivkins can be load
[13:59:26] <micges> Mark_FAPS: paste your source in main window and click submit pos
[13:59:27] <micges> t
[13:59:35] <Mark_FAPS> ok
[14:00:34] <micges> and then paste here link you will have
[14:02:05] <Mark_FAPS> I took an existing kinematics module and replaced the inverse and forward funktion, its probably not quite finished yet http://www.pastebin.ca/1318559
[14:07:08] <micges> Mark_FAPS: what ubuntu version you have ?
[14:07:42] <micges> on my 6.06 it is compile with warning but ok
[14:09:10] <Mark_FAPS> the one from the newest live-cd, updated, and with emc2dev package installed, thank you for trying to compile, I was afraid that it was maybe my install
[14:09:36] <Mark_FAPS> my version is 8.04
[14:09:53] <micges> what are you typing to compile your kins ?
[14:10:17] <Mark_FAPS> sorry I don't quite understand...?
[14:10:26] <Mark_FAPS> ahh now I get it
[14:10:44] <micges> what command you are typing
[14:10:57] <Mark_FAPS> I type comp --compile tripodkinsfaps.c
[14:11:19] <SWPadnos> on my 8.04 machine, I can compile fine in simulator mode, but I get some errors doing a realtime compile
[14:11:25] <SWPadnos> not the same errors you got though
[14:11:38] <Mark_FAPS> ooh
[14:11:47] <micges> after that type 'comp --install tripodkinsfaps.c'
[14:11:55] <micges> and the try to load kinematics
[14:12:16] <SWPadnos> sudo comp --install ...
[14:12:24] <Mark_FAPS> yes thats what I did .. I will give you th error codes
[14:12:47] <micges> oh sudo yes, I forgot
[14:13:15] <Mark_FAPS> emc2
[14:13:24] <Mark_FAPS> woops wrong window
[14:14:26] <Mark_FAPS> when I try to load the module with loadrt I get:
[14:14:26] <Mark_FAPS> <stdin>:0: child did not exit normally
[14:14:26] <Mark_FAPS> <stdin>:0: insmod failed, returned -1
[14:14:52] <Mark_FAPS> then I cant unload it without shuting down halrun completely
[14:15:27] <Mark_FAPS> btw I get the same compile errors with other c files from the cvs scource, do you think its my ubuntu to blame?
[14:16:05] <micges> I can't test that I don't have 8.04 :(
[14:17:04] <Mark_FAPS> no problem thanks for your help, what is better to install form the emc live-cd or to compile from scource in an normal ubuntu install?
[14:18:56] <Mark_FAPS> oh bugger I just saw the time, I have to leave from work now, I will join again on wednesday
[14:18:59] <Mark_FAPS> bb all
[14:28:21] <stustev> jepler: thanks for the help - I have gdb running now - it was easy - the hardest part is realizing the atan2 is radians not degrees
[14:28:42] <cradek> good morning
[14:28:45] <stustev> I spent a couple days trying to figure out why the variable was not correct
[14:28:50] <stustev> good morning cradek:
[14:29:25] <cradek> units problems always stink
[14:29:46] <alex_joni> and standardisation usually makes the complete mess of things
[14:29:58] <alex_joni> stustev: did figuring out the units issue make it work?
[14:30:03] <stustev> yes - if finally hit me - i calculated the degree value from the value in the variable and the result was exactly what I wanted
[14:30:24] <stustev> not complete yet - this was just the very first variable
[14:30:29] <stustev> progress is being made
[14:30:36] <cradek> that's good
[14:31:04] <stustev> yes - my first two variables are correct now
[14:31:05] <cradek> it's good to learn to use gdb. many people never take the time to learn it, and they are missing out
[14:31:24] <stustev> they were correct all along - I just didn't understand
[14:31:53] <stustev> gdb is isn't as nice as NCL but then ... I have used NCL for twenty years :)
[14:32:26] <cradek> funny how that can color one's opinions
[14:32:39] <stustev> knowledge is a funny thing
[14:34:01] <cradek> does your cam output ever have g41/g42 in it so you can use the tool table to compensate for a regrind (like -.005 diameter) ?
[14:34:10] <SWPadnos> there are graphical frontends to gdb which may make it more accessible to you
[14:34:28] <stustev> cradek: was that question for me?
[14:34:30] <cradek> yes
[14:34:38] <stustev> yes - all the time
[14:34:53] <stustev> not every program but we use cutter comp a lot
[14:35:17] <cradek> stustev: it would be great if you could try that out with my new cutter comp in trunk.
[14:35:32] <cradek> one of my main goals is to allow that kind of usage
[14:35:47] <stustev> I will update the dahlih.
[14:36:30] <cradek> well I meant in simulation...
[14:36:42] <cradek> it's still very new
[14:36:48] <jepler> stustev: glad I could help
[14:36:49] <jepler> bbl
[14:36:50] <stustev> will do
[14:37:49] <stustev> jepler: the information worked very well - the operator has problems :) - it is the ID 10 T syndrome - the connection between the seat and the keyboard :)
[14:39:35] <stustev> cradek: the box with gdb is trunk sim. I will try a program.
[14:39:50] <stustev> bbl
[14:40:26] <cradek> thanks!
[16:20:36] <piasdom> g'mornin all
[16:38:32] <eric_unterhause1> super free shipping at MSC
[16:39:24] <SWPadnos> time to order that big surface plate
[16:41:32] <eric_unterhause1> I think they meant it includes things down to $25, but maybe the surface plate too
[16:54:18] <skunkworks_> $10 dollars a seat per year seems pretty cheap for virus software (renew).
[16:54:47] <skunkworks_> *antivirus
[17:01:22] <cradek> eric_unterhause1: what do I do to get the free shipping?
[18:02:06] <alex_joni> skunkworks_: I think you can get free seats for virus software subscriptions
[18:20:53] <skunkworks_> this is for a business.. Can't really use free ones. :)
[18:48:34] <alex_joni> skunkworks_: I did mean free virus subscriptions :P
[18:48:45] <alex_joni> for antivirus I use avg, and am quite happy with them
[18:55:09] <skunkworks_> same here.
[18:55:25] <skunkworks_> I use it for home and work here. \
[19:06:20] <motioncontrol> yes i stay
[19:08:19] <motioncontrol> i have order another m5i20 card for connection 2 5i20 card in one pc.when arrived i prove the dual configuration
[19:51:11] <stustev> some of my variables do not show up in gdb and some show 'optimized out of existence'
[19:51:38] <stustev> is there a command for configure or make to not optimize?
[19:51:46] <cradek> yeah the compiler is tricky. for the happiest debugging session, compile with no optimization
[19:51:46] <SWPadnos> -O0
[19:51:58] <SWPadnos> (that's capital 'o' zero)
[19:52:08] <stustev> my question is answered ;)
[19:52:24] <stustev> thanks guys
[19:52:27] <stustev> bbl
[19:52:58] <alex_joni> (the won't bite you when you'll write more optimized code ;)
[19:53:05] <alex_joni> e.g. unreadable
[19:58:06] <stustev> I don't see -O0 for either configure or make
[19:58:28] <cradek> you have to get it onto the compiler command line. how are you compiling your kins?
[19:58:49] <stustev> make
[19:59:01] <cradek> so inside the emc source tree
[19:59:05] <stustev> yes
[19:59:15] <cradek> check Makefile in the toplevel directory and find all -Os and change them to -O0
[19:59:29] <cradek> but, be careful to only do this on your simulator machine
[20:00:07] <stustev> thanks - bbl - I have a separate directory for this (and it is a box on my desk for this only)
[20:14:42] <stustev> there are 4 -O 's in the Makefile - I change all four - no good - I changed one at a time - the second was is the one to change - looks good - thanks
[20:15:10] <SWPadnos> you're building sim, right?
[20:15:22] <SWPadnos> you can't build kernel modules at less than O2 I believe
[20:15:33] <alex_joni> SWPadnos: gdb
[20:15:42] <SWPadnos> yes, I know
[20:15:50] <alex_joni> it doesn't work on kernel modules
[20:16:00] <SWPadnos> I'm just wondering why O0 wouldn't work for a userspace-only build
[20:16:36] <cradek> I routinely change everything to -O0 and it's fine (sim)
[20:16:59] <SWPadnos> I wonder what "no good" means then :)
[20:17:05] <alex_joni> maybe stustev didn't touch the file to get recompiled ?
[20:17:05] <SWPadnos> maybe make clean / make was needed
[20:17:18] <cradek> right, make clean would have been needed
[20:39:18] <stustev> this is sim - I touched the file - no good meant the compile didn't complete - I didn't report errors as I have it working
[20:40:27] <stustev> the first error was a copy error - the -O in the objcopy line didn't work with -O0
[20:41:14] <stustev> the second try (my first compile after changing only one thing) compiled and ran but there was no change in gdb
[20:42:07] <stustev> the third try (changing the second -O to -O0 and the first -O back to -O from -O0) worked - gdb shows all the variables like I want
[22:34:09] <alex_joni> good night all
[22:34:43] <skunkworks> night alex
[23:34:31] <ds3> any suggestions as to what's a good way to provide a temperature input so EMC can generate a PWM signal to act as a thermostat?
[23:50:16] <dmess> thermocouple and an a to d converter of some sort
[23:51:07] <ds3> was looking more for recommendations on the type of A to D... I2C, SPI, parallel (!) or maybe some hack on the game port
[23:56:07] <dmess> can probably be done with a HAL component of some sort and paraleel port input