NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Getting LinuxCNC Installing LinuxCNC no linuxcnc start scripts after new installation

Welcome, Guest
Username: Password: Remember me

TOPIC: no linuxcnc start scripts after new installation

Re:no linuxcnc start scripts after new installation 16 Mai 2012 04:35 #20138

  • ArcEye
  • ArcEye's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 1326
  • Thank you received: 102
  • Karma: 129
OK, you anticipated my last before I could send it !!!!!!!!!!!!!!
Would Ubuntu even work if there is not enough disk space?

It could do if Linuxcnc was the last package in the list and there wasn't enough room to install it
That would still leave a little disk space spare.
(It wouldn't even have to be last, so long as the base system was installed and the package that failed and
aborted install, left enough space for the system to initialise)

It's just a speculation based on what little info there is

regards
Last Edit: 16 Mai 2012 05:13 by ArcEye.
The administrator has disabled public write access.

Re:no linuxcnc start scripts after new installation 16 Mai 2012 05:11 #20139

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4955
  • Thank you received: 86
  • Karma: 134
The change I made was to the actual download page
Installing LinuxCNC

The LinuxCNC team now has custom Live-CDs based on Ubuntu:

10.04 Lucid Lynx/LinuxCNC v2.5 (current),
8.04 Hardy Heron (older)
6.06 Dapper Drake (not supported anymore)

The news column seemed to be OK to me.

John
The administrator has disabled public write access.

Re:no linuxcnc start scripts after new installation 16 Mai 2012 05:38 #20141

  • schuhmann
  • schuhmann's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
@ ArcEye

I’m using the Live CD doing the standard procedure for installing on hard drive.
I just loaded the “ubuntu-10.04-linuxcnc2-i386.iso” image again from the main mirror, to make sure I got the right one. And tried it once again. The Result was the same. So I run your script (thanks btw).

The output was:

“Zugriff auf /usr/realtime-2.6.32-122-rtai nicht möglich: Datei oder Verzeichnis nicht gefunden“
Sorry it’s German (because I’m German ;) ).
It tells that there is no /usr/ realtime-2.6.32-122-rtai File not found.
So I checked the /var/log/installer logs and did the installation again. This time in English, so I can show it here.
In syslog it says at line 1254: Removing linuxcnc ...
And right before that: Removing linux-headers-2.6.32-122-rtai ...
(logs attached)

Regards
This attachment is hidden for guests. Please log in or register to see it.
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Re:no linuxcnc start scripts after new installation 16 Mai 2012 07:00 #20144

  • ArcEye
  • ArcEye's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 1326
  • Thank you received: 102
  • Karma: 129
Well that is truly weird.

Incidently it shows that Linuxcnc 2.4 not 2.5 was sourced from the repositories
May 16 11:43:19 ubuntu in-target: Get:1 http://www.linuxcnc.org lucid Release.gpg [198B]
May 16 11:43:19 ubuntu in-target: Ign http://www.linuxcnc.org/emc2/ lucid/base Translation-en_US
May 16 11:43:19 ubuntu in-target: Ign http://www.linuxcnc.org/emc2/ lucid/emc2.4 Translation-en_US
May 16 11:43:19 ubuntu in-target: Get:2 http://www.linuxcnc.org lucid Release [10.0kB]
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/base Packages
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/emc2.4 Packages
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/base Sources
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/emc2.4 Sources
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/base Packages
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/emc2.4 Packages
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/base Sources
May 16 11:43:20 ubuntu in-target: Ign http://www.linuxcnc.org lucid/emc2.4 Sources
May 16 11:43:20 ubuntu in-target: Get:3 http://www.linuxcnc.org lucid/base Packages [5,935B]
May 16 11:43:21 ubuntu in-target: Get:4 http://www.linuxcnc.org lucid/emc2.4 Packages [2,772B]
May 16 11:43:21 ubuntu in-target: Get:5 http://www.linuxcnc.org lucid/base Sources [2,195B]
May 16 11:43:21 ubuntu in-target: Get:6 http://www.linuxcnc.org lucid/emc2.4 Sources [1,975B]
May 16 11:43:21 ubuntu in-target: Fetched 23.1kB in 2s (9,953B/s)

More importantly then ubiquity decides to remove the rtai kernel and all the linuxcnc files and replace with the stock Ubuntu 10.04 kernel
May 16 11:48:06 ubuntu ubiquity: 155319 files and directories currently installed.)
May 16 11:48:06 ubuntu ubiquity: Removing linux-headers-2.6.32-122-rtai ...
May 16 11:48:07 ubuntu ubiquity: Removing linuxcnc ...
May 16 11:48:07 ubuntu ubiquity: Purging configuration files for linuxcnc ...
May 16 11:48:07 ubuntu ubiquity: Removing rtai-modules-2.6.32-122-rtai ...
May 16 11:48:07 ubuntu ubiquity: Purging configuration files for rtai-modules-2.6.32-122-rtai ...
May 16 11:48:07 ubuntu ubiquity: Removing linux-image-2.6.32-122-rtai ...
May 16 11:48:07 ubuntu ubiquity: WARN: Proceeding with removing running kernel image.
May 16 11:48:07 ubuntu ubiquity: Running postrm hook script /usr/sbin/update-grub.
May 16 11:48:08 ubuntu ubiquity: Generating grub.cfg ...
May 16 11:48:09 ubuntu ubiquity: Found linux image: /boot/vmlinuz-2.6.32-41-generic-pae
May 16 11:48:09 ubuntu ubiquity: Found initrd image: /boot/initrd.img-2.6.32-41-generic-pae
May 16 11:48:09 ubuntu ubiquity: Found memtest86+ image: /boot/memtest86+.bin

It also showed various errors relating to ubiquity being unable to resolve host 'ubuntu' near the end, but my syslog has that too.

I will have to run diff on the 2 syslog files to try to see if there is an obvious trigger log event.

This is probably what causes the problem
May 16 11:46:58 ubuntu ubiquity: Selecting previously deselected package linux-image-2.6.32-41-generic-pae.

As soon as that happens, dpkg will purge all the conflicting files and dependencies, ie 2.6.32-122-rtai kernel and all of linuxcnc.
The question is WHY does it revert to the stock kernel?

The only thing that caught my eye so far, is that in the partman log, you chose to format your partition ext4, whereas I always use ext2.
Just wondering if ubiquity thinks the stock kernel is the only one supporting ext4?

Do you fancy having another go, formatting your partition ext2 and re-installing whilst I compare the logs further ?

regards
Last Edit: 16 Mai 2012 07:11 by ArcEye.
The administrator has disabled public write access.

Re:no linuxcnc start scripts after new installation 16 Mai 2012 08:06 #20146

  • schuhmann
  • schuhmann's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Nice shot! Ext2 worked.

And suddenly all the little linuxcnc start scrips are where they belong.

Thank You very much!

Regards
The administrator has disabled public write access.

Resolved :no linuxcnc after new installation 16 Mai 2012 08:10 #20147

  • ArcEye
  • ArcEye's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 1326
  • Thank you received: 102
  • Karma: 129
Hi

Glad you got that sorted - leaves a BIG question as to why ubiquity, which was running on a 2.6.32-122-rtai kernel at the time and quite happily playing with a
ext4 partition, thought it needed the stock kernel.

I will have to look at the modules and try to get hold of the kernel .config file

This probably needs flagging up until resolved

regards
Last Edit: 16 Mai 2012 08:18 by ArcEye.
The administrator has disabled public write access.
Time to create page: 1.392 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.