system freezes on ifdown

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=6097

docbee

13-09-2010 18:35:38

I am working on a Debian port of 2.6.35 to the iomega iconnect platform. There is a kirkwood chipset inside and things are going well. Only problem remaining is that the included rt3090 is supported fine, but when bringing down the connection by ifdown or reboot, then the system freezes.

Console output
[code1f8lgj2s]Listening on LPF/wlan0/00:0e:8e:28:b6:97
Sending on LPF/wlan0/00:0e:8e:28:b6:97
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 192.168.123.1 port 67
[ 112.721044] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 2, TXop: 47.
[ 112.731093] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 94.
[ 112.741030] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 3, TXop: 0.
[ 112.750940] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[ 112.884958] phy0 -> rt2x00pci_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0xffffffff[/code1f8lgj2s]

menuconfig is like this
[code1f8lgj2s] .config - Linux Kernel v2.6.35 Configuration
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq Ralink driver support qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Arrow keys navigate the menu. <Enter> selects submenus --->. Highlighted letters are hotkeys. Pressing x
x <Y> includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to exit, <?> for Help, </> for x
x Search. Legend: [*] built-in [ ] excluded <M> module < > module capable x
x x
x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
x x --- Ralink driver support x x
x x < > Ralink rt2400 (PCI/PCMCIA) support x x
x x < > Ralink rt2500 (PCI/PCMCIA) support x x
x x < > Ralink rt2501/rt61 (PCI/PCMCIA) support x x
x x <M> Ralink rt28xx/rt30xx/rt35xx (PCI/PCIe/PCMCIA) support (EXPERIMENTAL) x x
x x [*] rt2800pci - Include support for rt30xx (PCI/PCIe/PCMCIA) devices x x
x x [ ] rt2800pci - Include support for rt35xx (PCI/PCIe/PCMCIA) devices x x
x x < > Ralink rt2500 (USB) support x x
x x < > Ralink rt2501/rt73 (USB) support x x
x x [*] Ralink debug output x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x
tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
x <Select> < Exit > < Help > x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj[/code1f8lgj2s]

I have done a compilation with most recent driver versions from git, but no change on this. During boot these messages run through related to rt2x000
[code1f8lgj2s]Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:0e:8e:28:b6:97
Sending on LPF/wlan0/00:0e:8e:28:b6:97
Sending on Socket/fallback
[ 54.487921] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 3, TXop: 0.
[ 54.497840] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[ 54.507743] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 94.
[ 54.517646] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 2, TXop: 47.
[ 54.541510] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 54.639679] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 10, Aifs: 3, TXop: 0.
[ 54.649644] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[ 54.659552] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 94.
[ 54.669454] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 2, TXop: 47.
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 192.168.123.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.123.1
bound to 192.168.123.247 -- renewal in 1401 seconds.[/code1f8lgj2s]

Any hints/ideas? Anybody having that working on a kirkwood chipset (sheevaplug, OpenRD, guruplug, etc)?

helmut

26-09-2010 11:48:00

You might want to give that patch a try

[url29t5vx86]https://dev.openwrt.org/browser/branches/backfire/package/mac80211/patches/601-rt2x00-fix-hang-on-ifdown.patch?rev=23107[/url29t5vx86]

Helmut