LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-08-2007, 08:17 PM   #1
nyloc
Member
 
Registered: Aug 2007
Location: Melbourne
Posts: 111

Rep: Reputation: 17
inconsistent results from modprobe


during my testing to find the problem with eth0 I came across this.
from /etc/.../blacklist
Quote:
# Alternate Intel EtherExpress Pro/100 support driver. List it
# here so it won't conflict with an already-loaded eepro100 module.
blacklist e100


# Ethernet over IEEE1394 module. In too many cases this will load
# when there's no eth1394 device present (just an IEEE1394 port)
blacklist eth1394
I ran this code
Code:
>modprobe e100
>modprobe eth1394
WARNING: Error inserting ieee1394 (/lib/modules/2.6.21.5-smp/kernel/drivers/ieee1394/ieee1394.ko): Invalid module format
does anyone know why the results from modprobe are different
(and yes I know I dont need those modules, but they were mention in forums covering eth0 and a drowning man will clutch at anything)
 
Old 08-09-2007, 12:07 PM   #2
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
I would say that the e100 driver found a device to bind to (and so it loaded), but the ieee1394 did not.
The output of dmesg can sometimes help -(read last entries after your modprobe attempt)
If you give the output of /sbin/lspci we may be able to help with the correct driver

tobyl

Last edited by tobyl; 08-09-2007 at 12:10 PM.
 
Old 08-09-2007, 03:57 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,927
Blog Entries: 45

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by nyloc
during my testing to find the problem with eth0 I came across this.
from /etc/.../blacklist

I ran this code
Code:
>modprobe e100
>modprobe eth1394
WARNING: Error inserting ieee1394 (/lib/modules/2.6.21.5-smp/kernel/drivers/ieee1394/ieee1394.ko): Invalid module format
does anyone know why the results from modprobe are different
(and yes I know I dont need those modules, but they were mention in forums covering eth0 and a drowning man will clutch at anything)
Hi,

Did you read the Slackware 12.0 CHANGES_AND_HINTS.TXT, UPGRADE.TXT and RELEASE_NOTES?

If you read the CHANGES_AND_HINTS.TXT;

Quote:
excerpt from CHANGES_AND_HINTS.TXT;

As stated earlier, it is recommended that you use one of the generic kernels
rather than the huge kernels; the huge kernel is primarily intended as
an "installer" and "emergency" kernel in case you forget to make an initrd.
However, if you do use one of the huge kernels, you will likely encounter
errors like this:
kobject_add failed for uhci_hcd with -EEXIST, don't try to register
These occur because the respective drivers are compiled statically into the
huge kernels but udev tries to load them anyway. These errors should be safe
to ignore, but if you really don't want them to appear, you can blacklist the
modules that try to load in /etc/modprobe.d/blacklist. However, make sure you
remove them from the blacklist if you ever decide to use the (recommended)
generic kernels.
This is also relative to the 'invalid format error'. Note the 'last' sentence' in case you wish to use the module at some future time.
 
Old 08-09-2007, 04:44 PM   #4
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
Onebuck - correct me if I am wrong, but the OP's kernel is 2.6.21.5-smp.
Although 'invalid format error' is symptomatic of trying to load modules that are statically compiled in, the kernel shown has the relevant options compiled as modules. Also the error that you quote is different to the one received. So I think you may be a little unfair here.

tobyl
 
Old 08-09-2007, 08:40 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,927
Blog Entries: 45

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by tobyl
Onebuck - correct me if I am wrong, but the OP's kernel is 2.6.21.5-smp.
Although 'invalid format error' is symptomatic of trying to load modules that are statically compiled in, the kernel shown has the relevant options compiled as modules. Also the error that you quote is different to the one received. So I think you may be a little unfair here.

tobyl
Hi,

We had a duscussion about this very thing some time ago. I think the thread was with rworkman. I'll do a search and get back.

I did have the same errors using the 2.6.21.5-smp kernel. You generally get rid of the problem with a new compile. I don't think fairness has anything to do with the error.

This thread was one of the discussions.

This was another thread 'Slackware 12 boot error revisited'.

This was the one with rworkman 'Slackware 12.0 'Invalid module format''. And indeed it was a symbol problem with the attempt to load again. I remembered this after reading the post(s) again.
 
  


Reply



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
Analyzing disk usage: inconsistent results from du, df overbored Linux - Software 3 12-01-2006 09:23 PM
php array sort inconsistent results rblampain Programming 2 04-03-2006 12:34 AM
Making modprobe pcspkr stick with modprobe.preload? gm4jjj Fedora 3 06-16-2004 03:27 AM
modprobe: modprobe: Couldn't locate module nvnet.o/nvaudio.o xiojqwnko Linux - Newbie 2 12-08-2003 05:41 PM
modprobe: modprobe can't locate module ppp0 in redhat 7.1 while shutting down. cyberdude3k Linux - Networking 1 09-08-2003 12:01 PM

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

All times are GMT -5. The time now is 08:12 PM.

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