Skip to contentSkip to conversation

Firmware error for Centrino N 2230

DISCUSSION Cedric GROSS 4 participants 8 messages Jul 13, 2013 – Jul 15, 2013

lore
Share & tools
lore
#0 lore raw

Hello,

I’m trying to adapt current freebsd driver for supporting my 2230 NIC.

I try to follow ucode command order defined in kernel 3.2 but I reach some difficulties because firmware raise error.

Runtime uCode is alive. So far I sent calib result (cmd xB0), configured advanced BT coexistence (cmd x9B,xCC and xCD) running runtime calib (cmd x65) but the command configuring valid chain (cmd x65) failed as the result below :
CSR values: (2nd byte of IWN_INT_COALESCING is IWN_INT_PERIODIC)
  IWN_HW_IF_CONFIG: 0x00800302   IWN_INT_COALESCING: 0x0000ff40
IWN_INT: 0x04000000
  IWN_INT_MASK: 0x00000000   IWN_FH_INT: 0x00000000   IWN_GPIO_IN:
0x00000000
   IWN_RESET: 0x00000000   IWN_GP_CNTRL: 0x080403c5   IWN_HW_REV: 0x000000c8
  IWN_EEPROM: 0x08450ffd   IWN_EEPROM_GP: 0x90000801   IWN_OTP_GP:
0x00030001
     IWN_GIO: 0x00080044   INW_GP_UCODE: 0x00000004   IWN_GP_DRIVER:
0x00000080
  IWN_GP1_DRIVER: 0x00000000   IWN_UCODE_DRV_GP2: 0x00000000      IWN_LED:
0x00000018
  IWN_DRAM_INT_TBL: 0x880b76e5   IWN_GIO_CHICKEN: 0x29800200   IWN_ANA_PLL:
0x00000000
  IWN_HW_REV_WA: 0x0001001a   IWN_DBG_HPET_MEM: 0xffff0000 firmware error log:
  error type      = "UNKNOWN" (0x00001987)
  program counter = 0x000179B4
  source line     = 0x00000167
  error data      = 0x0000000000000000
  branch link     = 0x0001798200017982
  interrupt link  = 0x0000EC7A00000000
  time            = 46566

What I’m missing ?
What is meaning of firmware error ?

Many thanks for your help.

Best regards
Cedric

#1 lore raw
Quoted 29 lines · Cedric GROSS

Hello,

I’m trying to adapt current freebsd driver for supporting my 2230 NIC.

I try to follow ucode command order defined in kernel 3.2 but I reach some difficulties because firmware raise error.

Runtime uCode is alive. So far I sent calib result (cmd xB0), configured advanced BT coexistence (cmd x9B,xCC and xCD) running runtime calib (cmd x65) but the command configuring valid chain (cmd x65) failed as the result below :
CSR values: (2nd byte of IWN_INT_COALESCING is IWN_INT_PERIODIC)
IWN_HW_IF_CONFIG: 0x00800302 IWN_INT_COALESCING: 0x0000ff40
IWN_INT: 0x04000000
IWN_INT_MASK: 0x00000000 IWN_FH_INT: 0x00000000 IWN_GPIO_IN:
0x00000000
IWN_RESET: 0x00000000 IWN_GP_CNTRL: 0x080403c5 IWN_HW_REV: 0x000000c8
IWN_EEPROM: 0x08450ffd IWN_EEPROM_GP: 0x90000801 IWN_OTP_GP:
0x00030001

     IWN_GIO: 0x00080044   INW_GP_UCODE: 0x00000004   IWN_GP_DRIVER:

0x00000080
IWN_GP1_DRIVER: 0x00000000 IWN_UCODE_DRV_GP2: 0x00000000 IWN_LED:
0x00000018
IWN_DRAM_INT_TBL: 0x880b76e5 IWN_GIO_CHICKEN: 0x29800200 IWN_ANA_PLL:
0x00000000
IWN_HW_REV_WA: 0x0001001a IWN_DBG_HPET_MEM: 0xffff0000
firmware error log:
error type = "UNKNOWN" (0x00001987)
program counter = 0x000179B4

Quoted 9 lines
  source line     = 0x00000167
  error data      = 0x0000000000000000
  branch link     = 0x0001798200017982
  interrupt link  = 0x0000EC7A00000000
  time            = 46566

What I’m missing ?
What is meaning of firmware error ?

What distro?
If this is Debian or Ubuntu, this is not a vanilla but distro-patched kernel-version.

Can you provide more infos?
Your kernel-config file, dmesg output, name of loaded firmware file, etc.

Did you check for newer firmware files (see [1])?

Did you try a higher kernel-release?

- Sedat -

[1] http://wireless.kernel.org/en/users/Drivers/iwlwifi

Quoted 9 lines

Many thanks for your help.

Best regards
Cedric

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

Hello Sedat,

Quoted 48 lines

-----Message d'origine-----
De : Sedat Dilek [mailto:[email protected]] Envoyé : samedi 13 juillet 2013 13:04
À : Cedric GROSS
Cc : [email protected] Objet : Re: Firmware error for Centrino N 2230

