Git Product home page Git Product logo

Comments (5)

graysky2 avatar graysky2 commented on August 16, 2024

Cannot reproduce:

% cd linux-6.0.2
% patch -p1 -i more-uarches-for-kernel-5.17+.patch 
patching file arch/x86/Kconfig.cpu
patching file arch/x86/Makefile
Hunk #1 succeeded at 150 (offset 19 lines).
patching file arch/x86/include/asm/vermagic.h

Are you sure you're patching vanilla linux and not your distro modified version?

from kernel_compiler_patch.

S-h-r-i-k-e avatar S-h-r-i-k-e commented on August 16, 2024

Correct, it is vanilla kernel from kernel.org. Additionally, just tried to do the same on Ubuntu 22.04.1 LTS with the same result. For your convenience I created a temporary Rocky 9 VM for testing:
49.12.71.127
root
24^#hFp@6fH@

from kernel_compiler_patch.

graysky2 avatar graysky2 commented on August 16, 2024

I don't know why you cannot apply/works for me. Try this:

pkgver=6.0.2
wget https://www.kernel.org/pub/linux/kernel/v6.x/linux-$pkgver.tar.xz
tar Jxf linux-$pkgver.tar.xz
cd linux-$pkgver
wget https://raw.githubusercontent.com/graysky2/kernel_compiler_patch/master/more-uarches-for-kernel-5.17%2B.patch
patch -p1 -i more-uarches-for-kernel-5.17+.patch

from kernel_compiler_patch.

S-h-r-i-k-e avatar S-h-r-i-k-e commented on August 16, 2024

The issue was caused by me using "copy raw contents" button in browser to copy-paste content of the parch instead of downloading it with wget which resulted in additional spaces in a number of lines as shown on screenshot below. I'll leave it up to you to decide if this is an issue worth looking in to. In any case, I appreciate you quick response and a great work you do on this patch in general.

Screenshot from 2022-10-20 15-21-48

from kernel_compiler_patch.

graysky2 avatar graysky2 commented on August 16, 2024

Closing, not related to patchset. Glad you got what you needed. In the future, just download the tagged version directly: https://github.com/graysky2/kernel_compiler_patch/archive/refs/tags/20220315.tar.gz

from kernel_compiler_patch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.