Discussion:
iwn0: fatal firmware error
(too old to reply)
Jeremy C. Reed
2012-01-21 00:22:44 UTC
Permalink
Any ideas about this?

This is head from 201201200410Z on amd64.

The dmesg (twice) is at
http://reedmedia.net/~reed/dmesg.boot.txt

The package advertising says: Intel Centrino Wireless-N 1030

iwn0 at pci2 dev 0 function 0: vendor 0x8086 product 0x008a (rev. 0x34)
iwn0: interrupting at ioapic0 pin 17
iwn0: MIMO 1T2R, BGN, address ac:72:89:ec:3b:1e
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps

iwn0: fatal firmware error
firmware error log:
error type = "UNKNOWN" (0x00001999)
program counter = 0x00013688
source line = 0x0000012F
error data = 0x00000001000000A4
branch link = 0x0001367C0001367C
interrupt link = 0x0000C17A00000000
time = 28087
driver status:
tx ring 0: qid=0 cur=0 queued=0
tx ring 1: qid=1 cur=0 queued=0
tx ring 2: qid=2 cur=0 queued=0
tx ring 3: qid=3 cur=0 queued=0
tx ring 4: qid=4 cur=2 queued=0
tx ring 5: qid=5 cur=0 queued=0
tx ring 6: qid=6 cur=0 queued=0
tx ring 7: qid=7 cur=0 queued=0
tx ring 8: qid=8 cur=0 queued=0
tx ring 9: qid=9 cur=0 queued=0
tx ring 10: qid=10 cur=0 queued=0
tx ring 11: qid=11 cur=0 queued=0
tx ring 12: qid=12 cur=0 queued=0
tx ring 13: qid=13 cur=0 queued=0
tx ring 14: qid=14 cur=0 queued=0
tx ring 15: qid=15 cur=0 queued=0
tx ring 16: qid=16 cur=0 queued=0
tx ring 17: qid=17 cur=0 queued=0
tx ring 18: qid=18 cur=0 queued=0
tx ring 19: qid=19 cur=0 queued=0
rx ring: cur=2
802.11 state 0
iwn0: crystal calibration failed
iwn0: could not initialize hardware

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Jeremy C. Reed
2012-01-21 03:52:50 UTC
Permalink
I cc'd Patrick regarding his
http://mail-index.netbsd.org/tech-kern/2011/08/06/msg011131.html email
and patch... Did you ever get a solution to your problem?

I next installed the firmware files:

iwlwifi-6000g2b-6.ucode
iwlwifi-6000g2b-5.ucode

I see these weren't mentioned in code. So I tried patch from email
above. Now I get the same:

iwn0: could not configure bluetooth coexistence
iwn0: could not configure device
iwn0: cannot assign link-local address

I can set the ssid and nwkey even though ifconfig complains:
ifconfig: exec_matches: Resource temporarily unavailable

dhcpcd times out waiting for carrier. dhclient fails with:
ifconfig: exec_matches: Resource temporarily unavailable
iwn0: not found

ifconfig iwn0 shows me:

iwn0: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> mtu 1500
ssid 5FYA8 nwkey 0x--------
powersave off
address: ac:72:89:ec:3b:1e
media: IEEE802.11 autoselect
status: no network

(I strike out nwkey.)


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Jeremy C. Reed
2012-01-23 11:53:06 UTC
Permalink
The following is with debugging output:

iwn0 at pci2 dev 0 function 0: vendor 0x8086 product 0x008a (rev. 0x34)
iwn0: interrupting at ioapic0 pin 17
OTPROM found
SKU capabilities=0x0150
radio config=0x311a
adding chan 1 flags=0x6f maxpwr=0
adding chan 2 flags=0x6f maxpwr=0
adding chan 3 flags=0x6f maxpwr=0
adding chan 4 flags=0x6f maxpwr=0
adding chan 5 flags=0x6f maxpwr=0
adding chan 6 flags=0x6f maxpwr=0
adding chan 7 flags=0x6f maxpwr=0
adding chan 8 flags=0x6f maxpwr=0
adding chan 9 flags=0x6f maxpwr=0
adding chan 10 flags=0x6f maxpwr=0
adding chan 11 flags=0x6f maxpwr=0
adding chan 12 flags=0x61 maxpwr=0
adding chan 13 flags=0x61 maxpwr=0
enhinfo 0, maxpwr=14
enhinfo 1, maxpwr=14
enhinfo 2, maxpwr=15
enhinfo 3, maxpwr=15
enhinfo 5, maxpwr=0
enhinfo 6, maxpwr=0
enhinfo 7, maxpwr=0
enhinfo 8, maxpwr=0
enhinfo 9, maxpwr=0
enhinfo 10, maxpwr=0
enhinfo 11, maxpwr=0
enhinfo 12, maxpwr=0
enhinfo 13, maxpwr=0
enhinfo 14, maxpwr=0
enhinfo 15, maxpwr=14
enhinfo 16, maxpwr=13
enhinfo 17, maxpwr=12
enhinfo 18, maxpwr=15
enhinfo 19, maxpwr=15
enhinfo 20, maxpwr=15
enhinfo 21, maxpwr=15
enhinfo 22, maxpwr=12
enhinfo 23, maxpwr=11
enhinfo 24, maxpwr=14
enhinfo 25, maxpwr=13
enhinfo 26, maxpwr=13
calib version=6 pa type=0 voltage=3318
crystal calibration 0x00720072
iwn0: MIMO 1T2R, BGN, address ac:72:89:ec:3b:1e
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps


This is when trying to bring the interface up with ifconfig:

FW: "6000g2b fw v17.168.5.2 build 35905
", build 0x8c41
using alternative 0
TLV type 6 not handled
TLV type 7 not handled
TLV type 8 not handled
TLV type 9 not handled
TLV type 10 not handled
TLV type 11 not handled
TLV type 12 not handled
TLV type 13 not handled
TLV type 14 not handled
TLV type 15 not handled
notification qid=0 idx=0 flags=0 type=1
microcode alive notification version=17.168 subtype=9 alive=1
enabling ICT
Configuring WiMAX coexistence
iwn_cmd 90 size=68
notification qid=4 idx=0 flags=0 type=90
sending crystal calibration 114, 114
iwn_cmd 176 size=8
notification qid=0 idx=1 flags=0 type=98
notification qid=4 idx=1 flags=0 type=176
sending calibration query
iwn_cmd 101 size=92
notification qid=4 idx=2 flags=0 type=101
notification qid=0 idx=2 flags=0 type=102
saving calibration result code=16 len=8
notification qid=0 idx=3 flags=0 type=102
notification qid=0 idx=4 flags=0 type=102
saving calibration result code=9 len=1348
notification qid=0 idx=5 flags=0 type=102
saving calibration result code=11 len=88
notification qid=0 idx=6 flags=0 type=103
notification qid=0 idx=0 flags=0 type=1
microcode alive notification version=17.168 subtype=0 alive=1
enabling ICT
Configuring WiMAX coexistence
iwn_cmd 90 size=68
notification qid=4 idx=0 flags=0 type=90
sending crystal calibration 114, 114
iwn_cmd 176 size=8
notification qid=0 idx=1 flags=0 type=98
notification qid=4 idx=1 flags=0 type=176
send calibration result idx=1 len=1348
iwn_cmd 176 size=1348
notification qid=4 idx=2 flags=0 type=176
send calibration result idx=2 len=88
iwn_cmd 176 size=88
notification qid=4 idx=3 flags=0 type=176
send calibration result idx=4 len=8
iwn_cmd 176 size=8
notification qid=4 idx=4 flags=0 type=176
configuring runtime calibration
iwn_cmd 101 size=92
notification qid=4 idx=5 flags=0 type=101
configuring valid TX chains 0x1
iwn_cmd 152 size=4
notification qid=4 idx=6 flags=0 type=152
configuring bluetooth coexistence
iwn_cmd 155 size=12
iwn0: could not configure bluetooth coexistence

**** at this point I patched it to not error out ****

setting configuration
iwn_cmd 16 size=50
iwn0: fatal firmware error
firmware error log:
error type = "UNKNOWN" (0x00000034)
program counter = 0x000106E4
source line = 0x00002144
error data = 0x0000000207030000
branch link = 0x000106D000010702
interrupt link = 0x0000DC1A0002481E
time = 1033589
driver status:
tx ring 0: qid=0 cur=0 queued=0
tx ring 1: qid=1 cur=0 queued=0
tx ring 2: qid=2 cur=0 queued=0
tx ring 3: qid=3 cur=0 queued=0
tx ring 4: qid=4 cur=9 queued=0
tx ring 5: qid=5 cur=0 queued=0
tx ring 6: qid=6 cur=0 queued=0
tx ring 7: qid=7 cur=0 queued=0
tx ring 8: qid=8 cur=0 queued=0
tx ring 9: qid=9 cur=0 queued=0
tx ring 10: qid=10 cur=0 queued=0
tx ring 11: qid=11 cur=0 queued=0
tx ring 12: qid=12 cur=0 queued=0
tx ring 13: qid=13 cur=0 queued=0
tx ring 14: qid=14 cur=0 queued=0
tx ring 15: qid=15 cur=0 queued=0
tx ring 16: qid=16 cur=0 queued=0
tx ring 17: qid=17 cur=0 queued=0
tx ring 18: qid=18 cur=0 queued=0
tx ring 19: qid=19 cur=0 queued=0
rx ring: cur=9
802.11 state 0
iwn0: RXON command failed
iwn0: could not configure device
iwn0: cannot assign link-local address
FW: "6000g2b fw v17.168.5.2 build 35905
", build 0x8c41
using alternative 0
TLV type 6 not handled
TLV type 7 not handled
TLV type 8 not handled
TLV type 9 not handled
TLV type 10 not handled
TLV type 11 not handled
TLV type 12 not handled
TLV type 13 not handled
TLV type 14 not handled
TLV type 15 not handled
notification qid=0 idx=0 flags=0 type=1
microcode alive notification version=17.168 subtype=9 alive=1
enabling ICT
Configuring WiMAX coexistence
iwn_cmd 90 size=68
notification qid=4 idx=0 flags=0 type=90
sending crystal calibration 114, 114
iwn_cmd 176 size=8
notification qid=0 idx=1 flags=0 type=98
notification qid=4 idx=1 flags=0 type=176
sending calibration query
iwn_cmd 101 size=92
notification qid=4 idx=2 flags=0 type=101
notification qid=0 idx=2 flags=0 type=102
saving calibration result code=16 len=8
notification qid=0 idx=3 flags=0 type=102
notification qid=0 idx=4 flags=0 type=102
saving calibration result code=9 len=1348
notification qid=0 idx=5 flags=0 type=102
saving calibration result code=11 len=88
notification qid=0 idx=6 flags=0 type=103
notification qid=0 idx=0 flags=0 type=1
microcode alive notification version=17.168 subtype=0 alive=1
enabling ICT
Configuring WiMAX coexistence
iwn_cmd 90 size=68
notification qid=4 idx=0 flags=0 type=90
sending crystal calibration 114, 114
iwn_cmd 176 size=8
notification qid=0 idx=1 flags=0 type=98
notification qid=4 idx=1 flags=0 type=176
send calibration result idx=1 len=1348
iwn_cmd 176 size=1348
notification qid=4 idx=2 flags=0 type=176
send calibration result idx=2 len=88
iwn_cmd 176 size=88
notification qid=4 idx=3 flags=0 type=176
send calibration result idx=4 len=8
iwn_cmd 176 size=8
notification qid=4 idx=4 flags=0 type=176
configuring runtime calibration
iwn_cmd 101 size=92
notification qid=4 idx=5 flags=0 type=101
configuring valid TX chains 0x1
iwn_cmd 152 size=4
notification qid=4 idx=6 flags=0 type=152
configuring bluetooth coexistence
iwn_cmd 155 size=12
iwn0: could not configure bluetooth coexistence
setting configuration
iwn_cmd 16 size=50
iwn0: fatal firmware error
firmware error log:
error type = "UNKNOWN" (0x00000034)
program counter = 0x000106E4
source line = 0x00002144
error data = 0x0000000207030000
branch link = 0x000106D000010702
interrupt link = 0x0000DC1A0002481E
time = 1037728
driver status:
tx ring 0: qid=0 cur=0 queued=0
tx ring 1: qid=1 cur=0 queued=0
tx ring 2: qid=2 cur=0 queued=0
tx ring 3: qid=3 cur=0 queued=0
tx ring 4: qid=4 cur=9 queued=0
tx ring 5: qid=5 cur=0 queued=0
tx ring 6: qid=6 cur=0 queued=0
tx ring 7: qid=7 cur=0 queued=0
tx ring 8: qid=8 cur=0 queued=0
tx ring 9: qid=9 cur=0 queued=0
tx ring 10: qid=10 cur=0 queued=0
tx ring 11: qid=11 cur=0 queued=0
tx ring 12: qid=12 cur=0 queued=0
tx ring 13: qid=13 cur=0 queued=0
tx ring 14: qid=14 cur=0 queued=0
tx ring 15: qid=15 cur=0 queued=0
tx ring 16: qid=16 cur=0 queued=0
tx ring 17: qid=17 cur=0 queued=0
tx ring 18: qid=18 cur=0 queued=0
tx ring 19: qid=19 cur=0 queued=0
rx ring: cur=9
802.11 state 0
iwn0: RXON command failed
iwn0: could not configure device

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Patrick Welche
2012-04-06 11:03:55 UTC
Permalink
Post by Jeremy C. Reed
I cc'd Patrick regarding his
http://mail-index.netbsd.org/tech-kern/2011/08/06/msg011131.html email
and patch... Did you ever get a solution to your problem?
iwlwifi-6000g2b-6.ucode
iwlwifi-6000g2b-5.ucode
I see these weren't mentioned in code. So I tried patch from email
iwn0: could not configure bluetooth coexistence
iwn0: could not configure device
iwn0: cannot assign link-local address
I'm sorry I missed your email!

I am currently writing this logged into another netbsd box using
iwn0 with the following patch (I just removed the troublesome
bluetooth, as it doesn't work anyway on this laptop). This would
remove it for everyone using iwn0, so not good to commit...

Cheers,

Patrick

Loading...