--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, right but 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!
For Lenovo IdeaPad 3 15IIL05 15IML05 15ADA05 15ARE05 Palmrest Keyboard Touchpad
$59.25
For Lenovo Yoga 910-13IKB USB C Charging Port Board with Cable NS-A901 US
$138.04
New For Lenovo IdeaPad Flex 5 14ALC05 Palmrest Keyboard Grey Backlit 5CB1C39900
$142.11
Lenovo ThinkPad T480 14" Touchscreen Laptop i5 256GB NVMe 16GB RAM Win 11 Pro
$249.00
Lenovo - LOQ 15.6" Gaming Laptop FHD - Intel Core i5-13420H with 8GB Memory -...
$629.99
Lenovo 100e Chromebook Laptop 2nd Gen | 11.6" HD | MTK 1.7GHz | 4GB RAM | 32GB
$32.00
Lenovo Ideapad 1i 15.6" FHD Notebook Intel Core i5-1235U 8GB RAM 256GB SSD
$349.99
Lenovo 11.6" Laptop PC Computer Intel 4GB RAM 64GB SSD HDMI WIFI Windows 10
$89.99
Notebook Lenovo Slim Pro 9 Laptop, 16" Glass, i9-13905H, GB, 1TB SSD
$1051.99
Lenovo ThinkPad 14" Laptop Computer Core i7 16GB RAM 256GB SSD Windows 10 Pro
$229.99