on boot ipw2200 fails to start. An rmmod/modprobe causes the network to start correctly. This doesn't appear to be the non firmware load issues: 1) there are no log error messages discussing firmware failure 2) the hotplug.agent script correctly points to the firmware directory. Pre rmmod/modprobe: eth1 Link encap:Ethernet HWaddr 00:12:F0:8E:9E:31 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:838 errors:0 dropped:0 overruns:0 frame:0 TX packets:230 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 Base address:0xe000 Memory:dfdfd000-dfdfdfff eth1 unassociated ESSID:off/any Mode:Managed Channel=0 Access Point: 00:00:00:00:00:00 Bit Rate=0 kb/s Tx-Power=20 dBm RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 post rmmod/modprobe (sanitized) eth1 Link encap:Ethernet HWaddr 00:12:F0:8E:9E:31 inet addr:192.168.1.170 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:373 (373.0 b) TX bytes:638 (638.0 b) Interrupt:17 Base address:0x6000 Memory:dfdfd000-dfdfdfff eth1 IEEE 802.11b ESSID:"xxx" Nickname:"xxx" Mode:Managed Frequency:2.462 GHz Access Point: 00:50:FC:D4:B2:05 Bit Rate=11 Mb/s Tx-Power=255 dBm RTS thr:off Fragment thr:off Encryption key: xxx Security mode: xxx Power Management:off Link Quality=21/100 Signal level=-31 dBm Noise level=-88 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:23 Log for period across the fail to start and then the reload of the module Jul 4 18:17:34 [ifplugd(eth0)] ifplugd 0.28 initializing. Jul 4 18:17:34 [ifplugd(eth0)] Using interface eth0/00:12:3F:D1:4F:34 with driver <b44> (version: 0.95) Jul 4 18:17:34 [ifplugd(eth0)] Using detection mode: SIOCETHTOOL Jul 4 18:17:34 [ifplugd(eth0)] Initialization complete, link beat detected. Jul 4 18:17:34 [ifplugd(eth1)] ifplugd 0.28 initializing, using NETLINK device monitoring. Jul 4 18:17:34 [ifplugd(eth1)] Using interface eth1/00:12:F0:8E:9E:31 with driver <ipw2200> (version: 1.0.3) Jul 4 18:17:34 [ifplugd(eth1)] Using detection mode: SIOCETHTOOL Jul 4 18:17:34 [ifplugd(eth1)] Initialization complete, link beat not detected, interface enabled. Jul 4 18:17:34 [ifplugd(eth0)] Executing '/usr/sbin/ifplugd.action eth0 up'. Jul 4 18:17:35 [kernel] b44: eth0: Link is down. Jul 4 18:17:41 [login(pam_unix)] session opened for user root by (uid=0) Jul 4 18:17:59 [ifplugd(eth1)] Interface disabled Jul 4 18:18:05 [kernel] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.3 Jul 4 18:18:05 [ifplugd(eth1)] Interface enabled Jul 4 18:18:05 [ifplugd(eth1)] Using interface eth1/00:12:F0:8E:9E:31 with driver <ipw2200> (version: 1.0.3) Jul 4 18:18:05 [ifplugd(eth1)] Using detection mode: SIOCETHTOOL Jul 4 18:18:09 [ifplugd(eth1)] Link beat detected. Jul 4 18:18:15 [ifplugd(eth1)] Executing '/usr/sbin/ifplugd.action eth1 up'. Jul 4 18:18:15 [ifplugd(eth1)] Program executed successfully. Jul 4 18:18:29 [kernel] mtrr: base(0xc0020000) is not aligned on a size(0x300000) boundary Jul 4 18:18:34 [dhcpcd] timed out waiting for a valid DHCP server response_ Jul 4 18:18:34 [ifplugd(eth0)] client: [ !! ] - Last output repeated twice - Jul 4 18:18:34 [ifplugd(eth0)] Program executed successfully. Jul 4 18:18:34 [ifplugd(eth0)] Link beat lost. Jul 4 18:18:36 [ifplugd(eth0)] Executing '/usr/sbin/ifplugd.action eth0 down'. Jul 4 18:18:36 [ifplugd(eth0)] Program executed successfully.
I want to help, since I also use this driver (with no problems, fortunately...), but you didn't post versions or your emerge info. That would be helpful. :)
Please post the relevant part of the dmesg (the part including the failure) along with the output of `emerge --info`.
Emerge --info Gentoo Base System version 1.6.12 Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.12-ck3 i686) ================================================================= System uname: 2.6.12-ck3 i686 Intel(R) Pentium(R) M processor 1.50GHz Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 13:17:01)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.isp.net.au/ftp/pub/gentoo/ ftp://mirror.isp.net.au/pub/gentoo/ http://gentoo.osuosl.org ftp://mirror.pacific.net.au/linux/Gentoo http://mirror.gentoo.gr.jp" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://mirror.isp.net.au/gentoo-portage" USE="x86 X acpi alsa apm arts avi bash-completion berkdb bitmap-fonts cdr crypt cups dvd emacs emboss encode foomaticdb fortran ftp gb gdbm gif gmp gnome gphoto2 gpm gtk gtk2 imap imlib java jikes jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts usb xml2 xmms xv zlib video_cards_i810 video_cards_i915 userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY Package versions: Searching... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... . [ Results for search key : ipw2200 ] [ Applications found : 2 ] * net-wireless/ipw2200 Latest version available: 1.0.3 Latest version installed: 1.0.3 Size of downloaded files: 131 kB Homepage: http://ipw2200.sourceforge.net Description: Driver for the Intel PRO/Wireless 2200BG/2915ABG miniPCI and 2225BG PCI adapters License: GPL-2 * net-wireless/ipw2200-firmware Latest version available: 2.2 Latest version installed: 2.2 Size of downloaded files: 175 kB Homepage: http://ipw2200.sourceforge.net Description: Firmware for the Intel PRO/Wireless 2200BG/2915ABG miniPCI and 2225BG PCI adapters License: ipw2200-fw Searching... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... . [ Results for search key : baselayout ] [ Applications found : 4 ] * sys-apps/baselayout Latest version available: 1.11.12-r4 Latest version installed: 1.11.12-r4 Size of downloaded files: 152 kB Homepage: http://www.gentoo.org/ Description: Filesystem baselayout and init scripts License: GPL-2 Dmesg Adding 1469936k swap on /dev/sda3. Priority:-1 extents:1 ieee80211_crypt: registered algorithm 'NULL' ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.3 ipw2200: Copyright(c) 2003-2004 Intel Corporation ACPI: PCI Interrupt 0000:03:03.0[A] -> GSI 17 (level, low) -> IRQ 17 ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection ieee80211_crypt: registered algorithm 'WEP' ieee80211_crypt: registered algorithm 'CCMP' ieee80211_crypt: registered algorithm 'TKIP' ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 16 (level, low) -> IRQ 16 PCI: Setting latency timer of device 0000:00:1d.7 to 64
You dmesg doesn't show any errors, the card is initialized correctly. Please attach the part of the dmesg containing the firmware load errors...
There are no errors in dmesg or the system log as stated in the original description. There are about two to three known bugs on here and elsewhere related to firmware not loading either due to timeout values or due to hotplug not finding the firmware. This is not one of those. In this case dmesg reports the card loaded with no errors. However it doesn't get associated with the access point without manual intervention.
Not much I can do about that without an error message... Please try ipw2200-1.0.4 to see if that corrects the issue. If not, please file a bug report upstream at http://www.bughost.org/ and add brix@gentoo.org to CC: of that bug report. Sorry...
Henrix, thanks for the help. I did some more checking and it appears that the problem is that the init scripts for network and ifplugd are getting the network interface name confused and it is trying to start a wired interface as wirless and vice versa. I will raise under a new bug Cheers Paul