LinuxCNC nie włącza się

Dyskusje dotyczące działania obsługi programu LinuxCNC

Autor tematu
enterzbigi
Specjalista poziom 1 (min. 100)
Specjalista poziom 1 (min. 100)
Posty w temacie: 3
Posty: 102
Rejestracja: 02 wrz 2005, 19:53
Lokalizacja: Grudzi?dz

LinuxCNC nie włącza się

#1

Post napisał: enterzbigi » 11 lut 2013, 18:27

Witam
wczoraj dotknęła mnie przykra niespodzianka w postaci niedziałającego linuxcnc :(
Program generuje w linuxcnc_print
  • 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
    INIFILE=/home/tata/linuxcnc/configs/Sherline3Axis-1/Sherline3Axis_mm.ini
    PARAMETER_FILE=stepper.var
    TASK=milltask
    HALUI=
    DISPLAY=axis
    Starting LinuxCNC server program: linuxcncsvr
    Loading Real Time OS, RTAPI, and HAL_LIB modules
    Starting LinuxCNC IO program: io
    Killing task linuxcncsvr, PID=4832
    Removing HAL_LIB, RTAPI, and Real Time OS modules
    Removing NML shared memory segments
a w linuxcnc_debug
  • 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
    4832
    PID TTY STAT TIME COMMAND
    Stopping realtime threads
    Unloading hal components
a terminalu
  • LINUXCNC - 2.5.0
    Machine configuration directory is '/home/tata/linuxcnc/configs/Sherline3Axis-1'
    Machine configuration file is 'Sherline3Axis_mm.ini'
    Starting LinuxCNC...
    insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_parport.ko': -1 Resource temporarily unavailable
    standard_pinout.hal:5: exit value: 1
    standard_pinout.hal:5: insmod failed, returned -1
    See the output of 'dmesg' for more information.
    Shutting down and cleaning up LinuxCNC...
    Cleanup done
    LinuxCNC terminated with an error. You can find more information in the log:
    /home/tata/linuxcnc_debug.txt
    and
    /home/tata/linuxcnc_print.txt
    as well as in the output of the shell command 'dmesg' and in the terminal
nie wiem dlaczego to się stało i nie mam pojęcia jak to naprawić bez reinstalacji ubuntu



Tagi:


micges
Specjalista poziom 1 (min. 100)
Specjalista poziom 1 (min. 100)
Posty w temacie: 1
Posty: 292
Rejestracja: 08 sty 2010, 02:04
Lokalizacja: Toruń

#2

Post napisał: micges » 11 lut 2013, 19:16

Jesteś pewien że wybierasz prawidłową konfigurację? Do tej potrzebny jest port równoległy fizycznie obecny w komputerze.


Autor tematu
enterzbigi
Specjalista poziom 1 (min. 100)
Specjalista poziom 1 (min. 100)
Posty w temacie: 3
Posty: 102
Rejestracja: 02 wrz 2005, 19:53
Lokalizacja: Grudzi?dz

#3

Post napisał: enterzbigi » 11 lut 2013, 20:52

ta konfiguracja działała, port lpt fizycznie jest.

Awatar użytkownika

markcomp77
Lider FORUM (min. 2000)
Lider FORUM (min. 2000)
Posty w temacie: 1
Posty: 3962
Rejestracja: 18 wrz 2004, 12:51
Lokalizacja: k/w-wy
Kontakt:

#4

Post napisał: markcomp77 » 11 lut 2013, 21:02

skoro
enterzbigi pisze: port lpt fizycznie jest.
i
enterzbigi pisze:

Kod: Zaznacz cały

insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_parport.ko': -1 Resource temporarily unavailable
to wygląda jak "śmieci" po poprzednim uruchomieniu linuxcnc...

po wyłączeniu/włączeniu systemu wciąż jest problem?
SpotkanieCNC: STOM-TOOL Marzec 2014
http://www.cnc.info.pl/topics79/spotkan ... t55028.htm

Awatar użytkownika

tuxcnc
Lider FORUM (min. 2000)
Lider FORUM (min. 2000)
Posty w temacie: 2
Posty: 9323
Rejestracja: 26 lut 2011, 23:24
Lokalizacja: mazowieckie

#5

Post napisał: tuxcnc » 11 lut 2013, 21:25

Jaki jest wynik polecenia lsmod ?

.


Autor tematu
enterzbigi
Specjalista poziom 1 (min. 100)
Specjalista poziom 1 (min. 100)
Posty w temacie: 3
Posty: 102
Rejestracja: 02 wrz 2005, 19:53
Lokalizacja: Grudzi?dz

#6

Post napisał: enterzbigi » 12 lut 2013, 15:04

  • root@dom-desktop:/home/tata# lsmod
    Module Size Used by
    usblp 10353 0
    binfmt_misc 6587 1
    dm_crypt 11363 0
    snd_hda_codec_realtek 203166 1
    snd_hda_intel 21723 2
    snd_usb_audio 75733 1
    snd_hda_codec 69517 2 snd_hda_codec_realtek,snd_hda_intel
    snd_pcm_oss 35244 0
    snd_mixer_oss 13695 1 snd_pcm_oss
    snd_pcm 67036 4 snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_pcm_oss
    snd_usb_lib 15358 1 snd_usb_audio
    snd_hwdep 5372 2 snd_usb_audio,snd_hda_codec
    snd_seq_dummy 1338 0
    snd_seq_oss 26726 0
    snd_seq_midi 4557 0
    snd_rawmidi 17955 2 snd_usb_lib,snd_seq_midi
    snd_seq_midi_event 5572 2 snd_seq_oss,snd_seq_midi
    snd_seq 46527 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    snd_timer 18138 2 snd_pcm,snd_seq
    snd_seq_device 5355 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    ppdev 5259 0
    uvcvideo 56990 0
    videodev 33267 1 uvcvideo
    v4l1_compat 13198 2 uvcvideo,videodev
    snd 51043 19 snd_hda_codec_realtek,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    parport_pc 25637 1
    joydev 8644 0
    serio_raw 3978 0
    k8temp 3024 0
    soundcore 6016 1 snd
    snd_page_alloc 6717 2 snd_hda_intel,snd_pcm
    i2c_nforce2 5159 0
    lp 7028 2
    parport 30764 3 ppdev,parport_pc,lp
    dm_raid45 81157 0
    xor 14673 1 dm_raid45
    fbcon 35102 71
    tileblit 1987 1 fbcon
    font 7406 1 fbcon
    bitblit 4664 1 fbcon
    softcursor 1151 1 bitblit
    vga16fb 11161 0
    vgastate 8760 1 vga16fb
    usbhid 35772 0
    hid 65804 1 usbhid
    usb_storage 38013 0
    radeon 674008 2
    ttm 46069 1 radeon
    drm_kms_helper 27748 1 radeon
    floppy 51992 0
    drm 154120 4 radeon,ttm,drm_kms_helper
    agpgart 29292 2 ttm,drm
    i2c_algo_bit 4903 1 radeon
    sata_nv 19376 2
    forcedeth 49072 0
    pata_amd 8766 0

problem rozwiązany!!
okazało się że ktoś wysłał na drukarkę jakieś dane których drukarka nie przetrawiła (HP930C ale bufor pusty) i 2 zadania wisiały w kolejce linux przy resecie nie usuwał danych wystarczyło otworzyć aktywne zadania i po prostu anulować i usunąć.
Dziękuję za zainteresowanie pozdrawiam ZD

Awatar użytkownika

tuxcnc
Lider FORUM (min. 2000)
Lider FORUM (min. 2000)
Posty w temacie: 2
Posty: 9323
Rejestracja: 26 lut 2011, 23:24
Lokalizacja: mazowieckie

#7

Post napisał: tuxcnc » 12 lut 2013, 17:46

Problemem jest to, że w ogóle podłączasz drukarkę do portu LPT.
Powoduje to załadowanie do jądra modułów które gryzą się z modułami Rtai używanymi przez LinuxCNC.

.

ODPOWIEDZ Poprzedni tematNastępny temat

Wróć do „LinuxCNC (dawniej EMC2)”