Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wireless (ipw2200) stalls
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
grx
Apprentice
Apprentice


Joined: 19 Jan 2005
Posts: 173
Location: Maryland

PostPosted: Sat Oct 07, 2006 6:23 am    Post subject: wireless (ipw2200) stalls Reply with quote

OK, I think this is a problem I faced once before, and though I've searched and searched I can't for the life of me found the solution I worked with before.

I just re-installed my whole system, and ipw2200 works fine, gets an ip using dhcpcd, and all that. But, if I let it download something (say with wget, like portage uses), if the network is left to nothing but the download for an amount of time, the connection stops.

As an example, I'm currently watching a large download right now. In the middle of typing this, it stalled. I opened a new tab on my browser, opened a random web page, and the download started up again. Annoying at the very least!

Can anyone point me in the right direction?

using gcc 4.1.1, glibc 2.4-r3, gentoo-sources 2.6.17-r8, ipw2200-firmware 3.0, ipw2200 1.1.3
Back to top
View user's profile Send private message
wizatdiz
n00b
n00b


Joined: 20 Aug 2004
Posts: 73
Location: Florida

PostPosted: Sat Oct 07, 2006 12:56 pm    Post subject: Reply with quote

You sould check your dmesg as see if you have any errors. May be geting firmware restarts. Verify that you have hwcrypto off in /etc/modules.d/ipw2200:
Code:
options ipw2200 hwcrypto=0
Back to top
View user's profile Send private message
grx
Apprentice
Apprentice


Joined: 19 Jan 2005
Posts: 173
Location: Maryland

PostPosted: Sat Oct 07, 2006 4:27 pm    Post subject: Reply with quote

I knew I had forgotten something! Thanks!

Edit:

Ack... I've got the line in that file now, but it still has the same problem. Maybe I need to try using the 1.2.0 driver. I'll try that next.
Anyone else have this problem?

I should mention that dmesg shows no problems in loading the module.
Back to top
View user's profile Send private message
grx
Apprentice
Apprentice


Joined: 19 Jan 2005
Posts: 173
Location: Maryland

PostPosted: Sat Oct 07, 2006 8:15 pm    Post subject: Reply with quote

No, an upgrade doesn't seem to have solved the issue either.

It's really strange--it doesn't stall at all, or even slow down, as long as I'm making fairly constant use of the network with a web browser or the like. If I leave it alone at all, it slows way down (from >100K/s to ~10K/s at best) and then chokes up completely. It's really annoying, because if I need to download anything large, I have to be constantly using the internet or something to make sure it arrives in a timely manner.

Any ideas at all?
Back to top
View user's profile Send private message
wizatdiz
n00b
n00b


Joined: 20 Aug 2004
Posts: 73
Location: Florida

PostPosted: Wed Oct 11, 2006 1:02 am    Post subject: Reply with quote

I do not have the same problem as you. If you post your config files, we can compare for any differences. You can compile the driver with debug on and set a debug mask to see if something comes up. Look at the readme for ipw2200 or look at the mailing list archives for debug/mask information. Other than that, no other ideas.
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Wed Oct 11, 2006 1:16 am    Post subject: Reply with quote

just for fun, try:

echo 0 > /proc/sys/net/ipv4/tcp_window_scaling
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
grx
Apprentice
Apprentice


Joined: 19 Jan 2005
Posts: 173
Location: Maryland

PostPosted: Wed Oct 11, 2006 7:03 am    Post subject: Reply with quote

Tried it, but it doesn't seem to have much of an effect, if any.
Back to top
View user's profile Send private message
njharris
n00b
n00b


Joined: 17 Sep 2002
Posts: 13

PostPosted: Fri Oct 13, 2006 11:51 am    Post subject: Reply with quote

I have a Dell 9300, and use the built-in ipw2200 wireless as well.

uname -a > Linux rockytop2 2.6.17-gentoo-r8 #1 SMP Sat Oct 7 08:07:11 EDT 2006 i686 Intel(R) Pentium(R) M processor 1.86GHz GNU/Linux

I was having the same sort of stalling problem using the in-kernel drivers, until I disabled the QoS capability.

The interface has been entirely stable since.
Back to top
View user's profile Send private message
grx
Apprentice
Apprentice


Joined: 19 Jan 2005
Posts: 173
Location: Maryland

PostPosted: Fri Oct 13, 2006 6:29 pm    Post subject: Reply with quote

Could you explain how I disable that feature?
Back to top
View user's profile Send private message
njharris
n00b
n00b


Joined: 17 Sep 2002
Posts: 13

PostPosted: Fri Oct 13, 2006 7:49 pm    Post subject: Reply with quote

grx wrote:
Could you explain how I disable that feature?


When you run the Linux Kernel Configuration utility ( menuconfig/xconfig/...)

Device Drivers -> Network Device Support -> Wireless LAN (Non-Hamradio)

<M> Intel PRO/Wireless 2200BG and 2915ABG Network Connection
│ │ [*] Enable promiscuous mode
│ │ [ ] Enable QoS support <<<< This has to be un-starred.
│ │ [*] Enable full debugging output in IPW2200 module.

Disclaimer: This worked for me, but I don't claim to be a Linux net-wizard.

My system has, on the other hand, been running non-stop for a bit over 6 days with no sign of the following:

ipw2200: Firmware error detected. Restarting.
ipw2200: Sysfs 'error' log captured.

I had been getting these, but haven't seen one since making the change.
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