On 29.08.2016 18:42, Dmitriy Perlow wrote:
this needs to be bisected. It is a kernel
regression. Are you familiar
with the bisection process?
Yep, I've used `git bisect` several times for desktop applications. Are
there any challenges with kernel?
Not really. Maybe the changing kernel config options betweeen kernel
versions that might cause questions to be answered before compilation.
Kernel bisection is quite straightforward, especially if you have a
problem that reliably reproduces. I have done it a few times for
straightforward suspend failures or "display stays blank at boot after
loading drm drivers" or such.
Pro tip: change CONFIG_LOCALVERSION to something like "-mytestkernel"
Could OBS be used somehow (kernel
build at my PC takes several hours)?
OBS can not really be used for this IMHO (or it would take considerable
effort to implement this). And OBS also takes hours to build a kernel
RPM, so you won't gain much after all.
I use ccache for kernel bisection and in general, the nearer you come to
the end of bisection, the faster it compiles (less changed files).
Just for completeness. There is the friendly "binrpm-pkg" makefile
target that will produce installable RPMs without using the
SUSE's spec file. This way, you could simply get RPMs from
an incremental build.
Also if you have more CPUs, make them busy. I personally use:
make -j15 binrpm-pkg
To unsubscribe, e-mail: opensuse-kernel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner(a)opensuse.org