LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-15-2006, 12:40 AM   #1
Br. Nicholas
Member
 
Registered: Nov 2000
Location: Buena Vista, Colorado
Posts: 34

Rep: Reputation: 16
Kernel upgrade / modprobe question.


I installed kernel 2.6.10 on one of my Slackware 10.1 boxes last night from CD #2 based on this link: http://www.linuxquestions.org/linux/...Install_disc_2


Everything *seems* to work fine, except I get the following two errors being logged every time I boot:


Apr 13 23:48:02 meteora modprobe: FATAL: Error inserting pciehp (/lib/modules/2.6.10/kernel/drivers/pci/hotplug/pciehp.ko): Operation not permitted
Apr 13 23:48:02 meteora modprobe: FATAL: Error inserting shpchp (/lib/modules/2.6.10/kernel/drivers/pci/hotplug/shpchp.ko): Operation not permitted


If I try to add the modules with modprobe, I get the same error.

bash-3.00# modprobe -v pciehp
insmod /lib/modules/2.6.10/kernel/drivers/pci/hotplug/pciehp.ko
FATAL: Error inserting pciehp (/lib/modules/2.6.10/kernel/drivers/pci/hotplug/pciehp.ko): Operation not permitted
bash-3.00# modprobe -v shpchp
insmod /lib/modules/2.6.10/kernel/drivers/pci/hotplug/shpchp.ko
FATAL: Error inserting shpchp (/lib/modules/2.6.10/kernel/drivers/pci/hotplug/shpchp.ko): Operation not permitted
bash-3.00#


Are these two error messages anything I need to worry about?

If not, is there an easy way to get rid of them? (I'd rather not recompile the kernel if I don't have to.)


Any advice / info would be greatly appreciated.
 
Old 04-15-2006, 12:44 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
I think your kernel doesn't support module inserting (insmod). But you could try to load them manual way with modrobe without inserting (don't know if it works). If you don't need them, uncomment them in /etc/rc.d/rc.modules.

Last edited by Alien_Hominid; 04-17-2006 at 06:15 AM.
 
Old 04-15-2006, 01:25 AM   #3
Br. Nicholas
Member
 
Registered: Nov 2000
Location: Buena Vista, Colorado
Posts: 34

Original Poster
Rep: Reputation: 16
They are not in /etc/rc.d/rc.modules -- or at least I cannot find any reference to them.

There is not anything relating to them in /etc/modprobe.conf or /etc/modules.conf either.

Very strange.

I have not even been able to find what these two modules are for.
 
Old 04-15-2006, 01:55 AM   #4
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
The 2.6 kernel requires module-init-tools and not modutils. Run this command to see what version of modprobe you have installed:

$ /sbin/modprobe --version

The version info should have "module-init-tools" in it. If it does not, you will need to install it. Please post the modprobe version info here.

Peace...
 
Old 04-15-2006, 10:43 AM   #5
Br. Nicholas
Member
 
Registered: Nov 2000
Location: Buena Vista, Colorado
Posts: 34

Original Poster
Rep: Reputation: 16
I have "module-init-tools version 3.1"
 
Old 04-15-2006, 10:58 AM   #6
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Quote:
Originally Posted by Alien_Hominid
I think your kernel doesn't support module inserting 9insmod).
This should be confirmed. Go into the kernel source directory and run "make menuconfig" and look at the kernel module loading settings. Make sure the kernel is setup to support module loading.

Peace...
 
Old 04-15-2006, 12:12 PM   #7
Br. Nicholas
Member
 
Registered: Nov 2000
Location: Buena Vista, Colorado
Posts: 34

Original Poster
Rep: Reputation: 16
Menuconfig says it supports module loading.

While I was in it, I poked around a little and found those two modules. Menuconfig says that when in doubt, choose no (don't include) for both of them. So I decided to go ahead mark those as no and try recompiling the kernel.

It might be good experience for me. ??

Is it worth the effort for me to go through and mark *modules* that I know I won't ever use not to be compiled into the kernel? I've always read that modules don't add that much to the kernel unless they are loaded into it because they are needed -- but there are a LOT of modules there that I know we won't ever need. Is it worth the trouble to deselect them?

If I can sucessfully get the 2.6.10 kernel working on this box, I plan to try it on our production backup server. It's old -- a 300 Mhz P2 with 64MB RAM. That, I think, might do better if I trim the kernel down as much as I can.
 
Old 04-15-2006, 01:59 PM   #8
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Things built as modules do nothing except take up disk space, unless they are loaded.

Check out this page:

http://ubuntuforums.org/archive/index.php/t-2432.html

Peace...
 
Old 04-15-2006, 03:58 PM   #9
Br. Nicholas
Member
 
Registered: Nov 2000
Location: Buena Vista, Colorado
Posts: 34

Original Poster
Rep: Reputation: 16
Thank you very much. I really appreciate it.

I've never done much with kernels before. I appreciate your help and advice.

Peace be to you, too.
 
Old 04-15-2006, 04:00 PM   #10
Br. Nicholas
Member
 
Registered: Nov 2000
Location: Buena Vista, Colorado
Posts: 34

Original Poster
Rep: Reputation: 16
Oh, and fantastic link!

Many thanks again.

Fear not! There is nothing fatal about this at all. To stop hotplug trying to load drivers it has no business trying to load (on this system, anyway) add the following three lines to the bottom of /etc/hotplug/blacklist

# Not loading on boot. Removed from sight
pciehp
shpchp
hw_random
 
Old 04-16-2006, 11:47 AM   #11
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Quote:
Originally Posted by Br. Nicholas
Oh, and fantastic link!

Many thanks again.
Don't thank me, thank our great friend Google.

Glad that helped...

Peace...
 
  


Reply


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
Kernel upgrade question daniel_lidstrom Debian 2 01-17-2005 08:51 AM
modprobe doesn't work after kernel upgrade from 2.4 to 2.6 simpletoker Slackware 4 05-17-2004 07:54 PM
Kernel upgrade question crealkillerI75 Slackware 4 08-06-2002 01:38 PM
Modprobe Problems after Kernel Upgrade cm_elliott Linux - Networking 13 02-03-2002 05:51 PM
No modem after kernel upgrade: Modprobe can't locate module char-major-4 Rimmer Linux - General 2 05-09-2001 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:21 AM.

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