Ubuntu Real Time

Wyłącznie system! Wątpliwości dotyczące aplikacji proszę umieszczać niżej, w odpowiednich forach.
Blurope
Piegowaty Guziec
Piegowaty Guziec
Posty: 4
Rejestracja: 24 maja 2020, 20:54
Wersja Ubuntu: 20.04
Środowisko graficzne: Brak
Architektura: x86_64

Ubuntu Real Time

Post autor: Blurope »

cześć,
Zwracam się do was z prośbą o pomoc, mianowicie czy jest możliwe ustawienia kernela i schedulera tak aby Ubuntu dział jako RTM ?
Potrzebuję RTM aby uruchomić na nim Java real time i dokonać badań jak taki system się zachowuje.

Będę wdzięczny za każdą radę.

pozdrawiam
Awatar użytkownika
kobrawerde
Gibki Gibbon
Gibki Gibbon
Posty: 2204
Rejestracja: 10 wrz 2006, 16:00
Płeć: Mężczyzna
Wersja Ubuntu: 22.04
Środowisko graficzne: Cinnamon
Architektura: x86_64
Kontakt:

Re: Ubuntu Real Time

Post autor: kobrawerde »

Potrzebuję RTM aby uruchomić na nim Java real time i dokonać badań jak taki system się zachowuje.
Ciekawe ile Ci prądu pociągnie :razz:
Awatar użytkownika
jacekalex
Gibki Gibbon
Gibki Gibbon
Posty: 4707
Rejestracja: 17 cze 2007, 02:54
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: MATE
Architektura: x86_64

Re: Ubuntu Real Time

Post autor: jacekalex »

Kernel z łatką RT powien być w repo:
https://ubuntu.com/blog/low-latency-rea ... -telco-nfv

(w Debianie jest na pewno).
https://packages.debian.org/buster-back ... e-rt-amd64

Potem tylko priorytety dla userów realtime w /etc/security/limits.conf i to w zasadzie wszystko.
Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Komputer jest jak klimatyzacja - gdy otworzysz okna, robi się bezużyteczny...
Linux User #499936
Inny OS: Gentoo Linux :)
Blurope
Piegowaty Guziec
Piegowaty Guziec
Posty: 4
Rejestracja: 24 maja 2020, 20:54
Wersja Ubuntu: 20.04
Środowisko graficzne: Brak
Architektura: x86_64

Re: Ubuntu Real Time

Post autor: Blurope »

cześć,
dzięki za pomoc, myślisz że mogę skorzystać z poniższej instrukcji ?
https://hungpham2511.github.io/setup/install-rtlinux/

Dodatkowo jak mogę sprawdzić jaki jest maksymalny czas na wykonanie danego zadania ?
Awatar użytkownika
jacekalex
Gibki Gibbon
Gibki Gibbon
Posty: 4707
Rejestracja: 17 cze 2007, 02:54
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: MATE
Architektura: x86_64

Re: Ubuntu Real Time

Post autor: jacekalex »

Blurope pisze: 29 maja 2020, 01:10 cześć,
dzięki za pomoc, myślisz że mogę skorzystać z poniższej instrukcji ?
https://hungpham2511.github.io/setup/install-rtlinux/

Dodatkowo jak mogę sprawdzić jaki jest maksymalny czas na wykonanie danego zadania ?
Ta instrukcja dotyczy kompilacji kernela z łatką realtime ze źródeł.

Oczywiście bawić tak się możesz, ale najpierw spróbuj kernela RT z repozytorium, który posiada tą czy podobną łatkę i jest przygotowany do pracy w systemie.

Zacznij od kernela RT z Repo i konfiguracji limits.conf
https://jackaudio.org/faq/linux_rt_config.html

