+++ This bug was initially created as a clone of Bug #180487 +++ So. This error presently shows up on my machine (IBM Thinkpad/Centrino). It started today, after running continuously since last Friday morning (3 days). I performed an emerge world (including the glibc-2.6.1 upgrade) this morning. I did a full toolchain rebuild (using emwrap) followed by revdep-rebuild (nothing required a rebuild). Other Recent events: new version of baselayout (2.0.0_rc5) and dhcpcd merged in the last week, but had been working fine through multiple reboots. This machine has been running flawlessly for months, till today. I am going to rebuild w/ glibc-2.5 tonight to hopefully get a working machine again. Also note that I have included the wpa_cli status info, and it seems to indicate that things are connected. Nothing about the configuration (/etc/conf.d/net et al) has changed, so it's something outside of that. Output of "wpa_cli status verbose": ============================= Selected interface 'eth1' bssid=00:0f:66:c3:ad:38 ssid=[WIPED] id=1 pairwise_cipher=WEP-104 group_cipher=WEP-104 key_mgmt=NONE wpa_state=COMPLETED epm -qi wpa_supplicant ============================= Name : wpa_supplicant Version : 0.5.7 Release : Slot: 0 Install date: Mon Oct 15 14:53:30 2007 Build Host: talon Group : net-wireless License: || ( GPL-2 BSD ) Size : 597189 Packager : uberlord URL : http://hostap.epitest.fi/wpa_supplicant/ Summary : IEEE 802.1X/WPA supplicant for secure wireless transfers emerge --info ============================= Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r5 i686) ================================================================= System uname: 2.6.22-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.60GHz Timestamp of tree: Mon, 15 Oct 2007 21:30:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0_rc5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11 /xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php 5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/t erminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo " LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/pack ages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac acl acpi aim alsa amarok amd apache2 apm asf audacious audiofile automount bcp b erkdb bitmap-fonts bittorrent bonobo boost branding bzip2 c++ cairo calendar cardbus cdb cdda cddb c dparanoia cdr cdrom cli colordiff compress console corba cpio cpudetection cracklib crypt css csv cu ps curl curlwrappers cursors cvs cxx daap daemon dbi dbus dbx devhelp device-mapper dhcp dia disk-pa rtition dnd doc dri dts dv dvd dvdnav dvdr dvdread dvi eds emacs emboss emf encode enscript esd evo evolution examples exif expat fam fat festival ffmpeg fftw firefox flac flash flatfile flv fontconfi g foomaticdb freetds freetts ftp fuse gaim gd gdbm gdm gif gimp glade glib gmedia gnome gnome-print gnomedb gs gsm gstreamer gtalk gtk gtkhtml gzip gzip-el h323 hal html http ibam ibmacpi ical iconv i cq icu id3 idea ieee1394 imagemagick imap imlib inkjar innodb ipod ipv6 irc jabber java java5 javama il jce jpeg json kerberos keyring lame largefile ldap ldap-sasl lesstif libgda libnotify lm_sensors log4j logrotate logwatch lzo lzw mad matroska md5sum mhash midi mikmod mime ming mixer mjpeg mmap mm keys mmx mmxext mng mod mono mouse mozdevelop mozilla mp2 mp3 mp4 mpeg mpeg2 mplayer mpm-worker msn mssql mtp mudflap multiuser music musicbrainz mysql nat nautilus ncurses nfs njb nls nntp nptl nptlo nly nsplugin ntfs numarray numeric nuv offensive ogg opengl openmp openssl oscar oss p2p pam pango p atented pch pcmcia pcre pdf pdfkit perl php pidgin planner plugin plugins png portage posix postfix postgres pppd pptp print python qt3support qt4 quicktime raid rar rdesktop readline realmedia reflec tion regex reiserfs replaygain resolvconf rle rpm rrdtool rss rtc rtsp ruby samba sasl script script ing scsi sdl sensord server servlet-2_3 servlet-2_4 servletapi session sftp shared shorten skins sla ng sms smtp sndfile snmp soap sockets songdb sound sounds spell spl sql sqlite sqlite3 srt srv sse s se2 ssl startup-notification struts subtitles subversion svg svgz swig sysfs syslog sysvipc szip t1l ib tcpd tcpwrapper text tftp tga themes theora threads thumbnail thumbnailing thunderbird tidy tiff timidity tos totem transcode trayicon truetype truetype-fonts tta type1 type1-fonts unicode unzip up np ups urandom usb userlocales uuencode v4l v4l2 vcd vim vim-syntax vim-with-x visualization vlm vnc vncviewer vorbis vroot wav wavpack web webdav wifi win32codecs wireshark wma wmf wmp wxwindows x264 x86 xcf xfs xft xhtml xine xinerama xinetd xiph xml xmlrpc xmlwriter xorg xosd xpm xprint xrandr xr ender xsl xslt xv xvid xvmc yahoo yv12 zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL=" linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS=" en" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRES S, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
also have a forum topic, but no responses there yet. http://forums.gentoo.org/viewtopic-t-600008.html
I'm guessing that you need to add dhcpcd_eth1="-I ''" to your /etc/conf.d/net
(In reply to comment #2) > I'm guessing that you need to add dhcpcd_eth1="-I ''" to your /etc/conf.d/net > As I said nothings changed about the config and it was working. I can manually run "dhcpcd eth1" and get an IP address with 0 delay. In any case, I tried adding that, but it made no difference.
Do other versions of wpa_supplicant work? With it statrted, what is the output of /etc/init.d/net.eth1 status
> Do other versions of wpa_supplicant work? Have not tried other versions. Will have to wait till later today when I can hook the laptop into a wired network. > With it statrted, what is the output of > /etc/init.d/net.eth1 status * status: inactive N
AH HAAAA!!! WORKAROUND: downgrade to baselayout 2.0.0_rc4-r1 It seems to be specific to baselayout-2.0.0_rc5. I just downgraded to rc4-r1 and wireless works again. I then upgraded again to rc5 and it stopped working, now I am back to rc4-r1 and it's working again. I restarted the system after each change, and when I didn't get an IP on the wireless, I tried to restart the service a few times to be sure it wasn't just a bad initialization. I'll look at the code changes between the two versions later today and see if there is an obvious issue between the two. Wish the 2.0.0 versions were tagged in SVN, would make it much easier, oh well.
We'll probably start tagging once we actually get out of p.mask. The code in question is probably /lib/rc/net/wpa_supplicant.sh Although, it works just fine for me. I'll investigate later when I find a working AP I can connect too.
(In reply to comment #7) > We'll probably start tagging once we actually get out of p.mask. The code in > question is probably /lib/rc/net/wpa_supplicant.sh > > Although, it works just fine for me. I'll investigate later when I find a > working AP I can connect too. > Cool. I'll update the bug if I find anything as well. I still wonder if it's something that glibc-2.6 triggers because I am 98% certain I rebooted a couple times between installing rc5 and when I upgraded glibc. *shrug*
I use sys-apps/baselayout-1.12.9-r2 and net-wireless/wpa_supplicant-0.5.8 with dhclient and have the same problem. Starting dhclient manually works, but it doesn't start automatically.
Does rc6 fix this issue?
(In reply to comment #10) > Does rc6 fix this issue? Will give it a try and report back. (I've had >rc4 masked)
(In reply to comment #10) > Does rc6 fix this issue? it does appear to work.. I am going to try it for a bit and be sure it works consistently, but it seems to be working. yeah :-)
alright.. so a couple days later and it's "mostly" working. I generally get an IP address (yeah), but sometime it sticks at that point (not continuing on with all service dependencies. I think this is something else, but it seems when several services are waiting for a network service to start, when it finally does, it's not always performing the starts for all the waiting services. Generally for me it's dnsmasq. Simply manually restarting that service seems to do the trick. Happy to start another bug if need be. wpa_cli status ----------------------- Selected interface 'eth1' bssid=##MASKED## ssid=##MASKED## id=1 pairwise_cipher=WEP-104 group_cipher=WEP-104 key_mgmt=NONE wpa_state=COMPLETED ip_address=##MASKED## net.eth1 restart output -------------------------------- * Unmounting network filesystems ... [ ok ] * Bringing down interface eth1 * Loaded modules: ip6to4 dhcpcd udhcpc dhclient system pppd iproute2 ifconfig ssidnet wpa_supplicant netplugd ipppd ifplugd macnet macchanger ccwgroup tuntap br2684ctl arping apipa * Stopping dhcpcd on eth1 ... [ ok ] * Stopping wpa_cli on eth1 ... * Will stop PID in pidfile `/var/run/wpa_cli-eth1.pid' * Will stop processes of `/usr/bin/wpa_cli' * Sending signal 15 to PID 1409 ... [ ok ] * Stopping wpa_supplicant on eth1 ... * Will stop PID in pidfile `/var/run/wpa_supplicant-eth1.pid' * Will stop processes of `/usr/sbin/wpa_supplicant' * Sending signal 15 to PID 1402 ... [ ok ] * Bringing up interface eth1 * Loaded modules: apipa arping tuntap ccwgroup macchanger macnet ifplugd wpa_supplicant ssidnet iproute2 pppd system dhcpcd ip6to4 * Configuring eth1 for MAC address ##MASKED## ... [ ok ] * netplug does not work with wireless * Starting wpa_supplicant on eth1 ... * Detaching to start `/usr/sbin/wpa_supplicant' ... [ ok ] * Starting wpa_cli on eth1 ... * Detaching to start `/usr/bin/wpa_cli' ... [ ok ] * Backgrounding ... ... * WARNING: net.eth1 not under our control, aborting * WARNING: netmount is scheduled to started when net.eth1 has started
Created attachment 144871 [details] My wpa_supplicant.conf file
Created attachment 144873 [details] My /etc/conf.d/net file.
Created attachment 144875 [details] My /etc/wpa_supplicant/wpa_supplicant.conf file.
Created attachment 144876 [details] My dmesg output.
Created attachment 144877 [details] My "emerge --info" output.
I have a similar issue with my system. But, I'm not informed enough as to whether or not I should start a new bug regarding it. When I start up my system, I usually have to launch wpa_gui or wpa_cli to see what the status of my built-in ipw3945 wireless device and whether it is even associated with a WAP, whether it's my Linksys WRT54GX4 (firmware v1.00.20) via WPA2, or my campus' wireless via OPEN (I know, what a joke). So, what I'll almost always find, is that I can choose the Network to connect to, and it will only get as far as saying Associating, or Associated, or Completed (rarely). But, only when I run a "dhcpcd eth2" do I actually retrieve an IP address, the link then becomes locked down and usable for internet/network traffic. So, I have to do that almost every time. This didn't used to be the case in the past. I don't know when it changed, and it's been a while that I've put up with this problem. Any ideas or suggestions as to how to help resolve this issue? Here's my info: Computer: HP Pavilion dv8233cl Installed Packages: ==================== [ebuild R ] net-misc/dhcpcd-3.1.5-r1 USE="-vram" 40 kB [ebuild R ] sys-apps/baselayout-1.12.11.1 USE="unicode -bootstrap -build -static" 0 kB [ebuild R ] net-wireless/ipw3945-1.2.2-r1 USE="-debug" 0 kB [ebuild R ] net-wireless/wpa_supplicant-0.5.7 USE="dbus qt3 qt4 readline ssl -gnutls -gsm -madwifi" 0 kB # wpa_cli status verbose ============================= Selected interface 'eth2' bssid=00:13:10:c9:db:31 ssid=greyboxbeastboy1 id=1 pairwise_cipher=TKIP group_cipher=TKIP key_mgmt=WPA2-PSK wpa_state=COMPLETED # epm -qi wpa_supplicant ============================= # emerge --info ============================= Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8_sb090 i686) ================================================================= System uname: 2.6.23-gentoo-r8_sb090 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz Timestamp of tree: Thu, 28 Feb 2008 15:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://prometheus.cs.wmich.edu/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/desktop-effects" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac accessibility acl acpi alsa apm aquamarine arts audacious avahi berkdb bitmap-fonts bzip2 cairo cdr cli cpudetection cracklib crypt cups dbus dri dv dvd dvdnav dvdr dvdread eds emboss emerald encode esd evo exif fam fbcon firefox fortran ftp gd gdbm gif glib glitz gnome gpm gstreamer gtk hal hddtemp iconv ipv6 isdnlog jpeg jpeg2k kde kerberos ldap lua mad mailwrapper mdnsresponder-compat midi mikmod milter mmx mng mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nvidia ogg ole opengl openmp oss pam pch pcre pdf perl php png ppds pppd pvr python qt3 qt3support qt4 quicktime radio readline real reflection samba sdl session speex spell spl sse sse2 sse3 ssl svg symlink tcpd thunderbird tiff tk truetype truetype-fonts type1-fonts udev unicode utempter v4l v4l2 visualization vorbis win32codecs x86 xml xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="apm dummy nv v4l vesa vga nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Wow... I guess that's what I get for trying to include attachments, thinking they were only going to be linked to my single post. Using bugs.gentoo.org with attachments for the first time, and all I managed to do was litter this bug. =( My bad. If someone can clean that up. I have all the data saved. It wouldn't let me delete any of it. =(
If you're still having issues with baselayout-2 you should look at OpenRC, Roy Marples (formerly of baselayout-2) left gentoo but continued developing the package with a new name. http://roy.marples.name/openrc
Yeah, openrc from git is working very fine here with wpa_supplicant-0.5.8 and dhclient (dhcp-3.1.0).
Fixed in OpenRC.