Re: [Emc-users] Copying an installation

2016-05-29 Thread dannym
OK, tried it with a $7 TRENDnet 10/100 card, deleted 70-persistent-net.rules, 
rebooted, and it works!

dmesg says:
[1.727414] 8139too :03:06.0: eth0: RealTek RTL8139 at 0x5000, 
00:14:d1:2e:fc:90, IRQ 10
[1.835906] tg3 :03:08.0: eth1: Tigon3 [partno(BCM95788) rev 3003] 
(PCI:33MHz:32-bit) MAC address 00:16:17:ad:3f:ea
[1.835914] tg3 :03:08.0: eth1: attached PHY is 5705 (10/100/1000Base-T 
Ethernet) (WireSpeed[0], EEE[0])
[1.835918] tg3 :03:08.0: eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] 
TSOcap[1]
[1.835923] tg3 :03:08.0: eth1: dma_rwctrl[763f] dma_mask[32-bit]
[   12.842836] 8139too :03:06.0: eth0: link up, 100Mbps, full-duplex, lpa 
0x45E1

It looks like the new card is a RealTek chip and somehow grabbed eth0, which is 
fine.  I recognize the eth1 as the OB stuff.

Servo Thread 1ms Max Jitter it 57,000 ns
Base Thread 25us Max Jitter was 47,000ns, but I don't think I even have 
anything using Base Thread.

Danny

 "Peter C. Wallace" <p...@mesanet.com> wrote: 
> On Sat, 28 May 2016, dan...@austin.rr.com wrote:
> 
> > Date: Sat, 28 May 2016 20:58:59 +
> > From: dan...@austin.rr.com
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > <emc-users@lists.sourceforge.net>
> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> > Subject: Re: [Emc-users] Copying an installation
> > 
> > Hmm, well, interesting, the LEDs are flashing wildly in a 
> >pseudorandomish-looking pattern.  They're all flickering independently, not 
> >all on/all off.  The 4th one (furthest from the ethernet port), that one 
> >looks like it's flickering off VERY briefly then back on once every 2 sec.
> >
> >"setp hm2_7i92.0.led.CR01 TRUE" in the Show HAL Configuration window for all 
> >the CR0x changes nothing, nor does setting FALSE.  They're flickering 
> >unchanged.
> >
> >When I quit LinuxCNC, the LED nearest the ethernet port goes off, the other 
> >3 
> >are solid-on. 
> >
> >Show HAL Configuration->Threads->servo-thread:
> >1  hm2_7i92.0.read
> >10 hm2_7i92.0.write
> >
> >So those are there.
> >
> >Danny
> 
> 
> Default user EEPROM settings make the user LEDs point to RXPKTCount so they 
> are just an activity indicator (this can be changed to HM2 LEDs by writing 0 
> to the LEDMode register in the setup EEPROM)
> 
> if they look ragged though that does suggest communication problems as they 
> should be counting up at a average 3 KHz rate (at 1 KHz servo thread) so the 
> slowest LED should be flickering at around 190 Hz (3 KHz / 16)
> 
> I would try another PC or at leas another NIC (Intel and Realtek are known to 
> work well for real time, Broadcom and Atheros, not so much)
> 
> 
> Peter Wallace
> 
> Mesa Electronics
> 
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity 
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-28 Thread Peter C. Wallace
On Sat, 28 May 2016, dan...@austin.rr.com wrote:

> Date: Sat, 28 May 2016 20:58:59 +
> From: dan...@austin.rr.com
> Reply-To: "Enhanced Machine Controller (EMC)"
> <emc-users@lists.sourceforge.net>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: Re: [Emc-users] Copying an installation
> 
> Hmm, well, interesting, the LEDs are flashing wildly in a 
>pseudorandomish-looking pattern.  They're all flickering independently, not 
>all on/all off.  The 4th one (furthest from the ethernet port), that one 
>looks like it's flickering off VERY briefly then back on once every 2 sec.
>
>"setp hm2_7i92.0.led.CR01 TRUE" in the Show HAL Configuration window for all 
>the CR0x changes nothing, nor does setting FALSE.  They're flickering 
>unchanged.
>
>When I quit LinuxCNC, the LED nearest the ethernet port goes off, the other 3 
>are solid-on. 
>
>Show HAL Configuration->Threads->servo-thread:
>1  hm2_7i92.0.read
>10 hm2_7i92.0.write
>
>So those are there.
>
>Danny


Default user EEPROM settings make the user LEDs point to RXPKTCount so they 
are just an activity indicator (this can be changed to HM2 LEDs by writing 0 
to the LEDMode register in the setup EEPROM)

if they look ragged though that does suggest communication problems as they 
should be counting up at a average 3 KHz rate (at 1 KHz servo thread) so the 
slowest LED should be flickering at around 190 Hz (3 KHz / 16)

I would try another PC or at leas another NIC (Intel and Realtek are known to 
work well for real time, Broadcom and Atheros, not so much)


Peter Wallace

Mesa Electronics

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-28 Thread dannym
Hmm, well, interesting, the LEDs are flashing wildly in a 
pseudorandomish-looking pattern.  They're all flickering independently, not all 
on/all off.  The 4th one (furthest from the ethernet port), that one looks like 
it's flickering off VERY briefly then back on once every 2 sec.

"setp hm2_7i92.0.led.CR01 TRUE" in the Show HAL Configuration window for all 
the CR0x changes nothing, nor does setting FALSE.  They're flickering unchanged.

When I quit LinuxCNC, the LED nearest the ethernet port goes off, the other 3 
are solid-on.  

Show HAL Configuration->Threads->servo-thread:
1  hm2_7i92.0.read
10 hm2_7i92.0.write

So those are there.

Danny


 andy pugh  wrote: 
> On 28 May 2016 at 05:52, Danny Miller  wrote:
> No, no LinuxCNC axis moves.  If I expand FERROR way out, the display
> says it's moving like 0.5" before erroring- but the physical axis never
> moves.

One way to check if you have Hostmot2 communication would be to try to
light the LEDs on the 7i92 board.
halcmd setp hm2_7i92.0.CR01 1

This situation sounds a lot like what you might get if the hm2_7i92
read/write functions were not added to a thread.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-28 Thread andy pugh
On 28 May 2016 at 05:52, Danny Miller  wrote:
> No, no LinuxCNC axis moves.  If I expand FERROR way out, the display
> says it's moving like 0.5" before erroring- but the physical axis never
> moves.

One way to check if you have Hostmot2 communication would be to try to
light the LEDs on the 7i92 board.
halcmd setp hm2_7i92.0.CR01 1

This situation sounds a lot like what you might get if the hm2_7i92
read/write functions were not added to a thread.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-27 Thread Danny Miller
 grep ' ifname ' /var/log/dmesg to see
>>>> what it did call it, you should get something that resembles this:
>>>>
>>>> gene@coyote:~$ grep ' ifname ' /var/log/dmesg
>>>> [1.401462] forcedeth :00:08.0: ifname eth0, PHY OUI 0x5043
>>>> @ 1, addr 00:1f:c6:62:fc:bb
>>>> [1.929064] forcedeth :00:09.0: ifname eth1, PHY OUI 0x5043
>>>> @ 1, addr 00:1f:c6:63:07:97
>>>> (word wrapped, darn it, what you want is the string after the
>>>> first ifname. in this example eth0)
>>>>
>>>> then use an editor as root to look at the
>>>> /etc/networking/interfaces file, and rename the stanza for eth0 to
>>>> whatever the system found and named it to in the /var/log/dmesg
>>>> file.
>>>>
>>>> You should at that point be able to do a "sudu service restart
>>>> networking" and have the ability to "ping -C2 yahoo.com" and get a
>>>> 2 normal ping responses from yahoo.com which indicates that
>>>> networking is now working.
>>>>
>>>>> It is an AMD64 though, and the installation was an i686.
>>>> A non-issue AFAIK.
>>>>
>>>>> Danny
>>>>>
>>>>>  "Peter C. Wallace" <p...@mesanet.com> wrote:
>>>>>> On Fri, 27 May 2016, Danny Miller wrote:
>>>>>>> Date: Fri, 27 May 2016 00:11:08 -0500
>>>>>>> From: Danny Miller <dan...@austin.rr.com>
>>>>>>> Reply-To: "Enhanced Machine Controller (EMC)"
>>>>>>>  <emc-users@lists.sourceforge.net>
>>>>>>> To: emc-users@lists.sourceforge.net
>>>>>>> Subject: Re: [Emc-users] Copying an installation
>>>>>>>
>>>>>>> I do recall we went through much more than expected just
>>>>>>> getting all that installed.  And I don't have a complete
>>>>>>> list of all that was done.
>>>>>>>
>>>>>>> I did poke around again on this machine.
>>>>>>>
>>>>>>> Mesaflash says the card's there at 10.10.10.10.
>>>>>>>
>>>>>>> After launching LinuxCNC, the VFD does respond to commands
>>>>>>> just fine.
>>>>>>>
>>>>>>> I experimented with the FERROR value- it'll allow the
>>>>>>> coordinates to change significantly before throwing an
>>>>>>> error, but the axes will never move regardless.  The 7i92
>>>>>>> won't put out steps at all. I don't have any enable line on
>>>>>>> it.
>>>>>>>
>>>>>>> Danny
>>>>>> Did you try swapping hard drives as someone suggested, in case
>>>>>> something was forgotten when moving?
>>>>>>
>>>>>> (when linux using generic kernels its much easier to just swap
>>>>>> hard drives than moving a setup to a new machine)
>>>>>>
>>>>>>> On 5/22/2016 6:27 PM, andy pugh wrote:
>>>>>>>> On 22 May 2016 at 19:51, Danny Miller
>>>>>>>> <dan...@austin.rr.com>
>>>> wrote:
>>>>>>>>> Any advice, folks?  I've gotta move off that Dell machine
>>>>>>>>> ASAP and really want to avoid a whole reinstall.
>>>>>>>> I would suggest a complete reinstall of the OS and
>>>>>>>> LinuxCNC, but keep the same config files. The LinuxCNC
>>>>>>>> config files should be entirely portable.
>>>>>>> 
>>>>>>> --  What NetFlow Analyzer can do for you?
>>>>>>> Monitors network bandwidth and traffic patterns at an
>>>>>>> interface-level. Reveals which users, apps, and protocols
>>>>>>> are consuming the most bandwidth. Provides multi-vendor
>>>>>>> support for NetFlow, J-Flow, sFlow and other flows. Make
>>>>>>> informed decisions using capacity planning reports.
>>>>>>> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>>>>>>> ___
>>>>>>> Emc-users mailing list
>>>>>>> Emc-users@lists.sourceforge.net
>>>>>>> https://lis

