Re: [Emc-users] Problem after installation of EMC2 on Ubuntu 8.04

2008-10-06 Thread Eric H. Johnson
Alex et al,

I just tried to install EMC to Hardy and am getting a similar if not the
same error. This is what appears to be wrong:

insmod: can't read '/usr/realtime-2.6.24-19-generic/modules/rtai_hal.ko': No
such file or directory

There is no /usr/realtime-2.6.24-19-generic folder. I checked the
/usr/bin/emc script, and it correctly sets:
EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2

Where is the path coming from used by insmod?

Regards,
Eric


Seem you booted the wrong kernel.
If you install emc2 after you installed a regular Ubuntu then you'll get
both the RTAI kernel and the generic Ubuntu kernel installed.
If there are updates to the generic Ubuntu kernel, then that one will be
automatically selected on your next boot.
You can change the order (so that the rtai kernel starts first) either by
changing /boot/grub/menu.lst or by hitting Esc when the PC starts booting
(right after BIOS POST), then you can select which kernel to boot.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problem after installation of EMC2 on Ubuntu 8.04

2008-10-06 Thread Chris Radek
On Mon, Oct 06, 2008 at 04:03:21PM -0400, Eric H. Johnson wrote:
 Alex et al,
 
 I just tried to install EMC to Hardy and am getting a similar if not the
 same error. This is what appears to be wrong:
 
 insmod: can't read '/usr/realtime-2.6.24-19-generic/modules/rtai_hal.ko': No
 such file or directory
 
 There is no /usr/realtime-2.6.24-19-generic folder. I checked the
 /usr/bin/emc script, and it correctly sets:
 EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2
 
 Where is the path coming from used by insmod?
 
 Regards,
 Eric


This has been covered so many times before on the list.

Here is John K explaining the problem:
http://article.gmane.org/gmane.linux.distributions.emc.user/9246/

Here is Stephen P explaining the problem:
http://article.gmane.org/gmane.linux.distributions.emc.user/9134/

Here is Alex J explaining the problem:
http://article.gmane.org/gmane.linux.distributions.emc.user/9121/

Here is Ray H explaining the problem:
http://article.gmane.org/gmane.linux.distributions.emc.user/7490/

Alex again:
http://article.gmane.org/gmane.linux.distributions.emc.user/9417/

So I think Alex wins the prize so far, but I quit searching.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problem after installation of EMC2 on Ubuntu 8.04

2008-10-06 Thread Eric H. Johnson
Hi all,

Found it. With the Hardy install, it does not set the rtai kernel as the
default kernel. So by default it is booting the ...-19-generic kernel. The
rtai kernel must be explicitly selected at boot time in order to run EMC.

Regards,
Eric


I just tried to install EMC to Hardy and am getting a similar if not the
same error. This is what appears to be wrong:

insmod: can't read '/usr/realtime-2.6.24-19-generic/modules/rtai_hal.ko': No
such file or directory

There is no /usr/realtime-2.6.24-19-generic folder. I checked the
/usr/bin/emc script, and it correctly sets:
EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2

Where is the path coming from used by insmod?



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problem after installation of EMC2 on Ubuntu 8.04

2008-10-06 Thread noel
Gentlemen,
Install one of the GRUB editors and take care of the problem.
Lots easier than trying to edit the menu.lst file.

Noel Rodes.
Roguish 

