<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Madhusudan Singh</b> &lt;<a href="mailto:singh.madhusudan@gmail.com">singh.madhusudan@gmail.com</a>&gt;<br>Date: Thu, Jul 10, 2008 at 9:35 AM<br>
Subject: Re: Messed up PCMCIA firmware<br>To: Pavel Roskin &lt;<a href="mailto:proski@gnu.org">proski@gnu.org</a>&gt;<br><br><br>Thanks for your response. Here is the o/p of dmesg, immediately after inserting the card into the slot :<br>
<br>[&nbsp; 342.623400] pccard: PCMCIA card inserted into slot 0<br>[&nbsp; 342.623701] pcmcia: registering new device pcmcia0.0<br>
[&nbsp; 342.623982] hostap_cs: setting Vcc=33 (constant)<br>[&nbsp; 342.624038] Checking CFTABLE_ENTRY 0x01 (default 0x01)<br>[&nbsp; 342.624045] IO window settings: cfg-&gt;io.nwin=1 dflt.io.nwin=1<br>[&nbsp; 342.624052] io-&gt;flags = 0x0046, io.base=0x0000, len=64<br>

[&nbsp; 342.625620] hostap_cs: Registered netdevice wifi0<br>[&nbsp; 342.665401] hostap_cs: index 0x01: , irq 4, io 0xc100-0xc13f<br>[&nbsp; 147.323335] hostap_cs: assuming no Primary image in flash - card initialization not completed<br>

[&nbsp; 147.323346] wifi0: test Genesis mode with HCR 0x1f<br>[&nbsp; 147.323363] prism2_pccard_cor_sreset: original COR 41<br>[&nbsp; 147.327375] prism2_pccard_genesis_sreset: original COR 41<br>[&nbsp; 147.357223] Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 04 a1 04<br>

[&nbsp; 147.357226] wifi0: test Genesis mode with HCR 0x0f<br>[&nbsp; 147.357239] prism2_pccard_cor_sreset: original COR 41<br>[&nbsp; 147.361249] prism2_pccard_genesis_sreset: original COR 41<br>[&nbsp; 147.391132] Readback test succeeded, HCR 0x0f<br>

[&nbsp; 147.391145] prism2_pccard_genesis_sreset: original COR 41<br>[&nbsp; 147.425640] wifi0: registered netdevice wlan0<br>[&nbsp; 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&nbsp; at 1:38 PM, Pavel Roskin &lt;<a href="mailto:proski@gnu.org" target="_blank">proski@gnu.org</a>&gt; 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>
&gt; Network card - Netgear MA401 Rev D<br>
&gt;<br>
&gt; 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? &nbsp;The initial firmware doesn&#39;t reside in the flash.<br>
It&#39;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>&nbsp;<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&#39;t<br>
think you got it right. &nbsp;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>&nbsp;<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>
&gt; &nbsp;Tried to upgrade it to 1.8.2 because it did not support WPA2.<br>
&gt; Followed Jun Sun&#39;s guide on flashing Intersil based chipsets with<br>
&gt; version 1.8.2 :<br>
&gt;<br>
&gt; <a href="http://linux.junsun.net/intersil-prism/" target="_blank">http://linux.junsun.net/intersil-prism/</a><br>
&gt;<br>
&gt; prism2_srec failed to download the firmware on to the flash memory. It<br>
&gt; 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>&nbsp;<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>
&gt; Now, the card does not even register as a network interface (Readback<br>
&gt; test fails complaining about missing primary firmware).<br>
<br>
</div>Please never rephrase error messages. &nbsp;Even little details may be<br>
helpful.<br>
<div></div></blockquote></div><div><br>See above.<br>&nbsp;<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>
&gt; &nbsp;So, I do not know how I can use prism2_srec even if get the firmware<br>
&gt; 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>
&gt; What are my options ? How do I flash it with its original firmware (I<br>
&gt; downloaded the contents of the initial CD from Netgear&#39;s website) ?<br>
<br>
</div>I don&#39;t think the initial firmware is needed for 3842 cards.<br>
<div><br>
&gt; No. I did not make a backup copy of the original firmware :(<br>
<br>
</div>I don&#39;t think it&#39;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>&nbsp;</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>