Trying to patch Linux 4.19 kernel with PREEMPT RT RT80 but No Preemption Model in menu

Hello

I m trying to patch debien with Kerenl V4.19 with preempt rt patch
The problem is that I do not see Preemption Model in the menuconfig settings

FYI this is my commands lines:

root@debianRT:/usr/src/kernels/linux-5.4# ls
root@debianRT:/usr/src/kernels/linux-5.4# cd …
root@debianRT:/usr/src/kernels# ls
linux-4.19.tar.xz
root@debianRT:/usr/src/kernels# wget 4.19/patch-4.19.82-rt30.patch.gz

patch-4.19.82-rt30.patch.gz 100%[====================================================================================================>] 191.38K 997KB/s in 0.2s

2019-12-05 12:59:31 (997 KB/s) - âpatch-4.19.82-rt30.patch.gzâ saved [195978/195978]

root@debianRT:/usr/src/kernels# ls
linux-4.19.tar.xz patch-4.19.82-rt30.patch.gz
root@debianRT:/usr/src/kernels# tar -xpf linux-4.19.1.tar.xz
tar: linux-4.19.1.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
root@debianRT:/usr/src/kernels# tar -xpf linux-4.19.tar.xz
root@debianRT:/usr/src/kernels# ls
linux-4.19 linux-4.19.tar.xz patch-4.19.82-rt30.patch.gz
root@debianRT:/usr/src/kernels# gunzip patch-4.19.82-rt30.patch.gz
root@debianRT:/usr/src/kernels# ls
linux-4.19 linux-4.19.tar.xz patch-4.19.82-rt30.patch
root@debianRT:/usr/src/kernels# cp patch-4.19.82-rt30.patch linux-4.19.1
root@debianRT:/usr/src/kernels# cd linux-4.19/
root@debianRT:/usr/src/kernels/linux-4.19# cat patch-4.19.82-rt30.patch | patch -p1
cat: patch-4.19.82-rt30.patch: No such file or directory
root@debianRT:/usr/src/kernels/linux-4.19# cd …
root@debianRT:/usr/src/kernels# ls
linux-4.19 linux-4.19.1 linux-4.19.tar.xz patch-4.19.82-rt30.patch
root@debianRT:/usr/src/kernels# cp patch-4.19.82-rt30.patch linux-4.19
root@debianRT:/usr/src/kernels# cd linux-4.19/
root@debianRT:/usr/src/kernels/linux-4.19# cat patch-4.19.82-rt30.patch | patch -p1
patching file arch/Kconfig
patching file arch/alpha/include/asm/spinlock_types.h
patching file arch/arm/Kconfig
Hunk #3 succeeded at 2161 (offset -3 lines).
Hunk #1 succeeded at 644 (offset -8 lines).
Hunk #1 succeeded at 2514 (offset -3 lines).
Hunk #4 succeeded at 887 (offset -3 lines).
Hunk #5 succeeded at 905 (offset -3 lines).
Hunk #6 succeeded at 1232 (offset -9 lines).
Hunk #7 succeeded at 1253 (offset -9 lines).
patching file arch/powerpc/kernel/entry_64.S
Hunk #1 succeeded at 171 (offset -5 lines).
Hunk #2 succeeded at 245 (offset -5 lines).
Hunk #3 succeeded at 360 (offset -5 lines).
Hunk #4 succeeded at 765 (offset -5 lines).
Hunk #5 succeeded at 827 (offset -5 lines).
Hunk #6 succeeded at 855 (offset -5 lines).
Hunk #1 succeeded at 138 (offset 2 lines).
patching file arch/x86/kernel/fpu/signal.c
Hunk #1 FAILED at 344.
1 out of 1 hunk FAILED – saving rejects to file arch/x86/kernel/fpu/signal.c.rej
Hunk #2 succeeded at 197 (offset -9 lines).
Hunk #3 succeeded at 294 with fuzz 2 (offset -10 lines).
patching file arch/x86/kvm/lapic.c
Hunk #1 succeeded at 2245 (offset -12 lines).
patching file arch/x86/kvm/x86.c
Hunk #1 succeeded at 6690 (offset -97 lines).
patching file arch/x86/mm/highmem_32.c
patching file arch/x86/mm/iomap_32.c
patching file arch/x86/mm/pageattr.c
patching file arch/x86/platform/efi/efi_64.c
patching file arch/xtensa/include/asm/spinlock_types.h
patching file block/blk-core.c
Hunk #2 succeeded at 969 (offset -1 lines).
Hunk #3 succeeded at 1076 (offset -5 lines).
patching file block/blk-ioc.c
patching file block/blk-mq.c
Hunk #4 succeeded at 1383 (offset -11 lines).
Hunk #5 succeeded at 3138 (offset -13 lines).
Hunk #1 FAILED at 53.
Hunk #2 succeeded at 62 (offset -5 lines).
Hunk #3 succeeded at 899 (offset -4 lines).
Hunk #4 succeeded at 931 (offset -4 lines).
Hunk #5 succeeded at 990 (offset -4 lines).
Hunk #6 succeeded at 1025 (offset -4 lines).
Hunk #7 succeeded at 1033 (offset -4 lines).
1 out of 7 hunks FAILED – saving rejects to file drivers/block/zram/zram_drv.c.rej
patching file drivers/block/zram/zram_drv.h
patching file drivers/char/random.c
Hunk #1 succeeded at 1229 (offset -3 lines).
patching file drivers/char/tpm/tpm_tis.c
patching file drivers/clocksource/Kconfig
Hunk #1 succeeded at 392 (offset -12 lines).
Hunk #2 succeeded at 406 (offset -12 lines).
Hunk #1 succeeded at 855 (offset 3 lines).
patching file drivers/infiniband/hw/qib/qib_file_ops.c
patching file drivers/irqchip/irq-gic-v3-its.c
Hunk #1 succeeded at 173 (offset -6 lines).
Hunk #2 succeeded at 1623 (offset -22 lines).
Hunk #3 succeeded at 1946 with fuzz 1 (offset -47 lines).
Hunk #4 succeeded at 2038 (offset -71 lines).
Hunk #5 succeeded at 3520 (offset -72 lines).
Hunk #6 succeeded at 3529 (offset -72 lines).
Hunk #7 succeeded at 3796 (offset -72 lines).
patching file drivers/leds/trigger/Kconfig
patching file drivers/md/bcache/Kconfig
patching file drivers/md/dm-rq.c
Hunk #1 succeeded at 688 (offset -4 lines).
patching file drivers/md/raid5.c
Hunk #3 succeeded at 6801 (offset -16 lines).
Hunk #4 succeeded at 6812 (offset -16 lines).
patching file drivers/md/raid5.h
patching file drivers/misc/Kconfig
patching file drivers/net/wireless/intersil/orinoco/orinoco_usb.c
patching file drivers/of/base.c
Hunk #1 FAILED at 130.
Hunk #2 FAILED at 189.
Hunk #3 succeeded at 142 (offset -58 lines).
Hunk #4 succeeded at 159 with fuzz 1 (offset -60 lines).
2 out of 4 hunks FAILED – saving rejects to file drivers/of/base.c.rej
patching file drivers/pci/switch/switchtec.c
Hunk #9 succeeded at 1041 (offset -3 lines).
patching file drivers/scsi/fcoe/fcoe.c
patching file drivers/scsi/fcoe/fcoe_ctlr.c
Hunk #1 succeeded at 835 (offset -3 lines).
Hunk #2 succeeded at 871 (offset -3 lines).
patching file drivers/scsi/libfc/fc_exch.c
patching file drivers/staging/android/vsoc.c
patching file drivers/tty/serial/8250/8250_core.c
patching file drivers/tty/serial/8250/8250_port.c
patching file drivers/tty/serial/amba-pl011.c
patching file drivers/tty/serial/omap-serial.c
patching file drivers/tty/sysrq.c
patching file drivers/usb/core/hcd.c
patching file drivers/usb/gadget/function/f_fs.c
Hunk #1 succeeded at 1633 (offset 7 lines).
patching file drivers/usb/gadget/legacy/inode.c
patching file drivers/watchdog/watchdog_dev.c
patching file fs/aio.c
Hunk #1 succeeded at 120 (offset -1 lines).
Hunk #2 succeeded at 596 (offset -11 lines).
Hunk #3 succeeded at 616 (offset -11 lines).
patching file fs/autofs/expire.c
patching file fs/buffer.c
Hunk #1 succeeded at 273 (offset -1 lines).
Hunk #2 succeeded at 286 (offset -1 lines).
Hunk #3 succeeded at 298 (offset -1 lines).
Hunk #4 succeeded at 325 (offset -1 lines).
Hunk #5 succeeded at 337 (offset -1 lines).
Hunk #6 succeeded at 3352 (offset -8 lines).
patching file fs/cifs/readdir.c
patching file fs/dcache.c
Hunk #6 succeeded at 3067 (offset 2 lines).
Hunk #7 succeeded at 3085 (offset 2 lines).
Hunk #8 succeeded at 3118 (offset 2 lines).
patching file fs/eventpoll.c
patching file fs/exec.c
patching file fs/ext4/page-io.c
patching file fs/fscache/cookie.c
patching file fs/fscache/main.c
patching file fs/fuse/dir.c
patching file fs/inode.c
patching file fs/locks.c
patching file fs/namei.c
patching file fs/namespace.c
patching file fs/nfs/delegation.c
Hunk #1 FAILED at 152.
1 out of 1 hunk FAILED – saving rejects to file fs/nfs/delegation.c.rej
patching file fs/nfs/dir.c
Hunk #2 succeeded at 1459 (offset -36 lines).
Hunk #3 succeeded at 1786 (offset -29 lines).
Hunk #4 succeeded at 1800 (offset -29 lines).
patching file fs/nfs/inode.c
Hunk #1 succeeded at 2103 (offset -1 lines).
patching file fs/nfs/nfs4_fs.h
Hunk #1 succeeded at 112 (offset -2 lines).
patching file fs/nfs/nfs4proc.c
Hunk #1 succeeded at 2859 (offset -14 lines).
Hunk #2 succeeded at 2900 (offset -14 lines).
patching file fs/nfs/nfs4state.c
Hunk #1 succeeded at 511 (offset -4 lines).
Hunk #2 succeeded at 1563 (offset -20 lines).
Hunk #3 succeeded at 1655 (offset -20 lines).
patching file fs/nfs/unlink.c
patching file fs/ntfs/aops.c
patching file fs/proc/array.c
patching file fs/proc/base.c
Hunk #1 succeeded at 1876 (offset -14 lines).
patching file fs/proc/proc_sysctl.c
Hunk #1 succeeded at 678 (offset -3 lines).
patching file fs/squashfs/decompressor_multi_percpu.c
patching file fs/timerfd.c
patching file include/asm-generic/percpu.h
patching file include/linux/blk-cgroup.h
patching file include/linux/blk-mq.h
Hunk #1 succeeded at 249 (offset -7 lines).
patching file include/linux/blkdev.h
Hunk #3 succeeded at 650 (offset -6 lines).
patching file include/linux/bottom_half.h
patching file include/linux/buffer_head.h
patching file include/linux/cgroup-defs.h
patching file include/linux/completion.h
patching file include/linux/cpu.h
Hunk #1 succeeded at 111 (offset -2 lines).
Hunk #2 succeeded at 124 (offset -2 lines).
patching file include/linux/dcache.h
patching file include/linux/delay.h
patching file include/linux/fs.h
Hunk #1 succeeded at 669 (offset -9 lines).
patching file include/linux/fscache.h
patching file include/linux/highmem.h
patching file include/linux/hrtimer.h
patching file include/linux/idr.h
patching file include/linux/interrupt.h
patching file include/linux/irq.h
patching file include/linux/irq_work.h
patching file include/linux/irqchip/arm-gic-v3.h
patching file include/linux/irqdesc.h
Hunk #1 succeeded at 70 (offset -1 lines).
patching file include/linux/irqflags.h
patching file include/linux/jbd2.h
patching file include/linux/kdb.h
patching file include/linux/kernel.h
Hunk #1 succeeded at 259 (offset -1 lines).
Hunk #2 succeeded at 269 (offset -1 lines).
patching file include/linux/kthread.h
patching file include/linux/list_bl.h
patching file include/linux/locallock.h
patching file include/linux/mm_types.h
patching file include/linux/mutex.h
patching file include/linux/mutex_rt.h
patching file include/linux/netdevice.h
Hunk #3 succeeded at 2621 (offset -6 lines).
Hunk #4 succeeded at 3022 (offset -6 lines).
Hunk #5 succeeded at 3843 (offset -6 lines).
Hunk #6 succeeded at 3901 (offset -6 lines).
patching file include/linux/netfilter/x_tables.h
patching file include/linux/nfs_fs.h
patching file include/linux/nfs_xdr.h
patching file include/linux/percpu-rwsem.h
patching file include/linux/percpu.h
patching file include/linux/pid.h
patching file include/linux/posix-timers.h
patching file include/linux/preempt.h
patching file include/linux/printk.h
patching file include/linux/radix-tree.h
patching file include/linux/random.h
patching file include/linux/rbtree.h
patching file include/linux/rcu_assign_pointer.h
patching file include/linux/rcupdate.h
Hunk #4 succeeded at 108 (offset 2 lines).
Hunk #5 succeeded at 267 (offset 2 lines).
Hunk #6 succeeded at 383 (offset 2 lines).
Hunk #7 succeeded at 674 (offset 2 lines).
Hunk #8 succeeded at 691 (offset 2 lines).
patching file include/linux/rcutree.h
patching file include/linux/rtmutex.h
patching file include/linux/rwlock_rt.h
patching file include/linux/rwlock_types.h
patching file include/linux/rwlock_types_rt.h
patching file include/linux/rwsem.h
patching file include/linux/rwsem_rt.h
patching file include/linux/sched.h
Hunk #11 succeeded at 1204 (offset -9 lines).
Hunk #12 succeeded at 1414 (offset -9 lines).
Hunk #13 succeeded at 1438 (offset -9 lines).
Hunk #14 succeeded at 1634 (offset -18 lines).
Hunk #15 succeeded at 1717 (offset -18 lines).
Hunk #16 succeeded at 1852 (offset -18 lines).
patching file include/linux/sched/mm.h
Hunk #1 succeeded at 9 with fuzz 2 (offset -40 lines).
patching file include/linux/sched/task.h
patching file include/linux/sched/wake_q.h
patching file include/linux/seqlock.h
patching file include/linux/signal.h
patching file include/linux/skbuff.h
Hunk #2 succeeded at 1676 (offset -29 lines).
patching file include/linux/smp.h
patching file include/linux/spinlock.h
patching file include/linux/spinlock_api_smp.h
patching file include/linux/spinlock_rt.h
patching file include/linux/spinlock_types.h
patching file include/linux/spinlock_types_nort.h
patching file include/linux/spinlock_types_raw.h
patching file include/linux/spinlock_types_rt.h
patching file include/linux/spinlock_types_up.h
patching file include/linux/suspend.h
patching file include/linux/swait.h
patching file include/linux/swap.h
Hunk #2 succeeded at 323 (offset -9 lines).
patching file include/linux/swork.h
patching file include/linux/thread_info.h
patching file include/linux/timer.h
patching file include/linux/trace_events.h
patching file include/linux/uaccess.h
patching file include/linux/vmstat.h
patching file include/linux/wait.h
patching file include/linux/workqueue.h
patching file include/net/gen_stats.h
patching file include/net/neighbour.h
Hunk #1 succeeded at 451 with fuzz 2.
Hunk #2 succeeded at 475 (offset -18 lines).
Hunk #3 succeeded at 516 (offset -18 lines).
patching file include/net/net_seq_lock.h
patching file include/net/sch_generic.h
Hunk #2 succeeded at 98 (offset -3 lines).
Hunk #3 succeeded at 119 (offset -3 lines).
Hunk #4 succeeded at 134 (offset -3 lines).
patching file include/soc/at91/atmel_tcb.h
patching file init/Kconfig
Hunk #1 succeeded at 776 (offset -8 lines).
Hunk #2 succeeded at 1629 (offset -9 lines).
Hunk #3 succeeded at 1650 (offset -9 lines).
Hunk #4 succeeded at 1692 (offset -9 lines).
patching file init/Makefile
patching file init/init_task.c
patching file init/main.c
patching file kernel/Kconfig.locks
patching file kernel/Kconfig.preempt
patching file kernel/cgroup/cgroup.c
Hunk #1 succeeded at 4620 (offset -46 lines).
Hunk #2 succeeded at 4683 (offset -48 lines).
Hunk #3 succeeded at 5406 (offset -52 lines).
patching file kernel/cgroup/cpuset.c
Hunk #17 succeeded at 2425 with fuzz 1.
Hunk #18 succeeded at 2477 (offset -13 lines).
Hunk #19 succeeded at 2573 (offset -13 lines).
patching file kernel/cgroup/rstat.c
Hunk #1 succeeded at 157 (offset -2 lines).
Hunk #2 succeeded at 171 (offset -2 lines).
patching file kernel/cpu.c
Hunk #1 succeeded at 74 (offset -1 lines).
Hunk #2 succeeded at 285 (offset -1 lines).
Hunk #3 succeeded at 885 (offset -7 lines).
Hunk #4 succeeded at 900 (offset -7 lines).
Hunk #5 succeeded at 930 (offset -7 lines).
patching file kernel/debug/kdb/kdb_io.c
Hunk #1 succeeded at 854 (offset -3 lines).
patching file kernel/events/core.c
Hunk #2 succeeded at 9173 (offset -66 lines).
patching file kernel/exit.c
patching file kernel/fork.c
Hunk #3 succeeded at 685 with fuzz 2.
Hunk #7 succeeded at 1612 (offset -10 lines).
Hunk #8 succeeded at 1802 (offset -25 lines).
patching file kernel/futex.c
Hunk #11 succeeded at 1390 (offset -59 lines).
Hunk #12 succeeded at 1437 (offset -62 lines).
Hunk #13 succeeded at 1499 (offset -60 lines).
Hunk #14 succeeded at 1517 (offset -60 lines).
Hunk #15 succeeded at 1559 (offset -60 lines).
Hunk #16 succeeded at 1578 (offset -60 lines).
Hunk #17 succeeded at 1885 (offset -60 lines).
Hunk #18 succeeded at 2123 (offset -60 lines).
Hunk #19 succeeded at 2140 (offset -60 lines).
Hunk #20 succeeded at 2161 (offset -60 lines).
Hunk #21 succeeded at 2185 (offset -60 lines).
Hunk #22 succeeded at 2193 (offset -60 lines).
Hunk #23 succeeded at 2232 (offset -60 lines).
Hunk #24 succeeded at 2248 (offset -60 lines).
Hunk #25 succeeded at 2298 (offset -60 lines).
Hunk #26 succeeded at 2437 with fuzz 2 (offset -63 lines).
Hunk #27 succeeded at 2441 with fuzz 2 (offset -77 lines).
Hunk #28 succeeded at 2537 (offset -77 lines).
Hunk #29 succeeded at 2655 (offset -77 lines).
Hunk #30 succeeded at 2756 (offset -77 lines).
Hunk #31 succeeded at 2812 (offset -77 lines).
Hunk #32 FAILED at 2905.
Hunk #33 FAILED at 2926.
Hunk #34 succeeded at 2946 (offset -81 lines).
Hunk #35 succeeded at 2976 with fuzz 1 (offset -85 lines).
Hunk #36 FAILED at 3100.
Hunk #37 succeeded at 3027 (offset -93 lines).
Hunk #38 succeeded at 3154 (offset -98 lines).
Hunk #39 succeeded at 3165 (offset -98 lines).
Hunk #40 succeeded at 3196 (offset -98 lines).
Hunk #41 succeeded at 3218 (offset -98 lines).
Hunk #42 succeeded at 3230 (offset -98 lines).
Hunk #43 succeeded at 3246 (offset -98 lines).
Hunk #44 succeeded at 3663 (offset -118 lines).
3 out of 44 hunks FAILED – saving rejects to file kernel/futex.c.rej
patching file kernel/irq/handle.c
patching file kernel/irq/manage.c
Hunk #1 succeeded at 23 (offset -1 lines).
Hunk #2 succeeded at 33 with fuzz 1 (offset -1 lines).
Hunk #3 succeeded at 930 with fuzz 2 (offset -34 lines).
Hunk #4 succeeded at 1035 (offset -35 lines).
Hunk #5 succeeded at 1453 (offset -35 lines).
Hunk #6 succeeded at 2239 (offset -57 lines).
patching file kernel/irq/settings.h
patching file kernel/irq/spurious.c
patching file kernel/irq_work.c
Hunk #2 FAILED at 58.
Hunk #3 FAILED at 99.
Hunk #4 FAILED at 107.
Hunk #5 succeeded at 120 (offset -9 lines).
Hunk #6 succeeded at 135 (offset -9 lines).
Hunk #7 succeeded at 172 (offset -9 lines).
Hunk #8 succeeded at 191 (offset -9 lines).
3 out of 8 hunks FAILED – saving rejects to file kernel/irq_work.c.rej
patching file kernel/ksysfs.c
patching file kernel/kthread.c
patching file kernel/locking/Makefile
patching file kernel/locking/lockdep.c
Hunk #1 succeeded at 3823 (offset -3 lines).
Hunk #2 succeeded at 3838 (offset -3 lines).
patching file kernel/locking/locktorture.c
patching file kernel/locking/mutex-rt.c
patching file kernel/locking/rtmutex.c
Hunk #34 succeeded at 2393 (offset -26 lines).
Hunk #35 succeeded at 2483 (offset -27 lines).
patching file kernel/locking/rtmutex_common.h
patching file kernel/locking/rwlock-rt.c
patching file kernel/locking/rwsem-rt.c
patching file kernel/locking/spinlock.c
patching file kernel/locking/spinlock_debug.c
patching file kernel/panic.c
Hunk #1 succeeded at 475 (offset -5 lines).
patching file kernel/power/hibernate.c
Hunk #1 succeeded at 681 (offset -9 lines).
Hunk #2 succeeded at 698 (offset -9 lines).
Hunk #3 succeeded at 778 (offset -9 lines).
patching file kernel/power/suspend.c
patching file kernel/printk/printk.c
Hunk #2 succeeded at 1415 (offset -5 lines).
Hunk #3 succeeded at 1444 (offset -5 lines).
Hunk #4 succeeded at 1463 (offset -5 lines).
Hunk #5 succeeded at 1508 (offset -5 lines).
Hunk #6 succeeded at 1640 (offset -5 lines).
Hunk #7 succeeded at 1781 (offset -5 lines).
Hunk #8 succeeded at 1805 (offset -5 lines).
Hunk #9 succeeded at 1826 (offset -5 lines).
Hunk #10 succeeded at 1996 (offset -5 lines).
Hunk #11 succeeded at 2018 (offset -5 lines).
Hunk #12 succeeded at 2153 (offset -5 lines).
Hunk #13 succeeded at 2494 (offset -5 lines).
Hunk #14 succeeded at 2516 (offset -5 lines).
Hunk #15 succeeded at 2568 (offset -5 lines).
patching file kernel/ptrace.c
Hunk #1 succeeded at 175 (offset 1 line).
patching file kernel/rcu/Kconfig
patching file kernel/rcu/rcu.h
patching file kernel/rcu/rcutorture.c
patching file kernel/rcu/srcutree.c
Hunk #2 succeeded at 460 (offset -2 lines).
Hunk #3 succeeded at 471 (offset -2 lines).
Hunk #4 succeeded at 759 (offset -2 lines).
Hunk #5 succeeded at 769 (offset -2 lines).
Hunk #6 succeeded at 853 (offset -2 lines).
Hunk #7 succeeded at 869 (offset -2 lines).
patching file kernel/rcu/tree.c
Hunk #10 succeeded at 2887 (offset -17 lines).
Hunk #11 succeeded at 2909 (offset -17 lines).
Hunk #12 succeeded at 3160 (offset -17 lines).
Hunk #13 succeeded at 3188 (offset -17 lines).
Hunk #14 succeeded at 3274 (offset -17 lines).
Hunk #15 succeeded at 3301 (offset -17 lines).
Hunk #16 succeeded at 3609 (offset -17 lines).
Hunk #17 succeeded at 3618 (offset -17 lines).
Hunk #18 succeeded at 3768 (offset -17 lines).
Hunk #19 succeeded at 3795 (offset -17 lines).
Hunk #20 succeeded at 4262 (offset -17 lines).
patching file kernel/rcu/tree.h
patching file kernel/rcu/tree_exp.h
patching file kernel/rcu/tree_plugin.h
patching file kernel/rcu/update.c
Hunk #1 succeeded at 67 (offset -1 lines).
Hunk #2 succeeded at 288 (offset -2 lines).
Hunk #3 succeeded at 315 (offset -2 lines).
patching file kernel/sched/Makefile
patching file kernel/sched/completion.c
patching file kernel/sched/core.c
Hunk #4 succeeded at 431 (offset -1 lines).
Hunk #5 succeeded at 492 (offset -1 lines).
Hunk #6 succeeded at 937 (offset -1 lines).
Hunk #7 succeeded at 1032 (offset -1 lines).
Hunk #8 succeeded at 1063 (offset -1 lines).
Hunk #9 succeeded at 1105 (offset -1 lines).
Hunk #10 succeeded at 1156 with fuzz 1 (offset -1 lines).
Hunk #11 succeeded at 1177 with fuzz 2 (offset -2 lines).
Hunk #12 succeeded at 1326 (offset -1 lines).
Hunk #13 succeeded at 1371 (offset -1 lines).
Hunk #14 succeeded at 1385 (offset -1 lines).
Hunk #15 succeeded at 1441 (offset -1 lines).
Hunk #16 succeeded at 1456 (offset -1 lines).
Hunk #17 succeeded at 1532 (offset -1 lines).
Hunk #18 succeeded at 1572 (offset -1 lines).
Hunk #19 succeeded at 1623 (offset -1 lines).
Hunk #20 succeeded at 1633 (offset -1 lines).
Hunk #21 succeeded at 1740 (offset -1 lines).
Hunk #22 succeeded at 2058 (offset -1 lines).
Hunk #23 succeeded at 2175 (offset -1 lines).
Hunk #24 succeeded at 2192 (offset -1 lines).
Hunk #25 succeeded at 2441 (offset -1 lines).
Hunk #26 succeeded at 2484 (offset -1 lines).
Hunk #27 succeeded at 2772 (offset -1 lines).
Hunk #28 succeeded at 3505 (offset -42 lines).
Hunk #29 succeeded at 3563 (offset -42 lines).
Hunk #30 succeeded at 3590 (offset -42 lines).
Hunk #31 succeeded at 3606 (offset -42 lines).
Hunk #32 succeeded at 3695 (offset -42 lines).
Hunk #33 succeeded at 3733 (offset -42 lines).
Hunk #34 succeeded at 3761 (offset -42 lines).
Hunk #35 succeeded at 4392 (offset -42 lines).
Hunk #36 succeeded at 4991 (offset -42 lines).
Hunk #37 succeeded at 5532 (offset -42 lines).
Hunk #38 succeeded at 5573 (offset -42 lines).
Hunk #39 succeeded at 5600 (offset -42 lines).
Hunk #40 succeeded at 5639 (offset -42 lines).
Hunk #41 succeeded at 5656 (offset -42 lines).
Hunk #42 succeeded at 5744 (offset -42 lines).
Hunk #43 succeeded at 5969 (offset -45 lines).
Hunk #44 succeeded at 6204 (offset -48 lines).
Hunk #45 succeeded at 7183 (offset -51 lines).
patching file kernel/sched/cpudeadline.c
patching file kernel/sched/cpupri.c
patching file kernel/sched/deadline.c
Hunk #2 succeeded at 1054 (offset -32 lines).
Hunk #3 succeeded at 1824 (offset -32 lines).
Hunk #4 succeeded at 1974 (offset -32 lines).
patching file kernel/sched/debug.c
Hunk #1 succeeded at 978 (offset -4 lines).
patching file kernel/sched/fair.c
Hunk #1 succeeded at 1631 (offset -31 lines).
Hunk #2 succeeded at 1728 (offset -32 lines).
Hunk #3 succeeded at 4018 (offset -57 lines).
Hunk #4 succeeded at 4042 (offset -57 lines).
Hunk #5 succeeded at 4184 (offset -57 lines).
Hunk #6 succeeded at 4368 (offset -59 lines).
Hunk #7 succeeded at 4554 (offset -59 lines).
Hunk #8 succeeded at 4571 (offset -62 lines).
Hunk #9 succeeded at 4587 (offset -62 lines).
Hunk #10 succeeded at 4629 (offset -62 lines).
Hunk #11 succeeded at 4742 (offset -62 lines).
Hunk #12 succeeded at 4764 (offset -62 lines).
Hunk #13 FAILED at 4917.
Hunk #14 succeeded at 4862 with fuzz 2 (offset -87 lines).
Hunk #15 succeeded at 5038 (offset -87 lines).
Hunk #16 succeeded at 5712 (offset -87 lines).
Hunk #17 succeeded at 5844 (offset -87 lines).
Hunk #18 succeeded at 5884 (offset -87 lines).
Hunk #19 succeeded at 6000 (offset -88 lines).
Hunk #20 succeeded at 6034 (offset -88 lines).
Hunk #21 succeeded at 6097 (offset -88 lines).
Hunk #22 succeeded at 6134 (offset -88 lines).
Hunk #23 succeeded at 6318 (offset -122 lines).
Hunk #24 succeeded at 6579 (offset -122 lines).
Hunk #25 succeeded at 7057 (offset -122 lines).
Hunk #26 succeeded at 7084 (offset -122 lines).
Hunk #27 succeeded at 7705 (offset -98 lines).
Hunk #28 succeeded at 8320 (offset -98 lines).
Hunk #29 succeeded at 8716 (offset -98 lines).
Hunk #30 succeeded at 9690 (offset -103 lines).
Hunk #31 succeeded at 9714 (offset -103 lines).
1 out of 31 hunks FAILED – saving rejects to file kernel/sched/fair.c.rej
patching file kernel/sched/features.h
patching file kernel/sched/rt.c
patching file kernel/sched/sched.h
Hunk #1 succeeded at 1446 (offset 3 lines).
Hunk #2 succeeded at 1641 (offset 3 lines).
patching file kernel/sched/swait.c
patching file kernel/sched/swork.c
patching file kernel/sched/topology.c
patching file kernel/signal.c
Hunk #9 succeeded at 1286 (offset -42 lines).
Hunk #10 succeeded at 1316 (offset -42 lines).
Hunk #11 succeeded at 1765 (offset -42 lines).
Hunk #12 succeeded at 2146 (offset -42 lines).
patching file kernel/softirq.c
patching file kernel/time/alarmtimer.c
patching file kernel/time/hrtimer.c
patching file kernel/time/itimer.c
patching file kernel/time/jiffies.c
patching file kernel/time/posix-cpu-timers.c
Hunk #3 succeeded at 788 (offset -4 lines).
Hunk #4 succeeded at 1134 (offset -5 lines).
Hunk #5 succeeded at 1167 (offset -5 lines).
Hunk #6 succeeded at 1204 (offset -5 lines).
Hunk #7 succeeded at 1214 (offset -5 lines).
Hunk #8 succeeded at 1480 (offset -7 lines).
patching file kernel/time/posix-timers.c
Hunk #1 succeeded at 466 (offset 3 lines).
Hunk #2 succeeded at 483 (offset 3 lines).
Hunk #3 succeeded at 829 (offset 3 lines).
Hunk #4 succeeded at 905 (offset 3 lines).
Hunk #5 succeeded at 975 (offset 3 lines).
Hunk #6 succeeded at 1003 (offset 3 lines).
Hunk #7 succeeded at 1030 (offset 3 lines).
patching file kernel/time/posix-timers.h
patching file kernel/time/tick-broadcast-hrtimer.c
Hunk #1 succeeded at 106 (offset -1 lines).
patching file kernel/time/tick-common.c
patching file kernel/time/tick-sched.c
patching file kernel/time/timekeeping.c
Hunk #1 succeeded at 2415 (offset -3 lines).
patching file kernel/time/timekeeping.h
Hunk #1 succeeded at 18 (offset -7 lines).
patching file kernel/time/timer.c
Hunk #10 succeeded at 1693 (offset -2 lines).
Hunk #11 succeeded at 1720 (offset -2 lines).
Hunk #12 succeeded at 1731 (offset -2 lines).
Hunk #13 succeeded at 1968 (offset -2 lines).
patching file kernel/trace/trace.c
Hunk #1 succeeded at 2134 (offset -3 lines).
Hunk #2 succeeded at 2145 (offset -3 lines).
Hunk #3 succeeded at 3348 (offset -3 lines).
Hunk #4 succeeded at 3394 (offset -5 lines).
patching file kernel/trace/trace.h
patching file kernel/trace/trace_events.c
patching file kernel/trace/trace_hwlat.c
Hunk #1 succeeded at 277 (offset -2 lines).
patching file kernel/trace/trace_output.c
patching file kernel/watchdog.c
patching file kernel/watchdog_hld.c
patching file kernel/workqueue.c
Hunk #63 succeeded at 3207 (offset -3 lines).
Hunk #64 succeeded at 3217 (offset -3 lines).
Hunk #65 succeeded at 3287 (offset -3 lines).
Hunk #66 succeeded at 3308 (offset -3 lines).
Hunk #67 succeeded at 3341 (offset -3 lines).
Hunk #68 succeeded at 3373 (offset -3 lines).
Hunk #69 succeeded at 3395 (offset -3 lines).
Hunk #70 succeeded at 3503 (offset -3 lines).
Hunk #71 succeeded at 3535 (offset -3 lines).
Hunk #72 succeeded at 3558 (offset -3 lines).
Hunk #73 succeeded at 3731 (offset -3 lines).
Hunk #74 succeeded at 3868 (offset -3 lines).
Hunk #75 succeeded at 3879 (offset -3 lines).
Hunk #76 succeeded at 3956 (offset -3 lines).
Hunk #77 succeeded at 4077 (offset -3 lines).
Hunk #78 succeeded at 4194 (offset -3 lines).
Hunk #79 succeeded at 4304 (offset -3 lines).
Hunk #80 succeeded at 4316 (offset -3 lines).
Hunk #81 succeeded at 4343 (offset -3 lines).
Hunk #82 succeeded at 4535 (offset -3 lines).
Hunk #83 succeeded at 4555 (offset -3 lines).
Hunk #84 succeeded at 4572 (offset -3 lines).
Hunk #85 succeeded at 4591 (offset -3 lines).
Hunk #86 succeeded at 4600 (offset -3 lines).
Hunk #87 succeeded at 4621 (offset -3 lines).
Hunk #88 succeeded at 4635 (offset -3 lines).
Hunk #89 succeeded at 4666 (offset -3 lines).
Hunk #90 succeeded at 4680 (offset -3 lines).
Hunk #91 succeeded at 4706 (offset -3 lines).
Hunk #92 succeeded at 4735 (offset -3 lines).
Hunk #93 succeeded at 4774 (offset -3 lines).
Hunk #94 succeeded at 4987 (offset -3 lines).
Hunk #95 succeeded at 5191 (offset -3 lines).
Hunk #96 succeeded at 5200 (offset -3 lines).
Hunk #97 succeeded at 5226 (offset -3 lines).
Hunk #98 succeeded at 5648 (offset -3 lines).
Hunk #99 succeeded at 5723 (offset -3 lines).
Hunk #100 succeeded at 5732 (offset -3 lines).
patching file kernel/workqueue_internal.h
patching file lib/Kconfig
patching file lib/Kconfig.debug
patching file lib/debugobjects.c
Hunk #1 succeeded at 377 (offset 1 line).
patching file lib/irq_poll.c
patching file lib/locking-selftest.c
patching file lib/radix-tree.c
patching file lib/scatterlist.c
Hunk #1 succeeded at 776 (offset -1 lines).
patching file lib/smp_processor_id.c
patching file localversion-rt
patching file mm/Kconfig
patching file mm/compaction.c
Hunk #1 succeeded at 1657 (offset -11 lines).
patching file mm/highmem.c
patching file mm/kasan/quarantine.c
Hunk #10 FAILED at 645.
Hunk #11 succeeded at 672 with fuzz 2 (offset 3 lines).
Hunk #12 succeeded at 706 (offset 3 lines).
1 out of 12 hunks FAILED – saving rejects to file mm/swap.c.rej
patching file mm/vmalloc.c
Hunk #1 succeeded at 570 (offset -5 lines).
Hunk #2 succeeded at 864 (offset -4 lines).
Hunk #3 succeeded at 1196 (offset -8 lines).
patching file net/sunrpc/svc_xprt.c
patching file samples/trace_events/trace-events-sample.c
patching file scripts/mkcompile_h
patching file security/apparmor/include/path.h
patching file security/apparmor/lsm.c
patching file virt/kvm/arm/arm.c
Hunk #1 succeeded at 700 (offset -23 lines).
Hunk #2 succeeded at 749 (offset -23 lines).
Hunk #3 succeeded at 827 (offset -23 lines).
root@debianRT:/usr/src/kernels/linux-4.19# make menuconfig
HOSTCC scripts/basic/fixdep
UPD scripts/kconfig/.mconf-cfg
HOSTCC scripts/kconfig/mconf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf Kconfig

