On 12/04/13 09:40, Jonathan Nieder wrote:
Could you try the attached patch against a 3.4.y kernel? It works like
this:
0. prerequisites:
apt-get install git build-essential
1. get the kernel history, if you don't already have it:
git clone \
https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git
2. grab point releases:
cd linux
git remote add stable \
https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable
git fetch stable
3. configure, build, test:
git checkout stable/linux-3.4.y
cp /boot/config-$(uname -r) .config; # current configuration
make localmodconfig; # optional: minimize configuration
scripts/config --disable DEBUG_INFO
make deb-pkg; # optionally with -j<num> for parallel build
dpkg -i ../<name of package>; # as root
reboot
... test test test ...
Hopefully it reproduces the bug. So
I followed the above instructions, though I did a 'git checkout v3.4.4' instead of 'git checkout stable/linux-3.4.y'. This produced a linux-image-3.4.4_3.4.4-1_amd64.deb file that I installed.
This kernel failed in the same manner, as we hoped.
4. try the patch: cd linux git cherry-pick -x -s 9a0f938bde74bf9e50bd75c8de9e38c1787398cd make deb-pkg; # maybe with -j4 dpkg -i ../<name of package>; # as root reboot ... test test test ...
I ran the 'cherry-pick' command, and redid the "make deb-pkg" and "dpkg -i" steps. When I rebooted onto that kernel it worked fine. So it seems this patch fixes the 3.4.4 kernel.
What git invocation should I do to test a debian Wheezy kernel? (on Monday morning, as I'm leaving the office now).
Cheers, Geoff