Results 1 to 6 of 6

Thread: Finding the proper kernel source

  1. #1
    Junior Member
    Join Date
    May 2007
    Posts
    1

    Finding the proper kernel source

    I am remastering a copy of the LIVE CD 5.1 of knoppix and need to install a SCSI driver.

    I downloaded and untared the 2.6.19 source that matches the "uname -a" output and have done the following (i really do not want to replace the kernel but want to generate the proper .h files needed for driver install.

    cd /usr/src/linux
    cp /boot/config.xxxxx .config
    make oldconfig
    make menuconfig
    make

    then reran the scsi driver install, however it is complaining that the running kernel version is different than the headers generated.....

    Any ideas

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    England
    Posts
    177
    You need
    linux-headers-2.6.19_2.6.19-10.00.Custom_i386.deb
    which is provided with the DVD (but not the CD).
    If you want to send me your e-mail address in a forum Private Message I could e-mail it to you

  3. #3
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272
    Quote Originally Posted by JohnnyH
    You need
    linux-headers-2.6.19_2.6.19-10.00.Custom_i386.deb
    which is provided with the DVD (but not the CD).
    If you want to send me your e-mail address in a forum Private Message I could e-mail it to you
    I don't understand why is it so difficult to find linux-headers file to Knoppix. Perhaps you would like to use my newer kernel http://linux.ilmainen.net/suomiknoppix/linux-2.6.21/ which has much more modules than original Knoppix's kernel. There's also linux-headers file for that kernel. You can also use my minirt.gz, but please change the welcome message which in my case is in finnish language. This kernel is used in SuomiKnoppix and in Musix GNU/Linux distributions.

    -tapsa-

  4. #4
    Junior Member
    Join Date
    Oct 2004
    Posts
    5
    Quote Originally Posted by JohnnyH
    You need
    linux-headers-2.6.19_2.6.19-10.00.Custom_i386.deb
    which is provided with the DVD (but not the CD).
    If you want to send me your e-mail address in a forum Private Message I could e-mail it to you
    Is there any other way to get the headers than either extracting them from the kernel source (and having all sorts of problems) or downloading and creating an entire DVD?

  5. #5
    Junior Member registered user
    Join Date
    Jun 2007
    Posts
    16
    tr -
    would you be willing to write up a howto for putting a new kernel and extra modules on knoppix?
    or even just translate the remaster document on you website? ( I don't read finnish, but it looks like it has useful info...)


    Thanks

  6. #6
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272
    Quote Originally Posted by wbatw
    tr -
    would you be willing to write up a howto for putting a new kernel and extra modules on knoppix?
    or even just translate the remaster document on you website? ( I don't read finnish, but it looks like it has useful info...)
    Yes, I have planned to do a howto but there's been so many changed in Knoppix and in Debian during last years so that it would be outdated almost at the moment I get it ready. That'äs also the reason I have not translated my remastering guide in english.

    But compiling new kernel and extra modules...I think it's better that I do that and give ready .deb packages which can be installed by 'dpkg -i deb_package'. If you want to try my new 2.6.21.5 kernel with aufs (another unionfs which replaced unionfs in Knoppix starting from 5.0 release). Here it is:http://linux.ilmainen.net/suomiknoppix/linux-2.6.21.5/. The files you need are linux-kernel and cloop module.(perhaps linux-headers to compile your own extra modules).

    After installing new kernel (dpkg -i linux-image*) and cloop (dpkg -i cloop-module*), copy aufs module ( /lib/modules/2.6.21.5/kernel/fs//aufs/aufs.ko)
    and cloop module (/lib/modules/2.6.21.5/extra/cloop.ko) to /KNOPPIX/modules directory in your remastering partition. Then copy new kernel (/boot/vmlinuz-2.6.21.5) to /boot/isolinux/ and rename it to 'linux'.

    You need also updated minirt.gz file. Perhaps you could try my file in the same directory as linux-image is. You can gunzip (gunzip minirt.gz) it, mount it somewhere e.g to /mntt.(mount -o loop minirt /mnt) and replace my linuxrc with original file from Knoppix 5.1 (as far as I can remember I have changed only welcome message to 'Finnish Knoppix CD is loading...'. Then unmount /mnt (umount /mnt), gzip minirt back to minirt.gz /gzip -9 minirt) and copy to /boot/isolinux directory.

    -tapsa-

Similar Threads

  1. kernel-source or kernel-tree
    By echo6 in forum Customising & Remastering
    Replies: 0
    Last Post: 05-08-2005, 11:42 AM
  2. How do I install kernel source and config/compile kernel??
    By cfish in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 04-25-2005, 07:31 AM
  3. 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
  4. 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
  5. custom kernel, debian source vs kernel.org source
    By garyng in forum Customising & Remastering
    Replies: 1
    Last Post: 04-13-2003, 09:37 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
  •  


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1625.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed picture

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed

$49.99



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge R750 2x Xeon Gold 6326 96GB 12x1.92TB SSD H755 Win 2022 picture

Dell PowerEdge R750 2x Xeon Gold 6326 96GB 12x1.92TB SSD H755 Win 2022

$4999.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server picture

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server

$349.99



Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed picture

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed

$94.95