Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Fun with udev and coldplug [SOLVED (mostly)]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
partnerslayer
n00b
n00b
Posts: 15
Joined: Tue Sep 26, 2006 3:13 am

Fun with udev and coldplug [SOLVED (mostly)]

  • Quote

Post by partnerslayer » Mon Nov 27, 2006 6:43 am

So I unmerged coldplug and updated udev today, and my wireless card (Broadcom BCM4309) decided to stop working. I followed all the instrucitons for a proper upgrade (etc-update, rm /etc/init.d/coldpug, etc.) and did searching on the forums but could not get it working. I decided to rollback to my previous version of udev (087-r1) and coldplug. My wireless card works again, but for some reason my computer isn't detecting my ethernet card (Broadcom BCM4401). If I try to manually start it via /etc/init.d/net.eht0, I get this error message:

Code: Select all

network interface eth0 does not exist
Please verify hardware or kernel module (driver)
My kernel already has support built into it, but I rebuilt just in case something randomly broke. Alas, still no luck.

I primarily use wireless (work and home), but I use my eth0 connection while I'm in class (school refuses to let linux users on the wireless for some reason, but I'm not going to get started there).

To make a long post short, it'd be great if there was some way to get both my network connections working at the same time. Any help would be greatly appreciated. Thanks in advance!
Last edited by partnerslayer on Mon Nov 27, 2006 10:04 pm, edited 1 time in total.
Top
lazyleopard
n00b
n00b
Posts: 58
Joined: Thu Nov 06, 2003 1:38 pm

  • Quote

Post by lazyleopard » Mon Nov 27, 2006 9:16 am

Am I glad I checked the forums before going ahead with unmerging coldplug. Until such time as I can babysit this change when I'm on-site and can get at the appropriate consoles I'm putting '=sys-fs/udev-103' into /etc/portage/package.mask ...

A few forum refs:

http://forums.gentoo.org/viewtopic-t-51 ... +udev.html
http://forums.gentoo.org/viewtopic-t-51 ... +udev.html
http://forums.gentoo.org/viewtopic-t-51 ... +udev.html
http://forums.gentoo.org/viewtopic-t-51 ... +udev.html
http://forums.gentoo.org/viewtopic-t-51 ... +udev.html
http://forums.gentoo.org/viewtopic-t-51 ... +udev.html
http://forums.gentoo.org/viewtopic-t-51 ... +udev.html

... and so on.
Top
jcat
Veteran
Veteran
User avatar
Posts: 1337
Joined: Fri May 26, 2006 10:47 am

  • Quote

Post by jcat » Mon Nov 27, 2006 10:43 am

Please post the output of

Code: Select all

ifconfig -a


cheers,
jcat
Top
paluszak
Apprentice
Apprentice
Posts: 274
Joined: Mon Jun 28, 2004 4:27 pm
Location: Warsaw, Poland

Re: Fun with udev and coldplug

  • Quote

Post by paluszak » Mon Nov 27, 2006 10:49 am

partnerslayer wrote:So I unmerged coldplug and updated udev today, and my wireless card (Broadcom BCM4309) decided to stop working. I followed all the instrucitons for a proper upgrade (etc-update, rm /etc/init.d/coldpug, etc.) and did searching on the forums but could not get it working. I decided to rollback to my previous version of udev (087-r1) and coldplug. My wireless card works again, but for some reason my computer isn't detecting my ethernet card (Broadcom BCM4401). If I try to manually start it via /etc/init.d/net.eht0, I get this error message:

Code: Select all

network interface eth0 does not exist
Please verify hardware or kernel module (driver)
My kernel already has support built into it, but I rebuilt just in case something randomly broke. Alas, still no luck.

I primarily use wireless (work and home), but I use my eth0 connection while I'm in class (school refuses to let linux users on the wireless for some reason, but I'm not going to get started there).

To make a long post short, it'd be great if there was some way to get both my network connections working at the same time. Any help would be greatly appreciated. Thanks in advance!
The same happened here, but I can partially fixed it by loading manually/autoloading my wireless card driver module. There are other problems, thought, I have some external disks on USB and Firewire connected to my laptop and I have to load driver modules manually. Maybe it was better not to mark udev-103 stable if it doesn't have coldplug functionality?

J.
Top
hilde
n00b
n00b
Posts: 42
Joined: Wed Jun 09, 2004 3:09 pm
Location: Buggenhout, Belgium

  • Quote

Post by hilde » Mon Nov 27, 2006 3:40 pm

On my laptop, my wireless card (ipw2200) doesn't show up anymore since I upgraded to udev-103. When I type

Code: Select all

ifconfig -a
only net.eth0 (my wired device) and net.lo show up. ipw2200 is in /etc/modules.autoload.d/kernel-2.6, so it is loaded. When I type lsmod, ipw2200 shows up, but it seems to be used by nothing. lspci does show my wireless device. Could it be that udev-103 doesn't load the firmware?
Top
paluszak
Apprentice
Apprentice
Posts: 274
Joined: Mon Jun 28, 2004 4:27 pm
Location: Warsaw, Poland

  • Quote

Post by paluszak » Mon Nov 27, 2006 3:58 pm

hilde wrote:On my laptop, my wireless card (ipw2200) doesn't show up anymore since I upgraded to udev-103. When I type

Code: Select all

ifconfig -a
only net.eth0 (my wired device) and net.lo show up. ipw2200 is in /etc/modules.autoload.d/kernel-2.6, so it is loaded. When I type lsmod, ipw2200 shows up, but it seems to be used by nothing. lspci does show my wireless device. Could it be that udev-103 doesn't load the firmware?
Perhaps it's the reason, my wireless device (RTL8180) doesn't need any firmware, so when I lsmod'ed the right driver module it started to work fine.

