Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] ipw2200 + athcool: hangs / freezes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tbart
Apprentice
Apprentice


Joined: 31 Oct 2004
Posts: 151

PostPosted: Sun Mar 26, 2006 3:11 pm    Post subject: [solved] ipw2200 + athcool: hangs / freezes Reply with quote

EDIT: modified topic to reflect found problem


hello all!

seems like several people have problems with ipw2200 but either there's no solution to them or they are different to mine...

i changed my rtl8180l in my acer aspire 1356 so now i have an ipw2200, rev.5. (i know that changing minipci cards often leads to problems b/c you cannot be sure if you'll be able to turn it on hardware wise..)

my system freezes when modprobing ipw2200 while wireless led is lit (kill switch turned OFF).

however, i can modprobe ipw2200 with no wireless led (kill switch on) and turn the radio on afterwards.
then i can surf with lynx in my console, everything seems to work. (so i guess this card can indeed work in my notebook.. i surfed some time, and even downloaded the newest gentoo-sources w/o problems)

whenever i fire up kde and a browser (opera, konqueror) it freezes (i get no dump, no oops, no panic, no logs... i have no clue what's causing this) at once (after typing in the url and hitting enter it's just a matter of seconds (1-3) until it freezes, i do not even get a part of the page)

is there anything you can tell me?

(this happens with the latest stable ipw2200 emerge - not the in-kernel module - as well as the latest ~x86, with 2.6.13-gentoo-r5... i am going to try a newer kernel, but i don't think this will help)

tia,

tbart


update:
changed to 2.6.15-gentoo-r1, modprobing with card turned on still freezes my system. modprobing (the latest ~x86) ipw2200 with switch turned off works (at least no freeze at once) but gives a lot of


Code:
ipw2200: failed to send TX_POWER command
ipw2200: failed to send <several other errors here> command

and/or

Code:
no space for Tx


and sometimes pressing the wireless button after successfully modprobing w/o the button makes the system crash, too.

any suggestions? can these be irq/interrupt problems? is this card unusable in my notebook (i don't think so b/c it worked somehow)? what could I try? please help!

update2:
now listen, this is getting awesome!

with the new kernel, i can even modprobe with the wlan switch turned on in the first place. in the console everything's still fine.
BUT:
opera and konqueror still crash on me AND (I did not try that before, guess it was like this always...) even a ping out of an xterm crashes my notebook! i got 1 echo reply and then it crashed.
So i guess i have got some X or KDE issue here. how can i track it down?
i think i am going to try another wm, then try X w/o fglrx, the ati driver. (btw: i upgraded this one after baking my new kernel, though i had the crashes before the kernel update, too, so this should not be the problem.

how can i track down who's fault it is? is some sort of powersaving issue?
some hints please, i am willing to solve it myself but i may be missing something.

update3:
i am writing this using my ipw2200. it works... when using the 2006.0 livecd.
during bootup, i get a firmware load error -2, but when modprobing -r and modprobing ipw2200 again, i only get a
Code:
eth2: NETDEV_TX_BUSY returned; driver should report queue full via ieee_device->is_queue_full.
but it simply works.
the livecd uses git-1.0.8 ipw2200 module and firmware 2.4, maybe i should try that? is the latest stable package in portage (both iee80211 and ipw2200) really stable for all of you?

maybe i have to mention i had kde-3.3 till now, emerging the split ebuilds of 3.4.3 right now, i`ll see if that changes anything. guess the next step would be modular X 7 (running 6.8.2 right now)...

update4:
kde-3.4.3 does the same; emergeing fluxbox was successful: i am running my normal system again (no livecd) and i am using fluxbox+opera to write this. so it's definitely kde.

what am i missing?
i added a completely new user, logged in with kdm, crashes as soon as there is traffic. even a failsafe session (just one xterm) crashed after the first ping or even when modprobing ipw2200.

are there some global settings kde uses that still get used with my newly emerged kde?

update5:
man am i dumb. i always started fluxbox out of runlevel 2 so there was no athcool running... which is what crashes my pc!
so here we go: athcool + ipw2200 = crash on my Acer Aspire 1356 LCi.
both alone work perfectly (and athcool brings my CPU down by 12(!) °C, and it's a Notebook, so I do not want to miss this.

So what my problem really seems to be is this:
Everyone has the ipw2200 in a centrino (or other intel-cpu) board. mine is an athlon-xp-m, so that's why no-one has my problems.
How can i trace where the conflicting ressource is?
I guess athcool polls some PCI registers the ipw2200 does not like...

any suggestions?


Last edited by tbart on Fri Apr 14, 2006 2:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
tbart
Apprentice
Apprentice


Joined: 31 Oct 2004
Posts: 151

PostPosted: Fri Apr 14, 2006 2:19 pm    Post subject: Reply with quote

yeeeha!
Solved it!

Found this one:
http://www.daniel.nofftz.net/linux/

and chapter 3.4 fixed it!

here's the init script I wrote to automate this (improvements welcome -- guess this isn't too conforming to the standards, but hey, it works!)

Code:

#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
        need localmount
        before athcool
}

start() {
        ebegin "Fixing KM400 PCI registers"
        if [ "`setpci -v -H1 -s 0:0.0 70=$(printf %x $((0x$(setpci -H1 -s 0:0.0 70) | 0x08)))`" != "00:00.0:70 0a" ]
        then
                eerror "Setting registers failed! Your chipset may be in a borked state now!"
                return 1
        fi
        eend $?
}

stop() {
        ebegin "Resetting KM400 PCI registers"
        if [ "`setpci -v -H1 -s 0:0.0 70=$(printf %x $((0x$(setpci -H1 -s 0:0.0 70) & 0xf7)))`" != "00:00.0:70 02" ]
        then
                eerror "Resetting registers failed! Your chipset may be in a borked state now!"
                return 1
        fi
        eend $?
}



maybe this helped someone...

th
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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