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
  •  


Atari 130xe in very nice condition, fully tested picture

Atari 130xe in very nice condition, fully tested

$275.00



Atari SIO2SD (Lotharek v1.3) Disk Drive Emulator - Atari 400/800/XL/XE Computers picture

Atari SIO2SD (Lotharek v1.3) Disk Drive Emulator - Atari 400/800/XL/XE Computers

$59.95



Atari 800 10k & 810 Floppy Disc Drive Atari 800 With Box Power Supply Powers On picture

Atari 800 10k & 810 Floppy Disc Drive Atari 800 With Box Power Supply Powers On

$279.99



Atari 400/800/XL/XE Computer SIO2PC - PC/Mac Disk Drive Emulator Adapter/Device picture

Atari 400/800/XL/XE Computer SIO2PC - PC/Mac Disk Drive Emulator Adapter/Device

$15.25



Atari Power Cube 800XL, 600XL, 65XE, 130XE  USB-C Power Supply PSU picture

Atari Power Cube 800XL, 600XL, 65XE, 130XE USB-C Power Supply PSU

$11.25



Atari Falcon 030 Computer- picture

Atari Falcon 030 Computer-

$3200.00



Vintage Atari Megafile 44 External 44MB Drive ST STE Mega picture

Vintage Atari Megafile 44 External 44MB Drive ST STE Mega

$340.00



A8picoCart Atari 130 / 65 XE 800 / 1200 XL XEGS multicart UnoCart clone game picture

A8picoCart Atari 130 / 65 XE 800 / 1200 XL XEGS multicart UnoCart clone game

$32.95



ATARI Home Computers HOME FILING MANAGER Software  **SEALED NEW** 1982 picture

ATARI Home Computers HOME FILING MANAGER Software **SEALED NEW** 1982

$25.00