All of lore.kernel.org
 help / color / mirror / Atom feed
* Firmware error for Centrino N 2230
@ 2013-07-13 10:12 Cedric GROSS
  2013-07-13 11:03 ` Sedat Dilek
  0 siblings, 1 reply; 8+ messages in thread
From: Cedric GROSS @ 2013-07-13 10:12 UTC (permalink / raw)
  To: linux-wireless

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Firmware error for Centrino N 2230
  2013-07-13 10:12 Firmware error for Centrino N 2230 Cedric GROSS
@ 2013-07-13 11:03 ` Sedat Dilek
  2013-07-13 11:15   ` Cedric GROSS
  0 siblings, 1 reply; 8+ messages in thread
From: Sedat Dilek @ 2013-07-13 11:03 UTC (permalink / raw)
  To: Cedric GROSS; +Cc: linux-wireless

On Sat, Jul 13, 2013 at 12:12 PM, Cedric GROSS <cg@cgross.info> wrote:
> 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 ?
>

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

> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: Firmware error for Centrino N 2230
  2013-07-13 11:03 ` Sedat Dilek
@ 2013-07-13 11:15   ` Cedric GROSS
  2013-07-13 11:26     ` Sedat Dilek
  0 siblings, 1 reply; 8+ messages in thread
From: Cedric GROSS @ 2013-07-13 11:15 UTC (permalink / raw)
  To: sedat.dilek; +Cc: linux-wireless

Hello Sedat,

> -----Message d'origine-----
> De : Sedat Dilek [mailto:sedat.dilek@gmail.com]
> Envoyé : samedi 13 juillet 2013 13:04
> À : Cedric GROSS
> Cc : linux-wireless@vger.kernel.org
> Objet : Re: Firmware error for Centrino N 2230
> 
> On Sat, Jul 13, 2013 at 12:12 PM, Cedric GROSS <cg@cgross.info> wrote:
> > 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 ?
> >
> 
> 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 ;)

> 
> 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.

> 
> Did you check for newer firmware files (see [1])?
> 
> Did you try a higher kernel-release?

Doesn't apply ;)

> 
> - Sedat -
> 
> [1] http://wireless.kernel.org/en/users/Drivers/iwlwifi
> 
> > Many thanks for your help.
> >
> > Best regards
> > Cedric
> >
> > --

Thanks for help anyway.
Cedric


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Firmware error for Centrino N 2230
  2013-07-13 11:15   ` Cedric GROSS
@ 2013-07-13 11:26     ` Sedat Dilek
  2013-07-14  5:03       ` Emmanuel Grumbach
  0 siblings, 1 reply; 8+ messages in thread
From: Sedat Dilek @ 2013-07-13 11:26 UTC (permalink / raw)
  To: Cedric GROSS; +Cc: linux-wireless

On Sat, Jul 13, 2013 at 1:15 PM, Cedric GROSS <cg@cgross.info> wrote:
> Hello Sedat,
>
>> -----Message d'origine-----
>> De : Sedat Dilek [mailto:sedat.dilek@gmail.com]
>> Envoyé : samedi 13 juillet 2013 13:04
>> À : Cedric GROSS
>> Cc : linux-wireless@vger.kernel.org
>> Objet : Re: Firmware error for Centrino N 2230
>>
>> On Sat, Jul 13, 2013 at 12:12 PM, Cedric GROSS <cg@cgross.info> wrote:
>> > 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 ?
>> >
>>
>> 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.

>>
>> 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

> 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 -

>>
>> Did you check for newer firmware files (see [1])?
>>
>> Did you try a higher kernel-release?
>
> Doesn't apply ;)
>
>>
>> - Sedat -
>>
>> [1] http://wireless.kernel.org/en/users/Drivers/iwlwifi
>>
>> > Many thanks for your help.
>> >
>> > Best regards
>> > Cedric
>> >
>> > --
>
> Thanks for help anyway.
> Cedric
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Firmware error for Centrino N 2230
  2013-07-13 11:26     ` Sedat Dilek
@ 2013-07-14  5:03       ` Emmanuel Grumbach
  2013-07-14  9:47         ` Cedric GROSS
  0 siblings, 1 reply; 8+ messages in thread
From: Emmanuel Grumbach @ 2013-07-14  5:03 UTC (permalink / raw)
  To: sedat.dilek; +Cc: Cedric GROSS, linux-wireless

>>> > 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 :

cmd 0x65? it is not valid chain command.

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: Firmware error for Centrino N 2230
  2013-07-14  5:03       ` Emmanuel Grumbach
@ 2013-07-14  9:47         ` Cedric GROSS
  2013-07-14 10:51           ` Johannes Berg
  0 siblings, 1 reply; 8+ messages in thread
From: Cedric GROSS @ 2013-07-14  9:47 UTC (permalink / raw)
  To: 'Emmanuel Grumbach'; +Cc: 'linux-wireless'

Hello Emmanuel,

> De : Emmanuel Grumbach [mailto:egrumbach@gmail.com]
> Envoyé : dimanche 14 juillet 2013 07:03
> À : sedat.dilek@gmail.com
> Cc : Cedric GROSS; linux-wireless
> Objet : Re: Firmware error for Centrino N 2230
> 
> >>> > 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 :
> 
> cmd 0x65? it is not valid chain command.

Yep was typo, it's 0x98.

> 
> 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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: Firmware error for Centrino N 2230
  2013-07-14  9:47         ` Cedric GROSS
@ 2013-07-14 10:51           ` Johannes Berg
  2013-07-15  8:21             ` Cedric GROSS
  0 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2013-07-14 10:51 UTC (permalink / raw)
  To: Cedric GROSS, Adrian Chadd
  Cc: 'Emmanuel Grumbach', 'linux-wireless',
	linux-wireless-owner

> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: Firmware error for Centrino N 2230
  2013-07-14 10:51           ` Johannes Berg
@ 2013-07-15  8:21             ` Cedric GROSS
  0 siblings, 0 replies; 8+ messages in thread
From: Cedric GROSS @ 2013-07-15  8:21 UTC (permalink / raw)
  To: 'Johannes Berg'; +Cc: 'linux-wireless', 'Adrian Chadd'

Hello Johannes,

> De : Johannes Berg [mailto:johannes@sipsolutions.net]
> Envoyé : dimanche 14 juillet 2013 12:52
> À : Cedric GROSS; Adrian Chadd
> 
> > 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?

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 (hiren@freebsd.org).
I wrote to ilw at linux.intel.com also but no answer for the moment.

> 
> johannes


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-07-15  8:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-13 10:12 Firmware error for Centrino N 2230 Cedric GROSS
2013-07-13 11:03 ` Sedat Dilek
2013-07-13 11:15   ` Cedric GROSS
2013-07-13 11:26     ` Sedat Dilek
2013-07-14  5:03       ` Emmanuel Grumbach
2013-07-14  9:47         ` Cedric GROSS
2013-07-14 10:51           ` Johannes Berg
2013-07-15  8:21             ` Cedric GROSS

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.