LINUX.ORG.RU

RTLinux-3.2-rc1 Нужна ПОМОЩЬ


0

0

Здравствуйте! Я пытаюсь реализовать реал тайм при помощи rtlinux-3.2-rc1 на ядре 2.4.26. Пропатчил, откомпилировал и загрузил ядро Linux, все как положено.Откомпилировал rtlinux. Затем запустил ./regression и столкнулся с проблемой мне не совсем ясной:

./regression.sh

---------------------------- - Installing basic modules - ---------------------------- Testing multiple loads of rtl.o... [ OK ] Testing multiple loads of rtl_time.o... [ OK ] Testing multiple loads of rtl_sched.o... [ OK ] Testing multiple loads of rtl_posixio.o... [ OK ] Testing multiple loads of rtl_fifo.o... [ OK ] Testing multiple loads of psc.o... [ OK ] Testing RTLinux fifos... [ OK ] Testing thread wait times... [ OK ] Testing that Linux time progresses... [ OK ] Testing that Linux time is monotonically increasing... [ OK ] Testing ping flood... [ OK ] Testin User-Level IRQ signals... marker unchanged [ FAILD ] Testing User-Level Timer signals... [ OK ] Testin User-Level gethrtime()... [ OK ] Testing User-Level FIFO... [ OK ] Testing multiple User-Level Threads... [ OK ] Removing psc.o... unable to handle kernel NULL pointer dereference at virtual address 0000055c *pde = 00000000 Oops: 0000 CPU: 0 EIP: 0010:[<c011c944>] Not tainted EFLAGS: 00010a03 eax: c011c944 ebx: 00000000 ecx: 000000de edx: c0c41f60 esi: 00000000 edi: 00000000 ebp: c0c41f60 esp: c0c41f5c ds: 0018 es: 0018 ss: 0018 Process rmmod.old (Pid: 3490, stackpage=c0c41000) Stack: c0c41f60 00000200 c28ae124 000000de c011cc51 0000000f 00000001 00000000 c28a9d07 0000000f 00000000 c28a9000 c28a9000 bfffe638 c0116043 0000001b c28a9000 00000000 00000000 c0115479 c28a9000 00000000 c0c40000 00000001 Call Trace: [<c28ae124>] [<c011cc51>] [<c28a9d07>] [<c0116043>] [<c0115479>] Code: 8b 93 5c 05 00 00 58 85 d2 74 6d 8d 04 b6 8d 04 82 83 78 f0 ./regression.sh: line 256: 3566 Segmentation fault (rmmod psc 2>>${OUTFILE}) [FAILD] Fatal Error. Exiting regression.log: ################################################################################ ########## rmmod: module periodic_test is not loaded rmmod: module rtl_mqueue is not loaded rmmod: module rtl_fifo is not loaded rmmod: module rtl_posixio is not loaded rmmod: module rtl_sched is not loaded rmmod: module rtl_time is not loaded rmmod: module psc is not loaded rmmod: module rtl is not loaded rmmod: module fifo_module is not loaded Testing /dev/rtf1 . . 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536 passed. Testing /dev/rtf32 . . 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536 passed. Testing /dev/rtf63 . . 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536 passed. Testing /dev/rtf10 . . 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536 passed. Testing /dev/rtf11 . . 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536 passed. Testing /dev/rtf12 . . 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536 passed. rmmod: module fifo_module is not loaded rmmod: module thread_time is not loaded system (/sbin/rmmod thread_time): Success avg_drift: 0.73 us worst_drift: 4.60 us Waiting for irq 222 Testing oneshot timer Testing periodic timer Testing multiple periodic timers avg_drift: 5.38 us worst_drift: 18.28 us Testing /dev/rtf0 . . - 1 - 2 - 4 - 8 - 16 - 32 - 64 - 128 - 256 - 512 - 1024 - 2048 - 4096 - 8192 - 16384 - 32768 - 65536 passed. Testing compatibility Testing priorities Testing interruptibility rmmod: module periodic_test is not loaded rmmod: module rtl_mqueue is not loaded rtl_fifo: Device or resource busy rtl_posixio: Device or resource busy rtl_sched: Device or resource busy rtl_time: Device or resource busy rmmod: module psc is not loaded rtl: Device or resource busy ###################################################### После этого модуль psc становится [deleted] и ни добавляться, ни удаляться не желаят! #rmmod psc rmmod: module psc is not loaded #insmod psc insmod: module psc is olready exist как &#1108;то можно понять??? И rtlinux stop не выгружает все модули...

Помогите разобраться, пожалуйста!

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.