Hallo, am got following Problem when pressing Ctrl-B in Simulink: Error building Real-Time Workshop target for block diagram 'HelloWorld'. Matlab error message: Error(s) encoountered while building model "HelloWorld".
I am using a very simple EL3204 Analog input device black as example. How can I get more info about the error occurred. My Configuration: Mathlab R2009a ethercat-devel-r1770 etherlab-1.3-pre-r550 linux-2.6.28.7 rtai-3.7.1 Another Problem occurs while starting etherlab: /etc/init.d/etherlab start [ 1140.642829] EtherCAT: Master driver devel r1770 [ 1140.642962] EtherCAT: 1 master waiting for devices. [ 1140.700113] 8139too 0000:01:05.0: PCI INT A disabled [ 1140.789369] ec_8139too EtherCAT-capable Fast Ethernet driver 0.9.28, master devel r1770 [ 1140.789436] ec_8139too 0000:01:05.0: PCI INT A -> Link[LNKA] -> GSI 18 (level, low) -> IRQ 18 [ 1140.789905] EtherCAT: Accepting device 00:50:FC:4C:87:45 for master 0. [ 1140.789915] ec0: RealTek RTL8139 at 0xb800, 00:50:fc:4c:87:45, IRQ 18 [ 1140.789920] ec0: Identified 8139 chip type 'RTL-8139C' [ 1140.789968] EtherCAT: Link state changed to UP. [ 1140.789991] EtherCAT: Starting EtherCAT-IDLE thread. [ 1140.793061] EtherCAT: 5 slave(s) responding. [ 1140.793070] EtherCAT: Slave states: PREOP. [ 1140.793138] EtherCAT: Scanning bus. [ 1141.221251] EtherCAT ERROR: SDO upload 0x1C12:01 aborted on slave 4. [ 1141.221261] EtherCAT ERROR: SDO abort message 0x06090011: "Subindex does not exist". [ 1141.221268] EtherCAT ERROR: Failed to read index of assigned PDO 1 from SM2. [ 1141.221273] EtherCAT: Bus scanning completed in 428 ms. [ 1141.221280] EtherCAT ERROR: Failed to calculate bus topology. [ 1170.272530] I-pipe: Domain RTAI registered. [ 1170.272543] RTAI[hal]: <3.7.1> mounted over IPIPE-NOTHREADS 2.2-07. [ 1170.272548] RTAI[hal]: compiled with gcc version 4.3.2 (Debian 4.3.2-1.1) . [ 1170.272698] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs VECTORED), ISOL_CPUS_MASK: 0). [ 1170.272703] PIPELINE layers: [ 1170.272708] f82ffc00 9ac15d93 RTAI 200 [ 1170.272713] c0474520 0 Linux 100 [ 1170.531338] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>. [ 1170.533322] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, <uses LINUX SYSCALLs>, kstacks pool size = 524288 b ytes. [ 1170.533336] RTAI[sched]: hard timer type/freq = APIC/8332808(Hz); default timing: periodic; linear timed lists. [ 1170.533343] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1600060000 hz. [ 1170.533349] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns. [ 1172.586776] [ 1172.586780] [ 1172.586782] CPU USE SUMMARY [ 1172.586788] # 0 -> 0 [ 1172.586793] # 1 -> 19704 [ 1172.586797] # 2 -> 0 [ 1172.586801] # 3 -> 0 [ 1172.586805] END OF CPU USE SUMMARY [ 1172.586807] [ 1172.681980] RTAI[malloc]: unloaded. [ 1172.780025] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0). [ 1172.789407] I-pipe: Domain RTAI unregistered. [ 1172.789636] RTAI[hal]: unmounted. [ 1195.959015] I-pipe: Domain RTAI registered. [ 1195.959031] RTAI[hal]: <3.7.1> mounted over IPIPE-NOTHREADS 2.2-07. [ 1195.959038] RTAI[hal]: compiled with gcc version 4.3.2 (Debian 4.3.2-1.1) . [ 1195.959187] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs VECTORED), ISOL_CPUS_MASK: 0). [ 1195.959195] PIPELINE layers: [ 1195.959200] f833ac00 9ac15d93 RTAI 200 [ 1195.959206] c0474520 0 Linux 100 [ 1195.997063] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>. [ 1195.997949] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, <uses LINUX SYSCALLs>, kstacks pool size = 524288 b ytes. [ 1195.997966] RTAI[sched]: hard timer type/freq = APIC/8332808(Hz); default timing: periodic; linear timed lists. [ 1195.997976] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1600060000 hz. [ 1195.997983] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns. [ 1196.062970] RTAI[math]: loaded. [ 1196.105561] Starting RT-AppCore 1.3-pre [ 1196.105615] BUG: unable to handle kernel NULL pointer dereference at 00000000 [ 1196.105625] IP: [<c01f4004>] vsnprintf+0x484/0x4b9 [ 1196.105640] *pde = 00000000 [ 1196.105648] Oops: 0000 [#1] SMP [ 1196.105655] last sysfs file: /sys/class/rtai_fifos/rtf63/dev [ 1196.105660] Modules linked in: rt_appcore(+) rtai_math rtai_sem rtai_sched rtai_hal ec_8139too ec_master ppdev parport_pc lp parport i pv6 cpufreq_userspace cpufreq_ondemand cpufreq_stats freq_table cpufreq_powersave cpufreq_conservative loop snd_hda_intel snd_pcm snd_seq snd_timer snd_seq_device snd serio_raw psmouse shpchp pci_hotplug soundcore snd_page_alloc wmi pcspkr button joydev evdev ext3 jbd mbcac he sg sr_mod sd_mod cdrom usbhid hid ahci ata_generic libata 8139cp ehci_hcd ohci_hcd scsi_mod r8169 mii ide_pci_generic ide_core usbcore thermal processor fan thermal_sys [last unloaded: rtai_hal] [ 1196.105758] [ 1196.105764] Pid: 3545, comm: insmod Not tainted (2.6.28.7-rtai1 #1) ION-MB330-1 [ 1196.105770] EIP: 0060:[<c01f4004>] EFLAGS: 00210292 CPU: 0 [ 1196.105776] EIP is at vsnprintf+0x484/0x4b9 [ 1196.105781] EAX: f63ca6b0 EBX: f63ca600 ECX: 00000000 EDX: 00000014 [ 1196.105786] ESI: f63ca69c EDI: f5099e40 EBP: 00000000 ESP: f5099cf0 [ 1196.105792] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 [ 1196.105797] Process insmod (pid: 3545, ti=f5098000 task=f6765730 task.ti=f5098000) [ 1196.105802] I-pipe domain Linux [ 1196.105805] Stack: [ 1196.105809] 00000014 f63ca69c c01f3ffe f63ca6b0 f5099e44 c01f3b3a f5099e84 f63e16c0 [ 1196.105823] f5099e88 c032a55c c01f3e11 ffffffff ffffffff 00000001 f7021774 c01efbfe [ 1196.105838] f5099d74 c0481240 00000007 00000001 00000000 ffffff81 00000001 00000000 [ 1196.105853] Call Trace: [ 1196.105856] [<c01f3ffe>] vsnprintf+0x47e/0x4b9 [ 1196.105864] [<c01f3b3a>] string+0x27/0x6d [ 1196.105872] [<c01f3e11>] vsnprintf+0x291/0x4b9 [ 1196.105879] [<c01efbfe>] idr_get_empty_slot+0x145/0x202 [ 1196.105888] [<c011b9e6>] __wake_up+0x29/0x39 [ 1196.105896] [<c028743c>] netlink_broadcast+0x2d6/0x317 [ 1196.105905] [<c01f0e8d>] kobject_uevent_env+0x2e1/0x303 [ 1196.105913] [<c0251ae4>] device_create_vargs+0x71/0x99 [ 1196.105923] [<f81ed000>] init_module+0x0/0xda [rt_appcore] [ 1196.105934] [<c0251b2a>] device_create+0x1e/0x24 [ 1196.105942] [<f827aa1e>] rtp_fio_init+0xd5/0x11d [rt_appcore] [ 1196.105958] [<f81ed084>] init_module+0x84/0xda [rt_appcore] [ 1196.105971] [<f81ed000>] init_module+0x0/0xda [rt_appcore] [ 1196.105981] [<c0101135>] _stext+0x4d/0x157 [ 1196.105988] [<c0162b51>] free_hot_cold_page+0x1aa/0x225 [ 1196.105999] [<c014459c>] load_module+0x1438/0x15e7 [ 1196.106022] [<f825566c>] rt_sem_wait+0x0/0x7f0 [rtai_sem] [ 1196.106052] [<c0144888>] sys_init_module+0x87/0x174 [ 1196.106060] [<c0103816>] sysenter_do_call+0x12/0x16 [ 1196.106068] Code: d2 8b 03 f6 44 24 10 02 74 01 99 ff 74 24 10 ff 74 24 1c ff 74 24 1c 51 52 50 8b 54 24 24 89 f0 e8 37 f5 ff ff 89 c6 83 c4 18 45 <8a> 45 00 84 c0 0f 85 dc fb ff ff 83 3c 24 00 74 13 3b 74 24 0c [ 1196.106150] EIP: [<c01f4004>] vsnprintf+0x484/0x4b9 SS:ESP 0068:f5099cf0 [ 1196.106163] ---[ end trace ddf4c63179b24623 ]--- Is there a version conflict? Thanks Viktor -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser _______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
