Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
modprobe error (ignoring bad line...)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kookay
n00b
n00b


Joined: 17 May 2006
Posts: 5

PostPosted: Wed May 17, 2006 8:50 am    Post subject: modprobe error (ignoring bad line...) Reply with quote

Hi everybody

since a few days ago, (I think it was after a emerge -avu world) everytime I load a module (that means about a dozen times during system boot) I get the following four messages:
Code:
May 17 10:39:53 matthi-mobile modprobe: WARNING: /etc/modprobe.conf line 164: ignoring bad line starting with 'option'
May 17 10:39:53 matthi-mobile modprobe: WARNING: /etc/modprobe.conf line 165: ignoring bad line starting with 'option'
May 17 10:39:53 matthi-mobile modprobe: WARNING: /etc/modprobe.conf line 166: ignoring bad line starting with 'enable'
May 17 10:39:53 matthi-mobile modprobe: WARNING: /etc/modprobe.conf line 217: ignoring bad line starting with 'probeall'


Well, anybody got an idea what to do about it?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed May 17, 2006 9:03 am    Post subject: Reply with quote

Look at the lines in /etc/modprobe.conf, and trace them back to the particular files in /etc/modules.d/.

Fix the files in /etc/modules.d/, then run update-modules to recreate /etc/modprobe.conf.
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3369
Location: de

PostPosted: Fri May 26, 2006 10:20 pm    Post subject: Reply with quote

Nice answer but it doesn't solve the problem.

I think, the origin of the problem is modules-init-tools version 3.2.2-r1. Either it's a bug or the commad probeall is banned out of the package.
Back to top
View user's profile Send private message
romildo
n00b
n00b


Joined: 01 Mar 2003
Posts: 45
Location: Brazil

PostPosted: Wed May 31, 2006 5:25 pm    Post subject: Reply with quote

I am having the same problem for a while now.
Back to top
View user's profile Send private message
JohnBlbec
Guru
Guru


Joined: 08 Feb 2003
Posts: 306

PostPosted: Tue Jul 03, 2007 11:18 am    Post subject: Reply with quote

the same problem
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Jul 03, 2007 11:24 am    Post subject: Reply with quote

Saying "me too" is useless. Provide some information. Show the output of:
Code:
grep option /etc/modprobe.conf
grep enable /etc/modprobe.conf
grep probeall /etc/modprobe.conf
Back to top
View user's profile Send private message
JohnBlbec
Guru
Guru


Joined: 08 Feb 2003
Posts: 306

PostPosted: Wed Jul 04, 2007 4:40 am    Post subject: Reply with quote

PaulBredbury wrote:
Saying "me too" is useless. Provide some information. Show the output of:
Code:
grep option /etc/modprobe.conf
grep enable /etc/modprobe.conf
grep probeall /etc/modprobe.conf


Code:

options snd cards_limit=1
probeall /dev/svga svgalib_helper


I have problem with probeall only.
Back to top
View user's profile Send private message
UTgamer
Veteran
Veteran


Joined: 10 Aug 2003
Posts: 1326
Location: Troisdorf (Köln) Deutschland

PostPosted: Sat Jul 07, 2007 8:11 am    Post subject: Reply with quote

JohnBlbec wrote:
Code:

options snd cards_limit=1
probeall /dev/svga svgalib_helper


I have problem with probeall only.


As musv, did note in:
https://forums.gentoo.org/viewtopic-p-4127472.html#4127472

Do you know an application which do need svgalib on your machine?
If not you can deinstall svgalib or remove this entry in
/etc/modprobe.conf ;)
_________________
AMD Phenom II x4 >> CFLAGS="-march=amdfam10 -O2 -mmmx -msse3 -mfpmath=sse,387 -pipe -ffast-math" is stable and here in use.

Did Intel produce at any time bugfree HW?
http://www.urbanmyth.org/microcode/
http://www.heise.de/newsticker/meldung/91748
Back to top
View user's profile Send private message
surveyor
n00b
n00b


Joined: 04 Jul 2006
Posts: 4

