Comment 12 for bug 817017

Revision history for this message
Bernhard Froemel (froemel) wrote :

First: maybe it would be good if other people generate some heat on this thread:
http://ns.spinics.net/lists/linux-ide/threads.html#41438
and ask what's missing to get that into the kernel. As soon as it's 'in' (and I am not implying that it must be my particular patch, but any patch that enables the missing functionality), we don't need to manually patch anymore ;)

> Do anyone care to post the instructions on how to patch and apply this to the kernel on 11.10?
Usually this is just a (but proceed with care - just wrote this out of my head):
sudo -s # obtain root, beware!
apt-get install linux-source kernel-package
cd /usr/src/<linux-src>/
cp /boot/config-<your current kernel config> ./.config
make oldconfig
cat /tmp/i5s_3400s_ahci_handling_for_incapable_efi.patch | patch -p1
make-kpkg --initrd --append-to-version c1 kernel_image

(that append-to-version stuff is just useful to easier distinguish the kernel from other (default distribution) kernels).

After make-kpkg finishes, the linux-image-*.deb is ready in the parent directory and can be installed by dpkg -i <deb file>.

More deatils: https://help.ubuntu.com/community/Kernel/Compile