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
  •  


Samsung 16GB 1Rx8 DDR5 5600MHz EC8 RDIMM PC5-44800 Memory RAM (M321R2GA3PB0-CWM) picture

Samsung 16GB 1Rx8 DDR5 5600MHz EC8 RDIMM PC5-44800 Memory RAM (M321R2GA3PB0-CWM)

$99.99



CORSAIR VENGEANCE DDR5 RAM 64GB (2x32GB) 6000MHz picture

CORSAIR VENGEANCE DDR5 RAM 64GB (2x32GB) 6000MHz

$155.00



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Corsair CMD32GX4M2B3000C15 Dominator Platinum 32GB (2x16GB) DDR4 RAM Memory Kit picture

Corsair CMD32GX4M2B3000C15 Dominator Platinum 32GB (2x16GB) DDR4 RAM Memory Kit

$50.00



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$22.45



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel

$33.99



Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture

Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory

$54.99



CORSAIR Vengeance LPX 16GB Desktop RAM DDR4 3600 (PC4 28800) 288-Pin (High-end) picture

CORSAIR Vengeance LPX 16GB Desktop RAM DDR4 3600 (PC4 28800) 288-Pin (High-end)

$61.00



HP EliteBook 840 G10 14  WUXGA Intel Core i5-1335U 16GB RAM 512GB SSD Notebook S picture

HP EliteBook 840 G10 14 WUXGA Intel Core i5-1335U 16GB RAM 512GB SSD Notebook S

$599.99