Reply to topic

Welcome to the Knoppix Linux Forums

You are not logged in. Our forum provides a great place to discuss the Knoppix Linux Live CD, as well as other topics such as data recovery using the Knoppix CD or DVD, and general Linux support.

You need to be logged in to post on this forum. If you are not a member you can register by clicking the Register link above.

We hope you enjoy your stay!

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


Joined: 07 Oct 2005
Posts: 2
Reply with quote
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
View user's profileFind all posts by VirgilinuxSend private message
Re: Can I use Knoppix to add and/or remove a kernel module o
Moderator

Joined: 22 Nov 2002
Posts: 1041
Location: USA, IL
Reply with quote
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.

Virgilinux wrote:
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
View user's profileFind all posts by Dave_BechtelSend private messageSend e-mailVisit poster's website


Joined: 05 Nov 2003
Posts: 1323
Reply with quote
Have you tried booting with the alsa=intel8x0 kernel parameter?
View user's profileFind all posts by MarkusSend private message


Joined: 07 Oct 2005
Posts: 2
Reply with quote
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.
View user's profileFind all posts by VirgilinuxSend private message
Can I use Knoppix to add and/or remove a kernel module of an
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic