Linksys WPC11 v4 and Netgear MA401RA Troubles

Crist J. Clark cristjc at comcast.net
Fri Aug 15 07:46:50 PDT 2003


On Thu, Aug 14, 2003 at 11:36:55PM -0600, M. Warner Losh wrote:
> In message: <20030814235432.GA85523 at blossom.cjclark.org>
>             "Crist J. Clark" <cristjc at comcast.net> writes:

> : However, the MA401 is making trouble in NEWCARD, as in the system
> : locks up. Locks up hard. The only way out is to power cycle. Before I
> : found the miracle of hw.cbb.start_memory, the card didn't work, but it
> : didn't lock up the system either. The debug output looked like,
> 
> I don't understand why this isn't working for you, unless you don't
> have wi in your generic kernel for some reason.  5.1 should have
> support for this card.  I know that current does, and cvs seems to
> tell me that 5.1 should also.

I didn't have wi in my kernel. Since I was rebuilding kernels to put
OLDCARD back in, I had stripped it all down. I then manually was
kldloading if_wi.ko before inserting a card. (I haven't been following
NEWCARD on CURRENT too closely, but I guess the autoloading of klds
doesn't actually work?)

I just built a new kernel with wi statically compiled, and for some
reason, it makes a difference, no more lock-ups. However, things still
are not working,

  wi0: <NETGEAR MA401RA Wireless PC Card> at port 0x100-0x13f irq 11 function 0 config 1 on pccard0
  wi0: record read mismatch, rid=fc01, got=0
  wi0: record read mismatch, rid=fc01, got=8000
  wi0: mac read failed 5

Here's the full debug dump,

cbb0: card inserted: event=0x00000000, state=30000510
pccard0: chip_socket_enable
cbb_pcic_socket_enable:
cbb0: cbb_power: CARD_VCC_0V and CARD_VPP_0V [44]
cbb0: cbb_power: CARD_VCC_5V and CARD_VPP_VCC [15]
pccard0: read_cis
cis mem map cd319000
pccard0: CIS tuple chain:
CISTPL_DEVICE type=null speed=null
 01 03 00 00 ff
CISTPL_DEVICE_A type=sram speed=ext
 17 04 67 5a 08 ff
unhandled CISTPL 1d
 1d 05 01 67 5a 08 ff
CISTPL_VERS_1
 15 38 05 00 4e 45 54 47 45 41 52 20 4d 41 34 30
 31 52 41 20 57 69 72 65 6c 65 73 73 20 50 43 00
 43 61 72 64 00 49 53 4c 33 37 33 30 30 50 00 45
 76 61 6c 2d 52 65 76 41 00 ff
CISTPL_MANFID
 20 04 0b 00 00 73
CISTPL_FUNCID
 21 02 06 00
CISTPL_FUNCE
 22 02 01 07
CISTPL_FUNCE
 22 05 02 40 42 0f 00
CISTPL_FUNCE
 22 05 02 80 84 1e 00
CISTPL_FUNCE
 22 05 02 60 ec 53 00
CISTPL_FUNCE
 22 05 02 c0 d8 a7 00
CISTPL_FUNCE
 22 02 03 07
CISTPL_FUNCE
 22 08 04 06 00 09 5b 54 1a 66
CISTPL_FUNCE
CISTPL_FUNCE
 22 02 05 01
CISTPL_CONFIG
 1a 07 03 01 e0 03 00 00 01
CISTPL_CFTABLE_ENTRY
 1b 10 c1 01 19 77 55 c5 4b d5 25 36 36 05 46 7f
 ff ff
CISTPL_END
 ff
cis mem map cd319000
CISTPL_LINKTARGET expected, code 00 observed
pccard0: check_cis_quirks
pccard0: CIS version PC Card Standard 5.0
pccard0: CIS info: NETGEAR MA401RA Wireless PC, Card, ISL37300P, Eval-RevA
pccard0: Manufacturer code 0xb, product 0x7300
pccard0: function 0: network adapter, ccr addr 3e0 mask 1
pccard0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 6, iospace 0-3f; io16 irqpulse irqlevel
pccard0: functions scanning
pccard0: Card has 1 functions. pccard_mfc is 0
pccard0: I/O rid 0 start 0 end ffffffff
cbb_pcic_socket_enable:
cbb0: cbb_power: CARD_VCC_0V and CARD_VPP_0V [44]
cbb0: cbb_power: CARD_VCC_5V and CARD_VPP_VCC [15]
pccard0: ccr_res == 20000000-200003ff, base=3e0
pccard0: function 0 CCR at 0 offset 3e0: 41 80 22 ff, ff ff ff ff, ff
wi0: <NETGEAR MA401RA Wireless PC Card> at port 0x100-0x13f irq 11 function 0 config 1 on pccard0
wi0: record read mismatch, rid=fc01, got=0
wi0: record read mismatch, rid=fc01, got=8000
wi0: mac read failed 5
device_probe_and_attach: wi0 attach returned 5

-- 
Crist J. Clark                     |     cjclark at alum.mit.edu
                                   |     cjclark at jhu.edu
http://people.freebsd.org/~cjc/    |     cjc at freebsd.org


More information about the freebsd-mobile mailing list