<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Madhusudan Singh</b> <<a href="mailto:singh.madhusudan@gmail.com">singh.madhusudan@gmail.com</a>><br>Date: Thu, Jul 10, 2008 at 9:35 AM<br>
Subject: Re: Messed up PCMCIA firmware<br>To: Pavel Roskin <<a href="mailto:proski@gnu.org">proski@gnu.org</a>><br><br><br>Thanks for your response. Here is the o/p of dmesg, immediately after inserting the card into the slot :<br>
<br>[ 342.623400] pccard: PCMCIA card inserted into slot 0<br>[ 342.623701] pcmcia: registering new device pcmcia0.0<br>
[ 342.623982] hostap_cs: setting Vcc=33 (constant)<br>[ 342.624038] Checking CFTABLE_ENTRY 0x01 (default 0x01)<br>[ 342.624045] IO window settings: cfg->io.nwin=1 dflt.io.nwin=1<br>[ 342.624052] io->flags = 0x0046, io.base=0x0000, len=64<br>
[ 342.625620] hostap_cs: Registered netdevice wifi0<br>[ 342.665401] hostap_cs: index 0x01: , irq 4, io 0xc100-0xc13f<br>[ 147.323335] hostap_cs: assuming no Primary image in flash - card initialization not completed<br>
[ 147.323346] wifi0: test Genesis mode with HCR 0x1f<br>[ 147.323363] prism2_pccard_cor_sreset: original COR 41<br>[ 147.327375] prism2_pccard_genesis_sreset: original COR 41<br>[ 147.357223] Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 04 a1 04<br>
[ 147.357226] wifi0: test Genesis mode with HCR 0x0f<br>[ 147.357239] prism2_pccard_cor_sreset: original COR 41<br>[ 147.361249] prism2_pccard_genesis_sreset: original COR 41<br>[ 147.391132] Readback test succeeded, HCR 0x0f<br>
[ 147.391145] prism2_pccard_genesis_sreset: original COR 41<br>[ 147.425640] wifi0: registered netdevice wlan0<br>[ 147.721971] wlan0: cannot get RID fdc6 (len=12) - no PRI f/w<br><br>Visually, the LED on the card comes on for a second or two and then switches off. The normal behaviour is steady light (when it finds a network) and blinking light (when it does not).<br>
<br>ifconfig does not show any wlan0/wifi0 interface after the insertion.<br><br><div class="gmail_quote"><div class="Ih2E3d">On Wed, Jul 9, 2008 at 1:38 PM, Pavel Roskin <<a href="mailto:proski@gnu.org" target="_blank">proski@gnu.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On Wed, 2008-07-09 at 12:05 -0700, Madhusudan Singh wrote:<br>
> Network card - Netgear MA401 Rev D<br>
><br>
> NICID x0800c (from what I remember). Initial firmware version <a href="http://1.0.0." target="_blank">1.0.0.</a><br>
<br>
</div>What does it mean? The initial firmware doesn't reside in the flash.<br>
It's loaded in genesis mode to allow flashing primary and secondary<br>
firmware.<br>
</blockquote></div><div><br>I am new to flashing firmware, so please bear with me.<br> <br></div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
If you mean that your original secondary firmware was 1.0.0, I don't<br>
think you got it right. The oldest firmware for 3842 I know is <a href="http://1.1.0." target="_blank">1.1.0.</a><br>
<div></div></blockquote></div><div><br>Then it must be the primary firmware.<br> <br></div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
> Tried to upgrade it to 1.8.2 because it did not support WPA2.<br>
> Followed Jun Sun's guide on flashing Intersil based chipsets with<br>
> version 1.8.2 :<br>
><br>
> <a href="http://linux.junsun.net/intersil-prism/" target="_blank">http://linux.junsun.net/intersil-prism/</a><br>
><br>
> prism2_srec failed to download the firmware on to the flash memory. It<br>
> also wiped out (apparently) the previous one (I used option -f).<br>
<br>
</div>Did you try to upgrade the primary firmware as well?<br>
<div></div></blockquote></div><div><br>I think so. I used option -f.<br> <br></div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
> Now, the card does not even register as a network interface (Readback<br>
> test fails complaining about missing primary firmware).<br>
<br>
</div>Please never rephrase error messages. Even little details may be<br>
helpful.<br>
<div></div></blockquote></div><div><br>See above.<br> <br></div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
<br>
> So, I do not know how I can use prism2_srec even if get the firmware<br>
> from somewhere.<br>
<br>
</div>You should be able to flash primary firmware in genesis mode and then<br>
flash secondary firmware.<br>
<div></div></blockquote></div><div><br>How do I do that (is it option -g ?) ? If so, what is the argument to the command (there is no wlan0 interface, remember) ?<br><br></div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br>
> What are my options ? How do I flash it with its original firmware (I<br>
> downloaded the contents of the initial CD from Netgear's website) ?<br>
<br>
</div>I don't think the initial firmware is needed for 3842 cards.<br>
<div><br>
> No. I did not make a backup copy of the original firmware :(<br>
<br>
</div>I don't think it's even possible to back up firmware from the card.<br>
There are areas in the firmware that are rewritten for the specific<br>
card.<br>
<br>
If you are going to write more about it, please mention the version of<br>
the software, i.e. the kernel and hostap-utils.<br>
</blockquote></div><div><br>The kernel is the latest Ubuntu hardy kernel :<br>2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux<br><br>hostap-utils - the latest Ubuntu Hardy version. I believe it is 1:0.4.0-1 :<br>
<br><a href="http://packages.ubuntu.com/hardy/net/hostap-utils" target="_blank">http://packages.ubuntu.com/hardy/net/hostap-utils</a><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
--<br>
Regards,<br>
<font color="#888888">Pavel Roskin<br>
</font></blockquote></div><br>With regards,<br><font color="#888888"><br>MS<br>
</font></div><br>