Hi there, in attempting to patch some sources for the ign driver in NetBSD, I think I foobar'd my wireless card. When I boot into Slackware now, I see this in my dmesg:
Code:
iwlagn 0000:02:00.0: Uncorrectable OTP ECC error, abort OTP read
I commented out the return in drivers/net/wireless/iwlwifi/iwl-eeprom.c, so the driver can continue to load the firmware and such:
Code:
--- /usr/src/linux/drivers/net/wireless/iwlwifi/iwl-eeprom.c~ 2011-03-27 15:01:41.000000000 -0400
+++ /usr/src/linux/drivers/net/wireless/iwlwifi/iwl-eeprom.c 2011-06-05 01:17:06.322999887 -0400
@@ -283,7 +283,7 @@
iwl_set_bit(priv, CSR_OTP_GP_REG,
CSR_OTP_GP_REG_ECC_UNCORR_STATUS_MSK);
IWL_ERR(priv, "Uncorrectable OTP ECC error, abort OTP read\n");
- return -EINVAL;
+ //return -EINVAL;
}
if (otpgp & CSR_OTP_GP_REG_ECC_CORR_STATUS_MSK) {
/* continue in this case */
Even though the driver continues, it's apparent that something is still wrong. I'm hoping there is someone out there with the same Intel wireless card as myself to try and reload it's EEPROM.
There is a tool located here:
http://iwleeprom.googlecode.com/ that I'm hoping will help. I can do a EEPROM dump of my card, so if anyone out there has the same card, please do me a favor and dump your EEPROM so I can attempt to revive this card:
Code:
root@q:~/iwleeprom-read-only# ./iwleeprom -o /tmp/firmware.tmp
Supported devices detected:
[1] 0000:02:00.0 [RO] Centrino Wireless-N 1000 (8086:0084, 8086:1315)
Select device [1-1] (or 0 to quit): 1
Using device 0000:02:00.0 [RO] Centrino Wireless-N 1000
Saving dump with byte order: LITTLE ENDIAN
0000 [................................................................]
0080 [................................................................]
0100 [................................................................]
0180 [................................................................]
0200 [................................................................]
0280 [................................................................]
0300 [................................................................]
0380 [................................................................]
0400 [................................................................]
0480 [................................................................]
0500 [................................................................]
0580 [................................................................]
0600 [................................................................]
0680 [................................................................]
0700 [................................................................]
0780 [................................................................]
EEPROM has been dumped to /tmp/firmware.tmp
PLEASE MAKE SURE YOUR DEVICE ID'S MATCH MINE! I have a replacement card coming in from Newegg, so this is more of a technical exercise to see if I can get this card working again. I appreciate any help anyone can give me.