Page 1 of 1

Puppy Linux Lupu 5.25 kernel 2.6.33.2 --> 2.6.38.7

Posted: Tue 26 Jun 2012, 15:47
by ndujoe1
Can I update the kernel? This updated version support the Netgear G54/N150 sub micro wireless adapter WMA1000m chip set RTL8188CUS.


The procedures for doing so. Thanks.

Posted: Wed 22 Aug 2012, 02:26
by Karl Godt
That is a very long story .

1) dl the kernel source.
2) uncompress it.
3) copy the /etc/modules/DOTconfig-k2.6.33.2.xxxxx file into the source.
4) open a terminal in toplevel of kernel source.
5) copy the DOTconfig file as .config (hidden file).
6) Type "make menuconfig" in the terminal .
7) Adjust things.
8) Type "make" .
9) Now it takes two hours on 2GHz machine to compile.
10) Type "make install" . That would install vmlinuz into /boot folder and the drivers into /lib/modules/KERNEL_VERSION/ .
11) Type "make help" . Kernel is nearly the only source that has "make help" feature .
12) Check for the headers install command .
13) Create a new initrd.gz .
14) If the kernel default unionfs does not work good enough you need to add aufs to the kernel source and adjust the makefiles to show aufs in menuconfg via the aufs2-kbuild.patch :

aufs2.1 kbuild patch for linux-2.6.38

Code: Select all

diff --git a/fs/Kconfig b/fs/Kconfig
index 3db9caa..c9e1f11 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -190,6 +190,7 @@ source "fs/romfs/Kconfig"
 source "fs/sysv/Kconfig"
 source "fs/ufs/Kconfig"
 source "fs/exofs/Kconfig"
+source "fs/aufs/Kconfig"
 
 endif # MISC_FILESYSTEMS
 
diff --git a/fs/Makefile b/fs/Makefile
index a7f7cef..95dd4d3 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -121,3 +121,4 @@ obj-$(CONFIG_BTRFS_FS)		+= btrfs/
 obj-$(CONFIG_GFS2_FS)           += gfs2/
 obj-$(CONFIG_EXOFS_FS)          += exofs/
 obj-$(CONFIG_CEPH_FS)		+= ceph/
+obj-$(CONFIG_AUFS_FS)           += aufs/
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index b0ada6f..5cb5837 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -64,6 +64,7 @@ header-y += atmppp.h
 header-y += atmsap.h
 header-y += atmsvc.h
 header-y += audit.h
+header-y += aufs_type.h
 header-y += auto_fs.h
 header-y += auto_fs4.h
 header-y += auxvec.h
PLUS
aufs2-base.patch
aufs2-standalone.patch

*

Source tarball aufs for 2.6.38 :

http://git.c3sl.ufpr.br/gitweb?p=aufs/a ... -38;sf=tgz

http://git.c3sl.ufpr.br/gitweb?p=aufs/a ... -38;sf=tgz

Posted: Tue 28 Aug 2012, 19:41
by Hesse James
You could use the easier method instead: http://www.murga-linux.com/puppy/viewtopic.php?t=60180

Good luck.
Christian