Results 1 to 2 of 2

Thread: Trouble with knoppix-kernel.patch <-> any Kernel

  1. #1
    Junior Member
    Join Date
    Dec 2005
    Posts
    5

    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#

  2. #2
    Junior Member
    Join Date
    Dec 2005
    Posts
    5

    Re: Trouble with knoppix-kernel.patch <-> any Kernel

    Quote 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

  1. Rebuilding Kernel in 5.1.: Knoppix patch?
    By Script Cat in forum Customising & Remastering
    Replies: 3
    Last Post: 12-12-2007, 10:03 AM
  2. Patch on Kernel of Knoppix
    By Frunktz in forum General Support
    Replies: 1
    Last Post: 07-27-2005, 04:08 PM
  3. Would someone please patch the knoppix kernel with i2c?
    By arkaine23 in forum Customising & Remastering
    Replies: 3
    Last Post: 08-20-2003, 02:11 PM
  4. Knoppix-kernel.patch
    By ozfrog in forum Customising & Remastering
    Replies: 4
    Last Post: 06-21-2003, 04:30 PM
  5. Where's the KNOPPIX kernel patch
    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
  •  


Dell Intel X710-DA2 2x 10Gb SFP+ PCIe Adapter FH Y5M7N picture

Dell Intel X710-DA2 2x 10Gb SFP+ PCIe Adapter FH Y5M7N

$80.99



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP

$38.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS picture

Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS

$40.00



CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800) picture

CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800)

$79.95



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$21.33



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$14.85



16GB 8GB 4GB DDR2 800MHz PC2-6400U 240Pin intel DIMM Desktop PC Memory SDRAM LOT picture

16GB 8GB 4GB DDR2 800MHz PC2-6400U 240Pin intel DIMM Desktop PC Memory SDRAM LOT

$79.99



HyperX FURY DDR4 16GB 32GB 64GB 2666MHz PC4-21300 Desktop RAM Memory DIMM 288Pin picture

HyperX FURY DDR4 16GB 32GB 64GB 2666MHz PC4-21300 Desktop RAM Memory DIMM 288Pin

$119.80