Re: [Emc-users] Copying an installation

2016-05-27 Thread Gene Heskett
> > >
> > > You should at that point be able to do a "sudu service restart
> > > networking" and have the ability to "ping -C2 yahoo.com" and get a
> > > 2 normal ping responses from yahoo.com which indicates that
> > > networking is now working.
> > >
> > > > It is an AMD64 though, and the installation was an i686.
> > >
> > > A non-issue AFAIK.
> > >
> > > > Danny
> > > >
> > > >  "Peter C. Wallace" <p...@mesanet.com> wrote:
> > > > > On Fri, 27 May 2016, Danny Miller wrote:
> > > > > > Date: Fri, 27 May 2016 00:11:08 -0500
> > > > > > From: Danny Miller <dan...@austin.rr.com>
> > > > > > Reply-To: "Enhanced Machine Controller (EMC)"
> > > > > > <emc-users@lists.sourceforge.net>
> > > > > > To: emc-users@lists.sourceforge.net
> > > > > > Subject: Re: [Emc-users] Copying an installation
> > > > > >
> > > > > > I do recall we went through much more than expected just
> > > > > > getting all that installed.  And I don't have a complete
> > > > > > list of all that was done.
> > > > > >
> > > > > > I did poke around again on this machine.
> > > > > >
> > > > > > Mesaflash says the card's there at 10.10.10.10.
> > > > > >
> > > > > > After launching LinuxCNC, the VFD does respond to commands
> > > > > > just fine.
> > > > > >
> > > > > > I experimented with the FERROR value- it'll allow the
> > > > > > coordinates to change significantly before throwing an
> > > > > > error, but the axes will never move regardless.  The 7i92
> > > > > > won't put out steps at all. I don't have any enable line on
> > > > > > it.
> > > > > >
> > > > > > Danny
> > > > >
> > > > > Did you try swapping hard drives as someone suggested, in case
> > > > > something was forgotten when moving?
> > > > >
> > > > > (when linux using generic kernels its much easier to just swap
> > > > > hard drives than moving a setup to a new machine)
> > > > >
> > > > > > On 5/22/2016 6:27 PM, andy pugh wrote:
> > > > > >> On 22 May 2016 at 19:51, Danny Miller
> > > > > >> <dan...@austin.rr.com>
> > >
> > > wrote:
> > > > > >>> Any advice, folks?  I've gotta move off that Dell machine
> > > > > >>> ASAP and really want to avoid a whole reinstall.
> > > > > >>
> > > > > >> I would suggest a complete reinstall of the OS and
> > > > > >> LinuxCNC, but keep the same config files. The LinuxCNC
> > > > > >> config files should be entirely portable.
> > > > > >
> > > > > > 
> > > > > >--  What NetFlow Analyzer can do for you?
> > > > > > Monitors network bandwidth and traffic patterns at an
> > > > > > interface-level. Reveals which users, apps, and protocols
> > > > > > are consuming the most bandwidth. Provides multi-vendor
> > > > > > support for NetFlow, J-Flow, sFlow and other flows. Make
> > > > > > informed decisions using capacity planning reports.
> > > > > > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> > > > > > ___
> > > > > > Emc-users mailing list
> > > > > > Emc-users@lists.sourceforge.net
> > > > > > https://lists.sourceforge.net/lists/listinfo/emc-users
> > > > >
> > > > > Peter Wallace
> > > > > Mesa Electronics
> > > > >
> > > > > (\__/)
> > > > > (='.'=) This is Bunny. Copy and paste bunny into your
> > > > > (")_(") signature to help him gain world domination.
> > > > >
> > > > >
> > > > > --
> > > > >-- -- What NetFlow Analyzer can do for you?
> > > > > Monitors network bandwidth and traffic patterns at an
> > > > > interface-level. Reveals which us

Re: [Emc-users] Copying an installation

2016-05-27 Thread Gene Heskett
On Friday 27 May 2016 22:53:49 dan...@austin.rr.com wrote:

> Alrighty!
>
> OK, found and renamed that .rules to a .rules.bak file and rebooted.
>
> Can't see the 7i92 now.  Mesaflash --device 7i92 --addr 10.10.10.10
> gives "not found".
>
This is nor related to the lack of networking, no connection at all.

> dmesg has no "ifname" in it at all.

"ifname" isn't what I sent, ' ifname ' which explicitly includes the 
leading and trailing spaces.
>
> It does have:
> [1.820851] tg3 :03:08.0: eth0: Tigon3 [partno(BCM95788) rev
> 3003] (PCI:33MHz:32-bit) MAC address 00:16:17:ad:3f:ea [1.820858]
> tg3 :03:08.0: eth0: attached PHY is 5705 (10/100/1000Base-T
> Ethernet) (WireSpeed[0], EEE[0]) [1.820862] tg3 :03:08.0:
> eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1] [   
> 1.820866] tg3 :03:08.0: eth0: dma_rwctrl[763f]
> dma_mask[32-bit]

This does show at least a match, and that it appears to have found and 
loaded what it thinks is the correct driver.  OTOH, it also says its a 
Broadcom 95788, and my data is apparently outdated as I wasn't aware 
they were making wired ethernet stuff.  When I hear Broadcom, I 
automatically think radios, as in wireless, and in my experince, 
troublesome. My bad I expect, time marches on.  

Now I think we need to see your /etc/networking/interfaces file, the 
whole thing.  You might want to replace the ip addresses with xx's but 
don't change anything else please.

> Danny
>
>  Gene Heskett <ghesk...@shentel.net> wrote:
> > On Friday 27 May 2016 12:54:22 dan...@austin.rr.com wrote:
> >
> > I've sent this message 3 times now.  What black hole is gobbling it
> > up?
> >
> > > It's a direct dd copy of the drive.  If that wasn't complete, a
> > > lot more would be broken.
> > >
> > > I would not dismantle the (mostly) working system like that. 
> > > There's a risk of something getting stored wrong on the working
> > > drive while it's on the new machine, and I don't see anything to
> > > prove by moving it.
> > >
> > > 99.9% sure it's just something different about the ethernet driver
> > > on the new motherboard.  Something small.  No idea how to fix it,
> > > though.
> >
> > See my reply to Peter, delete
> > /etc/udev/rules.d/70-persistent-net.rules and reboot.  It will be
> > rebuilt to match the ethernet hardware in finds as it reboots, and
> > networking will likely be restored.
> >
> > If not, delete it again, grep ' ifname ' /var/log/dmesg to see what
> > it did call it, you should get something that resembles this:
> >
> > gene@coyote:~$ grep ' ifname ' /var/log/dmesg
> > [1.401462] forcedeth :00:08.0: ifname eth0, PHY OUI 0x5043 @
> > 1, addr 00:1f:c6:62:fc:bb
> > [1.929064] forcedeth :00:09.0: ifname eth1, PHY OUI 0x5043 @
> > 1, addr 00:1f:c6:63:07:97
> > (word wrapped, darn it, what you want is the string after the first
> > ifname. in this example eth0)
> >
> > then use an editor as root to look at the /etc/networking/interfaces
> > file, and rename the stanza for eth0 to whatever the system found
> > and named it to in the /var/log/dmesg file.
> >
> > You should at that point be able to do a "sudu service restart
> > networking" and have the ability to "ping -C2 yahoo.com" and get a 2
> > normal ping responses from yahoo.com which indicates that networking
> > is now working.
> >
> > > It is an AMD64 though, and the installation was an i686.
> >
> > A non-issue AFAIK.
> >
> > > Danny
> > >
> > >  "Peter C. Wallace" <p...@mesanet.com> wrote:
> > > > On Fri, 27 May 2016, Danny Miller wrote:
> > > > > Date: Fri, 27 May 2016 00:11:08 -0500
> > > > > From: Danny Miller <dan...@austin.rr.com>
> > > > > Reply-To: "Enhanced Machine Controller (EMC)"
> > > > > <emc-users@lists.sourceforge.net>
> > > > > To: emc-users@lists.sourceforge.net
> > > > > Subject: Re: [Emc-users] Copying an installation
> > > > >
> > > > > I do recall we went through much more than expected just
> > > > > getting all that installed.  And I don't have a complete list
> > > > > of all that was done.
> > > > >
> > > > > I did poke around again on this machine.
> > > > >
> > > > > Mesaflash says the card's there at 10.10.10.10.
> > > > >
> > > > > After launching LinuxCNC, the VFD does respon

