On Sunday 28 May 2017 15:20:04 Bertho Stultiens wrote:

> On 05/28/2017 09:00 PM, Gene Heskett wrote:
> > Boots right up, x still busted, plugged in the HD and while it
> > didn't mount anything, it id'd /dev/sda1 2 & 3, which are empty,
> > with one as /boot, 2 as / and 3 as swap.
>
> That should be about right, except... I'm using a filesystem-file as
> swap. But that is just a minor detail.
>
> > But linuxcnc won't run, claims it only runs on a raspberrypi 1,2,3
> > when it tries to load hm2_rpspi.  Strange error to me. Idea(s)?
> >
> > When over-writing in the /boot of the card, I did not copy
> > config.txt because I have some stuff to make it recognize the
> > monitor set and the audio disabled, its attached, and I didn't
> > over-write cmdline.txt, also attached.
>
> There is one parameter that needs to be added to cmdline.txt:
> sdhci_bcm2708.enable_llm=0
>
Put that in the middle of the line, rebooted, but don't see any diff in 
the error so here's the whole thing:

pi@pionsheldon:~ $ linuxcnc -l
LINUXCNC - 2.8.0-pre1-2771-gdc2ff49
Machine configuration directory 
is '/home/pi/linuxcnc/configs/sheldon-lathe'
Machine configuration file is '7i90-axis.ini'
Starting LinuxCNC...
Found file(REL): ./hm2-7i90-stepper.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
HAL_hm2_rpspi: ERROR: Unsupported Platform, only Raspberry1/2/3 
supported...
rtapi_app: caught signal 11 - dumping core
./hm2-7i90-stepper.hal:32: waitpid failed /usr/bin/rtapi_app hm2_rpspi

./hm2-7i90-stepper.hal:32: /usr/bin/rtapi_app exited without becoming 
ready
./hm2-7i90-stepper.hal:32: insmod for hm2_rpspi failed, returned -1
Shutting down and cleaning up LinuxCNC...
Waited 3 seconds for master.  giving up.
Note: Using POSIX realtime
hm2_rpspi: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
hostmot2: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
threads: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
motmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
Note: Using POSIX realtime
trivkins: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the 
log:

That faint scratching sound?  Me, scratching head. :)

However, if it makes any diff, this is linuxcnc-uspace I am trying to 
run. And with the buildbot down, I've no access to the rt version. :( 

> I took the instructions from Machinekit docs :-) See:
> https://github.com/koppi/mk/blob/master/Machinekit-RT-Preempt-RPI.md
>
>
> Well, I'n now in the position that I can report the following:
> ...
> Starting LinuxCNC...
> Starting LinuxCNC server program: linuxcncsvr
> Loading Real Time OS, RTAPI, and HAL_LIB modules
> Starting LinuxCNC IO program: io
> Found file(REL): ./hm2-7i90-stepper.hal
> Note: Using POSIX realtime
> hm2: loading Mesa HostMot2 driver version 0.15
> Invalid cookie
> Read: 00000000 00000000 00000000 00000000
> hm2_rpspi: rtapi_app_main: No such device (-19)
> ...
>
Absolutely beautiful, expected when no 7i90 is present and hooked up.

> YES! I can the module to fail. Now I'll be hooking up a scope to see
> what is going on (this may take a day longer, dayjob and all that,
> bummer).

Yup, until SS kicks in because you haven't kicked the bucket yet, there 
is always that.  And it can be a bummer.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to