[Emc-users] rtapi on missing list?

2010-09-07 Thread Gene Heskett
Greetings guys;

I installed, fresh, the 10.04 cd image yesterday, and I am slowly getting 
the missing stuff installed, like sshd. And amanda's client packages so I 
can recover all my gcode.

Overnight it went 12 megs into swap and got laggy as all get out.

I assume the first thing is to run stepconf and generate new configs, but 
there aren't any examples in the ~/emc2/configs dir, totally empty, and when 
I try to run stepconf I get an rtapi missing error.

Whats next?  Go get that script and re-install emc?


Thanks.

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
The amount of time between slipping on the peel and landing on the
pavement is precisely 1 bananosecond.

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
There is a time in the tides of men,
Which, taken at its flood, leads on to success.
On the other hand, don't count on it.
- T. K. Lawson

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] rtapi on missing list?

2010-09-07 Thread Gene Heskett
On Tuesday, September 07, 2010 01:36:56 pm Gene Heskett did opine:

 Greetings guys;
 
 I installed, fresh, the 10.04 cd image yesterday, and I am slowly
 getting the missing stuff installed, like sshd. And amanda's client
 packages so I can recover all my gcode.
 
 Overnight it went 12 megs into swap and got laggy as all get out.
 
 I assume the first thing is to run stepconf and generate new configs,
 but there aren't any examples in the ~/emc2/configs dir, totally empty,
 and when I try to run stepconf I get an rtapi missing error.
 
 Whats next?  Go get that script and re-install emc?
 
 
 Thanks.

More info:
Tried to run emc as the user gene, picked the stepper_inch config from the 
menu, then got this:

g...@shop:/usr/realtime-2.6.32-122-rtai$ emc
EMC2 - 2.4.3
Machine configuration directory is '/home/gene/emc2/configs/stepper'
Machine configuration file is 'stepper_inch.ini'
Starting EMC2...
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko': -1 
Operation not permitted
Realtime system did not load
Shutting down and cleaning up EMC2...
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
RTAPI: ERROR: could not open shared memory (errno=2)
HAL: ERROR: rtapi init failed
halcmd: hal_init() failed: -22
NOTE: 'rtapi' kernel module must be loaded
ERROR: Module hal_lib does not exist in /proc/modules
ERROR: Module rtapi does not exist in /proc/modules
ERROR: Module rtai_math does not exist in /proc/modules
ERROR: Module rtai_sem does not exist in /proc/modules
ERROR: Module rtai_fifos does not exist in /proc/modules
ERROR: Module rtai_sched does not exist in /proc/modules
ERROR: Module rtai_hal does not exist in /proc/modules
Cleanup done
EMC terminated with an error.  You can find more information in the log:
/home/gene/emc_debug.txt
and
/home/gene/emc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
g...@shop:/usr/realtime-2.6.32-122-rtai$ 

And from dmesg:
[61158.717614] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT 
AVAILABLE/ENABLED.
[61416.202211] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT 
AVAILABLE/ENABLED.
[67750.283154] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT 
AVAILABLE/ENABLED.

The real technical explanation is Something is buggered up someplace. ;-)

Hints appreciated.

Thanks guys.

-- 
Cheers, Gene
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
The universe is all a spin-off of the Big Bang.

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] rtapi on missing list?

2010-09-07 Thread Alex Joni
  There was a similar report yesterday.
try this: in /etc/default/grub, change

GRUB_CMDLINE_LINUX_DEFAULT=quiet splash

to

GRUB_CMDLINE_LINUX_DEFAULT=quiet splash lapic

and then run update-grub and reboot

Regards,
Alex

