Results 1 to 5 of 5

Thread: Knoppix-kernel.patch

  1. #1
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    10

    Knoppix-kernel.patch

    Hi _ by some incredibly stupid use of the patch command, I have succeeded in reducing this file (Knoppix-kernel.patch) to zero bytes. Wanna see? OK Enter this with the caps lockON
    patch -p1 /dest file </usr/src/knoppix-kernel.patch
    The console will just sit there saying nothing but silently musing, "What's this dumb shithead trying to do here?"
    having 'patched' the Knoppix-kernel.patch with what was in the destination file, because with caps lock On you will type > instead of < :)
    When you have seen the error of your ways and retype the command in lower case, you will effectively replace the destination file with itself, and apparently reduce the original patch to zero bytes. Fun eh? :)
    Now _ I have a HD installed 3.1 Knoppix with a 2.4.20-xfs kernel. I want to use a 3rd party tekram dc395U scsi patch and get my USB Dial-Up modem working, but I guess it was tempting fate expecting the kernel sources to be on the 'Trial-CD' > So, I downloaded 2.4.20 and was about to apply the Knoppix-kernel.patch after having dealt with the Tekram stuff when I blew the patch away.
    Now to my question ( at last )
    Do I (really) need to patch the new kernel with the K-k.patch for it to work correctly? [ xfs file system conflicts? ][ Other weirdness? ] if NOT fine i'll continue with make-kpkg then dkpkg -i (the .deb ) and reconfigure Loadlin.
    Please do not talk to me about Lilo or Grub.
    If YES, then where can I find a copy to download if such a place exists, OR
    do i have to go back to the CD and redo my knx-hdinstall AGAIN?

    May the sources be with you

    Lance

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    as far as I know, the patch just changes one or two lines of parameter about the command line buffer. you can manually edit that too but patching is just fine as it is so simple and would not interfere with any other patches.

  3. #3
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    10
    Quote Originally Posted by garyng
    as far as I know, the patch just changes one or two lines of parameter about the command line buffer. you can manually edit that too but patching is just fine as it is so simple and would not interfere with any other patches.
    Hi Garyng, thanks for your reply.
    The problem still remains, even for manual patching or automatic patching.
    I no longer HAVE the patch (see original ) It = zero bytes = It has gone.
    If I need it to use a new kernel, I need to know where to find it (Web?)
    If I don't need it, well & good, I'll just continue without it.
    cheers
    Lance.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    actually, you don't need the patch for most installation as the reason for it is that you can add lots of boot prompt parameters but if it is not that much, the default (256 byte) should be enough, knoppix use 512.

    I no longer boot into KNOPPIX so I don't have that at hand, just ask someone to post it, it is really very simple.

    You can also boot into the CD and copy or have a look at it. no need to do any reinstallation.

  5. #5
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    10

    knoppix-kernel.patch

    Garyng
    yes I have found this; I recompiled 2.4.20 without bothering about the patch, created a boot floopy and it seems fine. Found my tekram dc395U scsi card fine, but lost the pppd function, and now both my initial version (-xfs) and the new 2.4.20 have /dev/hdc2 fs errors that no amount of e2fsk-ing seem to be able to eradicate. Back to the drawing board.
    I'll probably start from scratch and might even go for a different dist.
    Do you know if I need to create an initrd file with the new kernel?

    cheers.

    Lance.

Similar Threads

  1. knoppix-kernel.patch does not work on supplied sources
    By BillS in forum General Support
    Replies: 0
    Last Post: 04-25-2005, 02:25 PM
  2. How do u patch a kernel?
    By Smoke187 in forum General Support
    Replies: 1
    Last Post: 02-25-2004, 12:58 AM
  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. nvidea kernel patch
    By ferreter in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 08-18-2003, 01:05 AM
  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
  •  


FAST Dell TOUCHSCREEN 8th Gen Intel Quad Core 16GB RAM Pick SSD Wi-Fi BT Win11 picture

FAST Dell TOUCHSCREEN 8th Gen Intel Quad Core 16GB RAM Pick SSD Wi-Fi BT Win11

$199.00



ALLEGIANCE Desktop Computer Gaming PC: Intel 8 Core 128GB RAM, 2TB SSD, GeForce picture

ALLEGIANCE Desktop Computer Gaming PC: Intel 8 Core 128GB RAM, 2TB SSD, GeForce

$687.99



HP Engage Flex PRO Desktop PC Intel Core i5-8500 Intel UHD 8GB DDR4 512GB SSD picture

HP Engage Flex PRO Desktop PC Intel Core i5-8500 Intel UHD 8GB DDR4 512GB SSD

$179.99



Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11 picture

Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11

$109.49



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel NUC Core i7 8th Gen - Mini PC Kit BOXNUC8I7BEH1 picture

Intel NUC Core i7 8th Gen - Mini PC Kit BOXNUC8I7BEH1

$300.00



Lenovo Thinkcentre M920Q Intel Core i5-8th gen 16GB 256GB NVMe SSD Windows11 Pro picture

Lenovo Thinkcentre M920Q Intel Core i5-8th gen 16GB 256GB NVMe SSD Windows11 Pro

$149.00