Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ipw3945 stalls in long transfers?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
thelee
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2007
Posts: 132

PostPosted: Wed Jan 16, 2008 5:02 am    Post subject: ipw3945 stalls in long transfers? Reply with quote

So I've been having a problem when using a wireless connection with the ipw3945 drivers.

If I'm doing a lengthy scp (like copying a cd image) to another computer (like my desktop) there's a really high chance that partway during the transfer, the ETA turns into "- stalled -" and then eventually times out. After that, my wireless connection completely fails to do anything, even pinging. And then when I try to do a modprobe -r ipw3945 to try and restart my wireless connection, there's a very high chance that it stalls, to the point where a CTRL-c can't stop it. I have to then CTRL-z to suspend then kill -9 the process. But even then, i still have several instances of ipw3945d running as well as the modprobe removal command, and no attempt at killing those processes succeed, at which point the only solution is to reboot my machine.

So what the heck is happening?
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Jan 16, 2008 12:41 pm    Post subject: Reply with quote

That's a weird problem in fact.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Jan 16, 2008 12:44 pm    Post subject: Reply with quote

Have you reset your router ?

What is the status of your AP when you run :

Code:

# iwlist scan
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Wed Jan 16, 2008 12:45 pm    Post subject: Reply with quote

Do you have any problem when you only surf the net or when you do a emerge --sync for exemple ?
Back to top
View user's profile Send private message
bosele
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2005
Posts: 90

PostPosted: Wed Jan 16, 2008 2:13 pm    Post subject: Reply with quote

I had the same type of problem, at first I thought it had something to do with mounting a windows share with cifs so i started using smb.
At the same time I changed to iwlwifi-1.2.22 (a change in kernel config is required for this) and I have not had this problem since.
So, not sure what caused it exactly but iwlwifi and smb have solved it for me.
Back to top
View user's profile Send private message
thelee
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2007
Posts: 132

PostPosted: Thu Jan 17, 2008 4:27 am    Post subject: Reply with quote

@d2_racing: I'll check iwlist scan the next time it happens. As far as I can tell, it only really happens when I'm doing a lengthy scp, as otherwise I'm generally not doing something that is a continual stream of data.

@bosele: After reading your post, the idea of trying out iwlwifi sounded interesting but the package is masked. Is there a particular reason why this is masked (other than the generic description provided in the package.mask file)?
Back to top
View user's profile Send private message
bosele
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2005
Posts: 90

PostPosted: Thu Jan 17, 2008 10:12 am    Post subject: Reply with quote

I don't really know. Older kernels require a kernel patch maybe?
http://gentoo-wiki.com/HARDWARE_ipw3945 mentions a rate scaling problem (and workaround which i haven't used since my last install, with no ill effects)
Anyway it is quite stable here ~amd64.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Thu Jan 17, 2008 10:05 pm    Post subject: Reply with quote

Can you post your emerge --info plz.

Maybe you are right, you should upgrade to kernel 2.6.23 if you have an older kernel.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Thu Jan 17, 2008 10:07 pm    Post subject: Reply with quote

thelee wrote:
@bosele: After reading your post, the idea of trying out iwlwifi sounded interesting but the package is masked. Is there a particular reason why this is masked (other than the generic description provided in the package.mask file)?


Yes, it works pretty well with a IPW3945ABG with a WEP and a WPA....but with the new IPW4965, that's an another thing.
Back to top
View user's profile Send private message
thelee
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2007
Posts: 132

PostPosted: Fri Jan 18, 2008 3:01 am    Post subject: Reply with quote

d2_racing wrote:
Can you post your emerge --info plz.


Code:

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz
Timestamp of tree: Sun, 09 Dec 2007 18:16: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-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
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.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo"
LINGUAS="en en_US"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dri dts dvd dvdnav dvdread emacs firefox fortran gdbm gif gpm gqview gtk iconv imlib ipv6 isdnlog java jpeg midi mmx mmxext mp3 mpd mpeg mudflap ncurses nls nptlonly offensive ogg opengl openmp pam pcre pdf perl png pppd python quicktime readline reflection sdl session slit spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts unicode vim-syntax vorbis win32codecs x86 xml xorg xvid zlib" ALSA_CARDS="hda-intel" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Jan 18, 2008 4:20 am    Post subject: Reply with quote

Why are you using a i486 instead of a i686 ?
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Jan 18, 2008 4:20 am    Post subject: Reply with quote

You have the latest kernel...so the problem is not a patch thing.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Jan 18, 2008 4:22 am    Post subject: Reply with quote

Your make.conf is not optimised for your CPU...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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