PostPosted: Sat Jul 14, 2007 9:10 am    Post subject: Reply with quote

I have the first described problem too.

I looked into "modprobe.conf" and there is a hint, that this file generated by "update-modules" from the files in

/etc/modules.d/ - config snippets for old module utilities (<= linux-2.4)
/etc/modules.conf - sum of all files in /etc/modules.d/

/etc/modprobe.d/ - config snippets for new module utilities (>= linux-2.6)
/etc/modprobe.conf - sum of all files in /etc/modprobe.d/

I use kernel 2.6.21.x, but there is no directory "/etc/modprobe.d/".

Is it possible to create the directory "/etc/modprobe.d" and copy all files from "/etc/modules.d" and run "update-modules"?
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Jul 14, 2007 9:42 am    Post subject: Reply with quote

surveyor wrote:
and copy all files

Do not make the problem worse by duplicating files. Just do what I say above. If it's a problem in /etc/modules.d/svgalib, then fix that one file and rerun:
Code:
update-modules
Back to top
View user's profile Send private message
Dabljuh
n00b
n00b


Joined: 04 Mar 2004
Posts: 48

PostPosted: Thu Aug 23, 2007 2:42 am    Post subject: Reply with quote

You don't seem to be understanding the issue.

How should you fix what isn't broken?

Why is "probeall" no longer recognized?

How should (if) a line that begins with probeall be changed?
Back to top
View user's profile Send private message
redtoade
n00b
n00b


Joined: 25 Sep 2007
Posts: 1

PostPosted: Tue Sep 25, 2007 8:07 pm    Post subject: exactly Reply with quote

Apparently there is no PROBEALL in the man for modprobe.conf

So you have your choice: ALIAS or INSTALL.

I found this in the TODO for module-init-tools
+ generate-modprobe.conf: convert "probeall" to a sequence of "alias" lines
perhaps it's a clue as to what to do.

although I would think INSTALL makes more sense.

Can someone please take a look at this?!
Back to top
View user's profile Send private message
oliver2104
Apprentice
Apprentice


Joined: 27 Jul 2004
Posts: 214
Location: Wien

PostPosted: Thu Nov 01, 2007 12:22 pm    Post subject: Reply with quote

Hello,
I had the same problem: if you have a line in /etc/modprobe.conf starting with "probeall"
this will give you error messages during boot-time.
In my case it was the line: probeall /dev/svga svgalib_helper
if that is the same with you, you need to edit the file /etc/modules.d/svgalib_helper
Change the line :
probeall /dev/svga svgalib_helper
to:
install /dev/svga svgalib_helper
Now run:
# update-modules
Next time you boot, that error messages should not appear.
But I cannot say, if this changes the system behavior.
Maybe it is only a "cosmetic" solution (no ugly errror messages)
Back to top
View user's profile Send private message
gary
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2004
Posts: 110
Location: Auburn, CA

PostPosted: Mon Mar 03, 2008 10:08 am    Post subject: Any new gen? Reply with quote

Umm...any update on this subject? I have the same bit with svgalib - which is mentioned twice in my modules.conf, for whatever reason.
Is changing from probeall to install or alias the right solution?
Thanks for any thoughts...
Back to top
View user's profile Send private message
man in the hill
Veteran
Veteran


Joined: 15 Dec 2005
Posts: 1552
Location: Madinina

PostPosted: Sun Apr 06, 2008 11:48 am    Post subject: Re: Any new gen? Reply with quote

gary wrote:
Umm...any update on this subject? I have the same bit with svgalib - which is mentioned twice in my modules.conf, for whatever reason.
Is changing from probeall to install or alias the right solution?
Thanks for any thoughts...



Hi,

I just build svgalib with the USE build and this output go away.
_________________
Get Up and Go !
Back to top
View user's profile Send private message
gary
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2004
Posts: 110
Location: Auburn, CA

PostPosted: Mon Apr 07, 2008 7:00 pm    Post subject: Reply with quote

Quote:
Hi,

I just build svgalib with the USE build and this output go away.


Thanks! I will try that right away. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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