Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 159421

Summary: net-wireless/ipw3945-1.0.5 - iwconfig essid eats the last char
Product: Gentoo Linux Reporter: Sascha Teske <sascha.teske>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED TEST-REQUEST    
Severity: major CC: sascha.teske
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sascha Teske 2006-12-29 15:11:17 UTC
iwconfig essid eats the last char and i cant get a wlan connection to my linksys or fon-router this happened directly after my last "emerge --update world" maybe 2-3 weeks ago

this is how it looks like:
------->8------->8------->8------->8------->8------->8------->8------->8-------
bison ~ # iwconfig 
lo        no wireless extensions.

ieee0     no wireless extensions.

eth0      no wireless extensions.

wlan0     radio off  ESSID:off/any  Nickname:""
          Mode:Managed  Frequency:nan kHz  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:off   
          Retry limit:15   RTS thr:off   Fragment thr:off
          Encryption key: xxxxxxx   Security mode:open
          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

bison ~ # iwconfig wlan0 essid slaxor_w54
bison ~ # iwconfig 
lo        no wireless extensions.

ieee0     no wireless extensions.

eth0      no wireless extensions.

wlan0     radio off  ESSID:"slaxor_w5"  Nickname:""
          Mode:Managed  Frequency:nan kHz  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:off   
          Retry limit:15   RTS thr:off   Fragment thr:off
          Encryption key: xxxxxx   Security mode:open
          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

-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------
oh and just if you wonder: i renamed the devices via udev





------->8------->8------->8------->8------->8------->8------->8------->8-------

emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-suspend2-r1 i686)
=================================================================
System uname: 2.6.19-suspend2-r1 i686 Genuine Intel(R) CPU           T2500  @ 2.00GHz
Gentoo Base System version 1.12.6
Last Sync: Mon, 25 Dec 2006 03:00:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/service"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/rc.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/wget"
CXXFLAGS="-O3 -march=pentium-m -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://85.25.128.62 http://ftp.club-internet.fr/pub/mirrors/gentoo"
LINGUAS="de en de_DE"
MAKEOPTS="-j5"
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='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 GAPING_SECURITY_HOLE X acpi alsa alsa_cards_hda-intel alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apm bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdinstall cjk cli cracklib crypt cups dbus dllloader dlloader dmxi dpms dri dvb eds elibc_glibc emboss encode examples firefox flac foomaticdb fortran fritzcapi_cards_fcusb gdbm gif gnutls gpm gstreamer gtk gtk2 gzip iconv idn imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 ipv6arpa isdnlog ithreads jikes jpeg kernel_linux libg++ libwww lighttpd linguas_de linguas_de_DE linguas_en logrotate mad mikmod mmx motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre png pppd qt4 quicktime readline reflection ruby sdl session spell spl sse sse2 ssl tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU utf8 vhosts video_cards_nv video_cards_nvidia video_cards_svga video_cards_vesa vorbis xinerama xml xorg xprint xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------



any help would be appreciated
guten rutsch
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-29 15:13:33 UTC
*** Bug 159422 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-12-29 15:20:39 UTC
Which driver and version are you using?
Comment 3 Sascha Teske 2006-12-29 20:16:32 UTC
thanks for looking, does this help:

------->8------->8------->8------->8------->8------->8------->8------->8-------
modinfo ipw3945

filename:       /lib/modules/2.6.19-suspend2-r1/net/wireless/ipw3945.ko
description:    Intel(R) PRO/Wireless 3945 Network Connection driver for Linux
version:        1.0.5mpr
author:         Copyright(c) 2003-2006 Intel Corporation
license:        GPL
vermagic:       2.6.19-suspend2-r1 SMP preempt mod_unload PENTIUM4 
-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------

and 

net-wireless/wpa_supplicant-0.5.4
net-wireless/wireless-tools-28
net-wireless/ipw3945-1.0.5
net-wireless/ipw3945-ucode-1.13
net-wireless/ipw3945d-1.7.18


Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-30 01:01:31 UTC
This should be fixed in ipw3945-1.1.3, will need to be stabilized for 2.6.19 kernels... Please test and report back.
Comment 5 Sascha Teske 2007-01-01 18:37:17 UTC
Things seem to be getting worse (before they'll get better i hope ;)
having upgraded as you suggested, i am now unable to even "see" the interface:
------->8------->8------->8------->8------->8------->8------->8------->8-------
bison ~ # iwconfig 
lo        no wireless extensions.

ieee0     no wireless extensions.

eth0      no wireless extensions.
-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------
it doesn't start the daemon automatically, when i do it by hand i have serious doubts that it loads the firmware and the controller led can't even be bothered to just flicker. 

i guess the snippet below could be a hint, especially the "permission denied" part:
------->8------->8------->8------->8------->8------->8------->8------->8-------
bison ~ # ipw3945d --foreground
ipw3945d - regulatory daemon
Copyright (C) 2005-2006 Intel Corporation. All rights reserved.
version: 1.7.22
Intel PRO/Wireless 3945ABG Network Connection found at:
 /sys/bus/pci/drivers/ipw3945/0000:0c:00.0
2007-01-02 03:30:39: ERROR: Could not open '/var/run/ipw3945d.pid': Permission denied
-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------
i am quite optimistic that i would be able to get it working, but i think it may be better to have it fixed in the distro if its not just a glitch in my system
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 01:03:29 UTC
File a new, unrelated problem.
Comment 7 Sascha Teske 2007-01-02 05:30:44 UTC
ok done:
http://bugs.gentoo.org/show_bug.cgi?id=159710
Comment 8 Sascha Teske 2007-01-28 16:10:26 UTC
it does the same again :-(
this time with driver versions:
*  net-wireless/ipw3945
      Latest version available: 1.1.0-r1
      Latest version installed: 1.1.0-r1
      Size of files: 191 kB
      Homepage:      http://ipw3945.sourceforge.net/
      Description:   Driver for the Intel PRO/Wireless 3945ABG miniPCI express adapter
      License:       GPL-2

*  net-wireless/ipw3945-ucode
      Latest version available: 1.13
      Latest version installed: 1.13
      Size of files: 59 kB
      Homepage:      http://www.bughost.org/ipw3945/
      Description:   Microcode for the Intel PRO/Wireless 3945ABG miniPCI express adapter
      License:       ipw3945

*  net-wireless/ipw3945d
      Latest version available: 1.7.22-r4
      Latest version installed: 1.7.22-r4
      Size of files: 58 kB
      Homepage:      http://www.bughost.org/ipw3945/
      Description:   Regulatory daemon for the Intel PRO/Wireless 3945ABG miniPCI express adapter
      License:       ipw3945

Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-01-28 16:34:54 UTC
Uhm, what does the same again? I told you to use ipw3945-1.1.3 and you can back to complain that 1.1.0-r1 does not work? Of course it does not, noone ever said it does.

This is fixed in >=1.1.3-r2, read the fine Changelog.

ipw3945-1.1.3-r2 (08 Jan 2007)

  08 Jan 2007; Robin H. Johnson <robbat2@gentoo.org>
  +ipw3945-1.1.3-r2.ebuild:
  Add support for 2.6.20, and essid name patch.

Go test the fixed version, not the broken one; report back once you've done so. 
Comment 10 Sascha Teske 2007-01-28 22:06:35 UTC
Ok i'm sorry, the last update was a "downdate" in this respect the old version sneaked in unnoticed because i didn't put it in /etc/portage/package.unmask (only in ...keywords) now it back working

the -r2 version didn't compile though, from the tone of your response i assume you have enough stuff else on you so don't bother the base version is just fine