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 Hardware Computer rtai_smi.ko stopped working

Welcome, Guest
Username: Password: Remember me

TOPIC: rtai_smi.ko stopped working

Re:rtai_smi.ko stopped working 05 Aug 2012 02:55 #22841

  • ArcEye
  • ArcEye's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1338
  • Thank you received: 102
  • Karma: 129
The only other glitch I remember was that pci_ids.h was not up to date and I may have added the extra device and vendor ids

I checked rtai 3.9 and magma to refresh my memory

smi_module.c is in /rtai_3.9/base/arch/i386/calibration but not in ..../arch/x86_64/calibration

However, magma DOES have smi_module.c in .../base/arch/x86_64/calibration

Doing a diff, they are identical, except that the x86_64 module contains a clumsy and unnecessary #ifdef in the pci_device struct regards ICH10_1
(unnecessary because it has just been defined a few lines higher up!)

looks like that is your best bet

good luck

PS Looks like we both got to the same place and our posts crossed!
Last Edit: 05 Aug 2012 03:22 by ArcEye.
The administrator has disabled public write access.

Re:rtai_smi.ko stopped working 05 Aug 2012 03:21 #22842

  • _jC
  • _jC's Avatar
  • NOW ONLINE
  • Expert Boarder
  • Posts: 85
  • Karma: 1
OK, I've got a solution for this.

The problem is that rtai_smi.ko is in the 'i386' target set of the makefiles, which will or course be ignored for either x86 or x86_64 platforms.

The simplest workaround is to build as normal.

Download RTAI-(version) into (for example) /usr/src/rtai-3.9

cd /usr/src/rtai-3.9
make menuconfig ; make ; (sudo) make install

--- then ---

cd /usr/src/rtai-3.9/base/arch/i386/calibration
ln -s Makefile.kbuild Makefile
make; (sudo) make install

bada bing; bada boom; & the missing bits build and install themselves.

whata PITA!
I hope this post helps someone else!!!

Cheers
_jC
.
The administrator has disabled public write access.
Moderators: ArcEye
Time to create page: 1.261 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.