Results 1 to 2 of 2

Thread: custom kernel / ash-knoppix

  1. #1
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    14

    custom kernel / ash-knoppix

    I am trying to make a version of knoppix with a custom kernel. I am following the Knoppix Custom Kernel HowTo. I recompiled cloop.o but did not at frist recompile ash-knoppix (the howto said I might have to) but when I try to boot I get this error

    Code:
     Uncmpressing Linux... Ok, booting the kernel.
    Kmod : failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
    Kernel panic : No init found. Try passing init= option to kernel
    I am assuming this is because I did not recompile ash-knoppix (because it is statically linked with modprobe and init, or something like that) but I am unable to find information on how to compile ash-knoppix_0.2-3. just doing a make in my chrooted environment or not gives me this error (last ten lines of output)

    Code:
    modutils-2.4.15/insmod/insmod.c:1984: `m_addr' undeclared (first use in this function)
    modutils-2.4.15/insmod/insmod.c:2022: dereferencing pointer to incomplete type
    modutils-2.4.15/insmod/insmod.c:2024: field `m' has incomplete type
    modutils-2.4.15/insmod/insmod.c:2029: sizeof applied to an incomplete type
    modutils-2.4.15/insmod/insmod.c:2046: warning: passing arg 1 of `add_archdata' from incompatible pointer type
    modutils-2.4.15/insmod/insmod.c:2046: warning: passing arg 2 of `add_archdata' from incompatible pointer type
    modutils-2.4.15/insmod/insmod.c:2050: warning: passing arg 1 of `add_kallsyms' from incompatible pointer type
    modutils-2.4.15/insmod/insmod.c:2050: warning: passing arg 2 of `add_kallsyms' from incompatible pointer type
    modutils-2.4.15/insmod/insmod.c:2059: warning: passing arg 2 of `init_module' from incompatible pointer type
    make: *** [modutils-2.4.15/insmod/insmod.o] Error 1
    I used the .config file that was in the /usr/src/linux-2.4.20-xfs folder ond took out two modules that I was having trouble compileing (DRI support for i830 chipset and Fusion MPT something or other support) as well as not having the xfs patch applied. I also removed the scsi modules from the miniroot and modified the linuxrc accordingly. To make sure that it wasn't because of that I used the original miniroot but had the same problem.

    Any wisdom you could share on my situation would be mutch apreciated.

  2. #2
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    14
    I've tried using "knoppix init=/static/ash" and "knoppix init=/static/init" but I still have the same problem.

Similar Threads

  1. Remaster Knoppix with custom kernel for wireless nfs root?
    By rayg in forum Customising & Remastering
    Replies: 0
    Last Post: 05-27-2004, 10:16 PM
  2. Adding custom kernel to Knoppix; no lilo menu
    By averylowiq in forum Customising & Remastering
    Replies: 3
    Last Post: 08-13-2003, 03:36 PM
  3. kernel panic with custom kernel
    By cYmen in forum Customising & Remastering
    Replies: 0
    Last Post: 07-14-2003, 10:17 AM
  4. Building custom kernel under KNOPPIX and package it ?
    By garyng in forum General Support
    Replies: 2
    Last Post: 04-21-2003, 09:54 PM
  5. New howto : Custom Knoppix Kernel
    By eadz in forum Customising & Remastering
    Replies: 1
    Last Post: 01-17-2003, 01: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
  •  


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



SK Hynix 32GB 4Rx4 PC4-2133P-LD0-10 HMA84GL7MMR4N-TF TD  DDR4 Server Memory RAM picture

SK Hynix 32GB 4Rx4 PC4-2133P-LD0-10 HMA84GL7MMR4N-TF TD DDR4 Server Memory RAM

$110.00



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00



Lot Of 16 X 16GB ECC DIMM Server Memory SK Hynix HMA42GR7MFR4N-TF PC4-17000 DDR4 picture

Lot Of 16 X 16GB ECC DIMM Server Memory SK Hynix HMA42GR7MFR4N-TF PC4-17000 DDR4

$800.00



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



SK Hynix 32GB (8x4GB) 1Rx8 PC4-2133P DDR4 Server Memory RAM, HMA451R7MFR8N-TF picture

SK Hynix 32GB (8x4GB) 1Rx8 PC4-2133P DDR4 Server Memory RAM, HMA451R7MFR8N-TF

$107.95



Server Memory: Samsung 64GB 2Rx4 PC4-3200AA ECC DDR4 M393A8G40BB4-CWE picture

Server Memory: Samsung 64GB 2Rx4 PC4-3200AA ECC DDR4 M393A8G40BB4-CWE

$742.95



Lot Of 50 8GB DDR4 RAM PC4-2666V-UA2 DIMM Desktop Memory Mixed Brands TESTED picture

Lot Of 50 8GB DDR4 RAM PC4-2666V-UA2 DIMM Desktop Memory Mixed Brands TESTED

$1750.00



64GB SK Hynix HMAA8GL7MMR4N-UH T2 AA PC4-2400T LRDIMM Server Memory 1093 picture

64GB SK Hynix HMAA8GL7MMR4N-UH T2 AA PC4-2400T LRDIMM Server Memory 1093

$299.99