Whezzy LinuxCNC2.8 RTAI na Buster preempt-rt LinuxCNC2.8.0 nejde?!!! Oprava nie 5i22 ale 5i20

00alkskodi00
Příspěvky: 153
Registrován: 20. 11. 2014, 6:31

26. 2. 2021, 6:41

Zdravim vsetkych

mam takyto problem

Mal som nainstalovany Whezzy LinuxCNC2.8 s RTAI kernelom a dnes som nahodil Bster s LinuxCNC2.8 a po nakopirovani mojej konfiguracie zo streho systemu do noveho to jednoducho nejde, skusal som aj nakopirovat lib/firmware/hm2/5i20... ani to nepomohlo

pred par mesiacmi som skusal linux mint s preempt-rt jadrom a takisto to neslo, preto som dnes skusil novy pokus s oficilnym isom zo stranky linuxcnc.org

moc s av tom nevyznam ale nic ine ma nenapada ako preinstalovat na RTAI, niesom profik takze s rezervou prosim :wink:


este som skusal lspci a tu pci krtu som tam nenasiel tu je vypis lspci:

00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 05)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05)
00:1c.6 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 (rev 05)
00:1c.7 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 8 (rev 05)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation P55 Chipset LPC Interface Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 9800 GT] (rev a2)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
03:00.0 SATA controller: JMicron Technology Corp. JMB361 AHCI/IDE (rev 02)
03:00.1 IDE interface: JMicron Technology Corp. JMB361 AHCI/IDE (rev 02)
07:01.0 Bridge: PLX Technology, Inc. PCI9030 32-bit 33MHz PCI <-> IOBus Bridge
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
3f:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04)
3f:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04)
3f:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04)
3f:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04)
3f:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04)
3f:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04)
3f:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04)
3f:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04)
3f:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04)
3f:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04)
3f:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)




tu je error report:

Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

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/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.8.0
Machine configuration directory is '/home/biesse/linuxcnc/configs/BIESSE_321_R'
Machine configuration file is 'BIESSE_321_R.ini'
INIFILE=/home/biesse/linuxcnc/configs/BIESSE_321_R/BIESSE_321_R.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYZ
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./BIESSE_321_R.hal
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i20 at 0000:07:01.0
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
Note: Using POSIX realtime
hm2_5i20.0: FPGA asserted /INIT: CRC error
hm2/hm2_5i20.0: failed to program fpga, aborting hm2_register
hm2_5i20.0: board fails HM2 registration
RTAPI_PCI: Unmapped 65536 bytes at 0x7fe39a43b000
Driver probe function failed!
hm2_pci: error registering PCI driver
hm2_pci: rtapi_app_main: Operation not permitted (-1)
./BIESSE_321_R.hal:8: waitpid failed /usr/bin/rtapi_app hm2_pci
./BIESSE_321_R.hal:8: /usr/bin/rtapi_app exited without becoming ready
./BIESSE_321_R.hal:8: insmod for hm2_pci failed, returned -1
2441
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime



-----------------------------------------------------------------------
Info report created by linuxcnc_info:
The file: /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
http://pastebin.com
in order to provide information about the linuxcnc
system and configuration.

Date: Pi feb 26 19:11:40 CET 2021
UTC Date: Pi feb 26 18:11:40 UTC 2021
this program: /usr/bin/linuxcnc_info
uptime: 19:11:40 up 13 min, 1 user, load average: 3,39, 3,44, 2,30
lsb_release -sa: Debian Debian GNU/Linux 10 (buster) 10 buster
which linuxcnc: /usr/bin/linuxcnc
pwd: /home/biesse/linuxcnc/configs/BIESSE_321_R
USER: biesse
LOGNAME: biesse
HOME: /home/biesse
EDITOR:
VISUAL:
LANGUAGE:
TERM: dumb
COLORTERM:
DISPLAY: :0.0
DESKTOP: lightdm-xsession
display size: 1600x900 pixels (423x238 millimeters)
PATH: /usr/bin:/home/biesse/linuxcnc/configs/BIESSE_321_R/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
nodename -n: biesse
kernel-name -s: Linux
kernel-vers -v: #1 SMP PREEMPT RT Debian 4.19.146-1 (2020-09-17)
machine -m: x86_64
processor -p: unknown
platform -i: unknown
oper system -o: GNU/Linux