Quoted 3 lines · Cedric GROSS

Hello,

I’m trying to adapt current freebsd driver for supporting my 2230

NIC.

Quoted 4 lines

I try to follow ucode command order defined in kernel 3.2 but I reach some difficulties because firmware raise error.

Quoted 11 lines

Runtime uCode is alive. So far I sent calib result (cmd xB0), configured advanced BT coexistence (cmd x9B,xCC and xCD) running runtime calib (cmd
x65) but the command configuring valid chain (cmd x65) failed as the result below :
CSR values: (2nd byte of IWN_INT_COALESCING is IWN_INT_PERIODIC)
IWN_HW_IF_CONFIG: 0x00800302 IWN_INT_COALESCING: 0x0000ff40
IWN_INT: 0x04000000
IWN_INT_MASK: 0x00000000 IWN_FH_INT: 0x00000000 IWN_GPIO_IN:
0x00000000
IWN_RESET: 0x00000000 IWN_GP_CNTRL: 0x080403c5 IWN_HW_REV:

0x000000c8

Quoted 5 lines

IWN_EEPROM: 0x08450ffd IWN_EEPROM_GP: 0x90000801 IWN_OTP_GP:
0x00030001

     IWN_GIO: 0x00080044   INW_GP_UCODE: 0x00000004   IWN_GP_DRIVER:

0x00000080
IWN_GP1_DRIVER: 0x00000000 IWN_UCODE_DRV_GP2: 0x00000000

IWN_LED:

Quoted 2 lines

0x00000018
IWN_DRAM_INT_TBL: 0x880b76e5 IWN_GIO_CHICKEN: 0x29800200

IWN_ANA_PLL:

Quoted 11 lines

0x00000000
IWN_HW_REV_WA: 0x0001001a IWN_DBG_HPET_MEM: 0xffff0000
firmware error log:
error type = "UNKNOWN" (0x00001987)
program counter = 0x000179B4

  source line     = 0x00000167
  error data      = 0x0000000000000000
  branch link     = 0x0001798200017982
  interrupt link  = 0x0000EC7A00000000
  time            = 46566
Quoted 7 lines
Quoted 3 lines

What I’m missing ?
What is meaning of firmware error ?

What distro?
If this is Debian or Ubuntu, this is not a vanilla but distro-patched kernel-version.

I'm working on freeBSD. So it's not a linux distro ;)

Quoted 4 lines

Can you provide more infos?
Your kernel-config file, dmesg output, name of loaded firmware file, etc.

For firmware : iwlwifi-2030-18.168.6.1.fw

For the rest, I can send you what you wish, but it's not a linux output.

Quoted 4 lines

Did you check for newer firmware files (see [1])?

Did you try a higher kernel-release?

Doesn't apply ;)

Quoted 11 lines

- Sedat -

[1] http://wireless.kernel.org/en/users/Drivers/iwlwifi

Quoted 6 lines

Many thanks for your help.

Best regards
Cedric

--

Thanks for help anyway.
Cedric

#3 lore raw
Quoted 54 lines · Cedric GROSS

Hello Sedat,

Quoted 52 lines

-----Message d'origine-----
De : Sedat Dilek [mailto:[email protected]] Envoyé : samedi 13 juillet 2013 13:04
À : Cedric GROSS
Cc : [email protected] Objet : Re: Firmware error for Centrino N 2230

Quoted 3 lines · Cedric GROSS

Hello,

I’m trying to adapt current freebsd driver for supporting my 2230

NIC.

Quoted 4 lines

I try to follow ucode command order defined in kernel 3.2 but I reach some difficulties because firmware raise error.

Quoted 11 lines

Runtime uCode is alive. So far I sent calib result (cmd xB0), configured advanced BT coexistence (cmd x9B,xCC and xCD) running runtime calib (cmd
x65) but the command configuring valid chain (cmd x65) failed as the result below :
CSR values: (2nd byte of IWN_INT_COALESCING is IWN_INT_PERIODIC)
IWN_HW_IF_CONFIG: 0x00800302 IWN_INT_COALESCING: 0x0000ff40
IWN_INT: 0x04000000
IWN_INT_MASK: 0x00000000 IWN_FH_INT: 0x00000000 IWN_GPIO_IN:
0x00000000
IWN_RESET: 0x00000000 IWN_GP_CNTRL: 0x080403c5 IWN_HW_REV:

0x000000c8

Quoted 5 lines

IWN_EEPROM: 0x08450ffd IWN_EEPROM_GP: 0x90000801 IWN_OTP_GP:
0x00030001

     IWN_GIO: 0x00080044   INW_GP_UCODE: 0x00000004   IWN_GP_DRIVER:

0x00000080
IWN_GP1_DRIVER: 0x00000000 IWN_UCODE_DRV_GP2: 0x00000000

IWN_LED:

Quoted 2 lines

0x00000018
IWN_DRAM_INT_TBL: 0x880b76e5 IWN_GIO_CHICKEN: 0x29800200

