-
Trouble with knoppix-kernel.patch <-> any Kernel
Hi there,
in the past few days i learned alot about remastering knoppix, and it's really fun :o)
Now, i'm trying to build my own 2.6.14.3 Kernel for the Knoppix.
I've downloaded the latest source from kernel.org and for now, i've trouble appling the knoppix-kernel.patch shipped with KX4.0.2 against just any kernel i've tested (2.6.12, 2.6.12.6, 2.6.13.4, 2.6.14.3)
Does anyone have an idea how to fix that?
Strange enought, this is a test with 2.6.12 (from Kernel.org), with is also shipped with KX 4.0.2:
(symlink /usr/src/linux set to /usr/src/linux-2.6.12)
Code:
devsys-2:/mnt/Knoppix/knsource/KNOPPIX/usr/src# patch -p0 <knoppix-kernel.patch
patching file linux/arch/i386/kernel/setup.crc
Hunk #1 FAILED at 195.
1 out of 1 hunk FAILED -- saving rejects to file linux/arch/i386/kernel/setup.c.rej
patching file linux/drivers/ide/ide.c
Hunk #1 FAILED at 2232.
1 out of 1 hunk FAILED -- saving rejects to file linux/drivers/ide/ide.c.rej
patching file linux/arch/i386/kernel/smpboot.c
Hunk #1 FAILED at 1164.
1 out of 1 hunk FAILED -- saving rejects to file linux/arch/i386/kernel/smpboot.c.rej
patching file linux/Makefile
Hunk #1 FAILED at 16.
Hunk #2 FAILED at 27.
2 out of 2 hunks FAILED -- saving rejects to file linux/Makefile.rej
patching file linux/init/main.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 succeeded at 203 (offset -12 lines).
devsys-2:/mnt/Knoppix/knsource/KNOPPIX/usr/src#
-
Re: Trouble with knoppix-kernel.patch <-> any Kernel
Originally Posted by
-Hawkeye-
Does anyone have an idea how to fix that?
Well, this patch file seems to be outdated.
I did this by hand, and the kernel is compiling now.
I'll let you know if this will end up with a booting kernel.
Code:
Change the #define COMMAND_LINE_SIZE 256 line to #define COMMAND_LINE_SIZE 512 in the following files:
/usr/src/linux/include/asm-i386/param.h
/usr/src/linux/include/asm-i386/setup.h
Similar Threads
-
By Script Cat in forum Customising & Remastering
Replies: 3
Last Post: 12-12-2007, 10:03 AM
-
By Frunktz in forum General Support
Replies: 1
Last Post: 07-27-2005, 04:08 PM
-
By arkaine23 in forum Customising & Remastering
Replies: 3
Last Post: 08-20-2003, 02:11 PM
-
By ozfrog in forum Customising & Remastering
Replies: 4
Last Post: 06-21-2003, 04:30 PM
-
By henriquegobbi in forum Customising & Remastering
Replies: 0
Last Post: 03-19-2003, 02:27 AM
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
Cisco C9200L-24P-4G-A Catalyst 9200L 24P PoE+ 4x1G Uplink Switch 1 Year Warranty
$1845.00
Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP
$249.99
Cisco ASR1004 Aggregation Services 10 Ports Router Chassis 1 Year Warranty
$172.00
Cisco C819H-K9 Secure Hardened 4 Ports Router 1 Year Warranty
$365.00
Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod
$83.00
Cisco Nexus N9K-C93180YC-EX 48-Port 1/10/25G SFP + 6 40G/100G QSFP28 Switch
$789.00
Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$38.99
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
Cisco N5K-C5010P-BF 20-Port Nexus 5010 Series 10GbE Gigabit Ethernet Switch
$119.99
Cisco WS-C3850-48F-S Catalyst 3850 48x 1GB PoE+ RJ-45 1x Module Switch
$185.00