-Original Message-
From: Eric H. Johnson [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 06, 2008 2:00 PM
To: 'Enhanced Machine Controller (EMC)'
Subject: Re: [Emc-users] Problem after installation of EMC2 on Ubuntu 8.04

Hi all,

Found it. With the Hardy install, it does not set the rtai kernel as the
default kernel. So by default it is booting the ...-19-generic kernel. The
rtai kernel must be explicitly selected at boot time in order to run EMC.

Regards,
Eric


I just tried to install EMC to Hardy and am getting a similar if not the
same error. This is what appears to be wrong:

insmod: can't read '/usr/realtime-2.6.24-19-generic/modules/rtai_hal.ko': No
such file or directory

There is no /usr/realtime-2.6.24-19-generic folder. I checked the
/usr/bin/emc script, and it correctly sets:
EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2

Where is the path coming from used by insmod?



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes Grand prize is a trip for two to an Open Source event anywhere in the
world http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.173 / Virus Database: 270.7.6/1710 - Release Date: 10/6/2008
9:23 AM


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problem after installation of EMC2 on Ubuntu 8.04

2008-10-05 Thread Alex Joni
Seem you booted the wrong kernel.
If you install emc2 after you installed a regular Ubuntu then you'll get 
both the RTAI kernel and the generic Ubuntu kernel installed.
If there are updates to the generic Ubuntu kernel, then that one will be 
automatically selected on your next boot.
You can change the order (so that the rtai kernel starts first) either by 
changing /boot/grub/menu.lst or by hitting Esc when the PC starts booting 
(right after BIOS POST), then you can select which kernel to boot.

Best regards,
Alex

- Original Message - 
From: thibault martin [EMAIL PROTECTED]
To: emc-users@lists.sourceforge.net
Sent: Sunday, October 05, 2008 4:26 PM
Subject: [Emc-users] Problem after installation of EMC2 on Ubuntu 8.04



Hi,
I'm a new user of EMC2 to pilot my new cnc milling machine for my hobby !
I've just install EMC2 on my laptop with Ubuntu 8.04 (using emc2-install.sh 
for ubuntu 8.04)
When I laucht the program, I chose the sim axis configuration because my cnc 
is not operationnal and I've this error message:
What's the problem
Thanks (sorry for my bad english, I'm french and a new user of a Linux 
distribution)

Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=/usr/bin/inivar
HALCMD=/usr/bin/halcmd
EMC2_EMCSH=/usr/bin/emcsh
EMC2_IOSH=/usr/bin/iosh
EMC2 - 2.2.6
Machine configuration directory is '/home/robiez/emc2/configs/sim'
Machine configuration file is 'axis.ini'
INIFILE=/home/robiez/emc2/configs/sim/axis.ini
PARAMETER_FILE=sim.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=halui
DISPLAY=axis
NML_FILE=emc.nml
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Realtime system did not load
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=12203
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Kernel message information:
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 2.6.24-19-generic ([EMAIL PROTECTED]) (gcc 
version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Wed Aug 20 22:56:21 UTC 2008 
(Ubuntu 2.6.24-19.41-generic)
[0.00] BIOS-provided physical RAM map:
[0.00]  BIOS-e820:  - 0009f800 (usable)
[0.00]  BIOS-e820: 0009f800 - 000a (reserved)
[0.00]  BIOS-e820: 000ce000 - 000d (reserved)
[0.00]  BIOS-e820: 000dc000 - 0010 (reserved)
[0.00]  BIOS-e820: 0010 - bfed (usable)
[0.00]  BIOS-e820: bfed - bfee3000 (ACPI NVS)
[0.00]  BIOS-e820: bfee3000 - c000 (reserved)
[0.00]  BIOS-e820: e000 - f000 (reserved)
[0.00]  BIOS-e820: fec0 - fec1 (reserved)
[0.00]  BIOS-e820: fed0 - fed00400 (reserved)
[0.00]  BIOS-e820: fed14000 - fed1a000 (reserved)
[0.00]  BIOS-e820: fed1c000 - fed9 (reserved)
[0.00]  BIOS-e820: fee0 - fee01000 (reserved)
[0.00]  BIOS-e820: ff00 - 0001 (reserved)
[0.00] 2174MB HIGHMEM available.
[0.00] 896MB LOWMEM available.
[0.00] found SMP MP-table at 000f76f0
[0.00] Entering add_active_range(0, 0, 786128) 0 entries of 256 used
[0.00] Zone PFN ranges:
[0.00]   DMA 0 - 4096
[0.00]   Normal   4096 -   229376
[0.00]   HighMem229376 -   786128
[0.00] Movable zone start PFN for each node
[0.00] early_node_map[1] active PFN ranges
[0.00] 0:0 -   786128
[0.00] On node 0 totalpages: 786128
[0.00]   DMA zone: 32 pages used for memmap
[0.00]   DMA zone: 0 pages reserved
[0.00]   DMA zone: 4064 pages, LIFO batch:0
[0.00]   Normal zone: 1760 pages used for memmap
[0.00]   Normal zone: 223520 pages, LIFO batch:31
[0.00]   HighMem zone: 4349 pages used for memmap
[0.00]   HighMem zone: 552403 pages, LIFO batch:31
[0.00]   Movable zone: 0 pages used for memmap
[0.00] DMI present.
[0.00] ACPI: RSDP signature @ 0xC00F7670 checksum 0
[0.00] ACPI: RSDP 000F7670, 0024 (r2 DELL  )
[0.00] ACPI: XSDT BFED5CE0, 009C (r1 DELLM08  604  LTP 
0)
[0.00] ACPI: FACP BFEDEB60, 00F4 (r3 TOSCPL CRESTLNE  604 ALAN 
1)
[0.00] ACPI: DSDT BFED7C3B, 6EB1 (r2 TOSCPL CRESTLNE  604 INTL 
20060608)
[0.00] ACPI: FACS BFEE2FC0, 0040
[0.00] ACPI: APIC BFEDEC54, 0068 (r1 INTEL  CRESTLNE  604 LOHR 
5A)
[0.00] ACPI: HPET BFEDECBC, 0038 (r1 INTEL  CRESTLNE