IWN_ANA_PLL:

Quoted 14 lines

0x00000000
IWN_HW_REV_WA: 0x0001001a IWN_DBG_HPET_MEM: 0xffff0000
firmware error log:
error type = "UNKNOWN" (0x00001987)
program counter = 0x000179B4

  source line     = 0x00000167
  error data      = 0x0000000000000000
  branch link     = 0x0001798200017982
  interrupt link  = 0x0000EC7A00000000
  time            = 46566

What I’m missing ?
What is meaning of firmware error ?

Quoted 6 lines
Quoted 3 lines

What distro?
If this is Debian or Ubuntu, this is not a vanilla but distro-patched kernel-version.

I'm working on freeBSD. So it's not a linux distro ;)

Hmmm, why are you asking on a Linux ML and miss to tell you are on FreeBSD? Better ask on a FreeBSD ML.

Quoted 7 lines
Quoted 4 lines

Can you provide more infos?
Your kernel-config file, dmesg output, name of loaded firmware file, etc.

For firmware : iwlwifi-2030-18.168.6.1.fw

Seems to be the latest fw for you:

Intel® Centrino® Wireless-N 2230 | 3.2+ | iwlwifi-2030-ucode-18.168.6.1.tgz

Quoted 2 lines

For the rest, I can send you what you wish, but it's not a linux output.

Not sure if this is really helpful.
Anyway, full logs seem sometimes to be more interesting.

I cannot help you - just giving general/common aid.

- Sedat -

Quoted 22 lines
Quoted 4 lines

Did you check for newer firmware files (see [1])?

Did you try a higher kernel-release?

Doesn't apply ;)

Quoted 11 lines

- Sedat -

[1] http://wireless.kernel.org/en/users/Drivers/iwlwifi

Quoted 6 lines

Many thanks for your help.

Best regards
Cedric

--

Thanks for help anyway.
Cedric

#4 lore raw
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 1 line

I’m trying to adapt current freebsd driver for supporting my 2230

NIC.

Quoted 9 lines

I try to follow ucode command order defined in kernel 3.2 but I reach some difficulties because firmware raise error.

Runtime uCode is alive. So far I sent calib result (cmd xB0), configured advanced BT coexistence (cmd x9B,xCC and xCD) running runtime calib (cmd
x65) but the command configuring valid chain (cmd x65) failed as the result below :

cmd 0x65? it is not valid chain command.

1987 means that you haven't sent the Xtal calibration.

#5 lore raw

Hello Emmanuel,

Quoted 12 lines

De : Emmanuel Grumbach [mailto:[email protected]] Envoyé : dimanche 14 juillet 2013 07:03
À : [email protected]
Cc : Cedric GROSS; linux-wireless
Objet : Re: Firmware error for Centrino N 2230

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line

I’m trying to adapt current freebsd driver for supporting my 2230

NIC.

Quoted 4 lines

I try to follow ucode command order defined in kernel 3.2 but I reach some difficulties because firmware raise error.

Quoted 7 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Runtime uCode is alive. So far I sent calib result (cmd xB0), configured advanced BT coexistence (cmd x9B,xCC and xCD) running runtime calib (cmd
x65) but the command configuring valid chain (cmd x65) failed as the result below :

cmd 0x65? it is not valid chain command.

Yep was typo, it's 0x98.

Quoted 2 lines

1987 means that you haven't sent the Xtal calibration.

Many many many thanks. I will check that tomorrow.

FreeBSD driver for intel wireless card is a bit old and need a lot of improvement to manage new NIC.
Is there a way to get all assert code meaning ? It could be really a big big help for me.

Best regards
Cedric

#6 lore raw
Quoted 6 lines

Many many many thanks. I will check that tomorrow.

FreeBSD driver for intel wireless card is a bit old and need a lot of improvement to manage new NIC.
Is there a way to get all assert code meaning ? It could be really a big big help for me.

Unfortunately not, but have you seen the "iwl" FreeBSD driver that we posted a while ago? That should help you some. Are you in contact with anyone else maybe?

johannes

#7 lore raw

Hello Johannes,

Quoted 6 lines

De : Johannes Berg [mailto:[email protected]] Envoyé : dimanche 14 juillet 2013 12:52
À : Cedric GROSS; Adrian Chadd

Quoted 2 lines

Many many many thanks. I will check that tomorrow.

Quoted 8 lines
Quoted 4 lines

FreeBSD driver for intel wireless card is a bit old and need a lot of improvement to manage new NIC.
Is there a way to get all assert code meaning ? It could be really a big big help for me.

Unfortunately not, but have you seen the "iwl" FreeBSD driver that we posted a while ago? That should help you some. Are you in contact with anyone else maybe?

I get this version of iwl : https://github.com/seanbruno/freebsd-iwl
But this one also doesn't work with my card. I also trying to modify for my NIC. For the moment I had a failure at the first RXON command.

I'm in contact only with Hiren Panchasara ([email protected]). I wrote to ilw at linux.intel.com also but no answer for the moment.

Quoted 2 lines

johannes