Re: [Emc-users] Copying an installation

2016-05-27 Thread Peter C. Wallace
On Sat, 28 May 2016, dan...@austin.rr.com wrote:

> Date: Sat, 28 May 2016 3:30:23 +
> From: dan...@austin.rr.com
> Reply-To: "Enhanced Machine Controller (EMC)"
> <emc-users@lists.sourceforge.net>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: Re: [Emc-users] Copying an installation
> 
> OK the interfaces file is:
> # The loopback network interface
> auto lo
> iface lo inet loopback
> auto eth1
> iface eth1 inet static
>address 10.10.10.1
>
> BTW that dmesg gave that from grepping "eth" alone.  There is no eth1 there, 
> only eth0.
>
> So I changed "eth1" to "eth0" in interfaces and "sudo service networking 
> restart".
>
> Now I asked mesaflash and got:
> ETH device 7I92 at ip=10.10.10.10
>
> So, GREAT, ran LinuxCNC, but got the same following error upon axis motion.
>
> Rebooted.  LinuxCNC still gives the same following error.
>
> Now dmesg has:
> [1.837260] tg3 :03:08.0: eth0: Tigon3 [partno(BCM95788) rev 3003] 
> (PCI:33MHz:32-bit) MAC address 00:16:17:ad:3f:ea
> [1.837266] tg3 :03:08.0: eth0: attached PHY is 5705 
> (10/100/1000Base-T Ethernet) (WireSpeed[0], EEE[0])
> [1.837271] tg3 :03:08.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] 
> ASF[0] TSOcap[1]
> [1.837275] tg3 :03:08.0: eth0: dma_rwctrl[763f] dma_mask[32-bit]
> [   12.808639] ADDRCONF(NETDEV_UP): eth0: link is not ready
>
> But again, mesaflash says it's there at 10.10.10.10.  And if you try to start 
> LinuxCNC without the 7i92 powered up, it won't let you start LinuxCNC, not 
> wait to move an axis.
>
> Danny


Sounds like theres a problem with that Ethernet interface, either its faulty 
or has some real time issues (I would expect Broadcom and Atheros to be 
problematic)

I would try pinging the 7I92 to see if you ever get long delays or packet 
drops


>
>
>  dan...@austin.rr.com wrote:
>> Alrighty!
>>
>> OK, found and renamed that .rules to a .rules.bak file and rebooted.
>>
>> Can't see the 7i92 now.  Mesaflash --device 7i92 --addr 10.10.10.10 gives 
>> "not found".
>>
>> dmesg has no "ifname" in it at all.
>>
>> It does have:
>> [1.820851] tg3 :03:08.0: eth0: Tigon3 [partno(BCM95788) rev 3003] 
>> (PCI:33MHz:32-bit) MAC address 00:16:17:ad:3f:ea
>> [1.820858] tg3 :03:08.0: eth0: attached PHY is 5705 
>> (10/100/1000Base-T Ethernet) (WireSpeed[0], EEE[0])
>> [1.820862] tg3 :03:08.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] 
>> ASF[0] TSOcap[1]
>> [1.820866] tg3 :03:08.0: eth0: dma_rwctrl[763f] dma_mask[32-bit]
>>
>> Danny
>>
>>
>>  Gene Heskett <ghesk...@shentel.net> wrote:
>>> On Friday 27 May 2016 12:54:22 dan...@austin.rr.com wrote:
>>>
>>> I've sent this message 3 times now.  What black hole is gobbling it up?
>>>
>>>> It's a direct dd copy of the drive.  If that wasn't complete, a lot
>>>> more would be broken.
>>>>
>>>> I would not dismantle the (mostly) working system like that.  There's
>>>> a risk of something getting stored wrong on the working drive while
>>>> it's on the new machine, and I don't see anything to prove by moving
>>>> it.
>>>>
>>>> 99.9% sure it's just something different about the ethernet driver on
>>>> the new motherboard.  Something small.  No idea how to fix it, though.
>>>
>>> See my reply to Peter, delete /etc/udev/rules.d/70-persistent-net.rules
>>> and reboot.  It will be rebuilt to match the ethernet hardware in finds
>>> as it reboots, and networking will likely be restored.
>>>
>>> If not, delete it again, grep ' ifname ' /var/log/dmesg to see what it
>>> did call it, you should get something that resembles this:
>>>
>>> gene@coyote:~$ grep ' ifname ' /var/log/dmesg
>>> [1.401462] forcedeth :00:08.0: ifname eth0, PHY OUI 0x5043 @ 1,
>>> addr 00:1f:c6:62:fc:bb
>>> [1.929064] forcedeth :00:09.0: ifname eth1, PHY OUI 0x5043 @ 1,
>>> addr 00:1f:c6:63:07:97
>>> (word wrapped, darn it, what you want is the string after the first
>>> ifname. in this example eth0)
>>>
>>> then use an editor as root to look at the /etc/networking/interfaces
>>> file, and rename the stanza for eth0 to whatever the system found and
>>> named it to in the /var/log/dmesg file.
>>>
>>> You should at that point be able to do a "sudu service restart
>>> networking" an

Re: [Emc-users] Copying an installation

2016-05-27 Thread dannym
OK the interfaces file is:
# The loopback network interface
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
address 10.10.10.1

BTW that dmesg gave that from grepping "eth" alone.  There is no eth1 there, 
only eth0.

So I changed "eth1" to "eth0" in interfaces and "sudo service networking 
restart".

Now I asked mesaflash and got:
ETH device 7I92 at ip=10.10.10.10

So, GREAT, ran LinuxCNC, but got the same following error upon axis motion.

Rebooted.  LinuxCNC still gives the same following error.

Now dmesg has:
[1.837260] tg3 :03:08.0: eth0: Tigon3 [partno(BCM95788) rev 3003] 
(PCI:33MHz:32-bit) MAC address 00:16:17:ad:3f:ea
[1.837266] tg3 :03:08.0: eth0: attached PHY is 5705 (10/100/1000Base-T 
Ethernet) (WireSpeed[0], EEE[0])
[1.837271] tg3 :03:08.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] 
TSOcap[1]
[1.837275] tg3 :03:08.0: eth0: dma_rwctrl[763f] dma_mask[32-bit]
[   12.808639] ADDRCONF(NETDEV_UP): eth0: link is not ready

But again, mesaflash says it's there at 10.10.10.10.  And if you try to start 
LinuxCNC without the 7i92 powered up, it won't let you start LinuxCNC, not wait 
to move an axis.

Danny


 dan...@austin.rr.com wrote: 
