Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212180 - >=net-wireless/madwifi-ng-0.9.3.3 hangs system in master (host AP) mode
Summary: >=net-wireless/madwifi-ng-0.9.3.3 hangs system in master (host AP) mode
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Steev Klimaszewski (RETIRED)
URL:
Whiteboard:
Keywords:
: 212183 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-03 12:31 UTC by Dmitry Ilyin
Modified: 2008-03-30 16:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Ilyin 2008-03-03 12:31:54 UTC
I have problems with madwifi-ng and recent kernels. When i switch my card to master mode (wlanconfig ath0 create wlandev wifi0 wlanmode ap) after two system completely hangs.
It happened on two of my boxes amd64 and x86.
Problem appears with kernel (gentoo-sources) 22+ and madwifi >= 0.9.3.3.
Downgrading to earlier releases helps.
I also compiled CVS version of madwifi (0.9.3.5?) on 23 (amd64) kernel an it did not hang and worked but writes to syslog (i filtered it away)
"Virtual device ath0 asks to queue packet!"

Even if it works sometimes ksoftirq/0 begins to eat 99% of CPU which can be stoped by "ifconfig ath0 down".

Madwifi now makes a lot of problems. It worked flawlessly several months ago ((

Reproducible: Always

Steps to Reproduce:
1.install madwifi-ng and use master (host AP) mode
2.
3.

Actual Results:  
system hangs

Expected Results:  
madwifi work without problems as it was before.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-03 12:38:30 UTC
*** Bug 212183 has been marked as a duplicate of this bug. ***
Comment 2 Steev Klimaszewski (RETIRED) gentoo-dev 2008-03-03 16:01:19 UTC
Please report this upstream, anything under 0.9.3.3 has security issues
Comment 3 Dmitry Ilyin 2008-03-03 16:51:01 UTC
Now i am on x86 box with 19 kernel and 0.9.3.1 madwifi Atheros Communications, Inc. AR5005G 802.11abg NIC.

I have downgraded kernel and madwifi and it works perfectly.
Comment 4 Aleksey 2008-03-30 16:53:53 UTC
kernel 2.6.24-gentoo-r3
madwafi-ng 0.9.4

1. run iwconfig ath0 channel 'you channel from conf.d/net'
2. run /etc/init.d/net.ath0 start
3. worked:))))

auto run from script 
preup(){
        if [ "${IFACE}" = "ath0" ]
        then
                /sbin/iwconfig ath0 channel you channel
                return $?
        fi

}

Problem switching channel by face up ...
step testing
1. iwconfig ath0 mode master
2. iwconfig ath0 essid test
3. iwconfig ath0 cannel 10
4. ip link set up dev ath0
5. worked....
6. iwconfig ath0 cannel 11
7. ip link set up dev ath0
8. system hangs

this is worked starting script (net.lo etc)

but if
1...5
6 ip link set down dev ath0
7. iwconfig ath0 cannel 11
8. ip link set up dev ath0
9. worked

Sorry my English:)))