On 9/7/2010 8:44 PM, Gene Heskett wrote:
 On Tuesday, September 07, 2010 01:36:56 pm Gene Heskett did opine:

 Greetings guys;

 I installed, fresh, the 10.04 cd image yesterday, and I am slowly
 getting the missing stuff installed, like sshd. And amanda's client
 packages so I can recover all my gcode.

 Overnight it went 12 megs into swap and got laggy as all get out.

 I assume the first thing is to run stepconf and generate new configs,
 but there aren't any examples in the ~/emc2/configs dir, totally empty,
 and when I try to run stepconf I get an rtapi missing error.

 Whats next?  Go get that script and re-install emc?


 Thanks.
 More info:
 Tried to run emc as the user gene, picked the stepper_inch config from the
 menu, then got this:

 g...@shop:/usr/realtime-2.6.32-122-rtai$ emc
 EMC2 - 2.4.3
 Machine configuration directory is '/home/gene/emc2/configs/stepper'
 Machine configuration file is 'stepper_inch.ini'
 Starting EMC2...
 insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko': 
 -1 Operation not permitted
 Realtime system did not load
 Shutting down and cleaning up EMC2...
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 RTAPI: ERROR: could not open shared memory (errno=2)
 HAL: ERROR: rtapi init failed
 halcmd: hal_init() failed: -22
 NOTE: 'rtapi' kernel module must be loaded
 ERROR: Module hal_lib does not exist in /proc/modules
 ERROR: Module rtapi does not exist in /proc/modules
 ERROR: Module rtai_math does not exist in /proc/modules
 ERROR: Module rtai_sem does not exist in /proc/modules
 ERROR: Module rtai_fifos does not exist in /proc/modules
 ERROR: Module rtai_sched does not exist in /proc/modules
 ERROR: Module rtai_hal does not exist in /proc/modules
 Cleanup done
 EMC terminated with an error.  You can find more information in the log:
  /home/gene/emc_debug.txt
 and
  /home/gene/emc_print.txt
 as well as in the output of the shell command 'dmesg' and in the terminal
 g...@shop:/usr/realtime-2.6.32-122-rtai$

 And from dmesg:
 [61158.717614] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT 
 AVAILABLE/ENABLED.
 [61416.202211] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT 
 AVAILABLE/ENABLED.
 [67750.283154] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT 
 AVAILABLE/ENABLED.

 The real technical explanation is Something is buggered up someplace. ;-)

 Hints appreciated.

 Thanks guys.


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] rtapi on missing list?

2010-09-07 Thread Gene Heskett
On Tuesday, September 07, 2010 05:05:54 pm Alex Joni did opine:

   There was a similar report yesterday.
 try this: in /etc/default/grub, change
 
 GRUB_CMDLINE_LINUX_DEFAULT=quiet splash
 
 to
 
 GRUB_CMDLINE_LINUX_DEFAULT=quiet splash lapic
 
 and then run update-grub and reboot
 
 Regards,
 Alex
 
Did that, rebooted, but had to go login and sudo ifup eth0 before I had a 
network.  How do I make that bring up the network automatically even if I 
am not logged in on its own console?

Looks like that lapic was the magic twanger, stepconf ran w/o any upset 
tummy.

Thanks Alex.

 On 9/7/2010 8:44 PM, Gene Heskett wrote:
  On Tuesday, September 07, 2010 01:36:56 pm Gene Heskett did opine:
  Greetings guys;
  
  I installed, fresh, the 10.04 cd image yesterday, and I am slowly
  getting the missing stuff installed, like sshd. And amanda's client
  packages so I can recover all my gcode.
  
  Overnight it went 12 megs into swap and got laggy as all get out.
  
  I assume the first thing is to run stepconf and generate new configs,
  but there aren't any examples in the ~/emc2/configs dir, totally
  empty, and when I try to run stepconf I get an rtapi missing error.
  
  Whats next?  Go get that script and re-install emc?
  
  
  Thanks.
  
  More info:
  Tried to run emc as the user gene, picked the stepper_inch config from
  the menu, then got this:
  
  g...@shop:/usr/realtime-2.6.32-122-rtai$ emc
  EMC2 - 2.4.3
  Machine configuration directory is '/home/gene/emc2/configs/stepper'
  Machine configuration file is 'stepper_inch.ini'
  Starting EMC2...
  insmod: error inserting
  '/usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko': -1 Operation not
  permitted Realtime system did not load
  Shutting down and cleaning up EMC2...
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  ERROR: Module hal_lib does not exist in /proc/modules
  ERROR: Module rtapi does not exist in /proc/modules
  ERROR: Module rtai_math does not exist in /proc/modules
  ERROR: Module rtai_sem does not exist in /proc/modules
  ERROR: Module rtai_fifos does not exist in /proc/modules
  ERROR: Module rtai_sched does not exist in /proc/modules
  ERROR: Module rtai_hal does not exist in /proc/modules
  Cleanup done
  
  EMC terminated with an error.  You can find more information in the log:
   /home/gene/emc_debug.txt
  
  and
  
   /home/gene/emc_print.txt
  
  as well as in the output of the shell command 'dmesg' and in the
  terminal g...@shop:/usr/realtime-2.6.32-122-rtai$
  
  And from dmesg:
  [61158.717614] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT
  AVAILABLE/ENABLED. [61416.202211] RTAI[hal]: ERROR, LOCAL APIC
  CONFIGURED BUT NOT AVAILABLE/ENABLED. [67750.283154] RTAI[hal]:
  ERROR, LOCAL APIC CONFIGURED BUT NOT AVAILABLE/ENABLED.
  
  The real technical explanation is Something is buggered up
  someplace. ;-)
  
  Hints appreciated.
  
  Thanks guys.
 
 
 -- This SF.net Dev2Dev email is sponsored by:
 
 Show off your parallel programming skills.
 

Re: [Emc-users] rtapi on missing list?

2010-09-07 Thread Igor Chudov
On Tue, Sep 7, 2010 at 4:17 PM, Gene Heskett gene.hesk...@gmail.com wrote:
 On Tuesday, September 07, 2010 05:05:54 pm Alex Joni did opine:

   There was a similar report yesterday.
 try this: in /etc/default/grub, change

 GRUB_CMDLINE_LINUX_DEFAULT=quiet splash

 to

 GRUB_CMDLINE_LINUX_DEFAULT=quiet splash lapic

 and then run update-grub and reboot

 Regards,
 Alex

 Did that, rebooted, but had to go login and sudo ifup eth0 before I had a
 network.  How do I make that bring up the network automatically even if I
 am not logged in on its own console?

1) Remove network manager

sudo aptitude remove network-manager network-manager-gnome

2) Edit your /etc/network/interfaces file and populate it with your IP
information, example

auto eth0
iface eth0 inet static
address 192.168.1.23
netmask 255.255.255.0
gateway 192.168.2.1

Also make sure that your /etc/resolv.conf is good.

i

 Looks like that lapic was the magic twanger, stepconf ran w/o any upset
 tummy.

 Thanks Alex.

 On 9/7/2010 8:44 PM, Gene Heskett wrote:
  On Tuesday, September 07, 2010 01:36:56 pm Gene Heskett did opine:
  Greetings guys;
 
  I installed, fresh, the 10.04 cd image yesterday, and I am slowly
  getting the missing stuff installed, like sshd. And amanda's client
  packages so I can recover all my gcode.
 
  Overnight it went 12 megs into swap and got laggy as all get out.
 
  I assume the first thing is to run stepconf and generate new configs,
  but there aren't any examples in the ~/emc2/configs dir, totally
  empty, and when I try to run stepconf I get an rtapi missing error.
 
  Whats next?  Go get that script and re-install emc?
 
 
  Thanks.
 
  More info:
  Tried to run emc as the user gene, picked the stepper_inch config from
  the menu, then got this:
 
  g...@shop:/usr/realtime-2.6.32-122-rtai$ emc
  EMC2 - 2.4.3
  Machine configuration directory is '/home/gene/emc2/configs/stepper'
  Machine configuration file is 'stepper_inch.ini'
  Starting EMC2...
  insmod: error inserting
  '/usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko': -1 Operation not
  permitted Realtime system did not load
  Shutting down and cleaning up EMC2...
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  RTAPI: ERROR: could not open shared memory (errno=2)
  HAL: ERROR: rtapi init failed
  halcmd: hal_init() failed: -22
  NOTE: 'rtapi' kernel module must be loaded
  ERROR: Module hal_lib does not exist in /proc/modules
  ERROR: Module rtapi does not exist in /proc/modules
  ERROR: Module rtai_math does not exist in /proc/modules
  ERROR: Module rtai_sem does not exist in /proc/modules
  ERROR: Module rtai_fifos does not exist in /proc/modules
  ERROR: Module rtai_sched does not exist in /proc/modules
  ERROR: Module rtai_hal does not exist in /proc/modules
  Cleanup done
 
  EMC terminated with an error.  You can find more information in the log:
       /home/gene/emc_debug.txt
 
  and
 
       /home/gene/emc_print.txt
 
  as well as in the output of the shell command 'dmesg' and in the
  terminal g...@shop:/usr/realtime-2.6.32-122-rtai$
 
  And from dmesg:
  [61158.717614] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT
  AVAILABLE/ENABLED. [61416.202211] RTAI[hal]: ERROR, LOCAL APIC
  CONFIGURED BUT NOT