View previous topic :: View next topic |
Author |
Message |
psyeye Guru


Joined: 06 Dec 2002 Posts: 409 Location: Germany
|
Posted: Wed Jul 07, 2004 9:15 am Post subject: Who loads ipw2100? [solved] |
|
|
Hello everybody!
I think I have some ghost in my notebook!
No, seriously, whenever I boot up my notebook the ipw2100-module is loaded and the interface is brought up, but I have no idea why and I do want to stop it.
Places I checked:
- /etc/modules.autoload.d/kernel-2.6 - no ipw2100 there
- no /etc/init.d/net.eth1 in /etc/runlevels/default or .../boot
Any idea how I can stop the ipw2100-module from loading at boot-time?
I want to write some rc-script which uses /proc/cmdline myself to control what interface I want to use...
greetings,
psyeye
edit: added "solved" to title
Last edited by psyeye on Thu Jul 15, 2004 9:58 am; edited 1 time in total |
|
Back to top |
|
 |
pjv Guru


Joined: 02 Jul 2003 Posts: 353 Location: Belgium
|
Posted: Wed Jul 07, 2004 10:18 am Post subject: |
|
|
Maybe this answer is too simple, but could you post the output of "rc-update show"? You should be looking for things like net.wlan too.
Have you ever put a command to load the module at boot somewhere, and have forgotten now? |
|
Back to top |
|
 |
psyeye Guru


Joined: 06 Dec 2002 Posts: 409 Location: Germany
|
Posted: Wed Jul 07, 2004 11:01 am Post subject: |
|
|
pjv wrote: | Maybe this answer is too simple, but could you post the output of "rc-update show"? You should be looking for things like net.wlan too. |
Hey, this "rc-update show" was new to me!
But anyway, no... no net.eth1/wlan in any runlevel:
Code: | net.eth1 | <-- empty! :? |
Quote: | Have you ever put a command to load the module at boot somewhere, and have forgotten now? |
Well, that's what I've thought, too... but even
Code: | grep ipw2100 `find /etc` |
yields ... nothing... (except some hits in /etc/portage/... for unmasking the ebuilds)
but thanks anyway! rc-update show ... nice!
greetins,
psyeye |
|
Back to top |
|
 |
pjv Guru


Joined: 02 Jul 2003 Posts: 353 Location: Belgium
|
Posted: Wed Jul 07, 2004 12:39 pm Post subject: |
|
|
I was thinking... Maybe unmerging ipw2100 temporarily would give an error by the script/ghost calling it? |
|
Back to top |
|
 |
psyeye Guru


Joined: 06 Dec 2002 Posts: 409 Location: Germany
|
Posted: Wed Jul 07, 2004 12:55 pm Post subject: |
|
|
pjv wrote: | I was thinking... Maybe unmerging ipw2100 temporarily would give an error by the script/ghost calling it? |
Good idea! Will try in the evening and report back then - I am at Uni atm, unmerging ipw2100 no good now, I'm on wlan here
greetings,
psyeye |
|
Back to top |
|
 |
psyeye Guru


Joined: 06 Dec 2002 Posts: 409 Location: Germany
|
Posted: Sun Jul 11, 2004 4:27 pm Post subject: |
|
|
pjv wrote: | I was thinking... Maybe unmerging ipw2100 temporarily would give an error by the script/ghost calling it? |
Nope, nothing...
and still not surprising, too. I have no script in any runlevel which would want to do anything with either the module or /etc/init.d/net.eth1. I more than double-checked it by now...
This is very strange.... |
|
Back to top |
|
 |
Earthwings Bodhisattva


Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Sun Jul 11, 2004 4:46 pm Post subject: Re: Who loads ipw2100? |
|
|
psyeye wrote: |
I think I have some ghost in my notebook!
|
Some people call it hotplug  |
|
Back to top |
|
 |
psyeye Guru


Joined: 06 Dec 2002 Posts: 409 Location: Germany
|
Posted: Mon Jul 12, 2004 9:37 am Post subject: Re: Who loads ipw2100? |
|
|
Earthwings wrote: | psyeye wrote: |
I think I have some ghost in my notebook!
|
Some people call it hotplug  |
Well ok... I was trying to figure out hotplug. But I don't get it.
Who or what loads ipw2100 and how can I prevent it from happening? Any ideas?
Would be very great and appreciated!
Myself, I seem to be too stupid to get it done
greetings,
psyeye |
|
Back to top |
|
 |
boroshan l33t


Joined: 16 Apr 2003 Posts: 730 Location: upside down
|
Posted: Mon Jul 12, 2004 12:28 pm Post subject: |
|
|
psyeye wrote: | pjv wrote: | I was thinking... Maybe unmerging ipw2100 temporarily would give an error by the script/ghost calling it? |
Nope, nothing...
and still not surprising, too. I have no script in any runlevel which would want to do anything with either the module or /etc/init.d/net.eth1. I more than double-checked it by now...
|
So, are you saying the interface comes up even after you uninstalled the ipw2100 drivers? _________________ Don't let THEM immanentize the Eschaton! |
|
Back to top |
|
 |
psyeye Guru


Joined: 06 Dec 2002 Posts: 409 Location: Germany
|
Posted: Mon Jul 12, 2004 12:41 pm Post subject: |
|
|
boroshan wrote: | So, are you saying the interface comes up even after you uninstalled the ipw2100 drivers? |
No, of course not... With no ipw2100 module, no interface is brought up.
But if do have the module "ipw2100.ko" in /lib/modules/net, eth1 is created and brought up. Automagically. As stated, this could have something to do with pci-hotplug, but I have no idea.
The only thing I would like to know is how to turn this behaviour off.
Any idea?
greetings,
psyeye |
|
Back to top |
|
 |
boroshan l33t


Joined: 16 Apr 2003 Posts: 730 Location: upside down
|
Posted: Mon Jul 12, 2004 2:33 pm Post subject: |
|
|
psyeye wrote: | boroshan wrote: | So, are you saying the interface comes up even after you uninstalled the ipw2100 drivers? |
No, of course not... With no ipw2100 module, no interface is brought up. |
Of course. Only if you had unmerged ipw2100 and the interface did still come up, then it might have meant that you had the kernel driver compiled in as well, so it wasn't entirely a daft question. Which isn't to say that I'm claiming the same for any subsequent ones..
So: do you have hotplug installed? is hotplug in one of the rc-update runlevels? if so can you do without it? Also have you checked to see if the wireless connection is active? My laptop brings up the interface even it isn't started, but it doesn't associate unless I've called the net.eth1 script. _________________ Don't let THEM immanentize the Eschaton! |
|
Back to top |
|
 |
psyeye Guru


Joined: 06 Dec 2002 Posts: 409 Location: Germany
|
Posted: Mon Jul 12, 2004 2:50 pm Post subject: |
|
|
first: thanks for tuning in and trying to help me out!
boroshan wrote: |
So: do you have hotplug installed? is hotplug in one of the rc-update runlevels? if so can you do without it? Also have you checked to see if the wireless connection is active? My laptop brings up the interface even it isn't started, but it doesn't associate unless I've called the net.eth1 script. |
Yes, I have hotplug installed and in my runlevel (boot). I have it in there 'cause I run my system with udev and some install-doc said I should "rc-update add hotplug boot". I'm not quite sure if I "can live without" - how do I know?
On the other hand: I do use USB-mouse and -keyboard with my notebook and I really like "autodetection" of those with X running. If this has something to do with hotplug, I would like to keep it!
greetings,
psyeye |
|
Back to top |
|
 |
boroshan l33t


Joined: 16 Apr 2003 Posts: 730 Location: upside down
|
Posted: Mon Jul 12, 2004 3:28 pm Post subject: |
|
|
OK, then: Hotplug detects hardware configuration and loads drivers, brings up interfaces, and all that. It was initally intended for things like PCMCIA cards, zip drives and USB storage devices - things that could be "hot swapped" without needing a reboot - hence "hotplug"
However, udev treats (if I understand it correctly) all devices as hot swappable. So hotplug is fundamental to udev and no, you can't live without it. At least not with your current setup.
So the next thing to do is to look at hotplug. How it loads a driver/interface is controlled via a collection of scripts in /etc/hotplug (I think). You should be able to write/edit the one managing your ipw2100 device and thus stop it auto activating. Just don't ask me how, specifically, 'cos I ain't got that far myself
[edited for confusing typoes] _________________ Don't let THEM immanentize the Eschaton! |
|
Back to top |
|
 |
Earthwings Bodhisattva


Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Mon Jul 12, 2004 3:38 pm Post subject: |
|
|
Adding ipw2100 to /etc/hotplug/blacklist should do the job. |
|
Back to top |
|
 |
psyeye Guru


Joined: 06 Dec 2002 Posts: 409 Location: Germany
|
Posted: Thu Jul 15, 2004 9:58 am Post subject: |
|
|
Earthwings wrote: | Adding ipw2100 to /etc/hotplug/blacklist should do the job. |
Thank you! That did the trick!
Thanks to everybody! |
|
Back to top |
|
 |
|