> Alrighty!
> 
> OK, found and renamed that .rules to a .rules.bak file and rebooted.
> 
> Can't see the 7i92 now.  Mesaflash --device 7i92 --addr 10.10.10.10 gives 
> "not found".
> 
> dmesg has no "ifname" in it at all.
> 
> It does have:
> [1.820851] tg3 :03:08.0: eth0: Tigon3 [partno(BCM95788) rev 3003] 
> (PCI:33MHz:32-bit) MAC address 00:16:17:ad:3f:ea
> [1.820858] tg3 :03:08.0: eth0: attached PHY is 5705 
> (10/100/1000Base-T Ethernet) (WireSpeed[0], EEE[0])
> [1.820862] tg3 :03:08.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] 
> ASF[0] TSOcap[1]
> [1.820866] tg3 :03:08.0: eth0: dma_rwctrl[763f] dma_mask[32-bit]
> 
> Danny
> 
> 
>  Gene Heskett <ghesk...@shentel.net> wrote: 
> > On Friday 27 May 2016 12:54:22 dan...@austin.rr.com wrote:
> > 
> > I've sent this message 3 times now.  What black hole is gobbling it up?
> > 
> > > It's a direct dd copy of the drive.  If that wasn't complete, a lot
> > > more would be broken.
> > >
> > > I would not dismantle the (mostly) working system like that.  There's
> > > a risk of something getting stored wrong on the working drive while
> > > it's on the new machine, and I don't see anything to prove by moving
> > > it.
> > >
> > > 99.9% sure it's just something different about the ethernet driver on
> > > the new motherboard.  Something small.  No idea how to fix it, though.
> > 
> > See my reply to Peter, delete /etc/udev/rules.d/70-persistent-net.rules 
> > and reboot.  It will be rebuilt to match the ethernet hardware in finds 
> > as it reboots, and networking will likely be restored.
> > 
> > If not, delete it again, grep ' ifname ' /var/log/dmesg to see what it 
> > did call it, you should get something that resembles this:
> > 
> > gene@coyote:~$ grep ' ifname ' /var/log/dmesg
> > [1.401462] forcedeth :00:08.0: ifname eth0, PHY OUI 0x5043 @ 1, 
> > addr 00:1f:c6:62:fc:bb
> > [1.929064] forcedeth :00:09.0: ifname eth1, PHY OUI 0x5043 @ 1, 
> > addr 00:1f:c6:63:07:97
> > (word wrapped, darn it, what you want is the string after the first 
> > ifname. in this example eth0)
> > 
> > then use an editor as root to look at the /etc/networking/interfaces 
> > file, and rename the stanza for eth0 to whatever the system found and 
> > named it to in the /var/log/dmesg file.
> > 
> > You should at that point be able to do a "sudu service restart 
> > networking" and have the ability to "ping -C2 yahoo.com" and get a 2 
> > normal ping responses from yahoo.com which indicates that networking is 
> > now working.
> > 
> > > It is an AMD64 though, and the installation was an i686.
> > 
> > A non-issue AFAIK.
> > 
> > > Danny
> > >
> > >  "Peter C. Wallace" <p...@mesanet.com> wrote:
> > > > On Fri, 27 May 2016, Danny Miller wrote:
> > > > > Date: Fri, 27 May 2016 00:11:08 -0500
> > > > > From: Danny Miller <dan...@austin.rr.com>
> > > > > Reply-To: "Enhanced Machine Controller (EMC)"
> > > > > <emc-users@lists.sourceforge.net>
> > > > > To: emc-users@lists.sourceforge.net
> > > > > Subject: Re: [Emc-users] Copying an installation
> > > > >
> > > > > I do recall we went thr

Re: [Emc-users] Copying an installation

2016-05-27 Thread dannym
Alrighty!

OK, found and renamed that .rules to a .rules.bak file and rebooted.

Can't see the 7i92 now.  Mesaflash --device 7i92 --addr 10.10.10.10 gives "not 
found".

dmesg has no "ifname" in it at all.

It does have:
[1.820851] tg3 :03:08.0: eth0: Tigon3 [partno(BCM95788) rev 3003] 
(PCI:33MHz:32-bit) MAC address 00:16:17:ad:3f:ea
[1.820858] tg3 :03:08.0: eth0: attached PHY is 5705 (10/100/1000Base-T 
Ethernet) (WireSpeed[0], EEE[0])
[1.820862] tg3 :03:08.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] 
TSOcap[1]
[1.820866] tg3 :03:08.0: eth0: dma_rwctrl[763f] dma_mask[32-bit]

Danny


 Gene Heskett <ghesk...@shentel.net> wrote: 
> On Friday 27 May 2016 12:54:22 dan...@austin.rr.com wrote:
> 
> I've sent this message 3 times now.  What black hole is gobbling it up?
> 
> > It's a direct dd copy of the drive.  If that wasn't complete, a lot
> > more would be broken.
> >
> > I would not dismantle the (mostly) working system like that.  There's
> > a risk of something getting stored wrong on the working drive while
> > it's on the new machine, and I don't see anything to prove by moving
> > it.
> >
> > 99.9% sure it's just something different about the ethernet driver on
> > the new motherboard.  Something small.  No idea how to fix it, though.
> 
> See my reply to Peter, delete /etc/udev/rules.d/70-persistent-net.rules 
> and reboot.  It will be rebuilt to match the ethernet hardware in finds 
> as it reboots, and networking will likely be restored.
> 
> If not, delete it again, grep ' ifname ' /var/log/dmesg to see what it 
> did call it, you should get something that resembles this:
> 
> gene@coyote:~$ grep ' ifname ' /var/log/dmesg
> [1.401462] forcedeth :00:08.0: ifname eth0, PHY OUI 0x5043 @ 1, 
> addr 00:1f:c6:62:fc:bb
> [1.929064] forcedeth :00:09.0: ifname eth1, PHY OUI 0x5043 @ 1, 
> addr 00:1f:c6:63:07:97
> (word wrapped, darn it, what you want is the string after the first 
> ifname. in this example eth0)
> 
> then use an editor as root to look at the /etc/networking/interfaces 
> file, and rename the stanza for eth0 to whatever the system found and 
> named it to in the /var/log/dmesg file.
> 
> You should at that point be able to do a "sudu service restart 
> networking" and have the ability to "ping -C2 yahoo.com" and get a 2 
> normal ping responses from yahoo.com which indicates that networking is 
> now working.
> 
> > It is an AMD64 though, and the installation was an i686.
> 
> A non-issue AFAIK.
> 
> > Danny
> >
> >  "Peter C. Wallace" <p...@mesanet.com> wrote:
> > > On Fri, 27 May 2016, Danny Miller wrote:
> > > > Date: Fri, 27 May 2016 00:11:08 -0500
> > > > From: Danny Miller <dan...@austin.rr.com>
> > > > Reply-To: "Enhanced Machine Controller (EMC)"
> > > > <emc-users@lists.sourceforge.net>
> > > > To: emc-users@lists.sourceforge.net
> > > > Subject: Re: [Emc-users] Copying an installation
> > > >
> > > > I do recall we went through much more than expected just getting
> > > > all that installed.  And I don't have a complete list of all that
> > > > was done.
> > > >
> > > > I did poke around again on this machine.
> > > >
> > > > Mesaflash says the card's there at 10.10.10.10.
> > > >
> > > > After launching LinuxCNC, the VFD does respond to commands just
> > > > fine.
> > > >
> > > > I experimented with the FERROR value- it'll allow the coordinates
> > > > to change significantly before throwing an error, but the axes
> > > > will never move regardless.  The 7i92 won't put out steps at all.
> > > > I don't have any enable line on it.
> > > >
> > > > Danny
> > >
> > > Did you try swapping hard drives as someone suggested, in case
> > > something was forgotten when moving?
> > >
> > > (when linux using generic kernels its much easier to just swap hard
> > > drives than moving a setup to a new machine)
> > >
> > > > On 5/22/2016 6:27 PM, andy pugh wrote:
> > > >> On 22 May 2016 at 19:51, Danny Miller <dan...@austin.rr.com> 
> wrote:
> > > >>> Any advice, folks?  I've gotta move off that Dell machine ASAP
> > > >>> and really want to avoid a whole reinstall.
> > > >>
> > > >> I would suggest a complete reinstall of the OS and LinuxCNC, but
> > > >> keep the same config files. The Linu

Re: [Emc-users] Copying an installation

2016-05-27 Thread Gene Heskett
On Friday 27 May 2016 12:54:22 dan...@austin.rr.com wrote:

I've sent this message 3 times now.  What black hole is gobbling it up?

> It's a direct dd copy of the drive.  If that wasn't complete, a lot
> more would be broken.
>
> I would not dismantle the (mostly) working system like that.  There's
> a risk of something getting stored wrong on the working drive while
> it's on the new machine, and I don't see anything to prove by moving
> it.
>
> 99.9% sure it's just something different about the ethernet driver on
> the new motherboard.  Something small.  No idea how to fix it, though.

See my reply to Peter, delete /etc/udev/rules.d/70-persistent-net.rules 
and reboot.  It will be rebuilt to match the ethernet hardware in finds 
as it reboots, and networking will likely be restored.

If not, delete it again, grep ' ifname ' /var/log/dmesg to see what it 
did call it, you should get something that resembles this:

gene@coyote:~$ grep ' ifname ' /var/log/dmesg
[1.401462] forcedeth :00:08.0: ifname eth0, PHY OUI 0x5043 @ 1, 
addr 00:1f:c6:62:fc:bb
[1.929064] forcedeth :00:09.0: ifname eth1, PHY OUI 0x5043 @ 1, 
addr 00:1f:c6:63:07:97
(word wrapped, darn it, what you want is the string after the first 
ifname. in this example eth0)

then use an editor as root to look at the /etc/networking/interfaces 
file, and rename the stanza for eth0 to whatever the system found and 
named it to in the /var/log/dmesg file.

You should at that point be able to do a "sudu service restart 
networking" and have the ability to "ping -C2 yahoo.com" and get a 2 
normal ping responses from yahoo.com which indicates that networking is 
now working.

> It is an AMD64 though, and the installation was an i686.

A non-issue AFAIK.

> Danny
>
>  "Peter C. Wallace" <p...@mesanet.com> wrote:
> > On Fri, 27 May 2016, Danny Miller wrote:
> > > Date: Fri, 27 May 2016 00:11:08 -0500
> > > From: Danny Miller <dan...@austin.rr.com>
> > > Reply-To: "Enhanced Machine Controller (EMC)"
> > > <emc-users@lists.sourceforge.net>
> > > To: emc-users@lists.sourceforge.net
> > > Subject: Re: [Emc-users] Copying an installation
> > >
> > > I do recall we went through much more than expected just getting
> > > all that installed.  And I don't have a complete list of all that
> > > was done.
> > >
> > > I did poke around again on this machine.
> > >
> > > Mesaflash says the card's there at 10.10.10.10.
> > >
> > > After launching LinuxCNC, the VFD does respond to commands just
> > > fine.
> > >
> > > I experimented with the FERROR value- it'll allow the coordinates
> > > to change significantly before throwing an error, but the axes
> > > will never move regardless.  The 7i92 won't put out steps at all.
> > > I don't have any enable line on it.
> > >
> > > Danny
> >
> > Did you try swapping hard drives as someone suggested, in case
> > something was forgotten when moving?
> >
> > (when linux using generic kernels its much easier to just swap hard
> > drives than moving a setup to a new machine)
> >
> > > On 5/22/2016 6:27 PM, andy pugh wrote:
> > >> On 22 May 2016 at 19:51, Danny Miller <dan...@austin.rr.com> 
wrote:
> > >>> Any advice, folks?  I've gotta move off that Dell machine ASAP
> > >>> and really want to avoid a whole reinstall.
> > >>
> > >> I would suggest a complete reinstall of the OS and LinuxCNC, but
> > >> keep the same config files. The LinuxCNC config files should be
> > >> entirely portable.
> > >
> > > --
> > > What NetFlow Analyzer can do for you? Monitors network
> > > bandwidth and traffic patterns at an interface-level. Reveals
> > > which users, apps, and protocols are consuming the most bandwidth.
> > > Provides multi-vendor support for NetFlow, J-Flow, sFlow and other
> > > flows. Make informed decisions using capacity planning reports.
> > > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> > > ___
> > > Emc-users mailing list
> > > Emc-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> > Peter Wallace
> > Mesa Electronics
> >
> > (\__/)
> > (='.'=) This is Bunny. Copy and paste bunny into your
> > (")_(") signature to help him gain world domination.
> >
> >
> > -

Re: [Emc-users] Copying an installation

2016-05-27 Thread Gene Heskett
On Friday 27 May 2016 12:11:47 Peter C. Wallace wrote:

> On Fri, 27 May 2016, Danny Miller wrote:
> > Date: Fri, 27 May 2016 00:11:08 -0500
> > From: Danny Miller <dan...@austin.rr.com>
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > <emc-users@lists.sourceforge.net>
> > To: emc-users@lists.sourceforge.net
> > Subject: Re: [Emc-users] Copying an installation
> >
> > I do recall we went through much more than expected just getting all
> > that installed.  And I don't have a complete list of all that was
> > done.
> >
> > I did poke around again on this machine.
> >
> > Mesaflash says the card's there at 10.10.10.10.
> >
> > After launching LinuxCNC, the VFD does respond to commands just
> > fine.
> >
> > I experimented with the FERROR value- it'll allow the coordinates to
> > change significantly before throwing an error, but the axes will
> > never move regardless.  The 7i92 won't put out steps at all. I don't
> > have any enable line on it.
> >
> > Danny
>
> Did you try swapping hard drives as someone suggested, in case
> something was forgotten when moving?
>
> (when linux using generic kernels its much easier to just swap hard
> drives than moving a setup to a new machine)

This is true, but when swaping HD's, udev will byte you in the rear, so 
after the drive has been moved, go 
delete /etc/udev/rules.d/70-persistent-net.rules and reboot again so 
udev will find the network chips or cards on the new motherboard and 
properly label them as eth0.

Otherwise you will be an hour or more trying to figure out WTH udev 
called it THIS time while you have no working network.

> > On 5/22/2016 6:27 PM, andy pugh wrote:
> >> On 22 May 2016 at 19:51, Danny Miller <dan...@austin.rr.com> wrote:
> >>> Any advice, folks?  I've gotta move off that Dell machine ASAP and
> >>> really want to avoid a whole reinstall.
> >>
> >> I would suggest a complete reinstall of the OS and LinuxCNC, but
> >> keep the same config files. The LinuxCNC config files should be
> >> entirely portable.
> >
> > 
> >-- What NetFlow Analyzer can do for you? Monitors network
> > bandwidth and traffic patterns at an interface-level. Reveals which
> > users, apps, and protocols are consuming the most bandwidth.
> > Provides multi-vendor support for NetFlow, J-Flow, sFlow and other
> > flows. Make informed decisions using capacity planning reports.
> > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
> Peter Wallace
> Mesa Electronics
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network
> bandwidth and traffic patterns at an interface-level. Reveals which
> users, apps, and protocols are consuming the most bandwidth. Provides
> multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make
> informed decisions using capacity planning reports.
> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-27 Thread Gene Heskett
On Friday 27 May 2016 12:11:47 Peter C. Wallace wrote:

> On Fri, 27 May 2016, Danny Miller wrote:
> > Date: Fri, 27 May 2016 00:11:08 -0500
> > From: Danny Miller <dan...@austin.rr.com>
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > <emc-users@lists.sourceforge.net>
> > To: emc-users@lists.sourceforge.net
> > Subject: Re: [Emc-users] Copying an installation
> >
> > I do recall we went through much more than expected just getting all
> > that installed.  And I don't have a complete list of all that was
> > done.
> >
> > I did poke around again on this machine.
> >
> > Mesaflash says the card's there at 10.10.10.10.
> >
> > After launching LinuxCNC, the VFD does respond to commands just
> > fine.
> >
> > I experimented with the FERROR value- it'll allow the coordinates to
> > change significantly before throwing an error, but the axes will
> > never move regardless.  The 7i92 won't put out steps at all. I don't
> > have any enable line on it.
> >
> > Danny
>
> Did you try swapping hard drives as someone suggested, in case
> something was forgotten when moving?
>
> (when linux using generic kernels its much easier to just swap hard
> drives than moving a setup to a new machine)

This is true, but when swaping HD's, udev will byte you in the rear, so 
after the drive has been moved, go 
delete /etc/udev/rules.d/70-persistent-net.rules and reboot again so 
udev will find the network chips or cards on the new motherboard and 
properly label them as eth0.

Otherwise you will be an hour or more trying to figure out WTH udev 
called it THIS time while you have no working network.

> > On 5/22/2016 6:27 PM, andy pugh wrote:
> >> On 22 May 2016 at 19:51, Danny Miller <dan...@austin.rr.com> wrote:
> >>> Any advice, folks?  I've gotta move off that Dell machine ASAP and
> >>> really want to avoid a whole reinstall.
> >>
> >> I would suggest a complete reinstall of the OS and LinuxCNC, but
> >> keep the same config files. The LinuxCNC config files should be
> >> entirely portable.
> >
> > 
> >-- What NetFlow Analyzer can do for you? Monitors network
> > bandwidth and traffic patterns at an interface-level. Reveals which
> > users, apps, and protocols are consuming the most bandwidth.
> > Provides multi-vendor support for NetFlow, J-Flow, sFlow and other
> > flows. Make informed decisions using capacity planning reports.
> > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
> Peter Wallace
> Mesa Electronics
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network
> bandwidth and traffic patterns at an interface-level. Reveals which
> users, apps, and protocols are consuming the most bandwidth. Provides
> multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make
> informed decisions using capacity planning reports.
> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-27 Thread dannym
Hmm good question- I don't have any inputs right now.

Danny

 andy pugh  wrote: 
> On 27 May 2016 at 17:54,   wrote:

> 99.9% sure it's just something different about the ethernet driver on the new 
> motherboard.  Something small.  No idea how to fix it, though.

Do the inputs work?

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-27 Thread andy pugh
On 27 May 2016 at 17:54,   wrote:

> 99.9% sure it's just something different about the ethernet driver on the new 
> motherboard.  Something small.  No idea how to fix it, though.

Do the inputs work?

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-27 Thread dannym
It's a direct dd copy of the drive.  If that wasn't complete, a lot more would 
be broken.

I would not dismantle the (mostly) working system like that.  There's a risk of 
something getting stored wrong on the working drive while it's on the new 
machine, and I don't see anything to prove by moving it.

99.9% sure it's just something different about the ethernet driver on the new 
motherboard.  Something small.  No idea how to fix it, though.

It is an AMD64 though, and the installation was an i686.

