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
  •  


WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5''3.5'' SSD HDD USB C 4Bay picture

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5''3.5'' SSD HDD USB C 4Bay

$68.39



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69



9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US picture

9300-8i LSI SAS3008 8-Port 12Gb PCIe IT mode ZFS FreeNAS unRAID 2*SFF-8643 US

$49.50



QNAP TR-004 4 Bay USB-C Hardware RAID Enclosure DAS 3.5 2.5 SATA Tested Working picture

QNAP TR-004 4 Bay USB-C Hardware RAID Enclosure DAS 3.5 2.5 SATA Tested Working

$149.99



Dell 3KDWX PERC H755 12G 8GB Cache Front RAID Controller picture

Dell 3KDWX PERC H755 12G 8GB Cache Front RAID Controller

$999.99



Lot Mini SAS SFF-8643 To 4 SATA 7pin Hard Disk 6Gbps Data Server Raid Cable 1M picture

Lot Mini SAS SFF-8643 To 4 SATA 7pin Hard Disk 6Gbps Data Server Raid Cable 1M

$870.00



2-Bay/4-Bay Hard Drive Enclosure for 3.5

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2

$119.99



Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller picture

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller

$64.99



Broadcom LSI Avago RAID card MegaRAID SAS 9480-8i8e 05-50031-00 picture

Broadcom LSI Avago RAID card MegaRAID SAS 9480-8i8e 05-50031-00

$500.00



Dell EMC 15-Bay 3.5

Dell EMC 15-Bay 3.5" SAS Disk Array Enclosure 12Gbps Dual LCC - 2x Power Supply

$249.00