Results 1 to 4 of 4

Thread: Can I use Knoppix to add and/or remove a kernel module of an

  1. #1
    Junior Member
    Join Date
    Oct 2005
    Posts
    2

    Can I use Knoppix to add and/or remove a kernel module of an

    Can I use Knoppix to add and/or remove a kernel module of an EXISTING (installed) Kernel?

    If yes, how?

    For background, I am installing Sarge (debian stable) on an HP laptop. The debian installer installs the "wrong" sound module during the first stage of the installation. This blocks the installed kernel from booting to complete the second stage of the installation.

    Basically, it is a known bug, which has not been corrected.
    See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=298623

    Presumably, the problem is caused by a sound module: i810_audio.ko . The workaround is to install the ALSA (snd_intel8x0) module ((which would among other things 'blacklist' the OSS modules).

    Sounds simple enough... until one tries to do it. The problem is that the bug strikes in the boot up after stage 1, before stage2 even starts. So, the options are quite limited.

    I have already tried a number of things, going through "expert" installation, trying to use the debian installer as a rescue CD, getting into a console, etc. But nothing has worked. So, perhaps Knoppix may allow me to add and/or substract the appropiate kernel modules.

    Thanks in advance.

    Virgil

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: Can I use Knoppix to add and/or remove a kernel module o

    You have to delete the kernel module on-disk, or rename it.

    1. Boot Knoppix
    2. Mount your root partition ' mount /mnt/hdXX '
    3. CD to the lib/modules directory there:
    ' cd /mnt/hdXX/lib/modules/2*/kernel/drivers '

    4. ' find . -name i810_audio.ko ' == This tells you where the file is under this dir
    5. CD to that dir, and ' rm ' the file or rename it with ' mv '. Reboot.

    Quote Originally Posted by Virgilinux
    Can I use Knoppix to add and/or remove a kernel module of an EXISTING (installed) Kernel?

    If yes, how?

    For background, I am installing Sarge (debian stable) on an HP laptop. The debian installer installs the "wrong" sound module during the first stage of the installation. This blocks the installed kernel from booting to complete the second stage of the installation.

    Basically, it is a known bug, which has not been corrected.
    See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=298623

    Presumably, the problem is caused by a sound module: i810_audio.ko . The workaround is to install the ALSA (snd_intel8x0) module ((which would among other things 'blacklist' the OSS modules).

    Sounds simple enough... until one tries to do it. The problem is that the bug strikes in the boot up after stage 1, before stage2 even starts. So, the options are quite limited.

    I have already tried a number of things, going through "expert" installation, trying to use the debian installer as a rescue CD, getting into a console, etc. But nothing has worked. So, perhaps Knoppix may allow me to add and/or substract the appropiate kernel modules.

    Thanks in advance.

    Virgil

  3. #3
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Have you tried booting with the alsa=intel8x0 kernel parameter?

  4. #4
    Junior Member
    Join Date
    Oct 2005
    Posts
    2
    Thank you both.

    It turns out the problem went way after I installed the alsa-base package, with apt-get.

    Still, wasn't as simple as it could have been, because the debian installer does not configure apt during the first stage, and apparently alsa-base in not included in disk-1. So, one has to configure apt to reach a debian site over the net, and apt-get the package.

    Nevertheless, I am still getting some strage messages during boot off, and may have to do more work on this problem.

    Among other things, the verison of the kernel 2.6 that comes with debian would not run on my system. Interestingly, knoppix (as well as ubuntu) run without problems, and without special boot options. Why can't debian do the same is a mystery to me. Presumably, the debian installer is less "friendly" to be able to support more systems... seems to be back-firing when it comes to laptops.

Similar Threads

  1. How to build a kernel module for knoppix 5.1.1?
    By rbos in forum Customising & Remastering
    Replies: 4
    Last Post: 02-05-2007, 07:34 PM
  2. Adding/Updating a kernel module in KNOPPIX 3.9
    By opeer in forum Customising & Remastering
    Replies: 0
    Last Post: 07-15-2005, 04:23 PM
  3. Knoppix 3.4 with kernel 2.6.5 doesn't have lvm module?
    By littleKoala in forum General Support
    Replies: 3
    Last Post: 06-29-2004, 11:56 AM
  4. How to add a modem module to kernel ?
    By MrAhmad in forum Customising & Remastering
    Replies: 1
    Last Post: 09-06-2003, 11:45 AM
  5. usbdnet kernel module
    By bamarob in forum Ideas
    Replies: 6
    Last Post: 06-25-2003, 03:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM picture

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM

$1625.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed picture

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed

$49.99



867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001 picture

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001

$245.00



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Windows Server 2022 | Intel 18-Core Xeon | 32GB ECC DDR4 | 256GB SSD | 3TB HDD picture

Windows Server 2022 | Intel 18-Core Xeon | 32GB ECC DDR4 | 256GB SSD | 3TB HDD

$635.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$149.99



Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server picture

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server

$349.99