On 12/29/2017 06:26 PM, Greg KH wrote:
On Fri, Dec 29, 2017 at 06:14:02PM +0100, Toralf Förster wrote:
On 12/29/2017 05:40 PM, Greg KH wrote:
And how do you apply the patches? Or are you using the linux-stable-rc kernel tree?
thanks,
I cloned Linus repository over a year ago, added the stable (yours) as a remote repo and do since that time:
Which exact repo of "mine" did you use here?
~/devel/linux $ cat .git/config [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master [remote "stable"] url = https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git fetch = +refs/heads/*:refs/remotes/stable/*
as common user:
cd ~/devel/linux/ ; git diff v4.14.9..v4.14.10 | (cd /usr/src/linux && sudo patch -p1)
There was no 4.14.10 in my repo at the time, so how did this get created?
Sure, I started with 3.x, the command line above is from today few minutes after you pushed out the tag
and as root: cd /usr/src/linux-4.x && time make -j4 && make modules_install && make install && rm -f /boot/*.old && grub-mkconfig -o /boot/grub/grub.cfg
and this yields into:
LD /usr/src/linux-4.x/tools/objtool/objtool-in.o make[2]: execvp: ./sync-check.sh: Permission denied make[2]: *** [Makefile:49: /usr/src/linux-4.x/tools/objtool/objtool] Error 127 make[1]: *** [Makefile:62: objtool] Error 2 make: *** [Makefile:1629: tools/objtool] Error 2 make: *** Waiting for unfinished jobs.... CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL scripts/checksyscalls.sh
What helped is a :
chmod u+x ./tools/objtool/sync-check.sh
Odd, oh well, 4.14.10 is now out, hopefully you do not have to do this by hand anymore.
it *happened* with the pushed out version - FFWIW the procedrue abve I do use since 3 years her at my desktop and since over 1 year at my server.
thanks,
greg k-h