Pozdro
:craz:
Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Komputer jest jak klimatyzacja - gdy otworzysz okna, robi się bezużyteczny...
Linux User #499936
Inny OS: Gentoo Linux :)
Blurope
Piegowaty Guziec
Piegowaty Guziec
Posty: 4
Rejestracja: 24 maja 2020, 20:54
Wersja Ubuntu: 20.04
Środowisko graficzne: Brak
Architektura: x86_64

Re: Ubuntu Real Time

Post autor: Blurope »

cześć,
dzięki za pomoc, skorzystałem z instrukcji
https://stackoverflow.com/questions/516 ... for-ubuntu
Pobrałem wersje 5.6.14 dla kernela jak i dla paczki rt, przebrnąłem przez instalacje, natomiast nie mogę skompilować kernela poprzez

Kod: Zaznacz cały

make -j20
dostaje w odpowiedzi

Kod: Zaznacz cały

DESCEND  objtool
  CALL    scripts/atomic/check-atomics.sh
  CC      arch/x86/kernel/asm-offsets.s
In file included from ./include/linux/spinlock.h:51,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/preempt.h:411:29: error: static declaration of ‘migrate_disable’ follows non-static declaration
  411 | static __always_inline void migrate_disable(void)
      |                             ^~~~~~~~~~~~~~~
./include/linux/preempt.h:340:13: note: previous declaration of ‘migrate_disable’ was here
  340 | extern void migrate_disable(void);
      |             ^~~~~~~~~~~~~~~
./include/linux/preempt.h:426:29: error: static declaration of ‘migrate_enable’ follows non-static declaration
  426 | static __always_inline void migrate_enable(void)
      |                             ^~~~~~~~~~~~~~
./include/linux/preempt.h:341:13: note: previous declaration of ‘migrate_enable’ was here
  341 | extern void migrate_enable(void);
      |             ^~~~~~~~~~~~~~
In file included from ./include/linux/spinlock.h:51,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/preempt.h:2: error: unterminated #ifndef
    2 | #ifndef __LINUX_PREEMPT_H
      | 
In file included from ./include/linux/bottom_half.h:5,
                 from ./include/linux/spinlock.h:58,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/preempt.h:2: error: unterminated #ifndef
    2 | #ifndef __LINUX_PREEMPT_H
      | 
In file included from ./include/linux/spinlock.h:311,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/rwlock_rt.h:112:28: warning: ‘struct rt_rw_lock’ declared inside parameter list will not be visible outside of this definition or declaration
  112 | void __read_rt_lock(struct rt_rw_lock *lock);
      |                            ^~~~~~~~~~
./include/linux/rwlock_rt.h:113:30: warning: ‘struct rt_rw_lock’ declared inside parameter list will not be visible outside of this definition or declaration
  113 | int __read_rt_trylock(struct rt_rw_lock *lock);
      |                              ^~~~~~~~~~
./include/linux/rwlock_rt.h:114:29: warning: ‘struct rt_rw_lock’ declared inside parameter list will not be visible outside of this definition or declaration
  114 | void __write_rt_lock(struct rt_rw_lock *lock);
      |                             ^~~~~~~~~~
./include/linux/rwlock_rt.h:115:31: warning: ‘struct rt_rw_lock’ declared inside parameter list will not be visible outside of this definition or declaration
  115 | int __write_rt_trylock(struct rt_rw_lock *lock);
      |                               ^~~~~~~~~~
./include/linux/rwlock_rt.h:116:30: warning: ‘struct rt_rw_lock’ declared inside parameter list will not be visible outside of this definition or declaration
  116 | void __read_rt_unlock(struct rt_rw_lock *lock);
      |                              ^~~~~~~~~~
./include/linux/rwlock_rt.h:117:31: warning: ‘struct rt_rw_lock’ declared inside parameter list will not be visible outside of this definition or declaration
  117 | void __write_rt_unlock(struct rt_rw_lock *lock);
      |                               ^~~~~~~~~~
In file included from ./include/linux/spinlock.h:326,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/spinlock_rt.h:36:46: warning: ‘struct rt_mutex’ declared inside parameter list will not be visible outside of this definition or declaration
   36 | extern void __lockfunc __rt_spin_lock(struct rt_mutex *lock);
      |                                              ^~~~~~~~
./include/linux/spinlock_rt.h:37:49: warning: ‘struct rt_mutex’ declared inside parameter list will not be visible outside of this definition or declaration
   37 | extern void __lockfunc __rt_spin_trylock(struct rt_mutex *lock);
      |                                                 ^~~~~~~~
./include/linux/spinlock_rt.h:38:48: warning: ‘struct rt_mutex’ declared inside parameter list will not be visible outside of this definition or declaration
   38 | extern void __lockfunc __rt_spin_unlock(struct rt_mutex *lock);
      |                                                ^~~~~~~~
./include/linux/spinlock_rt.h: In function ‘spin_can_lock’:
./include/linux/spinlock_rt.h:141:10: error: implicit declaration of function ‘rt_mutex_is_locked’ [-Werror=implicit-function-declaration]
  141 |  return !rt_mutex_is_locked(&lock->lock);
      |          ^~~~~~~~~~~~~~~~~~
./include/linux/spinlock_rt.h:141:36: error: ‘spinlock_t’ {aka ‘struct spinlock’} has no member named ‘lock’; did you mean ‘rlock’?
  141 |  return !rt_mutex_is_locked(&lock->lock);
      |                                    ^~~~
      |                                    rlock
./include/linux/spinlock_rt.h: In function ‘spin_is_locked’:
./include/linux/spinlock_rt.h:146:35: error: ‘spinlock_t’ {aka ‘struct spinlock’} has no member named ‘lock’; did you mean ‘rlock’?
  146 |  return rt_mutex_is_locked(&lock->lock);
      |                                   ^~~~
      |                                   rlock
In file included from ./include/linux/seqlock.h:37,
                 from ./include/linux/mmzone.h:16,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/preempt.h: At top level:
./include/linux/preempt.h:2: error: unterminated #ifndef
    2 | #ifndef __LINUX_PREEMPT_H
      | 
In file included from ./include/linux/mmzone.h:16,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/seqlock.h:494:19: error: redefinition of ‘try_write_seqlock’
  494 | static inline int try_write_seqlock(seqlock_t *sl)
      |                   ^~~~~~~~~~~~~~~~~
./include/linux/seqlock.h:485:19: note: previous definition of ‘try_write_seqlock’ was here
  485 | static inline int try_write_seqlock(seqlock_t *sl)
      |                   ^~~~~~~~~~~~~~~~~
./include/linux/seqlock.h:503:19: error: redefinition of ‘try_write_seqlock’
  503 | static inline int try_write_seqlock(seqlock_t *sl)
      |                   ^~~~~~~~~~~~~~~~~
./include/linux/seqlock.h:494:19: note: previous definition of ‘try_write_seqlock’ was here
  494 | static inline int try_write_seqlock(seqlock_t *sl)
      |                   ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/rwsem-rt.h:8,
                 from ./include/linux/rwsem.h:21,
                 from ./include/linux/mm_types.h:11,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/rtmutex.h:101:19: error: static declaration of ‘rt_mutex_is_locked’ follows non-static declaration
  101 | static inline int rt_mutex_is_locked(struct rt_mutex *lock)
      |                   ^~~~~~~~~~~~~~~~~~
In file included from ./include/linux/spinlock.h:326,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/spinlock_rt.h:141:10: note: previous implicit declaration of ‘rt_mutex_is_locked’ was here
  141 |  return !rt_mutex_is_locked(&lock->lock);
      |          ^~~~~~~~~~~~~~~~~~
In file included from ./include/linux/rcupdate.h:27,
                 from ./include/linux/srcu.h:20,
                 from ./include/linux/notifier.h:16,
                 from ./arch/x86/include/asm/uprobes.h:13,
                 from ./include/linux/uprobes.h:49,
                 from ./include/linux/mm_types.h:14,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/preempt.h:2: error: unterminated #ifndef
    2 | #ifndef __LINUX_PREEMPT_H
      | 
In file included from ./include/linux/rwsem-rt.h:8,
                 from ./include/linux/rwsem.h:21,
                 from ./include/linux/mm_types.h:11,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/memory_hotplug.h: In function ‘zone_seqlock_init’:
./include/linux/spinlock_rt.h:17:26: error: ‘spinlock_t’ {aka ‘struct spinlock’} has no member named ‘lock’; did you mean ‘rlock’?
   17 |  rt_mutex_init(&(slock)->lock);   \
      |                          ^~~~
./include/linux/rtmutex.h:74:49: note: in definition of macro ‘rt_mutex_init’
   74 | # define rt_mutex_init(mutex)   __rt_mutex_init(mutex, NULL, NULL)
      |                                                 ^~~~~
./include/linux/seqlock.h:432:3: note: in expansion of macro ‘spin_lock_init’
  432 |   spin_lock_init(&(x)->lock);  \
      |   ^~~~~~~~~~~~~~
./include/linux/memory_hotplug.h:91:2: note: in expansion of macro ‘seqlock_init’
   91 |  seqlock_init(&zone->span_seqlock);
      |  ^~~~~~~~~~~~
./include/linux/memory_hotplug.h: In function ‘pgdat_resize_init’:
./include/linux/spinlock_rt.h:17:26: error: ‘spinlock_t’ {aka ‘struct spinlock’} has no member named ‘lock’; did you mean ‘rlock’?
   17 |  rt_mutex_init(&(slock)->lock);   \
      |                          ^~~~
./include/linux/rtmutex.h:74:49: note: in definition of macro ‘rt_mutex_init’
   74 | # define rt_mutex_init(mutex)   __rt_mutex_init(mutex, NULL, NULL)
      |                                                 ^~~~~
./include/linux/memory_hotplug.h:296:2: note: in expansion of macro ‘spin_lock_init’
  296 |  spin_lock_init(&pgdat->node_size_lock);
      |  ^~~~~~~~~~~~~~
In file included from ./include/linux/percpu.h:6,
                 from ./include/linux/arch_topology.h:9,
                 from ./include/linux/topology.h:30,
                 from ./include/linux/gfp.h:9,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/preempt.h: At top level:
./include/linux/preempt.h:2: error: unterminated #ifndef
    2 | #ifndef __LINUX_PREEMPT_H
      | 
In file included from ./include/linux/smp.h:63,
                 from ./include/linux/percpu.h:7,
                 from ./include/linux/arch_topology.h:9,
                 from ./include/linux/topology.h:30,
                 from ./include/linux/gfp.h:9,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/preempt.h:2: error: unterminated #ifndef
    2 | #ifndef __LINUX_PREEMPT_H
      | 
In file included from ./include/linux/hardirq.h:5,
                 from arch/x86/kernel/asm-offsets.c:12:
./include/linux/preempt.h:2: error: unterminated #ifndef
    2 | #ifndef __LINUX_PREEMPT_H
      | 
In file included from ./include/linux/bit_spinlock.h:6,
                 from ./include/linux/list_bl.h:7,
                 from ./include/linux/rculist_bl.h:8,
                 from ./include/linux/dcache.h:8,
                 from ./include/linux/fs.h:8,
                 from ./include/linux/cgroup.h:17,
                 from ./include/linux/memcontrol.h:13,
                 from ./include/linux/swap.h:9,
                 from ./include/linux/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:13:
./include/linux/preempt.h:2: error: unterminated #ifndef
    2 | #ifndef __LINUX_PREEMPT_H
      | 
