Date: Thu, 7 Nov 2013 21:30:58 -0800 From: Adrian Chadd <adrian@freebsd.org> To: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org> Subject: [iwn] round two - 5100 works, but 2xxx doesn't Message-ID: <CAJ-VmokfBtii5hXhbn_LPJKXXhLvB9wkvQ-qDwQOW3B5DoiNLw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hiya, Here's the latest patch: http://people.freebsd.org/~adrian/iwn/20131107-iwn-update-works-full-5100-9.diff This includes some change to the TX ring and command queue setup. Unfortunately the 2xxx series NICs don't work. The firmware panics once the first scan message is sent. So, I think something is not being setup correctly. Nov 7 19:50:11 lucy-11i386 kernel: FW: "2030 fw v18.168.6.1 build 0 Nov 7 19:50:11 lucy-11i386 kernel: ", build 0x0 Nov 7 19:50:11 lucy-11i386 kernel: using alternative 0 Nov 7 19:50:11 lucy-11i386 kernel: TLV type 16 reconized but not handled Nov 7 19:50:11 lucy-11i386 kernel: TLV type 17 reconized but not handled Nov 7 19:50:11 lucy-11i386 kernel: TLV type 6 reconized but not handled Nov 7 19:50:11 lucy-11i386 kernel: PAN Support found: 1 Nov 7 19:50:11 lucy-11i386 kernel: TLV type 8 reconized but not handled Nov 7 19:50:11 lucy-11i386 kernel: TLV type 9 reconized but not handled Nov 7 19:50:11 lucy-11i386 kernel: TLV type 10 reconized but not handled Nov 7 19:50:11 lucy-11i386 kernel: TLV type 11 reconized but not handled Nov 7 19:50:11 lucy-11i386 kernel: TLV type 12 reconized but not handled Nov 7 19:50:11 lucy-11i386 kernel: TLV type 13 reconized but not handled Nov 7 19:50:11 lucy-11i386 kernel: iwn_notif_intr: qid 0 idx 0 flags 0 type 1(UC_READY) len 36 Nov 7 19:50:11 lucy-11i386 kernel: microcode alive notification version=18.168 subtype=9 alive=1 Nov 7 19:50:11 lucy-11i386 kernel: iwn5000_ict_reset: enabling ICT Nov 7 19:50:11 lucy-11i386 kernel: iwn5000_send_wimax_coex: Configuring WiMAX coexistence Nov 7 19:50:11 lucy-11i386 kernel: iwn_cmd: IWN5000_CMD_WIMAX_COEX (0x5a) flags 0 qid 9 idx 0 Nov 7 19:50:11 lucy-11i386 kernel: iwn_notif_intr: qid 9 idx 0 flags 0 type 90(IWN5000_CMD_WIMAX_COEX) len 4 Nov 7 19:50:11 lucy-11i386 kernel: sending crystal calibration 0, 0 Nov 7 19:50:11 lucy-11i386 kernel: iwn_cmd: IWN_CMD_PHY_CALIB (0xb0) flags 0 qid 9 idx 1 Nov 7 19:50:11 lucy-11i386 kernel: iwn_notif_intr: qid 0 idx 1 flags 0 type 98(UNKNOWN INTR NOTIF/CMD) len 8 Nov 7 19:50:11 lucy-11i386 kernel: iwn_notif_intr: qid 9 idx 1 flags 0 type 176(IWN_CMD_PHY_CALIB) len 4 Nov 7 19:50:11 lucy-11i386 kernel: iwn5000_query_calibration: sending calibration query Nov 7 19:50:11 lucy-11i386 kernel: iwn_cmd: IWN5000_CMD_CALIB_CONFIG (0x65) flags 0 qid 9 idx 2 Nov 7 19:50:11 lucy-11i386 kernel: iwn_notif_intr: qid 9 idx 2 flags 0 type 101(IWN5000_CMD_CALIB_CONFIG) len 8 Nov 7 19:50:11 lucy-11i386 kernel: iwn_notif_intr: qid 0 idx 2 flags 0 type 102(IWN5000_CMD_CALIB_RESULT) len 12 Nov 7 19:50:11 lucy-11i386 kernel: saving calibration result idx=4, code=16 len=8 Nov 7 19:50:11 lucy-11i386 kernel: iwn_notif_intr: qid 0 idx 3 flags 0 type 102(IWN5000_CMD_CALIB_RESULT) len 520 Nov 7 19:50:11 lucy-11i386 kernel: saving calibration result idx=0, code=8 len=516 Nov 7 19:50:11 lucy-11i386 kernel: iwn_notif_intr: qid 0 idx 4 flags 0 type 102(IWN5000_CMD_CALIB_RESULT) len 1352 Nov 7 19:50:11 lucy-11i386 kernel: saving calibration result idx=1, code=9 len=1348 Nov 7 19:50:12 lucy-11i386 kernel: iwn_notif_intr: qid 0 idx 5 flags 0 type 102(IWN5000_CMD_CALIB_RESULT) len 92 Nov 7 19:50:12 lucy-11i386 kernel: saving calibration result idx=2, code=11 len=88 Nov 7 19:50:12 lucy-11i386 kernel: iwn_notif_intr: qid 0 idx 6 flags 0 type 103(IWN5000_CMD_CALIB_COMPLETE) len 8 Nov 7 19:50:12 lucy-11i386 kernel: iwn_notif_intr: qid 0 idx 0 flags 0 type 1(UC_READY) len 36 Nov 7 19:50:12 lucy-11i386 kernel: microcode alive notification version=18.168 subtype=1 alive=1 Nov 7 19:50:12 lucy-11i386 kernel: iwn5000_ict_reset: enabling ICT Nov 7 19:50:12 lucy-11i386 kernel: iwn5000_send_wimax_coex: Configuring WiMAX coexistence Nov 7 19:50:12 lucy-11i386 kernel: iwn_cmd: IWN5000_CMD_WIMAX_COEX (0x5a) flags 0 qid 9 idx 0 Nov 7 19:50:12 lucy-11i386 kernel: iwn_notif_intr: qid 9 idx 0 flags 0 type 90(IWN5000_CMD_WIMAX_COEX) len 4 Nov 7 19:50:12 lucy-11i386 kernel: sending crystal calibration 0, 0 Nov 7 19:50:12 lucy-11i386 kernel: iwn_cmd: IWN_CMD_PHY_CALIB (0xb0) flags 0 qid 9 idx 1 Nov 7 19:50:12 lucy-11i386 kernel: iwn_notif_intr: qid 0 idx 1 flags 0 type 98(UNKNOWN INTR NOTIF/CMD) len 8 Nov 7 19:50:12 lucy-11i386 kernel: iwn_notif_intr: qid 9 idx 1 flags 0 type 176(IWN_CMD_PHY_CALIB) len 4 Nov 7 19:50:12 lucy-11i386 kernel: send calibration result idx=0 len=516 Nov 7 19:50:12 lucy-11i386 kernel: iwn_cmd: IWN_CMD_PHY_CALIB (0xb0) flags 0 qid 9 idx 2 Nov 7 19:50:12 lucy-11i386 kernel: iwn_notif_intr: qid 9 idx 2 flags 0 type 176(IWN_CMD_PHY_CALIB) len 4 Nov 7 19:50:12 lucy-11i386 kernel: send calibration result idx=1 len=1348 Nov 7 19:50:12 lucy-11i386 kernel: iwn_cmd: IWN_CMD_PHY_CALIB (0xb0) flags 0 qid 9 idx 3 Nov 7 19:50:12 lucy-11i386 kernel: iwn_notif_intr: qid 9 idx 3 flags 0 type 176(IWN_CMD_PHY_CALIB) len 4 Nov 7 19:50:12 lucy-11i386 kernel: send calibration result idx=2 len=88 Nov 7 19:50:12 lucy-11i386 kernel: iwn_cmd: IWN_CMD_PHY_CALIB (0xb0) flags 0 qid 9 idx 4 Nov 7 19:50:12 lucy-11i386 kernel: iwn_notif_intr: qid 9 idx 4 flags 0 type 176(IWN_CMD_PHY_CALIB) len 4 Nov 7 19:50:12 lucy-11i386 kernel: No need of calib 3 Nov 7 19:50:12 lucy-11i386 kernel: send calibration result idx=4 len=8 Nov 7 19:50:12 lucy-11i386 kernel: iwn_cmd: IWN_CMD_PHY_CALIB (0xb0) flags 0 qid 9 idx 5 Nov 7 19:50:12 lucy-11i386 kernel: iwn_notif_intr: qid 9 idx 5 flags 0 type 176(IWN_CMD_PHY_CALIB) len 4 Nov 7 19:50:12 lucy-11i386 kernel: No need of calib 5 Nov 7 19:50:12 lucy-11i386 kernel: No need of calib 6 Nov 7 19:50:12 lucy-11i386 kernel: Need calib idx : 7 but no available data Nov 7 19:50:12 lucy-11i386 kernel: setting radio sensor low offset to 2701, high offset to 2703, voltage to 3353 Nov 7 19:50:12 lucy-11i386 kernel: iwn_cmd: IWN_CMD_PHY_CALIB (0xb0) flags 0 qid 9 idx 6 Nov 7 19:50:12 lucy-11i386 kernel: iwn_notif_intr: qid 9 idx 6 flags 0 type 176(IWN_CMD_PHY_CALIB) len 4 Nov 7 19:50:12 lucy-11i386 kernel: iwn_newstate: INIT -> SCAN Nov 7 19:50:12 lucy-11i386 kernel: iwn_cmd: IWN_CMD_SET_LED (0x48) flags 0 qid 9 idx 7 Nov 7 19:50:12 lucy-11i386 kernel: iwn_scan: chan 1 flags 0x1 rf_gain 0x28 dsp_gain 0x6e active 0x24 passive 0x78 Nov 7 19:50:12 lucy-11i386 kernel: sending scan command nchan=1 Nov 7 19:50:12 lucy-11i386 kernel: iwn_cmd: IWN_CMD_SCAN (0x80) flags 0 qid 9 idx 8 Nov 7 19:50:12 lucy-11i386 kernel: iwn1: iwn_intr: fatal firmware error Nov 7 19:50:12 lucy-11i386 kernel: firmware error log: Nov 7 19:50:12 lucy-11i386 kernel: error type = "UNKNOWN" (0x00002776) Nov 7 19:50:12 lucy-11i386 kernel: program counter = 0x00009E20 Nov 7 19:50:12 lucy-11i386 kernel: source line = 0x00000067 Nov 7 19:50:12 lucy-11i386 kernel: error data = 0x0908008000000002 Nov 7 19:50:12 lucy-11i386 kernel: branch link = 0x00009E0E00009E0E Nov 7 19:50:12 lucy-11i386 kernel: interrupt link = 0x0000EC7A00000000 Nov 7 19:50:12 lucy-11i386 kernel: time = 35209 Nov 7 19:50:12 lucy-11i386 kernel: driver status: Nov 7 19:50:12 lucy-11i386 kernel: tx ring 0: qid=0 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 1: qid=1 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 2: qid=2 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 3: qid=3 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 4: qid=4 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 5: qid=5 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 6: qid=6 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 7: qid=7 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 8: qid=8 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 9: qid=9 cur=9 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 10: qid=10 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 11: qid=11 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 12: qid=12 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 13: qid=13 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 14: qid=14 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 15: qid=15 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 16: qid=16 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 17: qid=17 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 18: qid=18 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: tx ring 19: qid=19 cur=0 queued=0 Nov 7 19:50:12 lucy-11i386 kernel: rx ring: cur=9
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokfBtii5hXhbn_LPJKXXhLvB9wkvQ-qDwQOW3B5DoiNLw>