/proc items:
cmdline: BOOT_IMAGE=/boot/vmlinuz-4.19.0-11-rt-amd64 root=UUID=643a490c-eabc-4051-bb88-fad21bf4c4b2 ro initrd=/install/gtk/initrd.gz quiet
model name: Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz
cores: 4
cpu MHz: 1507.390
parport:
serial: 0000-0000 : serial

Versions:
gcc: gcc (Debian 8.3.0-6) 8.3.0
python: Python 2.7.16
git: not_in_PATH
git commit: NA
tcl: 8.6
tk: 8.6
glade: not_in_PATH
glade-gtk2: not_in_PATH

linuxcnc_var all:

LINUXCNCVERSION: 2.8.0
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
REALTIME: /etc/init.d/realtime
RTS: uspace
HALLIB_DIR: /usr/share/linuxcnc/hallib

dpkg -l '*linuxcnc*':
Požadovaný=Neznámy/Inštalovať/Odstrániť/Vyčistiť/Podržať
| Stav=Nie/Inštalovaný/Konfig-súbory/Rozbalený/Zlý-konfig/Polo-inštalovaný/očak-spúšť/čaká-na-spúšť
|/ Chyba?=(žiadna)/Reinšt-vyžadovaná (Stav,Chyba: veľké písmeno=zle)
||/ Názov Verzia Architektúra Popis
+++-===================-============-============-=====================================================================
un linuxcnc <žiadna> <none> (popis nie je k dispozícii)
un linuxcnc-dev <žiadna> <none> (popis nie je k dispozícii)
un linuxcnc-doc <žiadna> <none> (popis nie je k dispozícii)
ii linuxcnc-doc-cn 1:2.8.0 all motion controller for CNC machines and robots (Chinese
ii linuxcnc-doc-en 1:2.8.0 all motion controller for CNC machines and robots (English documentation)
ii linuxcnc-doc-es 1:2.8.0 all controlador de movimiento para máquinas CNC y robots (Español).
ii linuxcnc-doc-fr 1:2.8.0 all motion controller for CNC machines and robots (French documentation)
un linuxcnc-sim <žiadna> <none> (popis nie je k dispozícii)
un linuxcnc-sim-dev <žiadna> <none> (popis nie je k dispozícii)
ii linuxcnc-uspace 1:2.8.0 amd64 motion controller for CNC machines and robots
ii linuxcnc-uspace-dev 1:2.8.0 amd64 PC based motion controller for real-time Linux
Naposledy upravil(a) 00alkskodi00 dne 27. 2. 2021, 6:49, celkem upraveno 4 x.
00alkskodi00
Příspěvky: 153
Registrován: 20. 11. 2014, 6:31

26. 2. 2021, 6:44

este dodm ze ten firmware som kopiroval preto lebo bol myslim vytvoreny clovekom od ktoreho som kupil masinu: svss4_8.BIT

on si uz vobec nepameta ko to vsetko robil...
Uživatelský avatar
robokop
Site Admin
Příspěvky: 22371
Registrován: 10. 7. 2006, 12:12
Bydliště: Praha
Kontaktovat uživatele:

26. 2. 2021, 6:54

zkusil bych rucne flashnout ten firmware
jak jsi tam kopiroval tu konfiguraci neudelal jsi nejakou konverzi na dosovzsky format koncu radku? dost tam kvuli tomu krici a tohle udelat na souboru firmware tak to bude mit tyhle symptomy
Vsechna prava na chyby vyhrazena (E)
00alkskodi00
Příspěvky: 153
Registrován: 20. 11. 2014, 6:31

26. 2. 2021, 7:03

hmm no nieco sa ma to pytalo pri kopirovani, kopiroval som zo streho systemu whezzy do noveho systemu buster cez usb s fat32, le pytalo s ato iba pri kopirovani zlozky linuxcnc k si dobre pmtam
00alkskodi00
Příspěvky: 153
Registrován: 20. 11. 2014, 6:31

26. 2. 2021, 7:17

mam zmenit suborovy system na usb?
Uživatelský avatar
robokop
Site Admin
Příspěvky: 22371
Registrován: 10. 7. 2006, 12:12
Bydliště: Praha
Kontaktovat uživatele:

26. 2. 2021, 7:20

to by nemelo mit vliv ale lepsi to je zabalit do taru a na druhe instalaci rozbalit
Vsechna prava na chyby vyhrazena (E)
00alkskodi00
Příspěvky: 153
Registrován: 20. 11. 2014, 6:31

26. 2. 2021, 7:22

ok idem to skusit
00alkskodi00
Příspěvky: 153
Registrován: 20. 11. 2014, 6:31

26. 2. 2021, 7:40

ako je mozne ze system nevidi tu kartu cez prikaz lspci?
00alkskodi00
Příspěvky: 153
Registrován: 20. 11. 2014, 6:31

26. 2. 2021, 7:56

tak som to dal do TARu a potom rozbalil v Busterovi a ta ista chyba
Uživatelský avatar
robokop
Site Admin
Příspěvky: 22371
Registrován: 10. 7. 2006, 12:12
Bydliště: Praha
Kontaktovat uživatele:

26. 2. 2021, 8:16

00alkskodi00 píše: 26. 2. 2021, 7:40 ako je mozne ze system nevidi tu kartu cez prikaz lspci?
co presne jsi delal?
jsou to dve pc?
nemas zakazane pci karty v biosu
tohle se mi stalo s mesou
lspci ji nevidelo
podobne chovani
Vsechna prava na chyby vyhrazena (E)
Uživatelský avatar
OompaLoompa
Příspěvky: 459
Registrován: 28. 6. 2017, 1:45
Bydliště: Západný Slovakistan

26. 2. 2021, 8:21

00alkskodi00 píše: 26. 2. 2021, 7:40 ako je mozne ze system nevidi tu kartu cez prikaz lspci?
Ale vidí:

07:01.0 Bridge: PLX Technology, Inc. PCI9030 32-bit 33MHz PCI <-> IOBus Bridge
...
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i20 at 0000:07:01.0

skôr by som povedal, že ti k nej v novom systéme chýba kernelový driver
s Mesami ale bežne nepracujem, tak len strielam :)

pozrel by som návod na inštaláciu pre Buster rovno od výrobcu (MESA)
00alkskodi00
Příspěvky: 153
Registrován: 20. 11. 2014, 6:31

26. 2. 2021, 8:22

praveze je to stle ten isty pc pokial mam stary whezzy s RTAI tak ide vsetko ok ale k dam mintos preempt-rt alebo buster preempt-rt tak proste nula bodov
00alkskodi00
Příspěvky: 153
Registrován: 20. 11. 2014, 6:31

26. 2. 2021, 8:24

OompaLoompa píše: 26. 2. 2021, 8:21
00alkskodi00 píše: 26. 2. 2021, 7:40 ako je mozne ze system nevidi tu kartu cez prikaz lspci?
Ale vidí:

07:01.0 Bridge: PLX Technology, Inc. PCI9030 32-bit 33MHz PCI <-> IOBus Bridge
...
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i20 at 0000:07:01.0

skôr by som povedal, že ti k nej v novom systéme chýba kernelový driver
s Mesami ale bežne nepracujem, tak len strielam :)

pozrel by som návod na inštaláciu pre Buster rovno od výrobcu (MESA)

toto napadlo aj mna ale co teraz? nainstalovat mozno nefunkcny RTAI kernel ?
00alkskodi00
Příspěvky: 153
Registrován: 20. 11. 2014, 6:31

26. 2. 2021, 8:30

teraz som este nasiel na oficialnom fore ze mam skusit skopirovat subory pre 5i20 zo stareho systemu do noveho v priecinku /usr/lib/linuxcnc/modules/
Uživatelský avatar
OompaLoompa
Příspěvky: 459
Registrován: 28. 6. 2017, 1:45
Bydliště: Západný Slovakistan

26. 2. 2021, 8:31

00alkskodi00 píše: 26. 2. 2021, 8:24toto napadlo aj mna ale co teraz? nainstalovat mozno nefunkcny RTAI kernel ?
umm :roll: inštalácia chýbajúceho kernel drajvra?
ak ho MESA neposkytuje, tak holt smola → späť na dačo s RTAI
00alkskodi00 píše: 26. 2. 2021, 8:30 teraz som este nasiel na oficialnom fore ze mam skusit skopirovat subory pre 5i20 zo stareho systemu do noveho v priecinku /usr/lib/linuxcnc/modules/
ak v tej MESE máš dáky na kolene zbastlený firmwér, je možné, že používal aj dáky na kolene zbastlený modul (a.k.a LCNC driver), čiže hore uvedený postup by za určitých okolností mohol zabrať
Naposledy upravil(a) OompaLoompa dne 26. 2. 2021, 8:35, celkem upraveno 1 x.
Odpovědět

Zpět na „LinuxCNC - drive pod nazvem EMC2“