From the other thread:
Originally Posted by volkerdi
This might be the cause:
I'm considering doing a third build. If anyone who is running into problems still could revert this patch and rebuild to see if it fixes the issue, then I'd do it for sure. The only Intel graphics I have here are the trusty GM945, and there's no problem there.
This does indeed appear to be the cause as both Philip and myself have rebuilt 3.2.45 with that patch removed and the issues have gone away. If you are not sure how to revert the patch by fetching it from kernel.org and issuing a reverse patch command, in this particular case you can easily do it manually (since it is only additional code added in one block). Philip explained how in the other thread. Basically you open /usr/src/linux-3.2.45/drivers/gpu/drm/i915/intel_ringbuffer.c
in a text editor, locate and then remove the following section:
/* Required for the hardware to program scanline values for waiting */
if (INTEL_INFO(dev)->gen == 6)
A quick summary to rebuild the kernel would be to first make sure the very latest Slackware provided 3.2.45 kernel-source package is installed, switch to root, cd into /usr/src/linux-3.2.45
, correct the drivers/gpu/drm/i915/intel_ringbuffer.c
file (as explained above), then issue the following:
make bzImage modules
When this is complete, copy arch/x86/boot/bzImage
into boot with an appropriate name (and optionally do the same with System.map
), then make an initrd as per /boot/README.initrd
and rerun lilo (possibly after first editing /etc/lilo.conf
if needed). You should now be able to reboot into your patched kernel.
If you want to make your own packages for your patched kernel have a look at the SlackBuilds in the packaging directories in slackware-14.0/source/k/
(a quick read through will show you how they work).
Finally, if you want to clean up your /usr/src/linux-3.2.45/
, cd back into it and issue the following: