--You will 1) need enough space for the entire kernel source (100 Meg or so), and 2) have to DL and decompress the source for 2.4.20 from here:
http://www.kernel.org/pub/linux/kern...2.4.20.tar.bz2
Originally Posted by pau1knopp
I am really loving the Knoppix distro(s) after they are installed on my local drive. I was always a little fearful of trying a debian install, but with Knoppix, there's no fear of flying
I am now trying to compile a piece of software and ./configure states that it needs the kernel sources. A unname -a shows that I have the 2.4.20-xfs version of the kernel. If I do an apt-get install for kernel-source-2.4.20-xfs, it says no such package. I installed kernel-source-2.4.20 (close enough, rightbut now it says it can't continue without the complete kernel source.
I am currently downloading 3.2, so if you could tell me a method of obtaining this for 3.1 as well as 3.2, it would be greatly appreciated.
Regards,
~paul
--You will 1) need enough space for the entire kernel source (100 Meg or so), and 2) have to DL and decompress the source for 2.4.20 from here:
http://www.kernel.org/pub/linux/kern...2.4.20.tar.bz2
Originally Posted by pau1knopp
Thanks for the prompt response to my question.
I am currently downloading the file you mentioned. After I untar it, I am not quite sure what I need to do to get the right stuff into the /usr/src/linux-2.4.20-xfs subdirectory...
Okay, I have made some progress, but have not met with success yet. Per the suggestion in the forum, the kernel source I am using is linux-2.4.20.tar.bz2. Although, I'm not sure if I'm missing something, because when I type uname -a the system reports
Linux wally 2.4.20-xfs #1 SMP Mit Jan 29 18:47:59 CET 2003 i686 VIA Samuel 2 CentaurHauls GNU/Linux
I see that Knoppix 3.1/2 is 2.4.20-xfs and my kernel source is 2.4.20.
Next I untarred the contents into /usr/src/ and recreated the symlink /usr/src/linux to point to this directory. I also had to recreate the symlink /lib/modules/2.4.20-xfs/build to point
to this new directory to proceed without errors (can't find module XXX).
Next, I ran makemenuconfig and compiled the kernel and did the requisite make "dep" afterwards to allow the system to recognize the new kernel source.
I was then able start compiling without bombing out right away. I ran autoconf with no errors, but when I when to run ./configure, it appear to run and compiled, but noted the following:
checking for kernel includes directory... yes
(/lib/modules/2.4.20-xfs/build/include)checking that running and kernel source
versions match... noconfigure: WARNING: Kernel source version 2.4.20 does not
match running version. This kernel module may not work correctly...
Any suggestions on where I may have gone wrong?
Thanks for all the help so far...
~paul
Same probs here
cu
--If it's only a warning, proceed. See if it works.
--Knoppix is a one-off kernel with XFS filesystem support. When you compile Linus source, xfs is gone unless you apply the patches for it. Since the kernel version is otherwise the same, alsa should still work. But, you may have to compile the entire kernel (with the 2.4.20-xfs config file from Klaus) and boot with that instead of 2.4.20-xfs.
--Personally I wish Klaus would just go with standard Linus source, but that's just me.
Originally Posted by pau1knopp
...kernel-2.4.20-xfs is a custom kernel...kernel-2.4.20 is no the same thing
There is in synaptic (apt-get gui frontend) the option to download kernel-2.4.20-xfs -image only, not the kernel source
żany ideas to get kernel-2.4.20-xfs-source? żany debian repository?
thanks
Hi ALL,
How to patch and build the original kernel-source-2.4.20 for XFS;
Get and tar extract the original kernel-source-2.4.20.tar.bz2 in /usr/src.
Get a "kernel-patch-xfs" as below;
# apt-get install kernel-patch-xfs
Above will creat the directory tree /usr/src/kernel-patches/.
Then apply "knoppix-kernel.patch" which is located in /usr/src Knoppix distro.
Perhaps you want below too;
# mv kernel-source-2.4.20 kernel-source-2.4.20-xfs
# ln -s kernel-source-2.4.20-xfs linux
Then you might want to edit the fourth line of Makefile adding;
EXTRAVERSION =-xfs
# cd linux
# export PATCH_THE_KERNEL=YES
# make-kpkg --added-patches=/usr/src/kernel-patches/all/apply/xfs configure
(you might use the configuration file from /boot/config-2.4.20 Knoppix)
Confirm the following lines in linux/.config
CONFIG_XFS_FS=m
CONFIG_XFS_RT=y
CONFIG_XFS_QUOTA=y
CONFIG_XFS_DMAPI=y
# CONFIG_XFS_DEBUG is not set
# fakeroot make-kpkg kernel-image
That's all!
thanks,
apt-get dont find the knoppix-kernel.patch but it is already at /usr/src/
Here it is
--- linux/arch/i386/kernel/setup.c.orig 2002-10-04 01:02:25.000000000 +0200
+++ linux/arch/i386/kernel/setup.c 2002-10-04 01:03:24.000000000 +0200
@@ -195,7 +195,7 @@
#define INITRD_START (*(unsigned long *) (PARAM+0x21)
#define INITRD_SIZE (*(unsigned long *) (PARAM+0x21c))
#define COMMAND_LINE ((char *) (PARAM+204)
-#define COMMAND_LINE_SIZE 256
+#define COMMAND_LINE_SIZE 512 /* The boot commandline in Knoppix can get quite long -KK Oct. 2002 */
#define RAMDISK_IMAGE_START_MASK 0x07FF
#define RAMDISK_PROMPT_FLAG 0x8000
Hi oscar,
Please remember that you need two patches,
knoppix-kernel.patch and kernel-patch-xfs.
The first one is located in Knoppix /usr/src/ as you and I wrote but the second one can be obtained by apt-get from Debian package.
Good luck!

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1499.00
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Dell PowerEdge R240 Intel Xeon E-2224 3.50GHz 8GB DDR4 ECC NO HDD 250W
$285.97
867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD
$378.93
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99
Dell PowerEdge C4130 1U AI GPU Server | 2x E6-2699 v3 | 128gb RAM | 2x 1600W
$899.99
Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99
Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00