J.
Top
partnerslayer
n00b
n00b
Posts: 15
Joined: Tue Sep 26, 2006 3:13 am

  • Quote

Post by partnerslayer » Mon Nov 27, 2006 4:02 pm

I did a little tweaking, but here's the output from ifconfig -a (please forgive any typos, I can't get online with my laptop so I'm typing on a Windows machine):

Code: Select all

ifconfig -a
lo     Link encap:Local Loopback
       inet addr:127.0.0.1  Mask:255.0.0.0
       UP LOOPBACK RUNNING  MTU:16436 Metric:1
       RX packets:0 errors:0 dropped:0 overruns:0 frame:0
       TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:0
       RX bytes: 0 (0.0 b)  TX bytes:0 (0.0 b)

wlan0  Link encap:Ethnernet HWaddr 00:0F:1F:12:10:78
       UP BROADCAST MULTICAST  MTU:1500 Metric:1
       RX packets:0 errors:0 dropped:0 overruns:0 frame:0
       TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:1000
       RX bytes: 0 (0.0 b)  TX bytes:0 (0.0 b)
       Interrupt:17

wlan1  Link encap:Ethnernet HWaddr 00:90:96:A4:D3:B3
       UP BROADCAST MULTICAST  MTU:1500 Metric:1
       RX packets:0 errors:0 dropped:0 overruns:0 frame:0
       TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:1000
       RX bytes: 0 (0.0 b)  TX bytes:0 (0.0 b)
       Interrupt:20 Memory:faffc000-fafe000
I noticed during a iwlist wlan0 scan that wlan0 found nothing (interface doesn't support scanning"), so I added a new init.d script for wlan1 and was able to scan. I'm assuming at this point that when I was playing last night my ethernet card was working and my wireless was acting up (I assumed wlan0 still meant wireless). I've checked that ndiswrapper is loaded before starting wlan1 and I changed references from wlan0 to wlan1 in /etc/conf.d/net. Thanks again in advance for any help.

paluszak: I've tried modprobe -r ndiswrapper, stopping the wireless card, modproving ndiswrapper, then starting the wireless card but that doesn't work.
Top
jcat
Veteran
Veteran
User avatar
Posts: 1337
Joined: Fri May 26, 2006 10:47 am

  • Quote

Post by jcat » Mon Nov 27, 2006 4:09 pm

If you have copied the init script and altered /etc/conf.d/net to reflect the change, then it should be working. I'm no wireless expert, but

Code: Select all

/etc/init.d/net.eth1 start
should do the trick.

Do you actually have two wireless cards?




Cheesr,
jcat
Top
paluszak
Apprentice
Apprentice
Posts: 274
Joined: Mon Jun 28, 2004 4:27 pm
Location: Warsaw, Poland

  • Quote

Post by paluszak » Mon Nov 27, 2006 5:28 pm

partnerslayer wrote:paluszak: I've tried modprobe -r ndiswrapper, stopping the wireless card, modproving ndiswrapper, then starting the wireless card but that doesn't work.
Maybe I'm wrong, but I think the card should be on when you modprobe ndiswrapper. Anyway, you can try to type:

Code: Select all

cat /proc/net/dev
and it should print all available network device interfaces with some additional stats. Perhaps you'll find your missing interface there?

J.
Top
partnerslayer
n00b
n00b
Posts: 15
Joined: Tue Sep 26, 2006 3:13 am

  • Quote

Post by partnerslayer » Mon Nov 27, 2006 6:44 pm

jcat: I have one wireless card. I was getting thrown off because my network devices were now being labeled wlan0 and wlan1 (as opposed to eth0 and wlan0).

paluszak: I can see my wireless card when I do cat /proc/net/dev and I can detect AP's using iwlist. This convinces me (at least for now) that my wireless card is being detected properly.

I did some tweaking and I think now the problem may have to do with DHCP. Starting my wireless card always fails due to a DHCP timeout.
Top
paluszak
Apprentice
Apprentice
Posts: 274
Joined: Mon Jun 28, 2004 4:27 pm
Location: Warsaw, Poland

  • Quote

Post by paluszak » Mon Nov 27, 2006 8:06 pm

partnerslayer wrote:I did some tweaking and I think now the problem may have to do with DHCP. Starting my wireless card always fails due to a DHCP timeout.
You can try to connect to a network with static IP, ping a few addresses and so on, just to check if it's really a DHCP problem. My wireless adapter has some issues with DHCP, so I use static IP's at home.

J.
Top
partnerslayer
n00b
n00b
Posts: 15
Joined: Tue Sep 26, 2006 3:13 am

  • Quote

Post by partnerslayer » Mon Nov 27, 2006 9:56 pm

My wireless is working now (with udev 103 no less). I switched to bcm44xx (I had no clue this was even available) and things seem ok. The regular net.wlan1 script doesn't work, but that's a minor issue at this point. It seems like this is a workaround, but I'll play with it later. Thanks again for all the help!
Top
jcat
Veteran
Veteran
User avatar
Posts: 1337
Joined: Fri May 26, 2006 10:47 am

  • Quote

Post by jcat » Mon Nov 27, 2006 10:05 pm

Glad you have a solution 8)



Cheers,
jcat
Top
hilde
n00b
n00b
Posts: 42
Joined: Wed Jun 09, 2004 3:09 pm
Location: Buggenhout, Belgium

  • Quote

Post by hilde » Tue Nov 28, 2006 9:21 am

I found this bugreport: http://bugs.gentoo.org/show_bug.cgi?id=147006 and managed to get my wireless working again.
Top
Post Reply

14 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic