Hi Ivo, first of all, thanks a lot for your help so far, I feel I'm getting really close to making rt2500pci work as an AP with hostapd:) As I've told you in previous emails, hostapd hangs somewhere during the authentication process, just after receiving the EAPOL-Key frame. After hostapd outputs: WPA: 00:1b:77:a4:db:26 WPA_PTK entering state PTKCALCNEGOTIATING2 WPA: 00:1b:77:a4:db:26 WPA_PTK entering state PTKINITNEGOTIATING it hangs, and wlan1 has received exactly one frame from the laptop (there's a message showing up in the logs at this time, complaining that wlan1 can't find any IPv6 routers). No further frames are sent from hostapd, although beacon frames are still being sent, and the interface still receives frames as well. The last frame rt2500pci receives, is the EAPOL key from the laptop. Only ctrl-c can kill hostapd, and after that the driver is in an unusable, and unstable state, even unloading rt2500pci, does not help, and eventually the entire system will become unstable, in particular under high I/O loads. After some time, a message shows up that the IRQ for the rt2500pci is being disabled ( ACPI: PCI interrupt for device 0000:05:01.0 disabled). If after that, I get a lot of I/O activity on devices sharing the same pci interrupt ( like recording some TV with an ivtv card) then a lot of shit happens, ivtv gives time outs, harddrive controllers give I/O errors, etc. As I've mentioned, this also happens after I unload+reload the rt2500pci module. So, apparently the hardware is left in a bad state after hostapd locks up. Johannes, in the meantime, has tested hostapd again for current wireless-testing, and for him things work (on a b43). His guess, also based on the fact that the entire system gets unstable, is that something still goes wrong in the rt2500pci driver. Do you have any suggestions as to what I can do to further debug this issue? I've made a register dump, as suggested on the serialmonkey forum, it's attached to this mail. I've also attached an archive with a frame dump from debugfs, obtained during the authentication process leading up to the hang. The archive also contains the hostapd and interface configuration files, and a log of the hostapd output. Well, I hope you can help me a bit further on the basis of this information, if there is anything else I can do to debug this issue further, then please let me know. thanks in advance, and best regards, Bas
2.6.24.4-64.fc8 driver: rt2500pci version: 2.1.4 compiled: Apr 5 2008 16:30:03 dev_flags: 0x0000042f rt chip: 0201 rf chip: 0003 revision:00000004 csr length: 93 eeprom length: 256 bbp length: 64 rf length: 5 csr 0 :0x00000004 1 :0x00000004 2 :0x00000000 3 :0x14f60c00 4 :0x00001905 5 :0x00000000 6 :0x00000000 7 :0x00000000 8 :0x000fff86 9 :0x00000980 10 :0xcf8d7200 11 :0x070414a5 12 :0x06400640 13 :0x000000a0 14 :0x0000004d 15 :0x00000004 16 :0x00014ef5 17 :0x00000000 18 :0x001e000a 19 :0x013a0032 20 :0x000005a0 21 :0x00000030 22 :0x00000000 23 :0x00000000 24 :0x00000000 25 :0x01627562 26 :0x0c010c2c 27 :0xcf8e7200 28 :0xcf848980 29 :0xcf8df200 30 :0xcf847100 31 :0x00000000 32 :0x0000005e 33 :0x00000c2c 34 :0xcf8d7200 35 :0x000003b8 36 :0xb3aab3af 37 :0x86870885 38 :0x8c8d8b8a 39 :0x000a0000 40 :0x00000000 41 :0x00000000 42 :0x0000009c 43 :0x00000017 44 :0x00000003 45 :0x0003ffff 46 :0x00000069 47 :0x00000000 48 :0x00000000 49 :0x3f3b3100 50 :0x00020002 51 :0x00000002 52 :0x00020002 53 :0x00000002 54 :0x000001fe 55 :0x1ab03f21 56 :0x00213223 57 :0x00000518 58 :0x9a009a11 59 :0x00000000 60 :0x00001132 61 :0x14062e11 62 :0x00011e46 63 :0x0000c78f 64 :0xcf8d72b0 65 :0xcf8e7200 66 :0xcf8df284 67 :0xcf848980 68 :0x00000020 69 :0x00000000 70 :0x00000000 71 :0x000000aa 72 :0x00000001 73 :0x00000001 74 :0x00000000 75 :0x0001fafd 76 :0x000500f0 77 :0x00000040 78 :0x000000f0 79 :0x00700400 80 :0x00380401 81 :0x00140402 82 :0x000a8403 83 :0x7038140a 84 :0x1d21252d 85 :0x1919191d 86 :0xcf8e7200 87 :0x821a8202 88 :0x00000003 89 :0x00000000 90 :0x00000000 91 :0x00000000 92 :0x76543210 eeprom 0 :0x2560 1 :0xffff 2 :0x0c00 3 :0x14f6 4 :0x1905 5 :0x0201 6 :0x1814 7 :0x0601 8 :0x0000 9 :0x9073 10 :0x182d 11 :0x0000 12 :0x0002 13 :0x0000 14 :0xffff 15 :0xffff 16 :0x182a 17 :0xfff0 18 :0x02ff 19 :0x0f30 20 :0x1128 21 :0x150d 22 :0x160d 23 :0x3510 24 :0x3610 25 :0x3d6a 26 :0x3e10 27 :0x2350 28 :0x2960 29 :0x3618 30 :0xffff 31 :0xffff 32 :0xffff 33 :0xffff 34 :0xffff 35 :0x1717 36 :0x1717 37 :0x1717 38 :0x1717 39 :0x1717 40 :0x1717 41 :0x1717 42 :0xffff 43 :0xffff 44 :0xffff 45 :0xffff 46 :0xffff 47 :0xffff 48 :0xffff 49 :0xffff 50 :0xffff 51 :0xffff 52 :0xffff 53 :0xffff 54 :0xffff 55 :0xffff 56 :0xffff 57 :0xffff 58 :0xffff 59 :0xffff 60 :0xffff 61 :0xffff 62 :0xff6f 63 :0x0101 64 :0xffff 65 :0xffff 66 :0xffff 67 :0xffff 68 :0xffff 69 :0xffff 70 :0xffff 71 :0xffff 72 :0xffff 73 :0xffff 74 :0xffff 75 :0xffff 76 :0xffff 77 :0xffff 78 :0xffff 79 :0xffff 80 :0xffff 81 :0xffff 82 :0xffff 83 :0xffff 84 :0xffff 85 :0xffff 86 :0xffff 87 :0xffff 88 :0xffff 89 :0xffff 90 :0xffff 91 :0xffff 92 :0xffff 93 :0xffff 94 :0xffff 95 :0xffff 96 :0xffff 97 :0xffff 98 :0xffff 99 :0xffff 100 :0xffff 101 :0xffff 102 :0xffff 103 :0xffff 104 :0xffff 105 :0xffff 106 :0xffff 107 :0xffff 108 :0xffff 109 :0xffff 110 :0xffff 111 :0xffff 112 :0xffff 113 :0xffff 114 :0xffff 115 :0xffff 116 :0xffff 117 :0xffff 118 :0xffff 119 :0xffff 120 :0xffff 121 :0xffff 122 :0xffff 123 :0xffff 124 :0xffff 125 :0xffff 126 :0xffff 127 :0xffff 128 :0x2560 129 :0xffff 130 :0x0c00 131 :0x14f6 132 :0x1905 133 :0x0201 134 :0x1814 135 :0x0601 136 :0x0000 137 :0x9073 138 :0x182d 139 :0x0000 140 :0x0002 141 :0x0000 142 :0xffff 143 :0xffff 144 :0x182a 145 :0xffff 146 :0x02ff 147 :0x0f30 148 :0x1128 149 :0x150d 150 :0x160d 151 :0x3510 152 :0x3610 153 :0x3d6a 154 :0x3e10 155 :0x2350 156 :0x2960 157 :0x3618 158 :0xffff 159 :0xffff 160 :0xffff 161 :0xffff 162 :0xffff 163 :0x1717 164 :0x1717 165 :0x1717 166 :0x1717 167 :0x1717 168 :0x1717 169 :0x1717 170 :0xffff 171 :0xffff 172 :0xffff 173 :0xffff 174 :0xffff 175 :0xffff 176 :0xffff 177 :0xffff 178 :0xffff 179 :0xffff 180 :0xffff 181 :0xffff 182 :0xffff 183 :0xffff 184 :0xffff 185 :0xffff 186 :0xffff 187 :0xffff 188 :0xffff 189 :0xffff 190 :0xff6f 191 :0x0101 192 :0xffff 193 :0xffff 194 :0xffff 195 :0xffff 196 :0xffff 197 :0xffff 198 :0xffff 199 :0xffff 200 :0xffff 201 :0xffff 202 :0xffff 203 :0xffff 204 :0xffff 205 :0xffff 206 :0xffff 207 :0xffff 208 :0xffff 209 :0xffff 210 :0xffff 211 :0xffff 212 :0xffff 213 :0xffff 214 :0xffff 215 :0xffff 216 :0xffff 217 :0xffff 218 :0xffff 219 :0xffff 220 :0xffff 221 :0xffff 222 :0xffff 223 :0xffff 224 :0xffff 225 :0xffff 226 :0xffff 227 :0xffff 228 :0xffff 229 :0xffff 230 :0xffff 231 :0xffff 232 :0xffff 233 :0xffff 234 :0xffff 235 :0xffff 236 :0xffff 237 :0xffff 238 :0xffff 239 :0xffff 240 :0xffff 241 :0xffff 242 :0xffff 243 :0xffff 244 :0xffff 245 :0xffff 246 :0xffff 247 :0xffff 248 :0xffff 249 :0xffff 250 :0xffff 251 :0xffff 252 :0xffff 253 :0xffff 254 :0xffff 255 :0xffff bbp 0 :0x12 1 :0xf8 2 :0x02 3 :0x02 4 :0x19 5 :0x0b 6 :0x00 7 :0x0e 8 :0x00 9 :0x00 10 :0x00 11 :0x04 12 :0x04 13 :0x28 14 :0x1e 15 :0x30 16 :0xac 17 :0x32 18 :0x18 19 :0xff 20 :0x1e 21 :0x0d 22 :0x0d 23 :0x08 24 :0x70 25 :0x40 26 :0x08 27 :0x23 28 :0x18 29 :0x18 30 :0x10 31 :0x2b 32 :0xb9 33 :0x55 34 :0x12 35 :0x50 36 :0x11 37 :0x05 38 :0x00 39 :0xc4 40 :0x02 41 :0x60 42 :0x0c 43 :0x6b 44 :0x20 45 :0x12 46 :0x12 47 :0x0a 48 :0x04 49 :0x05 50 :0x98 51 :0x19 52 :0x02 53 :0x10 54 :0x18 55 :0x3d 56 :0x08 57 :0x10 58 :0x08 59 :0x01 60 :0x03 61 :0x6a 62 :0x10 63 :0x00 rf 0 :0x00000000 1 :0x00002020 2 :0x00080c9e 3 :0x00062e11 4 :0x00000a1b
Attachment:
hostapd_try3.tar.bz2
Description: application/bzip-compressed-tar