In file included from ./include/linux/radix-tree.h:14,
                 from ./include/linux/fs.h:15,
                 from ./include/linux/cgroup.h:17,
                 from ./include/linux/memcontrol.h:13,
                 from ./include/linux/swap.h:9,
                 from ./include/linux/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:13:
./include/linux/preempt.h:2: error: unterminated #ifndef
    2 | #ifndef __LINUX_PREEMPT_H
      | 
In file included from ./include/linux/rwsem-rt.h:8,
                 from ./include/linux/rwsem.h:21,
                 from ./include/linux/mm_types.h:11,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/xarray.h: In function ‘xa_init_flags’:
./include/linux/spinlock_rt.h:17:26: error: ‘spinlock_t’ {aka ‘struct spinlock’} has no member named ‘lock’; did you mean ‘rlock’?
   17 |  rt_mutex_init(&(slock)->lock);   \
      |                          ^~~~
./include/linux/rtmutex.h:74:49: note: in definition of macro ‘rt_mutex_init’
   74 | # define rt_mutex_init(mutex)   __rt_mutex_init(mutex, NULL, NULL)
      |                                                 ^~~~~
./include/linux/xarray.h:376:2: note: in expansion of macro ‘spin_lock_init’
  376 |  spin_lock_init(&xa->xa_lock);
      |  ^~~~~~~~~~~~~~
In file included from ./include/linux/fs.h:34,
                 from ./include/linux/cgroup.h:17,
                 from ./include/linux/memcontrol.h:13,
                 from ./include/linux/swap.h:9,
                 from ./include/linux/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:13:
./include/linux/percpu-rwsem.h: In function ‘percpu_rwsem_release’:
./include/linux/percpu-rwsem.h:138:31: error: ‘struct rw_semaphore’ has no member named ‘owner’
  138 |   atomic_long_set(&sem->rw_sem.owner, RWSEM_OWNER_UNKNOWN);
      |                               ^
./include/linux/percpu-rwsem.h:138:39: error: ‘RWSEM_OWNER_UNKNOWN’ undeclared (first use in this function)
  138 |   atomic_long_set(&sem->rw_sem.owner, RWSEM_OWNER_UNKNOWN);
      |                                       ^~~~~~~~~~~~~~~~~~~
./include/linux/percpu-rwsem.h:138:39: note: each undeclared identifier is reported only once for each function it appears in
./include/linux/percpu-rwsem.h: In function ‘percpu_rwsem_acquire’:
./include/linux/percpu-rwsem.h:148:31: error: ‘struct rw_semaphore’ has no member named ‘owner’
  148 |   atomic_long_set(&sem->rw_sem.owner, (long)current);
      |                               ^
In file included from ./include/linux/rwsem-rt.h:8,
                 from ./include/linux/rwsem.h:21,
                 from ./include/linux/mm_types.h:11,
                 from ./include/linux/mmzone.h:21,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:19,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/mm.h: In function ‘ptlock_init’:
./include/linux/spinlock_rt.h:17:26: error: ‘spinlock_t’ {aka ‘struct spinlock’} has no member named ‘lock’; did you mean ‘rlock’?
   17 |  rt_mutex_init(&(slock)->lock);   \
      |                          ^~~~
./include/linux/rtmutex.h:74:49: note: in definition of macro ‘rt_mutex_init’
   74 | # define rt_mutex_init(mutex)   __rt_mutex_init(mutex, NULL, NULL)
      |                                                 ^~~~~
./include/linux/mm.h:1918:2: note: in expansion of macro ‘spin_lock_init’
 1918 |  spin_lock_init(ptlock_ptr(page));
      |  ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:101: arch/x86/kernel/asm-offsets.s] Error 1
make: *** [Makefile:1121: prepare0] Error 2
czy ktoś spotkał się kiedyś z taką ścianą płaczu, nie widzę nigdzie w necie rozwiązania
Awatar użytkownika
jacekalex
Gibki Gibbon
Gibki Gibbon
Posty: 4707
Rejestracja: 17 cze 2007, 02:54
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: MATE
Architektura: x86_64