using defaults found in /boot/config-4.19.0-6-amd64

/boot/config-4.19.0-6-amd64:6954:warning: symbol value ‘m’ invalid for ASHMEM
/boot/config-4.19.0-6-amd64:7583:warning: symbol value ‘m’ invalid for ANDROID_BINDER_IPC
configuration written to .config

*** End of the configuration.
*** Execute ‘make’ to start the build or try ‘make help’.

root@debianRT:/usr/src/kernels/linux-4.19# uname -r
4.19.0-6-amd64
root@debianRT:/usr/src/kernels/linux-4.19# cp /boot/config-4.19.0-6-amd64 .config
root@debianRT:/usr/src/kernels/linux-4.19# make menuconfig
scripts/kconfig/mconf Kconfig
.config:6954:warning: symbol value ‘m’ invalid for ASHMEM
.config:7583:warning: symbol value ‘m’ invalid for ANDROID_BINDER_IPC
configuration written to .config

*** End of the configuration.
*** Execute ‘make’ to start the build or try ‘make help’.

If you have any hint it’s welcome because I don’t see where I m wrong :frowning:

Thanks
Jerome

Not expert but I think you need use same Linux kernel to patch it. Are you using Linux kernel 5.4 against 4.19 patch?

Hello,

Thanks for this hint but my kernel is 4.19
root@debianRT:~# uname -rp
4.19.0-6-amd64 unknown

The directory was from previous tentative :frowning:

Thanks
Jerome

Hello Raj,
You are humble, because I think Yes you are an expert or at least much advanced than myself :slight_smile:
What I missed in fact is that you SHOULD take the PREEMPT patch that is at the same version of the kernel version & sub versions
Doing this it works fine :slight_smile: :wink:
Thanks so much for this valuable and right hint
Jerome


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki