Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-08-2005, 02:10 PM   #1
LQ Newbie
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
Modprobe errors after rebuilding the kernel (mounting, sound, etc.)

I've recompiled my kernel to include a module for PPP. However, now several items are no longer working. I'm using RedHat 7.3, dual booting with win2k.

Here's a summary of what I did:

1. make xconfig: chose to enable PPP via module.

2. make dep; make clean; make bzImage: zImage was too big. bzImage warned me about being too big for standalone boot from floppy, but it fits on the floppy just fine.

3. make modules

4. moved my existing modules from /lib/modules/2.4.18-3 to /lib/modules/2.4.18-3-old

5. make modules_install: this put the new modules in /lib/modules/2.4.18-3custom

6. copied over bzImage to both /boot and the floppy (does it need to be in both places?). copied over the new file to /boot. altered the syslinux.cfg file on the floppy so it loads bzImage.

The system still boots ok, but several features don't work. I can't mount /mnt/cdrom or floppy (even though my fstab file never changed), and sound no longer works. There could be other things I haven't noticed as well. Here are the errors I get while booting:

a) modprobe: Can't locate module char-major-10-135
b) insmod: insmod ext3 failed
c) mount: fs type ext3 not supported

And when I shutdown:

d) insmod: /lib/modules/2.4.18-3custom/kernel/drivers/soundcore.o: no such file or directory.
e) insmod: sound-slot-0 failed
f) modprobe: Can't locate module sound-service-0
g) modprobe: Can't locate module chat-major-10-135

Under /lib/modules I have two folders:
/lib/modules/2.4.18-3custom << the newly built modules
/lib/modules/2.4.18-3-old << the old ones

I'm not sure if the "custom" folder has all of the modules, or only the new ones (i.e. PPP). If it only has the PPP module, does the system know to look in the "old" folder for the modules that didn't change?

Any advice would be appreciated...
Old 01-09-2005, 09:07 AM   #2
Senior Member
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36

The problem is that when you recompile your kernel, you just add PPP modules but if you have never recompile your kernel before, your config by default (when you type make xconfig) wasn't the config of you running kernel... so it may be "normal" that you have troubles



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sound modprobe errors: slackware 10.1 mttatkns Linux - Hardware 4 02-09-2005 12:36 AM
snd_via82xxx. Kernel 2.6.6 modprobe/alsaconf errors. Sharky01252 Linux - Newbie 2 11-21-2004 02:10 PM
modprobe, QM MODULE errors on new 2.6.5 Kernel init in Redhat dafatdude Linux - Software 1 04-16-2004 08:15 AM
modprobe errors( on sound service ) shankariyer Linux - Hardware 2 01-10-2004 10:22 AM
rebuilding kernel jmarsh Linux - Software 2 04-04-2003 09:09 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration