Quote:
Originally Posted by dxbydt
Unfortuantely this is for my corporate workstation and fedora 11 is the newest supported version. What would I have to do to apply this kernel patch? Does the patch get applied to the kernel itself? My first guess would be to get the kernel source, apply the patch, compile the kernel, and be good to go. Would that work? Thanks for the help.
|
You have several realistic options.
1/ F12 is due out in 14 days. If you have access to a legacy enet card - install it, then upgrade to F12 in a few weeks. This is highly recommended.
2/ You can enable the rawhide repo (use yumex) and install kernel-2.6.31.5-96.fc12 (then disable rawhide).
This is pretty simple to do, however my concern is that all the dependency pacakges may be overwhelming.
3/ You can install th e 2.6.31 sources and just build the e1000e driver.
yum -y groupinstall "Development Tools"
yum -y install rpmdevtools kernel-devel asciidoc
rpmdev-setuptree
rpm -Uhv http://astromirror.uchicago.edu/fedo...6.fc12.src.rpm
rpmbuild -bp --target=$(arch) ~/rpmbuild/SPECS/kernel.spec
The installs the Fedora patches to 2.6.31 in the directory ~/rpmbuild/BUILD/kernel-2.6.31
To build the new driver using your current kernel includes use these commands:
cd ~/rpmbuild/BUILD/kernel-2.6.31/linux-2.6.31.i686/drivers/net/e1000e
make -C /lib/modules/$(uname -r)//build/ M=$(pwd) modules
I haven't tested, but this will probably succeed. If so then copy then
cp ./e1000e.ko /usr/lib/modules/$(uname -r)/kernel/drivers/net/e1000e/e1000e.ko
If not that you'll be forced to install the entire 2.6.31.5-96.fc12 binary package. See 2/.
--
BTW if method 2 fails, you can use grub to boot an older kernel, then uninstall the kernel-*fc12 package.
If method 3 fails you just have a different non-working e1000e.ko driver. No problem.
[added]
Method 2/ fails. More than the driver changes from 2.6.30 to 2.6.31 Some of the include files and support functios for enet change.
You'll have to install the rawhide kerne, build the rawhide kernel from scratch, or install an old enet card.