Danny


 "Peter C. Wallace" <p...@mesanet.com> wrote: 
> On Fri, 27 May 2016, Danny Miller wrote:
> 
> > Date: Fri, 27 May 2016 00:11:08 -0500
> > From: Danny Miller <dan...@austin.rr.com>
> > Reply-To: "Enhanced Machine Controller (EMC)"
> > <emc-users@lists.sourceforge.net>
> > To: emc-users@lists.sourceforge.net
> > Subject: Re: [Emc-users] Copying an installation
> > 
> > I do recall we went through much more than expected just getting all
> > that installed.  And I don't have a complete list of all that was done.
> >
> > I did poke around again on this machine.
> >
> > Mesaflash says the card's there at 10.10.10.10.
> >
> > After launching LinuxCNC, the VFD does respond to commands just fine.
> >
> > I experimented with the FERROR value- it'll allow the coordinates to
> > change significantly before throwing an error, but the axes will never
> > move regardless.  The 7i92 won't put out steps at all. I don't have any
> > enable line on it.
> >
> > Danny
> 
> Did you try swapping hard drives as someone suggested, in case something was 
> forgotten when moving?
> 
> (when linux using generic kernels its much easier to just swap hard drives 
> than moving a setup to a new machine)
> 
> 
> >
> > On 5/22/2016 6:27 PM, andy pugh wrote:
> >> On 22 May 2016 at 19:51, Danny Miller <dan...@austin.rr.com> wrote:
> >>> Any advice, folks?  I've gotta move off that Dell machine ASAP and
> >>> really want to avoid a whole reinstall.
> >> I would suggest a complete reinstall of the OS and LinuxCNC, but keep
> >> the same config files. The LinuxCNC config files should be entirely
> >> portable.
> >>
> >
> >
> > --
> > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> > patterns at an interface-level. Reveals which users, apps, and protocols are
> > consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> > J-Flow, sFlow and other flows. Make informed decisions using capacity
> > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> 
> Peter Wallace
> Mesa Electronics
> 
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
> 
> 
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are 
> consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
> J-Flow, sFlow and other flows. Make informed decisions using capacity 
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-27 Thread Peter C. Wallace
On Fri, 27 May 2016, Danny Miller wrote:

> Date: Fri, 27 May 2016 00:11:08 -0500
> From: Danny Miller <dan...@austin.rr.com>
> Reply-To: "Enhanced Machine Controller (EMC)"
> <emc-users@lists.sourceforge.net>
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] Copying an installation
> 
> I do recall we went through much more than expected just getting all
> that installed.  And I don't have a complete list of all that was done.
>
> I did poke around again on this machine.
>
> Mesaflash says the card's there at 10.10.10.10.
>
> After launching LinuxCNC, the VFD does respond to commands just fine.
>
> I experimented with the FERROR value- it'll allow the coordinates to
> change significantly before throwing an error, but the axes will never
> move regardless.  The 7i92 won't put out steps at all. I don't have any
> enable line on it.
>
> Danny

Did you try swapping hard drives as someone suggested, in case something was 
forgotten when moving?

(when linux using generic kernels its much easier to just swap hard drives 
than moving a setup to a new machine)


>
> On 5/22/2016 6:27 PM, andy pugh wrote:
>> On 22 May 2016 at 19:51, Danny Miller <dan...@austin.rr.com> wrote:
>>> Any advice, folks?  I've gotta move off that Dell machine ASAP and
>>> really want to avoid a whole reinstall.
>> I would suggest a complete reinstall of the OS and LinuxCNC, but keep
>> the same config files. The LinuxCNC config files should be entirely
>> portable.
>>
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-26 Thread Danny Miller
I do recall we went through much more than expected just getting all 
that installed.  And I don't have a complete list of all that was done.

I did poke around again on this machine.

Mesaflash says the card's there at 10.10.10.10.

After launching LinuxCNC, the VFD does respond to commands just fine.

I experimented with the FERROR value- it'll allow the coordinates to 
change significantly before throwing an error, but the axes will never 
move regardless.  The 7i92 won't put out steps at all. I don't have any 
enable line on it.

Danny

On 5/22/2016 6:27 PM, andy pugh wrote:
> On 22 May 2016 at 19:51, Danny Miller  wrote:
>> Any advice, folks?  I've gotta move off that Dell machine ASAP and
>> really want to avoid a whole reinstall.
> I would suggest a complete reinstall of the OS and LinuxCNC, but keep
> the same config files. The LinuxCNC config files should be entirely
> portable.
>


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-22 Thread andy pugh
On 22 May 2016 at 19:51, Danny Miller  wrote:
> Any advice, folks?  I've gotta move off that Dell machine ASAP and
> really want to avoid a whole reinstall.

I would suggest a complete reinstall of the OS and LinuxCNC, but keep
the same config files. The LinuxCNC config files should be entirely
portable.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-22 Thread Gene Heskett
On Sunday 22 May 2016 14:51:06 Danny Miller wrote:

> Any advice, folks?  I've gotta move off that Dell machine ASAP and
> really want to avoid a whole reinstall.
>
> No idea why it works up to the point where I try to move axes and get
> joint following error just right there.
>
> Danny

I'd put a Mesa 5i25 card from one of the 2 US suppliers in that dell.  
Peter is out on the left coast in shaky dirt territory and John Thornton 
is smack in the middle of our land.  Thats what I did several months 
ago, by and large solving the majority of the problems.

> On 5/21/2016 3:07 AM, Danny Miller wrote:
> > OK, we cloned the drive to an SSD off the Intel-based machine, now
> > it's on an AMD64.
> >
> > It found the ethernet 7i92 card no problem.  However, any attempt to
> > move an axis throws a Joint Following Error immediately.  So, it
> > don't work.
> >
> >   >uname -a
> >
> > Linux localhost 3.2.0-4-rt-686-pae #1 SMP PREEMPT RT Debian 3.2.78-1
> > i686 GNU/Linux
> >
> > Ran a latency test, found the number was surprisingly high:
> > servo 1ms interval 1056515 jitter  58515
> > baseinterval  82973 jitter 57973
> >
> > What concerns me is the i686 installation on an AMD64 machine. Does
> > that need to be changed?
> >
> > Danny
> >
> > On 5/8/2016 6:37 AM, John Thornton wrote:
> >> While dd is touted as easy and convenient it is indeed a linux guru
> >> tool only with many gotchas and very difficult to use. Here is an
> >> example dd comand line for your viewing pleasure.
> >>
> >> sudo dd if=/dev/sdb1 of=/dev/sdc1 bs=4K count=2654720
> >>
> >> and how the numbers are arrived at lol
> >>
> >> fired up a python REPL as a calculator and checked partition and
> >> filesystem sizes
> >> for /dev/sdb1 I calculated (end-start)*sector size
> >> from tune2fs you multiply block count by block size
> >> divide two times by 1024 to get MB
> >> divide the partition size by 4k to get a proper block count for dd
> >>
> >> I use Clonezilla almost everyday and if you clone a drive the
> >> receiving drive must be the same exact size or larger. If they are
> >> not the same exact drives then you must use the expert mode and
> >> tell Clonezilla to not check the target drive size.
> >>
> >> The easy way is to copy the home directory then install from a live
> >> cd then copy the linuxcnc directory to the new drive.
> >>
> >> JT
> >>
> >> On 5/7/2016 10:34 AM, Danny Miller wrote:
> >>> So as per previous thread, I may be moving this to another PC. 
> >>> And probably change to an SSHD.
> >>>
> >>> I spent a ridiculous amount of time getting the OS and LinuxCNC RT
> >>> installed and configured.  And I didn't do all of it myself so
> >>> it's not a straight shot to repeat.  I'm just saying if I start
> >>> from scratch again, this will not be a quick operation.
> >>>
> >>> How reliable is it to just copy the entire installation to a new
> >>> drive on a new (different) machine?
> >>>
> >>> On Windows, I've just moved my old drive to a new machine a number
> >>> of times.  But I was foiled when I replaced my AMD-based
> >>> motherboard with an Intel-based MB, no boot.   My LinuxCNC machine
> >>> is currently on an Intel Core Duo, and I might change to an
> >>> AMD-based machine. Will it even be able to boot?  Will it be easy
> >>> to adapt to an AMD without a full reinstall?  What's it take to
> >>> adapt it?
> >>>
> >>> I was told there's a convenient tool or method for creating an
> >>> image of the whole installation (OS and LinuxCNC) and packing it
> >>> up.  Is that true?  'Cause I sure wish one of those had been on
> >>> Bittorrent, that would have saved my a crazy amount of time.  If
> >>> it can be done maybe I'll do it and put it out there for others.
> >>>
> >>> Danny
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> Find and fix application performance issues faster
> >>> with Applications Manager Applications Manager provides deep
> >>> performance insights into multiple tiers of your business
> >>> applications. It resolves application problems quickly and reduces
> >>> your MTTR. Get your free trial!
> >>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> >>> ___
> >>> Emc-users mailing list
> >>> Emc-users@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>
> >> ---
> >>--- Find and fix application performance issues faster with
> >> Applications Manager Applications Manager provides deep performance
> >> insights into multiple tiers of your business applications. It
> >> resolves application problems quickly and reduces your MTTR. Get
> >> your free trial!
> >> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> >> ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> 

Re: [Emc-users] Copying an installation

2016-05-22 Thread Chris Albertson
Have you tried simply swapping the old hard drive over to the new machine?

On Sun, May 22, 2016 at 11:51 AM, Danny Miller  wrote:

> Any advice, folks?  I've gotta move off that Dell machine ASAP and
> really want to avoid a whole reinstall.
>
-- 

Chris Albertson
Redondo Beach, California
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-22 Thread Danny Miller
Any advice, folks?  I've gotta move off that Dell machine ASAP and 
really want to avoid a whole reinstall.

No idea why it works up to the point where I try to move axes and get 
joint following error just right there.

Danny

On 5/21/2016 3:07 AM, Danny Miller wrote:
> OK, we cloned the drive to an SSD off the Intel-based machine, now it's
> on an AMD64.
>
> It found the ethernet 7i92 card no problem.  However, any attempt to
> move an axis throws a Joint Following Error immediately.  So, it don't work.
>
>   >uname -a
> Linux localhost 3.2.0-4-rt-686-pae #1 SMP PREEMPT RT Debian 3.2.78-1
> i686 GNU/Linux
>
> Ran a latency test, found the number was surprisingly high:
> servo 1ms interval 1056515 jitter  58515
> baseinterval  82973 jitter 57973
>
> What concerns me is the i686 installation on an AMD64 machine. Does that
> need to be changed?
>
> Danny
>
> On 5/8/2016 6:37 AM, John Thornton wrote:
>> While dd is touted as easy and convenient it is indeed a linux guru tool
>> only with many gotchas and very difficult to use. Here is an example dd
>> comand line for your viewing pleasure.
>>
>> sudo dd if=/dev/sdb1 of=/dev/sdc1 bs=4K count=2654720
>>
>> and how the numbers are arrived at lol
>>
>> fired up a python REPL as a calculator and checked partition and
>> filesystem sizes
>> for /dev/sdb1 I calculated (end-start)*sector size
>> from tune2fs you multiply block count by block size
>> divide two times by 1024 to get MB
>> divide the partition size by 4k to get a proper block count for dd
>>
>> I use Clonezilla almost everyday and if you clone a drive the receiving
>> drive must be the same exact size or larger. If they are not the same
>> exact drives then you must use the expert mode and tell Clonezilla to
>> not check the target drive size.
>>
>> The easy way is to copy the home directory then install from a live cd
>> then copy the linuxcnc directory to the new drive.
>>
>> JT
>>
>>
>> On 5/7/2016 10:34 AM, Danny Miller wrote:
>>> So as per previous thread, I may be moving this to another PC.  And
>>> probably change to an SSHD.
>>>
>>> I spent a ridiculous amount of time getting the OS and LinuxCNC RT
>>> installed and configured.  And I didn't do all of it myself so it's not
>>> a straight shot to repeat.  I'm just saying if I start from scratch
>>> again, this will not be a quick operation.
>>>
>>> How reliable is it to just copy the entire installation to a new drive
>>> on a new (different) machine?
>>>
>>> On Windows, I've just moved my old drive to a new machine a number of
>>> times.  But I was foiled when I replaced my AMD-based motherboard with
>>> an Intel-based MB, no boot.   My LinuxCNC machine is currently on an
>>> Intel Core Duo, and I might change to an AMD-based machine. Will it even
>>> be able to boot?  Will it be easy to adapt to an AMD without a full
>>> reinstall?  What's it take to adapt it?
>>>
>>> I was told there's a convenient tool or method for creating an image of
>>> the whole installation (OS and LinuxCNC) and packing it up.  Is that
>>> true?  'Cause I sure wish one of those had been on Bittorrent, that
>>> would have saved my a crazy amount of time.  If it can be done maybe
>>> I'll do it and put it out there for others.
>>>
>>> Danny
>>>
>>>
>>>
>>>
>>> --
>>> Find and fix application performance issues faster with Applications Manager
>>> Applications Manager provides deep performance insights into multiple tiers 
>>> of
>>> your business applications. It resolves application problems quickly and
>>> reduces your MTTR. Get your free trial!
>>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>>> ___
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> --
>> Find and fix application performance issues faster with Applications Manager
>> Applications Manager provides deep performance insights into multiple tiers 
>> of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> Emc-users mailing list
> 

Re: [Emc-users] Copying an installation

2016-05-21 Thread Danny Miller
OK, we cloned the drive to an SSD off the Intel-based machine, now it's 
on an AMD64.

It found the ethernet 7i92 card no problem.  However, any attempt to 
move an axis throws a Joint Following Error immediately.  So, it don't work.

 >uname -a
Linux localhost 3.2.0-4-rt-686-pae #1 SMP PREEMPT RT Debian 3.2.78-1 
i686 GNU/Linux

Ran a latency test, found the number was surprisingly high:
servo 1ms interval 1056515 jitter  58515
baseinterval  82973 jitter 57973

What concerns me is the i686 installation on an AMD64 machine. Does that 
need to be changed?

Danny

On 5/8/2016 6:37 AM, John Thornton wrote:
> While dd is touted as easy and convenient it is indeed a linux guru tool
> only with many gotchas and very difficult to use. Here is an example dd
> comand line for your viewing pleasure.
>
> sudo dd if=/dev/sdb1 of=/dev/sdc1 bs=4K count=2654720
>
> and how the numbers are arrived at lol
>
> fired up a python REPL as a calculator and checked partition and
> filesystem sizes
> for /dev/sdb1 I calculated (end-start)*sector size
> from tune2fs you multiply block count by block size
> divide two times by 1024 to get MB
> divide the partition size by 4k to get a proper block count for dd
>
> I use Clonezilla almost everyday and if you clone a drive the receiving
> drive must be the same exact size or larger. If they are not the same
> exact drives then you must use the expert mode and tell Clonezilla to
> not check the target drive size.
>
> The easy way is to copy the home directory then install from a live cd
> then copy the linuxcnc directory to the new drive.
>
> JT
>
>
> On 5/7/2016 10:34 AM, Danny Miller wrote:
>> So as per previous thread, I may be moving this to another PC.  And
>> probably change to an SSHD.
>>
>> I spent a ridiculous amount of time getting the OS and LinuxCNC RT
>> installed and configured.  And I didn't do all of it myself so it's not
>> a straight shot to repeat.  I'm just saying if I start from scratch
>> again, this will not be a quick operation.
>>
>> How reliable is it to just copy the entire installation to a new drive
>> on a new (different) machine?
>>
>> On Windows, I've just moved my old drive to a new machine a number of
>> times.  But I was foiled when I replaced my AMD-based motherboard with
>> an Intel-based MB, no boot.   My LinuxCNC machine is currently on an
>> Intel Core Duo, and I might change to an AMD-based machine. Will it even
>> be able to boot?  Will it be easy to adapt to an AMD without a full
>> reinstall?  What's it take to adapt it?
>>
>> I was told there's a convenient tool or method for creating an image of
>> the whole installation (OS and LinuxCNC) and packing it up.  Is that
>> true?  'Cause I sure wish one of those had been on Bittorrent, that
>> would have saved my a crazy amount of time.  If it can be done maybe
>> I'll do it and put it out there for others.
>>
>> Danny
>>
>>
>>
>>
>> --
>> Find and fix application performance issues faster with Applications Manager
>> Applications Manager provides deep performance insights into multiple tiers 
>> of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-08 Thread John Thornton
While dd is touted as easy and convenient it is indeed a linux guru tool 
only with many gotchas and very difficult to use. Here is an example dd 
comand line for your viewing pleasure.

sudo dd if=/dev/sdb1 of=/dev/sdc1 bs=4K count=2654720

and how the numbers are arrived at lol

fired up a python REPL as a calculator and checked partition and 
filesystem sizes
for /dev/sdb1 I calculated (end-start)*sector size
from tune2fs you multiply block count by block size
divide two times by 1024 to get MB
divide the partition size by 4k to get a proper block count for dd

I use Clonezilla almost everyday and if you clone a drive the receiving 
drive must be the same exact size or larger. If they are not the same 
exact drives then you must use the expert mode and tell Clonezilla to 
not check the target drive size.

The easy way is to copy the home directory then install from a live cd 
then copy the linuxcnc directory to the new drive.

JT


On 5/7/2016 10:34 AM, Danny Miller wrote:
> So as per previous thread, I may be moving this to another PC.  And
> probably change to an SSHD.
>
> I spent a ridiculous amount of time getting the OS and LinuxCNC RT
> installed and configured.  And I didn't do all of it myself so it's not
> a straight shot to repeat.  I'm just saying if I start from scratch
> again, this will not be a quick operation.
>
> How reliable is it to just copy the entire installation to a new drive
> on a new (different) machine?
>
> On Windows, I've just moved my old drive to a new machine a number of
> times.  But I was foiled when I replaced my AMD-based motherboard with
> an Intel-based MB, no boot.   My LinuxCNC machine is currently on an
> Intel Core Duo, and I might change to an AMD-based machine. Will it even
> be able to boot?  Will it be easy to adapt to an AMD without a full
> reinstall?  What's it take to adapt it?
>
> I was told there's a convenient tool or method for creating an image of
> the whole installation (OS and LinuxCNC) and packing it up.  Is that
> true?  'Cause I sure wish one of those had been on Bittorrent, that
> would have saved my a crazy amount of time.  If it can be done maybe
> I'll do it and put it out there for others.
>
> Danny
>
>
>
>
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-07 Thread Jon Elson
On 05/07/2016 11:35 AM, Gene Heskett wrote:
> The only problem I've had with just moving the drive, is 
> convincing udev to leave the name of the eth0 port the 
> hell alone. Everytime you move the drive to a different 
> box, it thinks the discovered ethernet port(s) are new,
This will also happen if you change out an ethernet card or 
dongle, and it detects the MAC address has changed.

Same fix for it, too.

Jon

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-07 Thread Jack Coats
You might give Clonezilla a try.  Burn it to a  USB drive, Boot from that
drive then generate an image on another USB, hard drive, or whatever.

Checkout clonezilla.org for details.  It can also work over a network, but
the devil is in the details, as always.

The resultant drive should be bootable.

On Sat, May 7, 2016 at 10:34 AM, Danny Miller  wrote:

> So as per previous thread, I may be moving this to another PC.  And
> probably change to an SSHD.
>
> I spent a ridiculous amount of time getting the OS and LinuxCNC RT
> installed and configured.  And I didn't do all of it myself so it's not
> a straight shot to repeat.  I'm just saying if I start from scratch
> again, this will not be a quick operation.
>
> How reliable is it to just copy the entire installation to a new drive
> on a new (different) machine?
>
> On Windows, I've just moved my old drive to a new machine a number of
> times.  But I was foiled when I replaced my AMD-based motherboard with
> an Intel-based MB, no boot.   My LinuxCNC machine is currently on an
> Intel Core Duo, and I might change to an AMD-based machine. Will it even
> be able to boot?  Will it be easy to adapt to an AMD without a full
> reinstall?  What's it take to adapt it?
>
> I was told there's a convenient tool or method for creating an image of
> the whole installation (OS and LinuxCNC) and packing it up.  Is that
> true?  'Cause I sure wish one of those had been on Bittorrent, that
> would have saved my a crazy amount of time.  If it can be done maybe
> I'll do it and put it out there for others.
>
> Danny
>
>
>
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
><> ... Jack

The Four Boxes of Liberty - "There are four boxes to be used in the defense
of liberty: soap, ballot, jury and ammo. Please use in that order."
"Whatever you do, work at it with all your heart"... Colossians 3:23
"Anyone who has never made a mistake, has never tried anything new." -
Albert Einstein
"You don't manage people; you manage things. You lead people." - Admiral
Grace Hopper, USN
"The most dangerous phrase in the language is "We’ve always done it this
way"-- Admiral Grace Hopper, USN
"Tell me and I forget. Teach me and I remember. Involve me and I learn." -
Ben Franklin
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-07 Thread Gene Heskett
On Saturday 07 May 2016 11:34:28 Danny Miller wrote:

> So as per previous thread, I may be moving this to another PC.  And
> probably change to an SSHD.
>
> I spent a ridiculous amount of time getting the OS and LinuxCNC RT
> installed and configured.  And I didn't do all of it myself so it's
> not a straight shot to repeat.  I'm just saying if I start from
> scratch again, this will not be a quick operation.
>
> How reliable is it to just copy the entire installation to a new drive
> on a new (different) machine?
>
> On Windows, I've just moved my old drive to a new machine a number of
> times.  But I was foiled when I replaced my AMD-based motherboard with
> an Intel-based MB, no boot.   My LinuxCNC machine is currently on an
> Intel Core Duo, and I might change to an AMD-based machine. Will it
> even be able to boot?  Will it be easy to adapt to an AMD without a
> full reinstall?  What's it take to adapt it?
>
> I was told there's a convenient tool or method for creating an image
> of the whole installation (OS and LinuxCNC) and packing it up.  Is
> that true?  'Cause I sure wish one of those had been on Bittorrent,
> that would have saved my a crazy amount of time.  If it can be done
> maybe I'll do it and put it out there for others.
>
> Danny

The only problem I've had with just moving the drive, is convincing udev 
to leave the name of the eth0 port the hell alone. Everytime you move 
the drive to a different box, it thinks the discovered ethernet port(s) 
are new,in addition to the old one and renames them to something from a 
comedy central movie might use.  ISTR I did something, like nuking a 
file in /var that contained the discovered data of the old port, and 
rebooted.  Lemme see if I can find that file again... brb. Yes, although 
it could be subject to a 
re-write, /etc/udev/rules.d/70-persistent-net.rules

gene@GO704:/etc/udev/rules.d$ cat 70-persistent-net.rules 
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x14e4:/sys/devices/pci:00/:00:1c.4/:03:00.0 
(tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="00:1a:a0:a7:a8:d4", ATTR{dev_id}=="0x0", 
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

Note the comment in front of the line starting with PCI. You will have to 
be sudo or root to change it, but that seems to be udev's memory of 
discovered previously net interfaces.  Humm, checking my other machines 
with never before used HD's in them, that line is also commented out.  
So this may not be the file to play with.  But its a place to search for 
I think.  Or one can search thru the dmesg file, get the name it 
assigned, and edit the /etc/network/interfaces file to match, that works 
also.  I have done both on the G0704 install as that drive was in 3 
boxes before I found a usable box.  And udev bit me in the rear each 
time I moved the drive, requiring that, since my network is less that 10 
machines total, is /etc/hosts file based, nuking Network-Manager, 
making /etc/resolv.conf into a real file and making the correct entries 
in the /etc/network/interfaces file.  That formerly problem machines 
eth0 stanza looks like this now:

iface eth0 inet static
address 192.168.71.10
netmask 255.255.255.0
gateway 192.168.71.1

Substitute your own ipv4 addresses of course.

HTH Danny.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-07 Thread Nicklas Karlsson
> ...
> How reliable is it to just copy the entire installation to a new drive 
> on a new (different) machine?

A convenient tool or method for creating an image of the whole installation (OS 
and LinuxCNC) and packing it up is probably the choice then installing several 
computers of the same kind. Then using different computers I guess you have to 
run ordinary installation although possible with some kind of configuration 
file to tell which packages to install.

The linuxcnc configuration and data files I think you just copy. Then doing 
backups I usually copy data files only, it use a lot less space and I do not 
expect to keep same computer anyway if old computer break down.

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Copying an installation

2016-05-07 Thread Jon Elson
On 05/07/2016 10:34 AM, Danny Miller wrote:
> So as per previous thread, I may be moving this to another PC.  And
> probably change to an SSHD.
>
> I spent a ridiculous amount of time getting the OS and LinuxCNC RT
> installed and configured.  And I didn't do all of it myself so it's not
> a straight shot to repeat.  I'm just saying if I start from scratch
> again, this will not be a quick operation.
>
> How reliable is it to just copy the entire installation to a new drive
> on a new (different) machine?
It should be very reliable.  There should be instructions on 
the net on using dd to do a block-level copy.
Just make ABSOLUTELY sure you know the names of the two 
drives, or you could copy the blank drive to your only copy 
of the good one. dd can even copy the partition table.

Jon

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Copying an installation

2016-05-07 Thread Danny Miller
So as per previous thread, I may be moving this to another PC.  And 
probably change to an SSHD.

I spent a ridiculous amount of time getting the OS and LinuxCNC RT 
installed and configured.  And I didn't do all of it myself so it's not 
a straight shot to repeat.  I'm just saying if I start from scratch 
again, this will not be a quick operation.

How reliable is it to just copy the entire installation to a new drive 
on a new (different) machine?

On Windows, I've just moved my old drive to a new machine a number of 
times.  But I was foiled when I replaced my AMD-based motherboard with 
an Intel-based MB, no boot.   My LinuxCNC machine is currently on an 
Intel Core Duo, and I might change to an AMD-based machine. Will it even 
be able to boot?  Will it be easy to adapt to an AMD without a full 
reinstall?  What's it take to adapt it?

I was told there's a convenient tool or method for creating an image of 
the whole installation (OS and LinuxCNC) and packing it up.  Is that 
true?  'Cause I sure wish one of those had been on Bittorrent, that 
would have saved my a crazy amount of time.  If it can be done maybe 
I'll do it and put it out there for others.

Danny




--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users