Maybe this also concerns others, despite me.
I have Fedora running on my Acer Laptop, which is a Travelmate 661 LCi (now running flawlessly for almost four years!). Since I upgraded to Fedora 7 with its Kernel 2.6.21 I had problems with the fan of the laptop: When it started spinning, the laptop froze. Under X, it froze the whole computer, the num lock led was blinking. When using the console solely, the computer just froze and sometimes threw some acpi error messages on the console.
Well, after a while I found out, that it is a regression in the Linux kernel, bug #8385 in kernel’s bugzilla, to be more precise.
So, what to do about that? I want to use Fedora 7 and its kernels. Just patch them with the patch supplied in Comment #50 of the above mentioned bugzilla report. And for those new to building kernels, here is a short howto on how to do so (hence the name „howto“…)
- Install the fedora-devtools package: yum install fedora-rpmdevtools unifdef
- Create your rpmbuild-directory: fedora-buildrpmtree
- cd ~/rpmbuild/SRPMS
- wget http://download.fedora.redhat.com/pub/fedora/linux/updates/7/SRPMS/kernel-2.6.21-1.3228.fc7.src.rpm (or whatever kernel you would like to install)
- rpm -ivh ~/rpmbuild/SRPMS/kernel-2.6.21-1.3228.fc7.src.rpm
- cd ~/rpmbuild/SPECS; rpmbuild -bp kernel-2.6.spec
- cd ~/rpmbuild/BUILD/kernel-2.6.21/linux-2.6.21.i386 ; vi Makefile (your actual directory may differ)
- Change the string behing EXTRAVERSION to something sensible, let’s say -own.kernel
- Download the patch:
wget -O p1.patch „http://bugzilla.kernel.org/attachment.cgi?id=11684“
- Apply the patch:
patch -p1 < p1.patch
- make oldconfig (we will not customize the kernel in any way, so no make menuconfig or similar done now)
- make; su -c „make modules_install && make install“
- When rebooting make sure to chose the new kernel in grub. The default choice can be selected by editing /etc/grub.conf
I hope, this mini-howto helps anyone out there to get Fedora 7 turned back into a usable system again.
Update: edited to include the recent development / updates / better patches