-
cloop kernel patch
As some of you might have noticed, someone made a cloop kernel patch against linux-2.6.7.
To apply the patch, download it, stand in the linux-2.6.7 source dir and use the patch program:
Code:
# cd /usr/src/linux-2.6.7
# patch -p1 < ../cloop_v5.patch
Then configure the kernel as usual (ie make menuconfig) and choose Device Drivers->Block Devices->Compressed Loopback device support as a module <M>. And then build the kernel as usual. I use make-kpkg clean ; make-kpkg --revision=1 kernel_image. That creates a kernel_image .deb that can be installed with dpkg. The good thing is that cloop.ko will also be included in that .deb file and there's no need to compile it separately.
For kernel linux-2.6.8.1 there is a small change in a .h file which changes 2 lines. The following patch works agains linux-2.6.8.1:
cloop_linux-2.6.8.1.patch.gz.
Apply it with patch:
Code:
# cd /usr/src/linux-2.6.8.1
# zcat ../cloop_linux-2.6.8.1.patch.gz | patch -p1
If anymody is new to compiling the kernel, here is the whole procedure:
- Download linux-2.6.8.1.tar.bz2 into /usr/src.
- Unpack it:
# cd /usr/src
# tar jxvf linux-2.6.8.1.tar.bz2 - Download cloop_linux-2.6.8.1.patch.gz into /usr/src.
- Apply the patch:
# zcat cloop_linux-2.6.8.1.patch.gz | patch -p0 - Configure the kernel:
# cd linux-2.6.8.1
# make menuconfig - Build the kernel:
# make-kpkg clean
# make-kpkg --revision=1 --append-to-version="-cloop" kernel_image
The append-to-version argument will append -cloop to the kernel name (will be visible when running uname -r).
Now the kernel-image2.6.8.1*.deb file is created and can be installed inside the chrooted knoppix environment with dpkg -i. Remember to also rebuild minirt26.gz with the new modules (from /lib/modules inside the chrooted environment).
--Albert
Similar Threads
-
By Frunktz in forum General Support
Replies: 1
Last Post: 07-27-2005, 04:08 PM
-
By Smoke187 in forum General Support
Replies: 1
Last Post: 02-25-2004, 12:58 AM
-
By arkaine23 in forum Customising & Remastering
Replies: 3
Last Post: 08-20-2003, 02:11 PM
-
By ferreter in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 08-18-2003, 01:05 AM
-
By ozfrog in forum Customising & Remastering
Replies: 4
Last Post: 06-21-2003, 04:30 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1599.99

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$225.00

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$110.30

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)
$150.00

1 X IBM 720 POWER SERVER WITH 32 GB RAM
$344.97

IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012
$109.99

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99