View previous topic :: View next topic |
Author |
Message |
pioto Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/1792240220439d81f26dbfd.jpg)
Joined: 24 Oct 2003 Posts: 54 Location: Pittsburgh, PA
|
Posted: Wed Feb 01, 2006 4:04 am Post subject: pcmciautils, udev, and network cards on boot |
|
|
Hello, helpful forum goers.
I know similar issues have been raised on this forum before, but I haven't found a good solution that doesn't involve "use hotplug instead of udev". Basically, I am using pcmciautils and udev, and I want to let udev properly start my network cards on boot when they're plugged in.
I have yenta_socket in my /etc/modules.autoload.d/kernel-2.6, so udev will see and does properly load my modules for my network cards (they show up in lsmod, and I see some output in dmesg). However, the card doesn't actually get started properly until I eject and re-insert it. From then on, everything works wonderfully. Am I missing something obvious here? Is the udev support still inadequate? For the moment, I'm trying a hack that'll just do pccardctl eject;pccardctl insert at the end of my boot runlevel, but that doesn't seem very reasonable.
Thoughts? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GoofballJM1 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/3445888644b294b87451f.jpg)
Joined: 22 Mar 2004 Posts: 392 Location: Denver, CO USA
|
Posted: Wed Feb 01, 2006 10:56 pm Post subject: |
|
|
I have never heard that before. From what I understand, udev depends on coldplug & hotplug. emerge coldplug, hotplug, and pcmciautils and add them to your boot level using rc-update. _________________ "Great spirits have often encountered violent opposition from weak minds." - Albert Einstein |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pioto Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/1792240220439d81f26dbfd.jpg)
Joined: 24 Oct 2003 Posts: 54 Location: Pittsburgh, PA
|
Posted: Wed Feb 01, 2006 11:28 pm Post subject: |
|
|
GoofballJM1 wrote: | From what I understand, udev depends on coldplug & hotplug. |
Not so, udev depends only on hotplug-base, which just provides a stub /sbin/hotplug which could be used to execute any legacy hotplug scripts installed by programs. Normally, on a pure-udev system, it is never used. Coldplug isn't necessary, you can just add the basic modules to your /etc/modules.autoload.d/kernel-2.6 file, which I believe I was recommended to do by some documentation or another.
Additionally, pcmciautils has a 'udev' USE flag which causes it to NOT use hotplug at all, but just use a pure-udev system. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
GoofballJM1 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/3445888644b294b87451f.jpg)
Joined: 22 Mar 2004 Posts: 392 Location: Denver, CO USA
|
Posted: Thu Feb 02, 2006 4:05 am Post subject: |
|
|
pioto wrote: | GoofballJM1 wrote: | From what I understand, udev depends on coldplug & hotplug. |
Not so, udev depends only on hotplug-base, which just provides a stub /sbin/hotplug which could be used to execute any legacy hotplug scripts installed by programs. Normally, on a pure-udev system, it is never used. Coldplug isn't necessary, you can just add the basic modules to your /etc/modules.autoload.d/kernel-2.6 file, which I believe I was recommended to do by some documentation or another.
Additionally, pcmciautils has a 'udev' USE flag which causes it to NOT use hotplug at all, but just use a pure-udev system. |
You're right about the hotplug base, I forgot about that. I like using coldplug just so I don't have to manually enter in my modules into /etc/modules.autoload.d/kernel-2.6. It was too much of a hassle for me.
I have gentoo running on a fairly old laptop(P2 333), and when coldplug runs, it occasionally locks up when scanning for PCI devices. I switched out network cards and it never came up again.
As for your problem with your PCMCIA card, I had a similar problem at a previous job a couple of years ago. It was with an orinoco pcmcia wireless card and a certain model of Dell computer, loaded with 98SE. The only way the problem went away was switching to a different card. It happened to about 6 machines of the same make and model with the same card. It very well could be some weird compaitibility issue.
Conclusion, try a different network card and see how that works. _________________ "Great spirits have often encountered violent opposition from weak minds." - Albert Einstein |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pioto Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/1792240220439d81f26dbfd.jpg)
Joined: 24 Oct 2003 Posts: 54 Location: Pittsburgh, PA
|
Posted: Fri Feb 17, 2006 3:43 pm Post subject: |
|
|
GoofballJM1 wrote: | As for your problem with your PCMCIA card, I had a similar problem at a previous job a couple of years ago. It was with an orinoco pcmcia wireless card and a certain model of Dell computer, loaded with 98SE. The only way the problem went away was switching to a different card. It happened to about 6 machines of the same make and model with the same card. It very well could be some weird compaitibility issue.
Conclusion, try a different network card and see how that works. |
This is the case with 2 different network cards, an Orinoco-based 802.11b card, and a NE2000-compatable ethernet / modem combo card. The thing is, simply removing and then re-inserting the cards makes them work fine once booting is over. I just want to get it to work properly with the cards in from the get-go.
This isn't a hotplug-related thing, or the cards wouldn't work when they're re-inserted later. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|