LinuxCNC (EMC2) on Puppy
Toni -- trying to catch up.....
But just tried this with your present install and I must be doing something wrong ???
root@debian:~# cd /usr/realtime-3.4-9-rtai-686-pae/modules
root@debian:/usr/realtime-3.4-9-rtai-686-pae/modules# modprobe rtai_hal.ko
FATAL: Module rtai_hal.ko not found.
root@debian:/usr/realtime-3.4-9-rtai-686-pae/modules# ls
Module.symvers rtai_calibrate.ko rtai_mq.ko rtai_tasklets.ko
latency_rt.ko rtai_hal.ko rtai_mup.ko rtai_tbx.ko
linuxcnc rtai_ksched.ko rtai_sched.ko rtai_up.ko
preempt_rt.ko rtai_lxrt.ko rtai_smi.ko switches_rt.ko
rtai_bits.ko rtai_math.ko rtai_smp.ko
nevermind ./
But just tried this with your present install and I must be doing something wrong ???
root@debian:~# cd /usr/realtime-3.4-9-rtai-686-pae/modules
root@debian:/usr/realtime-3.4-9-rtai-686-pae/modules# modprobe rtai_hal.ko
FATAL: Module rtai_hal.ko not found.
root@debian:/usr/realtime-3.4-9-rtai-686-pae/modules# ls
Module.symvers rtai_calibrate.ko rtai_mq.ko rtai_tasklets.ko
latency_rt.ko rtai_hal.ko rtai_mup.ko rtai_tbx.ko
linuxcnc rtai_ksched.ko rtai_sched.ko rtai_up.ko
preempt_rt.ko rtai_lxrt.ko rtai_smi.ko switches_rt.ko
rtai_bits.ko rtai_math.ko rtai_smp.ko
nevermind ./
[color=darkblue]Acer Aspire 5349-2635 laptop Tahrpup.[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
Thank you Toni --- just to fill in on what I've tried with the DebDog LinCNC,
I made a symlink in etc/modules/extras/ pointing to the linuxcnc /usr modules and then did a depmod -a
Then tried
modprobe rtai-hal
I got no error messages, but lsmod didn't show it.
I get the "Operation not permitted" error message when I
insmod rtai_hal.ko
but I don't get it for
modprobe rtai_hal
I looked at the init.d/realtime script and saw that they don't use insmod or modprobe, but call a custom binary for inserting a module.
Now I am downloading the Debian version of LinuxCNC as you requested, and will find Plop and try them out together.
I made a symlink in etc/modules/extras/ pointing to the linuxcnc /usr modules and then did a depmod -a
Then tried
modprobe rtai-hal
I got no error messages, but lsmod didn't show it.
I get the "Operation not permitted" error message when I
insmod rtai_hal.ko
but I don't get it for
modprobe rtai_hal
I looked at the init.d/realtime script and saw that they don't use insmod or modprobe, but call a custom binary for inserting a module.
Now I am downloading the Debian version of LinuxCNC as you requested, and will find Plop and try them out together.
[color=darkblue]Acer Aspire 5349-2635 laptop Tahrpup.[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
Toni sorry, big mistake:
the kernel I referenced earlier is for the Lucid version of LinuxCNC not the Hardy version.
The Lucid 10.04 version is here:
http://dsplabs.upt.ro/~juve/emc/get.php ... 3-i386.iso
MD5SUM 76dc2416b917679b71255e464ede84ec.
The version currently running on the Thinkpad 600E is the Hardy 8.04 (link provided earlier)
The kernel for that one is 2.6.24-16-rtai
the kernel I referenced earlier is for the Lucid version of LinuxCNC not the Hardy version.
The Lucid 10.04 version is here:
http://dsplabs.upt.ro/~juve/emc/get.php ... 3-i386.iso
MD5SUM 76dc2416b917679b71255e464ede84ec.
The version currently running on the Thinkpad 600E is the Hardy 8.04 (link provided earlier)
The kernel for that one is 2.6.24-16-rtai
[color=darkblue]Acer Aspire 5349-2635 laptop Tahrpup.[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
Thanks, Vtpup.vtpup wrote:Now I am downloading the Debian version of LinuxCNC as you requested, and will find Plop and try them out together.
This is important test because if the official Debian linuxcnc version works on your machine something is wrong in the testing iso and we will concentrate fixing the problem in DebianDog version.
If it does not work we will try with the kerenel from Ubuntu 8.4 or different.
The problem is I get different output than you from the same commands on old hardware like yours and the official Debian linuxcnc gives the same output on my hardware.
BTW some information about official 1,1 Gb iso - it should boot to desktop after a while as user. If you logout instead rebooting you can login with username user and password live.
If you need to login as root drop back to console with Ctrl+Alt+F1 and setup root password with:
Code: Select all
sudo passwd root
Code: Select all
sudo login
Toni
- Revolverve
- Posts: 255
- Joined: Sat 08 Nov 2008, 21:01
- Location: 45°17'28.8"N 72°16'08.8"W_avatar/ mira.ca
Hi saintless, all, frustrating evening -- I did indeed get plop working, only to find I didn't have a free memory stick over 1 gig. I had 5 sticks of the 1G size, but LinuxCNC on Debian is 1.1G and doesn't fit! (Wish they'd trimmed about 150 meg off of it ).
But plop is nice to have. I can boot the TP600E off of USB now! I'll get a bigger mem stick tomorrow. I'll also Revolverve's change tonight.
btw -- I've always been able to get LinuxCNC to start it's splash screen and interface query with DebianDog but when I select the Axis interface (that's the one with the 3D display) and chose a machine type Gantry, is when the errors show up and crash. So it's pretty close to running.
Okay, on to testing .....
But plop is nice to have. I can boot the TP600E off of USB now! I'll get a bigger mem stick tomorrow. I'll also Revolverve's change tonight.
btw -- I've always been able to get LinuxCNC to start it's splash screen and interface query with DebianDog but when I select the Axis interface (that's the one with the 3D display) and chose a machine type Gantry, is when the errors show up and crash. So it's pretty close to running.
Okay, on to testing .....
[color=darkblue]Acer Aspire 5349-2635 laptop Tahrpup.[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
One question, sorry, how/where do I get these?
Installed the following packages:
libgl1-mesa-swx11 (8.0.5-4+deb7u2)
libosmesa6 (8.0.5-4+deb7u2)
[color=darkblue]Acer Aspire 5349-2635 laptop Tahrpup.[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
- Revolverve
- Posts: 255
- Joined: Sat 08 Nov 2008, 21:01
- Location: 45°17'28.8"N 72°16'08.8"W_avatar/ mira.ca
- Revolverve
- Posts: 255
- Joined: Sat 08 Nov 2008, 21:01
- Location: 45°17'28.8"N 72°16'08.8"W_avatar/ mira.ca
Need to update the package list first...because its a live boot ?!#! could be...
- Attachments
-
- 2014-09-14-225558_1280x800_scrot.png
- Yep...does simulation....no real machine test yet..go ahead plug that interface,home the beast,mill.:)oups i've put my window in front of the lens,sorry
- (142.25 KiB) Downloaded 504 times
Sorry, yes, found and installed them.
No joy, though. There was no difference.
My problem hasn't been video -- that works.
But rtai and hal kernel module loading.is the problem. The error messages haven't changed.
No joy, though. There was no difference.
My problem hasn't been video -- that works.
But rtai and hal kernel module loading.is the problem. The error messages haven't changed.
[color=darkblue]Acer Aspire 5349-2635 laptop Tahrpup.[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
Hi, Vtpup, don't buy new flash drive
Actually Revolverve found already the solution - thanks Revolverve !
See the picture on my old machine with Axis -> Gantry settings:
We just need some extra steps for our old machines
1. Boot adding lapic at the end of "append initrd" line. If you boot from CD just press Tab to edit the line.
If you use frugal install with grub4dos like me add lapic to the end of the kernel boot line.
2. Run this commands before starting linuxcnc:
Works the same way from user account puppy:
If it works for you I will rebuild the iso with the fixes and some latest changes for DebianDog today or tomorrow. I will fix also the remaster scripts to work without making troubles for linuxcnc and you will be able to remaster the system much smaller (or bigger) for your needs.
Toni
Actually Revolverve found already the solution - thanks Revolverve !
See the picture on my old machine with Axis -> Gantry settings:
We just need some extra steps for our old machines
1. Boot adding lapic at the end of "append initrd" line. If you boot from CD just press Tab to edit the line.
If you use frugal install with grub4dos like me add lapic to the end of the kernel boot line.
2. Run this commands before starting linuxcnc:
Code: Select all
root@debian:~# ulimit -l
64
root@debian:~# ulimit -l 20480
root@debian:~# ulimit -l
20480
root@debian:~# linuxcnc
LINUXCNC - 2.6.3-13-g7fdc948
Machine configuration directory is '/usr/share/doc/linuxcnc/examples/sample-configs/sim/axis'
Machine configuration file is 'gantry.ini'
Starting LinuxCNC...
Shutting down and cleaning up LinuxCNC...
root@debian:~#
Code: Select all
puppy@debian:~$ ulimit -l
20480
puppy@debian:~$ linuxcnc
LINUXCNC - 2.6.3-13-g7fdc948
Machine configuration directory is '/home/puppy/linuxcnc/configs/sim.axis'
Machine configuration file is 'gantry.ini'
Starting LinuxCNC...
No option 'tto_g11' in section: 'DEFAULT'
No option 'show_program' in section: 'DEFAULT'
No option 'show_rapids' in section: 'DEFAULT'
No option 'program_alpha' in section: 'DEFAULT'
No option 'show_live_plot' in section: 'DEFAULT'
No option 'show_tool' in section: 'DEFAULT'
No option 'show_extents' in section: 'DEFAULT'
No option 'show_offsets' in section: 'DEFAULT'
No option 'grid_size' in section: 'DEFAULT'
No option 'show_machine_limits' in section: 'DEFAULT'
No option 'show_machine_speed' in section: 'DEFAULT'
No option 'show_distance_to_go' in section: 'DEFAULT'
No option 'dro_large_font' in section: 'DEFAULT'
No option 'block_delete' in section: 'DEFAULT'
No option 'optional_stop' in section: 'DEFAULT'
No option 'recentfiles' in section: 'DEFAULT'
Shutting down and cleaning up LinuxCNC...
puppy@debian:~$
Toni
- Revolverve
- Posts: 255
- Joined: Sat 08 Nov 2008, 21:01
- Location: 45°17'28.8"N 72°16'08.8"W_avatar/ mira.ca
Edited...
I added Debiandog to my hd w/frugal install. Then added lapic to the kernel boot line in Grub.
then tried starting LinuxCNC:
I added Debiandog to my hd w/frugal install. Then added lapic to the kernel boot line in Grub.
then tried starting LinuxCNC:
Code: Select all
root@debian:~# ulimit -l 20480
root@debian:~# ulimit -l
20480
root@debian:~# linuxcnc
LINUXCNC - 2.6.3-11-gb38797a
Machine configuration directory is '/usr/share/doc/linuxcnc/examples/sample-configs/sim/axis'
Machine configuration file is 'gantry.ini'
Starting LinuxCNC...
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/rtai_hal.ko: Operation not permitted
Realtime system did not load
Shutting down and cleaning up LinuxCNC...
RTAPI: ERROR: could not open shared memory (errno=2)
/usr/bin/linuxcnc: line 498: 3221 Segmentation fault $HALCMD stop
RTAPI: ERROR: could not open shared memory (errno=2)
/usr/bin/linuxcnc: line 498: 3222 Segmentation fault $HALCMD unload all
RTAPI: ERROR: could not open shared memory (errno=2)
[color=darkblue]Acer Aspire 5349-2635 laptop Tahrpup.[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
Uploaded second version DebianDog-Jwm-3.4-9-rtai-686-pae-2.iso - 234Mb:
Direct download link
md5sum 6b9d5701f10b148a24f8b7f046e51880
Previous iso removed.
Mirror download from here:
http://www.mydrive.ch/
username: guest@saintless
password: download
Edit:29.04.2016 - I have e-mail from mydrive.ch my free account will have 100Mb storage limit in a month. I had to remove all files over 100Mb limit. Uploaded text file ISO-files-Moved-Here.txt with new storage location in dropbox in case someone visits mydrive.ch. This is the new download link:
https://www.dropbox.com/sh/ca58blnh2m6h ... Th0oa?dl=0
Changes:
Added lapic to the boot code line.
Removed libgl1-mesa-glx
Installed libgl1-mesa-swx11 and libosmesa6.
Remaster scripts fixed for linuxcnc /usr/share/doc/linuxcnc configuration files.
Added latest fixes for DebianDog.
Linuxcnc starts without errors on two old P-III machines.
Edit: Important note - if you already have frugal install make sure to rename live folder and any changes.dat file from previous testing before booting this new CD. Read DebianDog porteus-boot post for more detailed information.
Toni
Direct download link
md5sum 6b9d5701f10b148a24f8b7f046e51880
Previous iso removed.
Mirror download from here:
http://www.mydrive.ch/
username: guest@saintless
password: download
Edit:29.04.2016 - I have e-mail from mydrive.ch my free account will have 100Mb storage limit in a month. I had to remove all files over 100Mb limit. Uploaded text file ISO-files-Moved-Here.txt with new storage location in dropbox in case someone visits mydrive.ch. This is the new download link:
https://www.dropbox.com/sh/ca58blnh2m6h ... Th0oa?dl=0
Changes:
Added lapic to the boot code line.
Removed libgl1-mesa-glx
Installed libgl1-mesa-swx11 and libosmesa6.
Remaster scripts fixed for linuxcnc /usr/share/doc/linuxcnc configuration files.
Added latest fixes for DebianDog.
Linuxcnc starts without errors on two old P-III machines.
Edit: Important note - if you already have frugal install make sure to rename live folder and any changes.dat file from previous testing before booting this new CD. Read DebianDog porteus-boot post for more detailed information.
Toni
Last edited by saintless on Fri 29 Apr 2016, 09:33, edited 5 times in total.
Okay Toni, I will try the new version, but first want to report on the last boot attempt with the old version:
I can confirm that I removed the following packages:
libgl1-mesa-glx
and installed the following packages:
libgl1-mesa-swx11 (8.0.5-4+deb7u2)
libosmesa6 (8.0.5-4+deb7u2)
I also had done:
Here is a new clue from dmesg though:
However, I did include lapic in the boot .Here is my entire boot stanza for debiandog in Grub:
I can confirm that I removed the following packages:
libgl1-mesa-glx
and installed the following packages:
libgl1-mesa-swx11 (8.0.5-4+deb7u2)
libosmesa6 (8.0.5-4+deb7u2)
I also had done:
Code: Select all
root@debian:~# ulimit -l 20480
Here is a new clue from dmesg though:
Code: Select all
[ 116.866320] RTAI[hal]: ERROR, LOCAL APIC CONFIGURED BUT NOT AVAILABLE/ENABLED
Code: Select all
title DebianDog frugal
rootnoverify (hd0,5)
kernel /debiandog/live/vmlinuz1 from=/mnt/sda6/debiandog edd=off changes=/mnt/sda6 nomagic base_only norootcopy lapic
initrd=/debiandog/live/initrd1.xz
[color=darkblue]Acer Aspire 5349-2635 laptop Tahrpup.[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
Note that the system that does run on this computer is LinuxCNC 2.5
And the DebianDog version of LinuxCNC is 2.6
I periodically boot back into the Ubuntu version to make sure everything works. It does. There is no "lapic" cheatcode in the Ubuntu grub stanza.
(I'm downloading the new DebianDog now)
And the DebianDog version of LinuxCNC is 2.6
I periodically boot back into the Ubuntu version to make sure everything works. It does. There is no "lapic" cheatcode in the Ubuntu grub stanza.
(I'm downloading the new DebianDog now)
[color=darkblue]Acer Aspire 5349-2635 laptop Tahrpup.[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]
[color=blue]Acer R11 and C720 Chromebks Bionicpup64[/color]
[color=olive]Acer Iconia A1-830 tablet no pup[/color]
[color=orange]www.sredmond.com[/color]