Linuxcnc terminated with an error!
- airbornepp
- Offline
- New Member
- Posts: 10
- Thank you received: 0
Now i try to install the old last emc2 distribution, and the program run but now the pci controller is disable:
0000:03:00.0 Communications controller: NetMos Technology PCI 1 port parallel adapter (rev 01)
Subsystem: LSI Logic / Symbios Logic: Unknow device 0010
Flags: medium devsel, IRQ 10
I/O ports at 1010 [disabled]
I/O ports at 1018 [disabled]
I/O ...
Any idea?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
3:00.0 Communication controller: NetMos Technology PCI 1 port parallel adapter (rev 01)
Subsystem: LSI Logic / Symbios Logic Device 0010
Flags: medium devsel, IRQ 20
I/O ports at 1010
I/O ports at 1018
I/O ports at 1020
I/O ports at 1028
I/O ports at 1030
I/O ports at 1000
Kernel driver in use: parport_pc
Kernel modules: parport_pc
Just another thought.
parport_pc should not have been loaded in your earlier tests, you may need to go into /etc/modprobe.d/linuxcnc.conf and uncomment the line
install parport_pc /bin/true
which blocks the loading of that module because it clashes with hal_parport.
It would be worth checking /etc/modules and make sure there is not a line
lp
because that will load lp, ppdev and parport_pc and is the normal setting for a system with a printer, which you don't need.
However, you will see that the use of parport_pc (and lp and ppdev which are deps) is necessary to get some old MosChip (NetMOS) parallel port cards to work, by loading the modules so that the ports and registers are enabled and then unloading them so that hal_parport can access the port(s)
lspci -vv (2 v's) should give the parport card chip number
If it is 9805 or 9815 you might want to consider getting a newer card, those chips are well flaky and have caused no end of problems.
www.linuxcnc.org/index.php/english/forum...-parallel-port-cards
regards
Please Log in or Create an account to join the conversation.
- airbornepp
- Offline
- New Member
- Posts: 10
- Thank you received: 0
Befor start EMC2 i send this commands:
sudo /sbin/insmod /lib/modules/2.6.15-magma/kernel/drivers/parport/parport_pc.ko
sudo /sbin/rmmod ppdev
sudo /sbin/rmmod lp
sudo /sbin/rmmod parport_pc
Molte grazie!
Please Log in or Create an account to join the conversation.
- airbornepp
- Offline
- New Member
- Posts: 10
- Thank you received: 0
I have made many other experiments:
I bought a pad for my notebook, so now I can use the integrated parallel card. Now the Ubuntu 8.04 liveCD works perfectly without other settings
But with Ubuntu 10.04 liveCD I always have the same problem as before, so the problem is not in the parallel card
This is print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.2
Machine configuration directory is '/home/alberto/linuxcnc/configs/FuturaElettronica'
Machine configuration file is 'FuturaElettronica.ini'
INIFILE=/home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting TASK program: milltask
Starting DISPLAY program: axis
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
Shutting down and cleaning up LinuxCNC...
USRMOT: ERROR: command timeout
Killing task linuxcncsvr, PID=1602
Killing task milltask, PID=1651
USRMOT: ERROR: command timeout
USRMOT: ERROR: command timeout
Timeout, trying kill -9
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
Unrecognized line skipped: POC FMS LEN DIAM COMMENT
A configuration error is preventing LinuxCNC from starting.
More information may be available when running from a terminal.
1602
PID TTY STAT TIME COMMAND
1651
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? R 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? R 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? R 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
1651 ? S 0:00 milltask -ini /home/alberto/linuxcnc/configs/FuturaElettronica/FuturaElettronica.ini
PID TTY STAT TIME COMMAND
/usr/bin/linuxcnc: line 381: 1651 Killed $EMCTASK -ini "$INIFILE"
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 29.404734] I-pipe: Domain RTAI registered.
[ 29.404745] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 29.404748] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 29.404810] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 29.404813] PIPELINE layers:
[ 29.404818] f8b3ee20 9ac15d93 RTAI 200
[ 29.404821] c085cb20 0 Linux 100
[ 29.433590] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 29.433860] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 29.433867] RTAI[sched]: hard timer type/freq = APIC/12468680(Hz); default timing: periodic; linear timed lists.
[ 29.433872] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1596001000 hz.
[ 29.433875] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 29.433985] RTAI[usi]: enabled.
[ 29.488986] RTAI[math]: loaded.
[ 29.601071] config string '0x378 out '
[ 38.598598] RTAI[math]: unloaded.
[ 38.643592] SCHED releases registered named ALIEN RTGLBH
[ 38.672764] RTAI[malloc]: unloaded.
[ 38.779064] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 38.782821] I-pipe: Domain RTAI unregistered.
[ 38.782932] RTAI[hal]: unmounted.
Please Log in or Create an account to join the conversation.
There is something about the ini file in your config it does not like
/usr/bin/linuxcnc: line 381: 1651 Killed $EMCTASK -ini "$INIFILE"
I assume you do not have the NML_FILE = emc.nml line uncommented?
Have you tried running a sim, like axis_mm?
This configuration worked on my test machine, so it is hard to know why it won't on yours.
If 8.04 works I would just stay with that, it is the Linuxcnc version that matters not the Ubuntu one.
regards
Please Log in or Create an account to join the conversation.
- airbornepp
- Offline
- New Member
- Posts: 10
- Thank you received: 0
I tried with axis_mm but the result is the same.
Ciao
Please Log in or Create an account to join the conversation.
Unrecognized line skipped: POC FMS LEN DIAM COMMENT
www.linuxcnc.org/docs/html/gcode/tool_co...l#_tool_table_format
John
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
JT
Please Log in or Create an account to join the conversation.