Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Preempt kernel, anyone?

  1. #1
    Guest

    Preempt kernel, anyone?

    Hey all:

    Just started playing with Knoppix. After installing on my HD, I started checking out the kernel. Looks like a 'vanilla' kernel with XFS patch, and a small Knoppix patch.

    Has anyone recompiled it with the preempt patch? I've compile kernels before, but I'm a little stumped....my /usr/src/linux doesn't actually contain the sources, I'm guessing to save space. I looked at the included .config file, and it seems that it's building almost every module available!

    So can I just download the latest from kernels.org, apply my patches, and compile? I wasn't really sure how to handle initrd.gz, either.

    -Charlie

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818
    See my post here for an already compiled kernel with low-latency ( like preeemt) and LPP and crypto.

    http://www.knoppix.net/forum/viewtopic.php?t=66

  3. #3
    Junior Member registered user
    Join Date
    Jan 2003
    Location
    Santa Cruz, California, USA
    Posts
    27

    2.4.20-ck with low-latency, preempt, alsa, and *NO TCP/IP*

    I had a fun time hacking away with Klaus' miniroot and compiling my own custom kernel. I'll write up a little knoppix-custom-kernel-howto if enough people are interested.

    I have dist-upgraded knoppix 3.1 (12/12/2002) to debian unstable for the snappy gcc 3.2.2, and hacked up my own kernel based on the -ck patch compilation for 2.4.20. I also have modified the Knoppix CD to boot with isolinux, removing the need for floppy or hard drive emulation, and the need for mounting a floppy image with the loop device, then a second floppy image under a second loop device to get to the initrd environment for hacking

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818

    Re: 2.4.20-ck with low-latency, preempt, alsa, and *NO TCP/I

    Quote Originally Posted by drfreak
    I had a fun time hacking away with Klaus' miniroot and compiling my own custom kernel. I'll write up a little knoppix-custom-kernel-howto if enough people are interested.
    Yes that would be very helpful, there are people who need custom kernels, and a howto would be great! I have done it but it was a bit of hit and miss. See my post about knet kernel ( with preempt/lpp/crypto )

  5. #5
    Junior Member registered user
    Join Date
    Jan 2003
    Location
    Santa Cruz, California, USA
    Posts
    27

    Re: 2.4.20-ck with low-latency, preempt, alsa, and *NO TCP/I

    Quote Originally Posted by eadz
    Yes that would be very helpful, there are people who need custom kernels, and a howto would be great! I have done it but it was a bit of hit and miss. See my post about knet kernel ( with preempt/lpp/crypto )
    Damn, just finished the preface and intro when I stupidly closed my browser window. Now to go type this up in an editor as I should have done to begin with!

    I'll post my draft shortly..

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818

    Re: 2.4.20-ck with low-latency, preempt, alsa, and *NO TCP/I

    Quote Originally Posted by drfreak
    Quote Originally Posted by eadz
    Yes that would be very helpful, there are people who need custom kernels, and a howto would be great! I have done it but it was a bit of hit and miss. See my post about knet kernel ( with preempt/lpp/crypto )
    Damn, just finished the preface and intro when I stupidly closed my browser window. Now to go type this up in an editor as I should have done to begin with!

    I'll post my draft shortly..
    Wow done already :
    http://www.knoppix.net/docs/index.ph...tomKernelHowto

    You are a good writer!! Thanks a lot! When I have a bit more time i'll look at it more closely to see if I can add anything useful.

  7. #7
    Junior Member registered user
    Join Date
    Jan 2003
    Location
    Santa Cruz, California, USA
    Posts
    27

    Re: 2.4.20-ck with low-latency, preempt, alsa, and *NO TCP/I

    Quote Originally Posted by eadz
    You are a good writer!! Thanks a lot! When I have a bit more time i'll look at it more closely to see if I can add anything useful.
    Thank you. I'm glad I could give something back to this site. I use it a lot when I am poking around in Knoppix. Everyone here seems very motivated and friendly, so I'm glad if this helps them.

  8. #8
    Junior Member registered user
    Join Date
    Mar 2007
    Posts
    11
    Does the Knoppix 5.1.0-5.1.1 kernel have realtime-preemption? I typed 'uname -a' in Terminal and get the following output:

    'Linux BARDOT 2.6.19 #7 SMP PREEMPT Sun Dec 17 22:01:07 CET 2006 i686 GNU/Linux'

    Does the PREEMPT portion mean it has it? This thread is pretty old, so i hope Knoppix does have realtime-preemption by now.....

  9. #9
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272

    Re: Preempt kernel, anyone?

    Quote Originally Posted by Anonymous
    Hey all:

    Just started playing with Knoppix. After installing on my HD, I started checking out the kernel. Looks like a 'vanilla' kernel with XFS patch, and a small Knoppix patch.

    Has anyone recompiled it with the preempt patch? I've compile kernels before, but I'm a little stumped....my /usr/src/linux doesn't actually contain the sources, I'm guessing to save space. I looked at the included .config file, and it seems that it's building almost every module available!

    So can I just download the latest from kernels.org, apply my patches, and compile? I wasn't really sure how to handle initrd.gz, either.

    -Charlie
    I haver compiled 2.6.21 kernel with -rt and aufs patch http://linux.ilmainen.net/suomiknopp...2.6.21.5-rt18/. There's also a working cloop module in that site, so you can remaster Knoppix with realtime preemption patch by using my kernel. There has been some troubles to compile cloop with 2.6.22 and 2.6.23 kernels and that's why my latest kernel is 2.6.21. Also compiling aufs don't work at this time with 2.6.23 kernel (no problem with 2.6.22).

    But if installing kernel to hard disk, you don't need cloop and aufs. So you can download kernel source from kernel.org, patch it with -rt patch http://www.kernel.org/pub/linux/kernel/projects/rt/, compile it and install it to your Debian based system.

    -tapsa-

  10. #10
    Junior Member registered user
    Join Date
    Mar 2007
    Posts
    11

    Re: Preempt kernel, anyone?

    Quote Originally Posted by tr
    But if installing kernel to hard disk, you don't need cloop and aufs. So you can download kernel source from kernel.org, patch it with -rt patch http://www.kernel.org/pub/linux/kernel/projects/rt/, compile it and install it to your Debian based system.
    Yes, i want to install realtime preemption to my Knoppix Debian-based HD installation. How would i install the preempt patched kernel and have the option of choosing BOTH the original kernel and preemptive one at the grub boot loader? Although, as i posted above, i might already have a realtime preempt kernel, since 'uname -a' says PREEMPT. How can i confirm if the kernel has realtime preemption applied to it?

Page 1 of 2 12 LastLast

Similar Threads

  1. Errors and kernel panic during boot (2.6 Kernel)
    By gitarzysta in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 06-03-2004, 08:36 PM
  2. Kernel Source 2.4.23-xfs and Kernel install for wlan-ng
    By Nils_ in forum Hardware & Booting
    Replies: 0
    Last Post: 03-08-2004, 10:50 AM
  3. Kernel Build with kernel-source-2.4.20-xfs:
    By TheCyberDude in forum Tips and Tricks
    Replies: 3
    Last Post: 09-03-2003, 03:10 PM
  4. kernel panic with custom kernel
    By cYmen in forum Customising & Remastering
    Replies: 0
    Last Post: 07-14-2003, 10:17 AM
  5. Modified kernel results in Kernel Panic - No init found.
    By tji in forum Customising & Remastering
    Replies: 4
    Last Post: 06-12-2003, 06:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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



Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory picture

Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory

$16.29



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



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



32GB (4X8GB) DDR3 PC3-12800 1600 NON ECC LOW DENSITY MEMORY F3-12800CL10Q-32GBXL picture

32GB (4X8GB) DDR3 PC3-12800 1600 NON ECC LOW DENSITY MEMORY F3-12800CL10Q-32GBXL

$32.00



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



Samsung 64GB 4DRx4 PC4-2400 LRDIMM DDR4-19200 ECC Load Reduced Server Memory RAM picture

Samsung 64GB 4DRx4 PC4-2400 LRDIMM DDR4-19200 ECC Load Reduced Server Memory RAM

$71.99