From hostap-bounces+jsun=junsun.net@shmoo.com Sun Nov 2 15:46:26 2003 Return-Path: Received: from mail.iocaine.com ([206.168.146.149]) by gateway.junsun.net (8.12.8/8.12.8) with ESMTP id hA2NkP8G004431 for ; Sun, 2 Nov 2003 15:46:25 -0800 Received: from sisyphus.iocaine.com (localhost [127.0.0.1]) by mail.iocaine.com (Postfix) with ESMTP id B614F12F38 for ; Sun, 2 Nov 2003 16:40:19 -0700 (MST) X-Original-To: hostap@shmoo.com Delivered-To: hostap@mail.iocaine.com Received: from natsmtp01.rzone.de (natsmtp01.rzone.de [81.169.145.166]) by mail.iocaine.com (Postfix) with ESMTP id 5B65CEB52 for ; Sun, 2 Nov 2003 16:39:47 -0700 (MST) Received: from falzeben.tieck (p508074CE.dip.t-dialin.net [80.128.116.206]) by post.webmailer.de (8.12.10/8.12.10) with ESMTP id hA2Ndg5M029667; Mon, 3 Nov 2003 00:39:43 +0100 (MET) Received: from hoffmann-augsburg.de (localhost [127.0.0.1]) by falzeben.tieck (Postfix) with ESMTP id DDE1F988A6; Sun, 2 Nov 2003 22:39:58 +0100 (CET) Message-ID: <3FA579AE.3050708@hoffmann-augsburg.de> Date: Sun, 02 Nov 2003 22:39:58 +0100 From: Ingo Hoffmann User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.3) Gecko/20030312 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: hostap@shmoo.com Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Severe problem during download of Firmware makes PCI card useless X-BeenThere: hostap@shmoo.com X-Mailman-Version: 2.1.2 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: hostap-bounces+jsun=junsun.net@shmoo.com Errors-To: hostap-bounces+jsun=junsun.net@shmoo.com X-Spam-Status: No, hits=-1.2 required=5.0 tests=BALANCE_FOR_LONG_20K,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.44 X-Spam-Level: Status: RO Content-Length: 21041 Lines: 473 I tried to upgrade the firmware of my Prism V2.5 PCI based card (Allnet 191), because the firmware on the card seemed to be rather old. (V 1.3.5). I tried to follow the instruction in Jun Sun's mini howto. (http://linux.junsun.net/intersil-prism/) very closely. After having tried the dry run as suggested (Even if I didn't understand every message of this dry run I saw the OK at the very end, so I thought it was OK.) I ran the real command as you can see from the log and kept fingers crossed a suggested. Unfortunately after having started smoothly the download aborted as can be seen from the attached logs! This was the worst case because afterwards the card was useless. It was not possible to load the driver under Linux and a tried even under W2k and failed as well. So now I have the situation, that I need help to reflash the card, because I can't use it anymore! Can somebody help? I would also be interested whether there is a place where I could send the card to get it reflashed. Diffferent suggetions? Every hint would be greatly appreciated! Regards Ingo # /tmp/hostap-utils-0.1.0/prism2_srec -v wlan0 /tmp/Intersil/1.7.4/pk010101.hex /home/imh/TXT/Firmware/WLAN/Intersil/1.7.4/rf010704.hex S3 CRC-16 generation record: start=0x007E17FE len=2 prog=0 Start address 0x00000000 srec summary for pk010101.hex Component: 0x0015 1.1.1 (primary firmware) Supported platforms: 0x800c 1.0.0, 0x8013 1.0.0, 0x8017 1.0.0, 0x801b 1.0.0, 0x8022 1.0.0 Interface compatibility information: role=Supplier variant=1 range=4-4 iface=Primary Firmware-Driver (3) role=Actor variant=2 range=1-1 iface=Controller-Firmware (2) Separate S3 data areas: S3 area count: 3 addr=0x007E0000..0x007E0B55 (len=2902) addr=0x007E0C00..0x007E151F (len=2336) addr=0x007E17FE..0x007E17FF (len=2) Total data length: 5240 Start address 0x00000000 Special S3 firmware info record - name 'RF010704.HEX' Start address 0x003f0c01 S3 CRC-16 generation record: start=0x007E1800 len=65414 prog=1 srec summary for rf010704.hex Included file name: RF010704.HEX Component: 0x001f 1.7.4 (station firmware) Supported platforms: 0x800a 1.0.0, 0x800b 1.0.0, 0x800c 1.0.0, 0x800d 1.0.0, 0x8012 1.0.0 0x8013 1.0.0, 0x8014 1.0.0, 0x8016 1.0.0, 0x8017 1.0.0, 0x8018 1.0.0 0x801a 1.0.0, 0x801b 1.0.0, 0x801c 1.0.0, 0x8021 1.0.0, 0x8022 1.0.0 0x8023 1.0.0, 0x800a 1.0.0, 0x800e 1.0.0, 0x8015 1.0.0, 0x8019 1.0.0 0x801d 1.0.0, 0x8024 1.0.0 Interface compatibility information: role=Supplier variant=4 range=1-12 iface=Station Firmware-Driver (4) role=Actor variant=1 range=1-1 iface=Modem-Firmware (1) role=Actor variant=2 range=1-1 iface=Controller-Firmware (2) role=Actor variant=1 range=4-4 iface=Primary Firmware-Driver (3) Separate S3 data areas: S3 area count: 3 addr=0x007E1800..0x007EE28D (len=51854) addr=0x007F0800..0x007F1785 (len=3974) addr=0x007FE000..0x007FECC5 (len=3270) Total data length: 59098 Start address 0x003f0c01 Wireless LAN card information: Components: NICID: 0x8013 v1.0.0 PRIID: 0x0015 v1.0.5 STAID: 0x001f v1.3.4 Interface compatibility information: PRI role=Supplier variant=1 range=1-1 iface=Modem-Firmware (1) PRI role=Supplier variant=2 range=1-1 iface=Controller-Firmware (2) PRI role=Supplier variant=1 range=1-3 iface=Primary Firmware-Driver (3) STA role=Supplier variant=1 range=1-9 iface=Station Firmware-Driver (4) PRI role=Actor variant=2 range=1-1 iface=Controller-Firmware (2) STA role=Actor variant=2 range=1-1 iface=Controller-Firmware (2) STA role=Actor variant=1 range=1-1 iface=Modem-Firmware (1) Verifying update compatibility and combining data: Plugging PDR 0xffffffff at 0x007e1510 (len=14) Plugging PDR 0x0003 at 0x007e14b8 (len=12) Plugging PDR 0x0005 at 0x007e1310 (len=2) PDR 0x0005 not found from wlan card PDA. Using default data. len=2: 00 01 Plugging PDR 0x0006 at 0x007e14f0 (len=10) Plugging PDR 0x0007 at 0x007e1504 (len=10) Plugging PDR 0x0008 at 0x007e14c4 (len=8) Plugging PDR 0x0400 at 0x007e1314 (len=2) Plugging PDR 0x0402 at 0x007e131e (len=4) Plugging PDR 0x0403 at 0x007e1316 (len=16) Plugging PDR 0x0404 at 0x007e1326 (len=10) Plugging PDR 0x0408 at 0x007e1312 (len=2) PDR 0x0408 not found from wlan card PDA. Using default data. len=2: 64 00 Plugging PDR 0x0001 at 0x007e14cc (len=16) Plug record length mismatch (PDR=0x0001): 12 != 16 ==> extend from default PRI: old iface 1:1-3 new iface 1:4-4 Plugging PDR 0x0202 at 0x007f11ee (len=100) Plugging PDR 0x0203 at 0x007f1252 (len=128) Plugging PDR 0x0204 at 0x007f13d2 (len=80) Plugging PDR 0x0405 at 0x007f1422 (len=4) PDR 0x0405 not found from wlan card PDA. Using default data. len=4: 00 00 00 30 Plugging PDR 0x0300 at 0x007f1426 (len=28) Plugging PDR 0x0301 at 0x007f1442 (len=34) Plugging PDR 0x0101 at 0x007f163a (len=6) Plugging PDR 0x0103 at 0x007edd74 (len=12) Plugging PDR 0x0104 at 0x007edeaa (len=2) Plugging PDR 0x0105 at 0x007f1646 (len=2) Plugging PDR 0x0105 at 0x007edee0 (len=2) Plugging PDR 0x0105 at 0x007f1742 (len=2) Plugging PDR 0x0107 at 0x007edd82 (len=2) Plugging PDR 0x0006 at 0x007edd4e (len=10) Plugging PDR 0x0406 at 0x007f16da (len=2) PDR 0x0406 not found from wlan card PDA. Using default data. len=2: 64 00 Plugging PDR 0x0302 at 0x007f146a (len=2) PDR 0x0302 not found from wlan card PDA. Using default data. len=2: 12 00 Plugging PDR 0x0303 at 0x007f146c (len=2) PDR 0x0303 not found from wlan card PDA. Using default data. len=2: ff 1f Plugging PDR 0x0412 at 0x007edf02 (len=6) PDR 0x0412 not found from wlan card PDA. Using default data. len=6: ff ff 02 00 02 00 Generating CRC-16 (start=0x007e1800, len=65414) at 0x007e17fe Allowing S3 overlap due to CRC-16 signature at 0x007e17fe (was: ffff) After srec file merge S3 area count: 5 addr=0x007E0000..0x007E0B55 (len=2902) addr=0x007E0C00..0x007E151F (len=2336) addr=0x007E17FE..0x007EE28D (len=51856) addr=0x007F0800..0x007F1785 (len=3974) addr=0x007FE000..0x007FECC5 (len=3270) Total data length: 64338 OK. # /tmp/hostap-utils-0.1.0/prism2_srec -v -f wlan0 /tmp/Intersil/1.7.4/pk010101.hex /home/imh/TXT/Firmware/WLAN/Intersil/1.7.4/rf010704.hex S3 CRC-16 generation record: start=0x007E17FE len=2 prog=0 Start address 0x00000000 srec summary for pk010101.hex Component: 0x0015 1.1.1 (primary firmware) Supported platforms: 0x800c 1.0.0, 0x8013 1.0.0, 0x8017 1.0.0, 0x801b 1.0.0, 0x8022 1.0.0 Interface compatibility information: role=Supplier variant=1 range=4-4 iface=Primary Firmware-Driver (3) role=Actor variant=2 range=1-1 iface=Controller-Firmware (2) Separate S3 data areas: S3 area count: 3 addr=0x007E0000..0x007E0B55 (len=2902) addr=0x007E0C00..0x007E151F (len=2336) addr=0x007E17FE..0x007E17FF (len=2) Total data length: 5240 Start address 0x00000000 Special S3 firmware info record - name 'RF010704.HEX' Start address 0x003f0c01 S3 CRC-16 generation record: start=0x007E1800 len=65414 prog=1 srec summary for rf010704.hex Included file name: RF010704.HEX Component: 0x001f 1.7.4 (station firmware) Supported platforms: 0x800a 1.0.0, 0x800b 1.0.0, 0x800c 1.0.0, 0x800d 1.0.0, 0x8012 1.0.0 0x8013 1.0.0, 0x8014 1.0.0, 0x8016 1.0.0, 0x8017 1.0.0, 0x8018 1.0.0 0x801a 1.0.0, 0x801b 1.0.0, 0x801c 1.0.0, 0x8021 1.0.0, 0x8022 1.0.0 0x8023 1.0.0, 0x800a 1.0.0, 0x800e 1.0.0, 0x8015 1.0.0, 0x8019 1.0.0 0x801d 1.0.0, 0x8024 1.0.0 Interface compatibility information: role=Supplier variant=4 range=1-12 iface=Station Firmware-Driver (4) role=Actor variant=1 range=1-1 iface=Modem-Firmware (1) role=Actor variant=2 range=1-1 iface=Controller-Firmware (2) role=Actor variant=1 range=4-4 iface=Primary Firmware-Driver (3) Separate S3 data areas: S3 area count: 3 addr=0x007E1800..0x007EE28D (len=51854) addr=0x007F0800..0x007F1785 (len=3974) addr=0x007FE000..0x007FECC5 (len=3270) Total data length: 59098 Start address 0x003f0c01 Wireless LAN card information: Components: NICID: 0x8013 v1.0.0 PRIID: 0x0015 v1.0.5 STAID: 0x001f v1.3.4 Interface compatibility information: PRI role=Supplier variant=1 range=1-1 iface=Modem-Firmware (1) PRI role=Supplier variant=2 range=1-1 iface=Controller-Firmware (2) PRI role=Supplier variant=1 range=1-3 iface=Primary Firmware-Driver (3) STA role=Supplier variant=1 range=1-9 iface=Station Firmware-Driver (4) PRI role=Actor variant=2 range=1-1 iface=Controller-Firmware (2) STA role=Actor variant=2 range=1-1 iface=Controller-Firmware (2) STA role=Actor variant=1 range=1-1 iface=Modem-Firmware (1) Verifying update compatibility and combining data: Plugging PDR 0xffffffff at 0x007e1510 (len=14) Plugging PDR 0x0003 at 0x007e14b8 (len=12) Plugging PDR 0x0005 at 0x007e1310 (len=2) PDR 0x0005 not found from wlan card PDA. Using default data. len=2: 00 01 Plugging PDR 0x0006 at 0x007e14f0 (len=10) Plugging PDR 0x0007 at 0x007e1504 (len=10) Plugging PDR 0x0008 at 0x007e14c4 (len=8) Plugging PDR 0x0400 at 0x007e1314 (len=2) Plugging PDR 0x0402 at 0x007e131e (len=4) Plugging PDR 0x0403 at 0x007e1316 (len=16) Plugging PDR 0x0404 at 0x007e1326 (len=10) Plugging PDR 0x0408 at 0x007e1312 (len=2) PDR 0x0408 not found from wlan card PDA. Using default data. len=2: 64 00 Plugging PDR 0x0001 at 0x007e14cc (len=16) Plug record length mismatch (PDR=0x0001): 12 != 16 ==> extend from default PRI: old iface 1:1-3 new iface 1:4-4 Plugging PDR 0x0202 at 0x007f11ee (len=100) Plugging PDR 0x0203 at 0x007f1252 (len=128) Plugging PDR 0x0204 at 0x007f13d2 (len=80) Plugging PDR 0x0405 at 0x007f1422 (len=4) PDR 0x0405 not found from wlan card PDA. Using default data. len=4: 00 00 00 30 Plugging PDR 0x0300 at 0x007f1426 (len=28) Plugging PDR 0x0301 at 0x007f1442 (len=34) Plugging PDR 0x0101 at 0x007f163a (len=6) Plugging PDR 0x0103 at 0x007edd74 (len=12) Plugging PDR 0x0104 at 0x007edeaa (len=2) Plugging PDR 0x0105 at 0x007f1646 (len=2) Plugging PDR 0x0105 at 0x007edee0 (len=2) Plugging PDR 0x0105 at 0x007f1742 (len=2) Plugging PDR 0x0107 at 0x007edd82 (len=2) Plugging PDR 0x0006 at 0x007edd4e (len=10) Plugging PDR 0x0406 at 0x007f16da (len=2) PDR 0x0406 not found from wlan card PDA. Using default data. len=2: 64 00 Plugging PDR 0x0302 at 0x007f146a (len=2) PDR 0x0302 not found from wlan card PDA. Using default data. len=2: 12 00 Plugging PDR 0x0303 at 0x007f146c (len=2) PDR 0x0303 not found from wlan card PDA. Using default data. len=2: ff 1f Plugging PDR 0x0412 at 0x007edf02 (len=6) PDR 0x0412 not found from wlan card PDA. Using default data. len=6: ff ff 02 00 02 00 Generating CRC-16 (start=0x007e1800, len=65414) at 0x007e17fe Allowing S3 overlap due to CRC-16 signature at 0x007e17fe (was: ffff) After srec file merge S3 area count: 5 addr=0x007E0000..0x007E0B55 (len=2902) addr=0x007E0C00..0x007E151F (len=2336) addr=0x007E17FE..0x007EE28D (len=51856) addr=0x007F0800..0x007F1785 (len=3974) addr=0x007FE000..0x007FECC5 (len=3270) Total data length: 64338 OK. Downloading to non-volatile memory (flash). Note! This can take about 30 seconds. Do _not_ remove card during download. ioctl[PRISM2_IOCTL_DOWNLOAD]: Operation not permitted Download failed! /var/log/messages: Nov 2 00:11:07 linux kernel: hostap_crypt: registered algorithm 'NULL' Nov 2 00:11:07 linux kernel: hostap_pci: 0.1.1 - 2003-10-19 (Jouni Malinen ) Nov 2 00:11:07 linux kernel: hostap_pci: Registered netdevice wlan0 Nov 2 00:11:08 linux kernel: prism2_hw_init: initialized in 198 ms Nov 2 00:11:08 linux kernel: wlan0: trying to read PDA from 0x007f0000: OK Nov 2 00:11:08 linux kernel: wlan0: NIC: id=0x8013 v1.0.0 Nov 2 00:11:08 linux kernel: wlan0: PRI: id=0x15 v1.0.5 Nov 2 00:11:08 linux kernel: wlan0: STA: id=0x1f v1.3.4 Nov 2 00:11:08 linux kernel: wlan0: defaulting to host-based encryption as a workaround for firmware bug in Host AP mode WEP Nov 2 00:11:08 linux kernel: wlan0: defaulting to bogus WDS frame as a workaround for firmware bug in Host AP mode WDS Nov 2 00:11:08 linux kernel: wlan0: Intersil Prism2.5 PCI: mem=0xcddff000, irq=11 Nov 2 00:11:16 linux /etc/hotplug/net.agent[1900]: No HW description found ... exiting Nov 2 00:14:38 linux kernel: prism2_download: dl_cmd=3 start_addr=0x00000000 num_areas=5 Nov 2 00:14:38 linux kernel: area 0: addr=0x007e0000 len=2902 ptr=0x080527f8 Nov 2 00:14:38 linux kernel: area 1: addr=0x007e0c00 len=2336 ptr=0x08053358 Nov 2 00:14:38 linux kernel: area 2: addr=0x007e17fe len=51856 ptr=0x08056db8 Nov 2 00:14:38 linux kernel: area 3: addr=0x007f0800 len=3974 ptr=0x0804fb48 Nov 2 00:14:38 linux kernel: area 4: addr=0x007fe000 len=3270 ptr=0x08050ad8 Nov 2 00:14:38 linux kernel: Download buffer: 4096 bytes at 0x0060:0x0000 Nov 2 00:14:44 linux kernel: prism2_hw_init: initialized in 82 ms Nov 2 00:14:44 linux kernel: wlan0: starting flash download Nov 2 00:14:44 linux kernel: hostap_pci: card initialization timed out Nov 2 00:14:44 linux kernel: wlan0: Card configuration after flash download failed Nov 2 00:15:05 linux kernel: wlan0: hfa384x_cmd: entry still in list? (entry=c943f280, type=0, res=0) Nov 2 00:15:05 linux kernel: wlan0: hfa384x_cmd: command was not completed (res=0, entry=c943f280, type=0, cmd=0x0021, param0=0xfdc6, EVSTAT=8010 INTEN=0000) Nov 2 00:15:05 linux kernel: wlan0: interrupt delivery does not seem to work Nov 2 00:15:05 linux kernel: wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fdc6, len=12) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: entry still in list? (entry=c943f280, type=0, res=0) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: command was not completed (res=0, entry=c943f280, type=0, cmd=0x0021, param0=0xfdc6, EVSTAT=8010 INTEN=0000) Nov 2 00:15:07 linux kernel: wlan0: interrupt delivery does not seem to work Nov 2 00:15:07 linux kernel: wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fdc6, len=12) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue - timeout - reg=0x8021 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: entry still in list? (entry=c943f280, type=0, res=-1) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: interrupted; err=-110 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fdc1, len=2) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue - timeout - reg=0x8021 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: entry still in list? (entry=c943f280, type=0, res=-1) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: interrupted; err=-110 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc06, len=2) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue - timeout - reg=0x8021 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: entry still in list? (entry=c943f280, type=0, res=-1) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: interrupted; err=-110 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd42, len=6) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue - timeout - reg=0x8021 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: entry still in list? (entry=c943f440, type=0, res=-1) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: interrupted; err=-110 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc0e, len=34) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue - timeout - reg=0x8021 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: entry still in list? (entry=c943f280, type=0, res=-1) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: interrupted; err=-110 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc84, len=2) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue - timeout - reg=0x8021 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: entry still in list? (entry=c943f280, type=0, res=-1) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: interrupted; err=-110 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc83, len=2) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue - timeout - reg=0x8021 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: entry still in list? (entry=c943f280, type=0, res=-1) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: interrupted; err=-110 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc82, len=2) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue - timeout - reg=0x8021 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: entry still in list? (entry=c943f280, type=0, res=-1) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: interrupted; err=-110 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc09, len=2) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd_issue - timeout - reg=0x8021 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: entry still in list? (entry=c943f280, type=0, res=-1) Nov 2 00:15:07 linux kernel: wlan0: hfa384x_cmd: interrupted; err=-110 Nov 2 00:15:07 linux kernel: wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd48, len=2) Nov 2 00:16:18 linux kernel: hostap_pci: Driver unloaded Nov 2 00:16:18 linux kernel: hostap_crypt: unregistered algorithm 'NULL' (deinit) Nov 2 00:16:26 linux /etc/hotplug/net.agent[1950]: No HW description found ... exiting Nov 2 00:16:36 linux kernel: hostap_crypt: registered algorithm 'NULL' Nov 2 00:16:36 linux kernel: hostap_pci: 0.1.1 - 2003-10-19 (Jouni Malinen ) Nov 2 00:16:36 linux kernel: hostap_pci: Registered netdevice wlan0 Nov 2 00:16:36 linux kernel: hostap_pci: card initialization timed out Nov 2 00:16:36 linux kernel: hostap_pci: hardware initialization failed Nov 2 00:16:36 linux kernel: hostap_pci: No devices found, driver not installed. Nov 2 00:16:36 linux kernel: hostap_crypt: unregistered algorithm 'NULL' (deinit) Nov 2 00:16:36 linux kernel: hostap_crypt: registered algorithm 'NULL' Nov 2 00:16:36 linux kernel: hostap_pci: 0.1.1 - 2003-10-19 (Jouni Malinen ) Nov 2 00:16:36 linux kernel: hostap_pci: Registered netdevice wlan0 Nov 2 00:16:37 linux kernel: hostap_pci: card initialization timed out Nov 2 00:16:37 linux kernel: hostap_pci: hardware initialization failed Nov 2 00:16:37 linux kernel: hostap_pci: No devices found, driver not installed. Nov 2 00:16:37 linux kernel: hostap_crypt: unregistered algorithm 'NULL' (deinit) Nov 2 00:16:44 linux /etc/hotplug/net.agent[1976]: No HW description found ... exiting Nov 2 00:16:44 linux /etc/hotplug/net.agent[1993]: No HW description found ... exiting Nov 2 00:16:44 linux /etc/hotplug/net.agent[2010]: No HW description found ... exiting Nov 2 00:16:45 linux /etc/hotplug/net.agent[2028]: No HW description found ... exiting Nov 2 00:18:18 linux modprobe: modprobe: Can't locate module wlan0 A try to load the driver: modprobe hostap_pci /lib/modules/2.4.20-4GB-athlon/net/hostap_pci.o: init_module: No such device Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg /lib/modules/2.4.20-4GB-athlon/net/hostap_pci.o: insmod /lib/modules/2.4.20-4GB-athlon/net/hostap_pci.o failed /lib/modules/2.4.20-4GB-athlon/net/hostap_pci.o: insmod hostap_pci failed ==> /var/log/messages <== Nov 2 22:16:53 falzeben kernel: hostap_crypt: registered algorithm 'NULL' Nov 2 22:16:53 falzeben kernel: hostap_pci: 0.0.3 - 2003-05-18 (Jouni Malinen ) Nov 2 22:16:53 falzeben kernel: hostap_pci: Registered netdevice wlan0 Nov 2 22:16:53 falzeben kernel: prism2_hw_init() Nov 2 22:16:53 falzeben kernel: hostap_pci: card initialization timed out Nov 2 22:16:53 falzeben kernel: hostap_pci: Initialization failed Nov 2 22:16:53 falzeben kernel: hostap_pci: hardware initialization failed Nov 2 22:16:54 falzeben kernel: hostap_pci: Netdevice wlan0 unregistered Nov 2 22:16:54 falzeben kernel: hostap_pci: No devices found, driver not installed. Nov 2 22:16:54 falzeben kernel: hostap_crypt: unregistered algorithm 'NULL' (deinit) _______________________________________________ HostAP mailing list HostAP@shmoo.com http://lists.shmoo.com/mailman/listinfo/hostap From hostap-bounces+jsun=junsun.net@shmoo.com Sun Nov 2 16:44:04 2003 Return-Path: Received: from mail.iocaine.com ([206.168.146.149]) by gateway.junsun.net (8.12.8/8.12.8) with ESMTP id hA30i38G004545 for ; Sun, 2 Nov 2003 16:44:03 -0800 Received: from sisyphus.iocaine.com (localhost [127.0.0.1]) by mail.iocaine.com (Postfix) with ESMTP id D569415841 for ; Sun, 2 Nov 2003 17:37:57 -0700 (MST) X-Original-To: hostap@shmoo.com Delivered-To: hostap@mail.iocaine.com Received: from jm.kir.nu (dsl093-135-135.sfo4.dsl.speakeasy.net [66.93.135.135]) by mail.iocaine.com (Postfix) with ESMTP id A8AE6157A5 for ; Sun, 2 Nov 2003 17:37:36 -0700 (MST) Received: from jm by jm.kir.nu with local (Exim 4.21) id 1AGSia-00019k-KN for hostap@shmoo.com; Sun, 02 Nov 2003 16:37:16 -0800 Date: Sun, 2 Nov 2003 16:37:16 -0800 From: Jouni Malinen To: hostap@shmoo.com Message-ID: <20031103003716.GC3583@jm.kir.nu> Mail-Followup-To: hostap@shmoo.com References: <3FA579AE.3050708@hoffmann-augsburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FA579AE.3050708@hoffmann-augsburg.de> User-Agent: Mutt/1.5.4i Subject: Re: Severe problem during download of Firmware makes PCI card useless X-BeenThere: hostap@shmoo.com X-Mailman-Version: 2.1.2 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: hostap-bounces+jsun=junsun.net@shmoo.com Errors-To: hostap-bounces+jsun=junsun.net@shmoo.com X-Spam-Status: No, hits=-4.9 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT version=2.44 X-Spam-Level: Status: RO Content-Length: 2479 Lines: 52 On Sun, Nov 02, 2003 at 10:39:58PM +0100, Ingo Hoffmann wrote: > I tried to follow the instruction in Jun Sun's mini howto. > (http://linux.junsun.net/intersil-prism/) very closely. Missed one part about file names (see below).. Unfortunately, prism2_srec also missed verification code for noticing this automatically. I fixed this so that the current CVS version of prism2_srec does not allow this error anymore. > This was the worst case because afterwards the card was useless. It was > not possible to load the driver under Linux and a tried even under W2k > and failed as well. So now I have the situation, that I need help to > reflash the card, because I can't use it anymore! > > Can somebody help? I would also be interested whether there is a place > where I could send the card to get it reflashed. Diffferent suggetions? > Every hint would be greatly appreciated! Current Host AP driver does not allow cards to be flashed if they do not have working PRI f/w. However, this can be fixed and based on a recent email thread, it has already been done, although for a different need (for cards that do not include PRI or STA f/w images at all). I do not think the patch for this has been released (hint to the author: it could be useful for others, too ;-)), so I cannot pinpoint you to it now. I will take a look at what would be needed to change the driver to allow Genesis-mode operations with corrupted PRI f/w (i.e., continue minimal operation mode even if initialization fails). I'll try to reproduce this issue by flashing a PCI Prism2.5 card with the images you used.. In the mean while, you could also consider upgrading the flash with the DOS-based tool. Depending on what get corrupted in flash, it might be enough to just write the PRI and STA images again. Then again, it is also possible that PDA was corrupted and it would also need to be fixed. > # /tmp/hostap-utils-0.1.0/prism2_srec -v wlan0 > /tmp/Intersil/1.7.4/pk010101.hex > /home/imh/TXT/Firmware/WLAN/Intersil/1.7.4/rf010704.hex pk*.hex is non-volatile PRI f/w, but rf*.hex is _volatile_ STA f/w.. prism2_srec did not notice this difference and started happily flashing the RAM version to flash with most probably corrupting something. CVS version does not allow this anymore. -- Jouni Malinen PGP id EFC895FA _______________________________________________ HostAP mailing list HostAP@shmoo.com http://lists.shmoo.com/mailman/listinfo/hostap From hostap-bounces+jsun=junsun.net@shmoo.com Sun Nov 2 19:37:39 2003 Return-Path: Received: from mail.iocaine.com ([206.168.146.149]) by gateway.junsun.net (8.12.8/8.12.8) with ESMTP id hA33bc8G004849 for ; Sun, 2 Nov 2003 19:37:38 -0800 Received: from sisyphus.iocaine.com (localhost [127.0.0.1]) by mail.iocaine.com (Postfix) with ESMTP id 4ED5615831 for ; Sun, 2 Nov 2003 20:31:32 -0700 (MST) X-Original-To: hostap@shmoo.com Delivered-To: hostap@mail.iocaine.com Received: from jm.kir.nu (dsl093-135-135.sfo4.dsl.speakeasy.net [66.93.135.135]) by mail.iocaine.com (Postfix) with ESMTP id 3AC221579F for ; Sun, 2 Nov 2003 20:31:10 -0700 (MST) Received: from jm by jm.kir.nu with local (Exim 4.21) id 1AGVQW-0001uC-5q for hostap@shmoo.com; Sun, 02 Nov 2003 19:30:48 -0800 Date: Sun, 2 Nov 2003 19:30:48 -0800 From: Jouni Malinen To: hostap@shmoo.com Message-ID: <20031103033047.GA7032@jm.kir.nu> Mail-Followup-To: hostap@shmoo.com References: <3FA579AE.3050708@hoffmann-augsburg.de> <20031103003716.GC3583@jm.kir.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031103003716.GC3583@jm.kir.nu> User-Agent: Mutt/1.5.4i Subject: Re: Severe problem during download of Firmware makes PCI card useless X-BeenThere: hostap@shmoo.com X-Mailman-Version: 2.1.2 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: hostap-bounces+jsun=junsun.net@shmoo.com Errors-To: hostap-bounces+jsun=junsun.net@shmoo.com X-Spam-Status: No, hits=-4.9 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT version=2.44 X-Spam-Level: Status: RO Content-Length: 2736 Lines: 57 On Sun, Nov 02, 2003 at 04:37:16PM -0800, Jouni Malinen wrote: > I will take a look at what would be needed to change the driver to allow > Genesis-mode operations with corrupted PRI f/w (i.e., continue minimal > operation mode even if initialization fails). I added some preliminary code for this. A new module parameter, no_primary, can be used to allow initialization continue even if the card initialization times out. This might not be enough for all cases, but at least it was enough for this particular case. > I'll try to reproduce this issue by flashing a PCI Prism2.5 card with > the images you used.. In the mean while, you could also consider > upgrading the flash with the DOS-based tool. Depending on what get > corrupted in flash, it might be enough to just write the PRI and STA > images again. Then again, it is also possible that PDA was corrupted > and it would also need to be fixed. I was able to reproduce the issue by downloading the same images. I had a bit newer versions in the card before doing this, so the results may in theory be different, but I would assume we have the cards pretty much in identical state now. It looks like the PRI image was not completely destroyed, but something is broken.. Trying to write anything to flash at this point fails. However, I was able to download another PRI image to RAM using Genesis mode. Unfortunately, this did not fix flash download, but at least I could download RAM downloadable STA image afterwards. Thus, the card is actually working again. So, the bad news is that I don't yet know how to fix the flash contents. The good news is that the card can be made to work with RAM downloadable images. In addition, since I now have one of my cards in the same state, I have some extra motivation to figure out a way to fix the flash.. ;-) You can use following steps to get the card into working state using RAM download (this is of course assuming your card ended up in the same state than mine): - update to the latest CVS snapshot - load hostap_pci with no_primary set: insmod hostap_pci.o no_primary=1 - download volatile primary firmware using Genesis mode; optionally, make it persist hardware reset (but not driver unload): prism2_srec -gp wlan0 ak010101.hex - download volatile STA firmware (again, with persist mode): prism2_srec -rp wlan0 rf010704.hex Card should now be in fully operational state (well, apart from flash download). Please let me know, if this does not work with your card (include dmesg and prism2_srec output). -- Jouni Malinen PGP id EFC895FA _______________________________________________ HostAP mailing list HostAP@shmoo.com http://lists.shmoo.com/mailman/listinfo/hostap From hostap-bounces+jsun=junsun.net@shmoo.com Sun Nov 2 22:27:04 2003 Return-Path: Received: from mail.iocaine.com ([206.168.146.149]) by gateway.junsun.net (8.12.8/8.12.8) with ESMTP id hA36R38G005245 for ; Sun, 2 Nov 2003 22:27:03 -0800 Received: from sisyphus.iocaine.com (localhost [127.0.0.1]) by mail.iocaine.com (Postfix) with ESMTP id 095351581B for ; Sun, 2 Nov 2003 23:20:57 -0700 (MST) X-Original-To: hostap@shmoo.com Delivered-To: hostap@mail.iocaine.com Received: from firewall.chincogan.net.au. (async106.linknet.com.au [202.162.98.102]) by mail.iocaine.com (Postfix) with ESMTP id AF2B312ED9 for ; Sun, 2 Nov 2003 23:20:33 -0700 (MST) Received: from office01 ([192.168.201.25]) by firewall.chincogan.net.au. (8.12.3/8.12.3/Debian-6.6) with SMTP id h9TBnMjK019529; Wed, 29 Oct 2003 22:49:24 +1100 Date: Mon, 3 Nov 2003 17:24:27 +1100 From: Chincogan Network Services Lists To: hostap@shmoo.com Message-Id: <20031103172427.054a1887.lists@chincogan.net.au> In-Reply-To: <20031103033047.GA7032@jm.kir.nu> References: <3FA579AE.3050708@hoffmann-augsburg.de> <20031103003716.GC3583@jm.kir.nu> <20031103033047.GA7032@jm.kir.nu> Organization: Chincogan Network Services X-Mailer: Sylpheed version 0.7.2claws (GTK+ 1.2.10; i686-suse-linux) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: jkmaline@cc.hut.fi Subject: Re: Severe problem during download of Firmware makes PCI card useless X-BeenThere: hostap@shmoo.com X-Mailman-Version: 2.1.2 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: hostap-bounces+jsun=junsun.net@shmoo.com Errors-To: hostap-bounces+jsun=junsun.net@shmoo.com X-Spam-Status: No, hits=-1.5 required=5.0 tests=IN_REP_TO,NOSPAM_INC,QUOTED_EMAIL_TEXT,REFERENCES, SPAM_PHRASE_00_01 version=2.44 X-Spam-Level: Status: RO Content-Length: 2543 Lines: 55 Jouni, I also killed a card trying to d/l pri firmware, I tried to save it per your instructions and below is what I came up with. > - update to the latest CVS snapshot I used 0.1.2 as it was released after this E-mail. > - load hostap_pci with no_primary set: insmod hostap_pci.o no_primary=1 testbench1:/lib/modules/2.4.20/net# insmod hostap_pci.o no_primary=1 hostap_pci.o: unresolved symbol hostap_init_proc_R52d5aebd hostap_pci.o: unresolved symbol hostap_handle_sta_tx_R74edb965 hostap_pci.o: unresolved symbol hostap_info_process_R07b19c52 hostap_pci.o: unresolved symbol hostap_80211_get_hdrlen_R6903f16c hostap_pci.o: unresolved symbol hostap_free_data_Reaa0faa6 hostap_pci.o: unresolved symbol hostap_get_porttype_R85619685 hostap_pci.o: unresolved symbol hostap_netif_stop_queues_R82fd3eca hostap_pci.o: unresolved symbol hostap_80211_rx_Rc3f2e787 hostap_pci.o: unresolved symbol hostap_setup_dev_R79ee97bb hostap_pci.o: unresolved symbol hostap_set_auth_algs_R65a8dc98 hostap_pci.o: unresolved symbol hostap_handle_sta_release_R27df6133 hostap_pci.o: unresolved symbol hostap_info_init_R51e32c8b hostap_pci.o: unresolved symbol hostap_set_word_R84de05fa hostap_pci.o: unresolved symbol hostap_set_hostapd_R0c7a39e0 hostap_pci.o: unresolved symbol hostap_init_data_Ref19a08c hostap_pci.o: unresolved symbol hostap_get_stats_R4e723496 hostap_pci.o: unresolved symbol hostap_handle_sta_tx_exc_Rb68f7044 hostap_pci.o: unresolved symbol hostap_set_multicast_list_queue_Rc089a779 hostap_pci.o: unresolved symbol hostap_set_encryption_R418eb7bf hostap_pci.o: unresolved symbol hostap_set_antsel_Rb9293cba hostap_pci.o: unresolved symbol hostap_netif_wake_queues_Rfb84e565 hostap_pci.o: unresolved symbol hostap_dump_rx_header_R27a069d6 hostap_pci.o: unresolved symbol hostap_remove_proc_Rcffab782 hostap_pci.o: unresolved symbol hostap_dump_tx_header_R3abcbf80 hostap_pci.o: unresolved symbol hostap_set_string_R6611ff41 hostap_pci.o: unresolved symbol hostap_set_roaming_R478a9cfd hostap_pci.o: unresolved symbol hostap_check_sta_fw_version_R836c5fd5 hostap_pci.o: unresolved symbol hostap_remove_interface_Rf635f8ec and nothing gets loaded, so I'm guessing my card is a little more dead than yours :) Distribution: Debian (Stable) Kernel: 2.4.20 Card type 0x8013 Attempted PRI: ak010104.hex Attempted STA: rf010704.hex Thanks, Aaron Daniels Chincogan Network Services http://www.chincogan.net.au/ _______________________________________________ HostAP mailing list HostAP@shmoo.com http://lists.shmoo.com/mailman/listinfo/hostap From hostap-bounces+jsun=junsun.net@shmoo.com Sun Nov 2 22:55:50 2003 Return-Path: Received: from mail.iocaine.com ([206.168.146.149]) by gateway.junsun.net (8.12.8/8.12.8) with ESMTP id hA36tn8G005292 for ; Sun, 2 Nov 2003 22:55:50 -0800 Received: from sisyphus.iocaine.com (localhost [127.0.0.1]) by mail.iocaine.com (Postfix) with ESMTP id 24D56157ED for ; Sun, 2 Nov 2003 23:49:43 -0700 (MST) X-Original-To: hostap@shmoo.com Delivered-To: hostap@mail.iocaine.com Received: from jm.kir.nu (dsl093-135-135.sfo4.dsl.speakeasy.net [66.93.135.135]) by mail.iocaine.com (Postfix) with ESMTP id 6502F157BF for ; Sun, 2 Nov 2003 23:49:20 -0700 (MST) Received: from jm by jm.kir.nu with local (Exim 4.21) id 1AGYWG-0002K4-RM for hostap@shmoo.com; Sun, 02 Nov 2003 22:48:56 -0800 Date: Sun, 2 Nov 2003 22:48:56 -0800 From: Jouni Malinen To: hostap@shmoo.com Message-ID: <20031103064856.GA8905@jm.kir.nu> Mail-Followup-To: hostap@shmoo.com References: <3FA579AE.3050708@hoffmann-augsburg.de> <20031103003716.GC3583@jm.kir.nu> <20031103033047.GA7032@jm.kir.nu> <20031103172427.054a1887.lists@chincogan.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031103172427.054a1887.lists@chincogan.net.au> User-Agent: Mutt/1.5.4i Subject: Re: Severe problem during download of Firmware makes PCI card useless X-BeenThere: hostap@shmoo.com X-Mailman-Version: 2.1.2 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: hostap-bounces+jsun=junsun.net@shmoo.com Errors-To: hostap-bounces+jsun=junsun.net@shmoo.com X-Spam-Status: No, hits=-4.9 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_02_03,USER_AGENT, USER_AGENT_MUTT version=2.44 X-Spam-Level: Status: RO Content-Length: 714 Lines: 20 On Mon, Nov 03, 2003 at 05:24:27PM +1100, Chincogan Network Services Lists wrote: > > - update to the latest CVS snapshot > I used 0.1.2 as it was released after this E-mail. 0.1.2 is from "stable branch", it does not have the needed changes; you will need to use the latest CVS snapshot from the development branch for this to work. > testbench1:/lib/modules/2.4.20/net# insmod hostap_pci.o no_primary=1 > hostap_pci.o: unresolved symbol hostap_init_proc_R52d5aebd You need to first load hostap.o.. -- Jouni Malinen PGP id EFC895FA _______________________________________________ HostAP mailing list HostAP@shmoo.com http://lists.shmoo.com/mailman/listinfo/hostap From hostap-bounces+jsun=junsun.net@shmoo.com Mon Nov 3 00:07:33 2003 Return-Path: Received: from mail.iocaine.com ([206.168.146.149]) by gateway.junsun.net (8.12.8/8.12.8) with ESMTP id hA387X8G005437 for ; Mon, 3 Nov 2003 00:07:33 -0800 Received: from sisyphus.iocaine.com (localhost [127.0.0.1]) by mail.iocaine.com (Postfix) with ESMTP id 4E34B15821 for ; Mon, 3 Nov 2003 01:01:26 -0700 (MST) X-Original-To: hostap@shmoo.com Delivered-To: hostap@mail.iocaine.com Received: from firewall.chincogan.net.au. (async106.linknet.com.au [202.162.98.102]) by mail.iocaine.com (Postfix) with ESMTP id 43FD4FEA for ; Mon, 3 Nov 2003 01:00:53 -0700 (MST) Received: from office01 ([192.168.201.25]) by firewall.chincogan.net.au. (8.12.3/8.12.3/Debian-6.6) with SMTP id h9TDU3jK019753 for ; Thu, 30 Oct 2003 00:30:04 +1100 Date: Mon, 3 Nov 2003 19:05:07 +1100 From: Chincogan Network Services Lists To: hostap@shmoo.com Message-Id: <20031103190507.7e533ab9.lists@chincogan.net.au> In-Reply-To: <20031103064856.GA8905@jm.kir.nu> References: <3FA579AE.3050708@hoffmann-augsburg.de> <20031103003716.GC3583@jm.kir.nu> <20031103033047.GA7032@jm.kir.nu> <20031103172427.054a1887.lists@chincogan.net.au> <20031103064856.GA8905@jm.kir.nu> Organization: Chincogan Network Services X-Mailer: Sylpheed version 0.7.2claws (GTK+ 1.2.10; i686-suse-linux) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Severe problem during download of Firmware makes PCI card useless X-BeenThere: hostap@shmoo.com X-Mailman-Version: 2.1.2 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: hostap-bounces+jsun=junsun.net@shmoo.com Errors-To: hostap-bounces+jsun=junsun.net@shmoo.com X-Spam-Status: No, hits=-1.5 required=5.0 tests=IN_REP_TO,NOSPAM_INC,QUOTED_EMAIL_TEXT,REFERENCES, SPAM_PHRASE_02_03 version=2.44 X-Spam-Level: Status: RO Content-Length: 793 Lines: 24 > > > - update to the latest CVS snapshot > > I used 0.1.2 as it was released after this E-mail. > > 0.1.2 is from "stable branch", it does not have the needed changes; you > will need to use the latest CVS snapshot from the development branch for > this to work. > > > testbench1:/lib/modules/2.4.20/net# insmod hostap_pci.o no_primary=1 > > hostap_pci.o: unresolved symbol hostap_init_proc_R52d5aebd > > You need to first load hostap.o.. > Thanks heaps, card is recovered and all is working now. I have a few others dead in the cupboard as well, I'll try recovering them.... Thanks, Aaron Daniels Chincogan Network Services http://www.chincogan.net.au/ _______________________________________________ HostAP mailing list HostAP@shmoo.com http://lists.shmoo.com/mailman/listinfo/hostap From hostap-bounces+jsun=junsun.net@shmoo.com Mon Nov 3 16:17:35 2003 Return-Path: Received: from mail.iocaine.com ([206.168.146.149]) by gateway.junsun.net (8.12.8/8.12.8) with ESMTP id hA40HY8G008006 for ; Mon, 3 Nov 2003 16:17:35 -0800 Received: from sisyphus.iocaine.com (localhost [127.0.0.1]) by mail.iocaine.com (Postfix) with ESMTP id 29CE5157CE for ; Mon, 3 Nov 2003 17:11:26 -0700 (MST) X-Original-To: hostap@shmoo.com Delivered-To: hostap@mail.iocaine.com Received: from linux.local (p50807EF0.dip.t-dialin.net [80.128.126.240]) by mail.iocaine.com (Postfix) with ESMTP id AF909364 for ; Mon, 3 Nov 2003 17:11:03 -0700 (MST) Received: from hoffmann-augsburg.de (localhost [127.0.0.1]) by linux.local (Postfix) with ESMTP id 8B7AB1CD51; Tue, 4 Nov 2003 01:10:57 +0100 (CET) Message-ID: <3FA6EE91.2060604@hoffmann-augsburg.de> Date: Tue, 04 Nov 2003 01:10:57 +0100 From: Ingo Hoffmann User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.5) Gecko/20031007 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: hostap@shmoo.com References: <3FA579AE.3050708@hoffmann-augsburg.de> <20031103003716.GC3583@jm.kir.nu> <20031103033047.GA7032@jm.kir.nu> In-Reply-To: <20031103033047.GA7032@jm.kir.nu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Severe problem during download of Firmware makes PCI card useless X-BeenThere: hostap@shmoo.com X-Mailman-Version: 2.1.2 Precedence: list List-Id: HostAP Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: hostap-bounces+jsun=junsun.net@shmoo.com Errors-To: hostap-bounces+jsun=junsun.net@shmoo.com X-Spam-Status: No, hits=0.5 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_01_02,SUBJ_HAS_SPACES, USER_AGENT,USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.44 X-Spam-Level: Status: RO Content-Length: 3311 Lines: 87 Jouni, it took some time to build everything but now I have finished your proposed procedure and everything seems to work again! (For now I have just performed a short test, I'll test more tomorrow!) So thank you very much for this excellent support! (I really was afraid that I couldn't use the card anymore, so I really appreciate your immediate help!) Regards Ingo PS: The compilation of the driver works also with the latest snapshot, I'm talking about the thread: Problem with compiling hostap-driver-0.1.1.tar.gz Thanks again! Jouni Malinen schrieb: >On Sun, Nov 02, 2003 at 04:37:16PM -0800, Jouni Malinen wrote: > > > >>I will take a look at what would be needed to change the driver to allow >>Genesis-mode operations with corrupted PRI f/w (i.e., continue minimal >>operation mode even if initialization fails). >> >> > >I added some preliminary code for this. A new module parameter, >no_primary, can be used to allow initialization continue even if the >card initialization times out. This might not be enough for all cases, >but at least it was enough for this particular case. > > > >>I'll try to reproduce this issue by flashing a PCI Prism2.5 card with >>the images you used.. In the mean while, you could also consider >>upgrading the flash with the DOS-based tool. Depending on what get >>corrupted in flash, it might be enough to just write the PRI and STA >>images again. Then again, it is also possible that PDA was corrupted >>and it would also need to be fixed. >> >> > >I was able to reproduce the issue by downloading the same images. I had >a bit newer versions in the card before doing this, so the results may >in theory be different, but I would assume we have the cards pretty much >in identical state now. > >It looks like the PRI image was not completely destroyed, but something >is broken.. Trying to write anything to flash at this point fails. >However, I was able to download another PRI image to RAM using Genesis >mode. Unfortunately, this did not fix flash download, but at least I >could download RAM downloadable STA image afterwards. Thus, the card is >actually working again. > >So, the bad news is that I don't yet know how to fix the flash contents. >The good news is that the card can be made to work with RAM downloadable >images. In addition, since I now have one of my cards in the same state, >I have some extra motivation to figure out a way to fix the flash.. ;-) > >You can use following steps to get the card into working state using RAM >download (this is of course assuming your card ended up in the same >state than mine): > >- update to the latest CVS snapshot >- load hostap_pci with no_primary set: insmod hostap_pci.o no_primary=1 >- download volatile primary firmware using Genesis mode; optionally, > make it persist hardware reset (but not driver unload): > prism2_srec -gp wlan0 ak010101.hex >- download volatile STA firmware (again, with persist mode): > prism2_srec -rp wlan0 rf010704.hex > >Card should now be in fully operational state (well, apart from flash >download). Please let me know, if this does not work with your card >(include dmesg and prism2_srec output). > > > _______________________________________________ HostAP mailing list HostAP@shmoo.com http://lists.shmoo.com/mailman/listinfo/hostap