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
  •  


Lenovo Thinkbook 15 15.6” FHD Laptop Core i5 10th 8GB RAM 512GB SSD Windows 11 picture

Lenovo Thinkbook 15 15.6” FHD Laptop Core i5 10th 8GB RAM 512GB SSD Windows 11

$224.99



Lenovo ThinkPad L13 Yoga Gen 2 i5-1145G7 @ 2.60GHz 16GB/256GB Win 10 Pro - W/Pen picture

Lenovo ThinkPad L13 Yoga Gen 2 i5-1145G7 @ 2.60GHz 16GB/256GB Win 10 Pro - W/Pen

$265.99



Lenovo 100e Laptop PC Computer 11.6

Lenovo 100e Laptop PC Computer 11.6" Windows 10 Celeron 4GB RAM 64GB SSD

$89.99



Lenovo IdeaPad 5 14IIL05 14

Lenovo IdeaPad 5 14IIL05 14" (512GB SSD, Intel Core i5-1035G1, 1.00GHz, 8GB RAM)

$288.88



Lenovo Ideapad 1i 15.6

Lenovo Ideapad 1i 15.6" FHD Touch Laptop - Intel Core i3-1215U with 8GB Memor...

$329.99



Lenovo ThinkBook 15 Gen 4 Notebook 15.6

Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD Intel Core i7-1255U 8GB RAM

$549.99



Lenovo ThinkBook 15 Gen 4 Notebook 15.6

Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD AMD R7 5825U 16GB RAM 512GB SSD

$529.99



Lenovo Legion Pro 5i 16

Lenovo Legion Pro 5i 16" Gaming Laptop RTX 4070 8GB i9-13900HX 16GB RAM 1TB SSD

$1369.99



Lenovo IdeaPad L340-17IRH Gaming Laptop 17.3

Lenovo IdeaPad L340-17IRH Gaming Laptop 17.3" i7-9750H 2.6GHz 16 GB Ram 1TB SSD

$429.99



Lenovo ThinkPad P71 i7-7700HQ 2.8GHz 32GB RAM 256GB SSD Win 10 Pro. READ picture

Lenovo ThinkPad P71 i7-7700HQ 2.8GHz 32GB RAM 256GB SSD Win 10 Pro. READ

$244.00