Comment 11 for bug 759986

Revision history for this message
peter b (b1pete) wrote :

@Seth Forshee

thank you for post.

yes, I'd like v much to get this new build in place (on my pc); currently I have

uname -a
Linux unity1104-slowGIGA 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

or in summary

linux-image-2.6.38.8-generic 2.6.38.8.42
linux-headers-2.6.38.8-generic 2.6/38.8.42

linux-image-generic 2.6.38.8.22
linux-headers-generic 2.6.38.22

the conventional way of building new kernels, if I remember well, is something, + or -, along this

a kernel patch no doubt require a new kernel build that in turn requires, first, the current kernel source downloaded and second the patch file

I could see the patch on your post here

0001-zd1211rw-fix-invalid-signal-values-from-device.patch

however, where from can I get linux-image-2.6.38.8-generic 2.6.38.8.42 source pls ?

once I have the 2 packages (kernel source and patch) then

apply the patch to drivers/net/wireless/zd1211rw/zd_mac.c
cp -vi /boot/config-`uname -r` .config
make-menuconfig
fakeroot make-kpkg –append-to-version=patched kernel_image
dpkg -i (kernel image created)
mkinitrd ??? (not sure of entire cmd)

now, I could see in the post there are already .deb files for

linux-image-2.6.38-8-generic_2.6.38-8.42~lp769986v201106011610_amd64.deb
linux-headers-2.6.38-8-generic_2.6.38-8.42~lp769986v201106011610_amd64.deb

I never installed/upgraded kernels and headers by means of .deb files. I require some help pls ie

- do

linux-image-generic 2.6.38.8.22
linux-headers-generic 2.6.38.22

have to be upgraded too ? if yes should I apply Jussi's #8 procedure to linux-image-generic 2.6.38.8.22 ?
how about the linux-headers-generic 2.6.38.22 ?

- do cmds like

sudo dpkg -i linux-image-2.6.38-8-generic_2.6.38-8.42~lp769986v201106011610_amd64.deb
sudo dpkg -i linux-headers-2.6.38-8-generic_2.6.38-8.42~lp769986v201106011610_amd64.deb

suffice to get the job done ?

- what about linux-headers-2.6.38-8_2.6.38-8.42~lp769986v201106011610_all.deb ?
should it be installed too in the same way as the 2 above ?

sorry, I do not want to jump 'head first' so to speak and wreck my good installation BUT I'M v keen in learning howto install new kernel builds and headers .deb ON EXISTING ubuntu good installs. I do know that applying successfully patches to kernels in not an easy task - there are lots of things that have to be done/attended to in order to achieve success. your help is appreciated. tu.