Re: Ubuntu Real Time

Post autor: jacekalex »

dzięki za pomoc, skorzystałem z instrukcji
https://stackoverflow.com/questions/516 ... for-ubuntu
Pobrałem wersje 5.6.14 dla kernela jak i dla paczki rt, przebrnąłem przez instalacje, natomiast nie mogę skompilować kernela poprzez

Kod: Zaznacz cały

make -j20

dostaje w odpowiedzi
Masz w komputerze 19 rdzeniowy procesor?

Bo zazwyczaj liczbę wątków dla make określa się jako liczba rdzeni procesora +1.
Jeżeli puściłeś 20 wątków to nie trudno o sytuację, kiedy pamięci albo mocy obliczeniowej zabrakło.

Poza tym jeżeli pierwszy raz w życiu kompilujesz kernel bez żadnego doświadczenia, to moim zdaniem tracisz tylko czas..
Żeby to miało sens, to musisz najpierw poznać znaczenie rożnych sterowników i funkcji kernela, a potem opracować optymalny konfig tego kernela dla Twojego komputera.
Dopiero potem kompilacja ze źródeł będzie miała jakikolwiek sens.
Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Komputer jest jak klimatyzacja - gdy otworzysz okna, robi się bezużyteczny...
Linux User #499936
Inny OS: Gentoo Linux :)
Blurope
Piegowaty Guziec
Piegowaty Guziec
Posty: 4
Rejestracja: 24 maja 2020, 20:54
Wersja Ubuntu: 20.04
Środowisko graficzne: Brak
Architektura: x86_64

Re: Ubuntu Real Time

Post autor: Blurope »

cześć,
to prawda chodzę po omacku :( , ale potrzebuje takiego środowiska, najlepiej gotowej kompilacji, którą mógłbym zainstalować u siebie.
https://help.ubuntu.com/community/Ubunt ... TimeKernel
powyższa strona nic nie wnosi i jedyną sensową instrukcją był link, który mi poleciłeś oraz ten aryków na stack..


*edit
znalazłem forum na którym chyba znalazłem odpowiedź
https://forum.linuxcnc.org/9-installing ... =30#136832
treść:
"install of Mint 19.1 Mate edition."
Go to Synaptic Package Manager -> Settings -> Repositories -> Additional Repositories -> Add

Kod: Zaznacz cały

deb http://deb.debian.org/debian stretch main
Click Ok and exit the package manager.

If I run sudo apt-get update now it will throw some errors about missing keys for the debian repo. If I try to update from Synaptic it fails and doesn't tell me why. From the terminal I got an error message that displayed exactly which keys I needed, they were 8B48AD6246925553, 7638D0442B90D010, and EF0F382A1A7B6500.

So from the terminal run these commands to install those keys, the kernel and install grub customizer while I'm at it:

Kod: Zaznacz cały

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553 7638D0442B90D010 EF0F382A1A7B6500
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install linux-image-rt-amd64
sudo apt-get install grub-customizer
Launch grub-customizer

Kod: Zaznacz cały

grub-customizer
In the list configuration tab find the new rt kernel, in my case it says "Ubuntu, with Linux 4.9.0-9-rt-amd64". Select it then use the arrow keys in the toolbar to move this entry to be the first listed kernel under the "Advanced options for Ubuntu" folder. I tried setting the default entry under the General settings tab but that didn't seem to work.

After I was done customizing grub click save and make sure to wait for the save to complete. Reboot and check that it worked by running 'uname -a' in the terminal to see which kernel is loaded.

At this point I went back to the Synaptic Package Manager and disabled the debian repo. I assume packages in the mint repo would take precedence but I didn't want to take the chance of creating conflicts so it's disabled for now.
ODPOWIEDZ

Wróć do „Instalacja, aktualizacja i konfiguracja Ubuntu”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 21 gości