Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save sonicrules1234/a46bb4af18a0b5f2a11e3f27a9563573 to your computer and use it in GitHub Desktop.

Select an option

Save sonicrules1234/a46bb4af18a0b5f2a11e3f27a9563573 to your computer and use it in GitHub Desktop.
.---.` `.---.
`/syhhhyso- -osyhhhys/`
.syNMdhNNhss/``.---.``/sshNNhdMNys.
+sdMh.`+MNsssssssssssssssNM+`.hMds+
:syNNdhNNhssssssssssssssshNNhdNNys:
/ssyhhhysssssssssssssssssyhhhyss/
.ossssssssssssssssssssssssssssso.
:sssssssssssssssssssssssssssssssss:
/sssssssssssssssssssssssssssssssssss/ Linux-tkg
:sssssssssssssoosssssssoosssssssssssss: kernels
osssssssssssssoosssssssoossssssssssssso
osssssssssssyyyyhhhhhhhyyyyssssssssssso
/yyyyyyhhdmmmmNNNNNNNNNNNmmmmdhhyyyyyy/
smmmNNNNNNNNNNNNNNNNNNNNNNNNNNNNNmmms
/dNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNd/
`:sdNNNNNNNNNNNNNNNNNNNNNNNNNds:`
`-+shdNNNNNNNNNNNNNNNdhs+-`
`.-:///////:-.`
-> Defaulting to Archlinux target
==> Making package: linux518-tkg-pds 5.18.14-265 (Wed 27 Jul 2022 06:59:14 PM MDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found linux-5.18.tar.xz
-> Found patch-5.18.14.xz
-> Found config.x86_64
-> Found 90-cleanup.hook
-> Found cleanup
-> Found 0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
-> Found 0002-clear-patches.patch
-> Found 0003-glitched-base.patch
-> Found 0003-glitched-cfs.patch
-> Found 0003-glitched-cfs-additions.patch
-> Found 0005-glitched-pds.patch
-> Found 0006-add-acs-overrides_iommu.patch
-> Found 0007-v5.18-fsync1_via_futex_waitv.patch
-> Found 0007-v5.18-winesync.patch
-> Found 0008-5.18-bcachefs.patch
-> Found 0009-glitched-ondemand-bmq.patch
-> Found 0009-glitched-bmq.patch
-> Found 0009-prjc_v5.18-r2.patch
-> Found 0010-lru_5.18.patch
-> Found 0012-misc-additions.patch
-> Found 0001-mm-Support-soft-dirty-flag-reset-for-VA-range.patch
-> Found 0002-mm-Support-soft-dirty-flag-read-with-reset.patch
==> Validating source files with sha256sums...
linux-5.18.tar.xz ... Passed
patch-5.18.14.xz ... Passed
config.x86_64 ... Passed
90-cleanup.hook ... Passed
cleanup ... Passed
0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch ... Passed
0002-clear-patches.patch ... Passed
0003-glitched-base.patch ... Passed
0003-glitched-cfs.patch ... Passed
0003-glitched-cfs-additions.patch ... Passed
0005-glitched-pds.patch ... Passed
0006-add-acs-overrides_iommu.patch ... Passed
0007-v5.18-fsync1_via_futex_waitv.patch ... Passed
0007-v5.18-winesync.patch ... Passed
0008-5.18-bcachefs.patch ... Passed
0009-glitched-ondemand-bmq.patch ... Passed
0009-glitched-bmq.patch ... Passed
0009-prjc_v5.18-r2.patch ... Passed
0010-lru_5.18.patch ... Passed
0012-misc-additions.patch ... Passed
0001-mm-Support-soft-dirty-flag-reset-for-VA-range.patch ... Passed
0002-mm-Support-soft-dirty-flag-read-with-reset.patch ... Passed
==> Extracting sources...
-> Extracting linux-5.18.tar.xz with bsdtar
-> Extracting patch-5.18.14.xz with xz
==> Starting prepare()...
-> Setting version...
-> Patching from 5.18 to 5.18.14
-> Using Arch patches
--2022-07-27 18:59:36-- https://raw.githubusercontent.com/graysky2/kernel_compiler_patch/master/more-uarches-for-kernel-5.17%2B.patch
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.111.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25738 (25K) [text/plain]
Saving to: ‘/home/westly/linux-tkg/src/more-uarches-for-kernel-5.17%2B.patch’
0K .......... .......... ..... 100% 4.39M=0.006s
2022-07-27 18:59:36 (4.39 MB/s) - ‘/home/westly/linux-tkg/src/more-uarches-for-kernel-5.17%2B.patch’ saved [25738/25738]
-> Applying graysky's cpu opts patch
-> Applying clear linux patches
-> Applying glitched base patch
-> Applying misc additions patch
-> Applying patches for WRITE_WATCH support in Wine
-> Applying patches for WRITE_WATCH support in Wine
-> Applying PDS base patch
-> Applying prjc PDS/BMQ agressive ondemand governor patch
-> Applying Glitched PDS patch
-> Using archlinux's default config file for kernel 5.18
-> Using 4ms round robin interval
-> Which kernel interrupt timer frequency would you like to use ?
-> Higher Hz means lower latency (but higher overhead / less throughput). So it's a double edged sword
-> Pick default (aka press enter with empty input) if unsure
0) 100 Hz
1) 250 Hz
2) 300 Hz
> 3) 500 Hz
4) 750 Hz
5) 1000 Hz
[0-5]: Selected: 500 Hz
-> Patching MGLRU in
-> Patching Fsync support
-> Found 1 userpatches for linux-5.18:
/home/westly/linux-tkg/linux518-tkg-userpatches/bcachefs.mypatch
Do you want to install it/them? - Be careful with that ;)
> N/y : -> ######################################################
->
-> Applying your own linux-5.18 patch /home/westly/linux-tkg/linux518-tkg-userpatches/bcachefs.mypatch
->
-> ######################################################
patching file .github/ISSUE_TEMPLATE/bug_report.md
patching file Documentation/core-api/printk-formats.rst
patching file arch/powerpc/kernel/process.c
patching file arch/powerpc/kernel/security.c
patching file arch/powerpc/platforms/pseries/papr_scm.c
Hunk #2 succeeded at 1142 (offset -3 lines).
Hunk #3 succeeded at 1165 (offset -3 lines).
Hunk #4 succeeded at 1184 (offset -3 lines).
Hunk #5 succeeded at 1195 (offset -3 lines).
patching file arch/x86/kernel/cpu/resctrl/rdtgroup.c
patching file block/bio.c
Hunk #2 succeeded at 1417 (offset 3 lines).
Hunk #3 succeeded at 1477 (offset 3 lines).
patching file block/blk-core.c
patching file block/blk.h
patching file drivers/acpi/apei/erst-dbg.c
patching file drivers/block/loop.c
patching file drivers/clk/tegra/clk-bpmp.c
patching file drivers/input/joystick/analog.c
patching file drivers/md/bcache/Kconfig
patching file drivers/md/bcache/Makefile
patching file drivers/md/bcache/bcache.h
patching file drivers/md/bcache/super.c
Hunk #1 succeeded at 2914 (offset 1 line).
patching file drivers/md/bcache/util.h
patching file drivers/pci/p2pdma.c
patching file fs/Kconfig
patching file fs/Makefile
patching file fs/bcachefs/Kconfig
patching file fs/bcachefs/Makefile
patching file fs/bcachefs/acl.c
patching file fs/bcachefs/acl.h
patching file fs/bcachefs/alloc_background.c
patching file fs/bcachefs/alloc_background.h
patching file fs/bcachefs/alloc_foreground.c
patching file fs/bcachefs/alloc_foreground.h
patching file fs/bcachefs/alloc_types.h
patching file fs/bcachefs/backpointers.c
patching file fs/bcachefs/backpointers.h
patching file fs/bcachefs/bcachefs.h
patching file fs/bcachefs/bcachefs_format.h
patching file fs/bcachefs/bcachefs_ioctl.h
patching file fs/bcachefs/bkey.c
patching file fs/bcachefs/bkey.h
patching file fs/bcachefs/bkey_buf.h
patching file fs/bcachefs/bkey_methods.c
patching file fs/bcachefs/bkey_methods.h
patching file fs/bcachefs/bkey_sort.c
patching file fs/bcachefs/bkey_sort.h
patching file fs/bcachefs/bset.c
patching file fs/bcachefs/bset.h
patching file fs/bcachefs/btree_cache.c
patching file fs/bcachefs/btree_cache.h
patching file fs/bcachefs/btree_gc.c
patching file fs/bcachefs/btree_gc.h
patching file fs/bcachefs/btree_io.c
patching file fs/bcachefs/btree_io.h
patching file fs/bcachefs/btree_iter.c
patching file fs/bcachefs/btree_iter.h
patching file fs/bcachefs/btree_key_cache.c
patching file fs/bcachefs/btree_key_cache.h
patching file fs/bcachefs/btree_locking.h
patching file fs/bcachefs/btree_types.h
patching file fs/bcachefs/btree_update.h
patching file fs/bcachefs/btree_update_interior.c
patching file fs/bcachefs/btree_update_interior.h
patching file fs/bcachefs/btree_update_leaf.c
patching file fs/bcachefs/buckets.c
patching file fs/bcachefs/buckets.h
patching file fs/bcachefs/buckets_types.h
patching file fs/bcachefs/buckets_waiting_for_journal.c
patching file fs/bcachefs/buckets_waiting_for_journal.h
patching file fs/bcachefs/buckets_waiting_for_journal_types.h
patching file fs/bcachefs/chardev.c
patching file fs/bcachefs/chardev.h
patching file fs/bcachefs/checksum.c
patching file fs/bcachefs/checksum.h
patching file fs/bcachefs/clock.c
patching file fs/bcachefs/clock.h
patching file fs/bcachefs/clock_types.h
patching file fs/bcachefs/compress.c
patching file fs/bcachefs/compress.h
patching file fs/bcachefs/counters.c
patching file fs/bcachefs/counters.h
patching file fs/bcachefs/darray.h
patching file fs/bcachefs/data_update.c
patching file fs/bcachefs/data_update.h
patching file fs/bcachefs/debug.c
patching file fs/bcachefs/debug.h
patching file fs/bcachefs/dirent.c
patching file fs/bcachefs/dirent.h
patching file fs/bcachefs/disk_groups.c
patching file fs/bcachefs/disk_groups.h
patching file fs/bcachefs/ec.c
patching file fs/bcachefs/ec.h
patching file fs/bcachefs/ec_types.h
patching file fs/bcachefs/errcode.c
patching file fs/bcachefs/errcode.h
patching file fs/bcachefs/error.c
patching file fs/bcachefs/error.h
patching file fs/bcachefs/extent_update.c
patching file fs/bcachefs/extent_update.h
patching file fs/bcachefs/extents.c
patching file fs/bcachefs/extents.h
patching file fs/bcachefs/extents_types.h
patching file fs/bcachefs/eytzinger.h
patching file fs/bcachefs/fifo.h
patching file fs/bcachefs/fs-common.c
patching file fs/bcachefs/fs-common.h
patching file fs/bcachefs/fs-io.c
patching file fs/bcachefs/fs-io.h
patching file fs/bcachefs/fs-ioctl.c
patching file fs/bcachefs/fs-ioctl.h
patching file fs/bcachefs/fs.c
patching file fs/bcachefs/fs.h
patching file fs/bcachefs/fsck.c
patching file fs/bcachefs/fsck.h
patching file fs/bcachefs/inode.c
patching file fs/bcachefs/inode.h
patching file fs/bcachefs/io.c
patching file fs/bcachefs/io.h
patching file fs/bcachefs/io_types.h
patching file fs/bcachefs/journal.c
patching file fs/bcachefs/journal.h
patching file fs/bcachefs/journal_io.c
patching file fs/bcachefs/journal_io.h
patching file fs/bcachefs/journal_reclaim.c
patching file fs/bcachefs/journal_reclaim.h
patching file fs/bcachefs/journal_sb.c
patching file fs/bcachefs/journal_sb.h
patching file fs/bcachefs/journal_seq_blacklist.c
patching file fs/bcachefs/journal_seq_blacklist.h
patching file fs/bcachefs/journal_types.h
patching file fs/bcachefs/keylist.c
patching file fs/bcachefs/keylist.h
patching file fs/bcachefs/keylist_types.h
patching file fs/bcachefs/lru.c
patching file fs/bcachefs/lru.h
patching file fs/bcachefs/migrate.c
patching file fs/bcachefs/migrate.h
patching file fs/bcachefs/move.c
patching file fs/bcachefs/move.h
patching file fs/bcachefs/move_types.h
patching file fs/bcachefs/movinggc.c
patching file fs/bcachefs/movinggc.h
patching file fs/bcachefs/opts.c
patching file fs/bcachefs/opts.h
patching file fs/bcachefs/quota.c
patching file fs/bcachefs/quota.h
patching file fs/bcachefs/quota_types.h
patching file fs/bcachefs/rebalance.c
patching file fs/bcachefs/rebalance.h
patching file fs/bcachefs/rebalance_types.h
patching file fs/bcachefs/recovery.c
patching file fs/bcachefs/recovery.h
patching file fs/bcachefs/reflink.c
patching file fs/bcachefs/reflink.h
patching file fs/bcachefs/replicas.c
patching file fs/bcachefs/replicas.h
patching file fs/bcachefs/replicas_types.h
patching file fs/bcachefs/siphash.c
patching file fs/bcachefs/siphash.h
patching file fs/bcachefs/str_hash.h
patching file fs/bcachefs/subvolume.c
patching file fs/bcachefs/subvolume.h
patching file fs/bcachefs/subvolume_types.h
patching file fs/bcachefs/super-io.c
patching file fs/bcachefs/super-io.h
patching file fs/bcachefs/super.c
patching file fs/bcachefs/super.h
patching file fs/bcachefs/super_types.h
patching file fs/bcachefs/sysfs.c
patching file fs/bcachefs/sysfs.h
patching file fs/bcachefs/tests.c
patching file fs/bcachefs/tests.h
patching file fs/bcachefs/trace.c
patching file fs/bcachefs/util.c
patching file fs/bcachefs/util.h
patching file fs/bcachefs/varint.c
patching file fs/bcachefs/varint.h
patching file fs/bcachefs/vstructs.h
patching file fs/bcachefs/xattr.c
patching file fs/bcachefs/xattr.h
patching file fs/d_path.c
patching file fs/dcache.c
patching file fs/inode.c
patching file include/linux/bio.h
patching file include/linux/blkdev.h
Hunk #1 succeeded at 873 (offset 1 line).
patching file include/linux/closure.h (renamed from drivers/md/bcache/closure.h)
patching file include/linux/compiler_attributes.h
patching file include/linux/dcache.h
patching file include/linux/exportfs.h
patching file include/linux/fs.h
patching file include/linux/generic-radix-tree.h
patching file include/linux/kernel.h
patching file include/linux/list_bl.h
patching file include/linux/lockdep.h
patching file include/linux/pretty-printers.h
patching file include/linux/printbuf.h
patching file include/linux/sched.h
Hunk #1 succeeded at 881 (offset 22 lines).
patching file include/linux/seq_buf.h
patching file include/linux/shrinker.h
patching file include/linux/six.h
patching file include/linux/string.h
patching file include/linux/string_helpers.h
patching file include/linux/trace_events.h
patching file include/linux/trace_seq.h
patching file include/linux/vmalloc.h
patching file include/net/9p/9p.h
patching file include/net/9p/client.h
patching file include/trace/events/bcachefs.h
patching file init/init_task.c
Hunk #1 succeeded at 91 (offset 6 lines).
patching file kernel/Kconfig.locks
patching file kernel/locking/Makefile
patching file kernel/locking/lockdep.c
patching file kernel/locking/six.c
patching file kernel/module.c
patching file kernel/trace/trace.c
Hunk #1 succeeded at 1672 (offset 2 lines).
Hunk #2 succeeded at 3727 (offset 2 lines).
Hunk #3 succeeded at 6766 (offset 8 lines).
Hunk #4 succeeded at 6793 (offset 8 lines).
Hunk #5 succeeded at 6819 (offset 8 lines).
Hunk #6 succeeded at 6837 (offset 8 lines).
Hunk #7 succeeded at 9821 (offset 9 lines).
patching file kernel/trace/trace_dynevent.c
patching file kernel/trace/trace_events_filter.c
patching file kernel/trace/trace_events_synth.c
patching file kernel/trace/trace_functions_graph.c
patching file kernel/trace/trace_kprobe.c
patching file kernel/trace/trace_seq.c
patching file lib/Kconfig
Hunk #1 succeeded at 491 (offset 3 lines).
patching file lib/Kconfig.debug
Hunk #1 succeeded at 1723 (offset -1 lines).
patching file lib/Makefile
patching file lib/closure.c (renamed from drivers/md/bcache/closure.c)
patching file lib/generic-radix-tree.c
patching file lib/hexdump.c
patching file lib/pretty-printers.c
patching file lib/printbuf.c
patching file lib/seq_buf.c
patching file lib/string_helpers.c
patching file lib/test_hexdump.c
patching file lib/test_printf.c
patching file lib/vsprintf.c
patching file mm/Makefile
patching file mm/filemap.c
patching file mm/memcontrol.c
patching file mm/nommu.c
patching file mm/oom_kill.c
patching file mm/show_mem.c (renamed from lib/show_mem.c)
patching file mm/slab.h
patching file mm/slab_common.c
patching file mm/vmalloc.c
patching file mm/vmscan.c
Hunk #1 FAILED at 50.
Hunk #2 succeeded at 714 (offset 11 lines).
Hunk #3 succeeded at 863 (offset 11 lines).
1 out of 3 hunks FAILED -- saving rejects to file mm/vmscan.c.rej
patching file net/9p/client.c
patching file net/9p/trans_fd.c
patching file net/9p/trans_rdma.c
patching file net/9p/trans_virtio.c
patching file net/9p/trans_xen.c
patching file tools/testing/nvdimm/test/ndtest.c
==> ERROR: A failure occurred in prepare().
Aborting...
-> exit cleanup done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment