Active Protection System X61T Ubuntu

Cellulose

Senior member
May 14, 2007
360
0
76
Hi,

I am currently following the advice at ThinkWIKI to get it working on my X61 tablet with Ubuntu 8.04.1 (everything else works great!).

My problem is that since I have 2.6.24 (which has some issues with the kernel patch) I am trying to use the Zen-Sources kernel.

However the kernels don't seem to be .tar.bz2 but rather .patch.bz2 meaning the
Code:

# tar jxf 2.6.27-rc7-zen3.patch.bz2

just reports back with an error complaining about it not being a tar file.

I therefore tried bunzip2 and tried extracting the patch to /usr/src/linux however /linux is a file, not a directory. Is there anyway to get around this?

Thanks a lot,
Joe
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
just reports back with an error complaining about it not being a tar file.

Because it's not a tar file, it's a diff patch. You need to extract the source for 2.6.27-rc7, decompress the patch and then apply it to the sources.

I therefore tried bunzip2 and tried extracting the patch to /usr/src/linux however /linux is a file, not a directory. Is there anyway to get around this

Using /usr/src/linux isn't a recommended practice, you can if you like but there's no reason that you can't build the kernel anywhere else like your home directory.
 

Cellulose

Senior member
May 14, 2007
360
0
76
Thanks Nothinman :D


Am I right in using the following commands?

# cd [name of downloaded kernel]/ # patch -p1 < ../[name of patch]

# cp /boot/config-[kernel version] ./.config

# make-kpkg clean

# fakeroot make-kpkg --initrd --revision=thinkpad.1.0 kernel_image

# cd ..

# dpkg -i linux-image-[kernel version]_thinkpad.1.0_i386.deb

And get the kernel from kernel.org? (although I cant seem to find the 2.6.27-rc7 -> will probably have to use the 2.6.26.tar.gz and the older zen-source patch)

Thanks again :)
Joe

 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
You can download ubuntu kernel sources through aptitude, not sure if it'll have the specific versions you want, but you can try searching there first.
 

Cellulose

Senior member
May 14, 2007
360
0
76
A quick update:

I followed the instructions at this blog and the the GNOME applet seems to be indicating that the hard drive is stopping correctly (any way to confirm this?)

Only problem is this new kernel has broken wireless/sound. Did I do something wrong or is this expected? Either way...anyway to fix it? :)

Thanks

Joe