Results 1 to 6 of 6

Thread: Finding the proper kernel source

Hybrid View

  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
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1299.99



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



Unused IBM 09P0037 MAINBOARD For  RS/6000 7044-170 P-Series picture

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series

$375.00



Rare Vintage IBM 93ZZ PowerPC Server Board - MCM Ceramic CPU - 40N1844 - 1.1 lbs picture

Rare Vintage IBM 93ZZ PowerPC Server Board - MCM Ceramic CPU - 40N1844 - 1.1 lbs

$49.99



IBM 02YC027 Seagate ST2400MM0129 2.4TB 10K SAS 12Gb/s 2.5

IBM 02YC027 Seagate ST2400MM0129 2.4TB 10K SAS 12Gb/s 2.5" Server Hard Drive

$200.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$110.30



IBM System x3550 M3 1U Server Intel Xeon E5630 4GB DDR3 No HDD picture

IBM System x3550 M3 1U Server Intel Xeon E5630 4GB DDR3 No HDD

$279.99



IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU picture

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU

$999.99



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



IBM Server Rackmount Sliding Rail Kit ( Part Numbers: 00D9375 / 00D9374 ) picture

IBM Server Rackmount Sliding Rail Kit ( Part Numbers: 00D9375 / 00D9374 )

$24.99