Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2002 18:51:25 -0400
From:      Peter Radcliffe <pir@pir.net>
To:        Mailing List FreeBSD Mobile <freebsd-mobile@FreeBSD.ORG>
Subject:   3Com 3CRWE737A
Message-ID:  <20020502225125.GB14047@pir.net>

next in thread | raw e-mail | index | archive | help
I saw Warner's work to get the 3com 3CRWE737A working so grabbed one
at work. I've had no luck getting this functioning.

I'm using 4.5-STABLE from yesterday and one of two thngs happens when
I try to configure the card;

 1) I don't set anything up automatically on insert and it appears to
    be fine, but the lights keep flashing and it never associates
    (Cisco 350 AP at work).

 2) I use my normal setup and the hard hangs the machine until I
    remove the card. Sometimes the machine recovers after a while,
    sometimes it panics.

In case 2 I get;
---------------------------------------------------------------------
pccard: card inserted, slot 0
May  2 17:21:56 disapp pccardd[63]: Card "3Com"("3CRWE737A AirConnect
 Wireless LAN PC Card") [1.00] [(null)] matched "3Com" ("3CRWE737A
 AirConnect Wireless LAN PC Card") [(null)] [(null)] 
wi0 at port 0x280-0x2c7 iomem 0xd8000-0xd83ff irq 9 flags 0x10000 slot 0
 on pccard0
wi0: 802.11 address: 00:50:da:00:51:de
wi0: using RF:PRISM2 MAC:HFA3841
wi0: Symbol Firmware: Primary 2.01.02, Station 2.20.01
May  2 17:22:01 disapp pccardd[63]: wi0: 3Com (3CRWE737A AirConnect Wireless
 LAN PC Card) inserted.
wi0: timeout in wi_cmd 0x0002; event status 0x8000
wi0: timeout in wi_cmd 0x0121; event status 0x8000
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: timeout in wi_seek to fc83/0; last status ffff
wi0: timeout in wi_seek to fc84/0; last status ffff
wi0: timeout in wi_seek to fc06/0; last status ffff
wi0: timeout in wi_seek to fc09/0; last status ffff
wi0: timeout in wi_seek to fc0c/0; last status ffff
wi0: timeout in wi_seek to fc04/0; last status ffff
wi0: timeout in wi_seek to fc02/0; last status ffff
wi0: timeout in wi_seek to fc03/0; last status ffff
wi0: timeout in wi_seek to fc0e/0; last status ffff
wi0: timeout in wi_seek to fc2a/0; last status ffff
wi0: timeout in wi_seek to fc01/0; last status ffff
wi0: timeout in wi_seek to fc28/0; last status ffff
wi0: timeout in wi_seek to fc23/0; last status ffff
wi0: timeout in wi_seek to fc24/0; last status ffff
wi0: timeout in wi_seek to fc85/0; last status ffff
wi0: timeout in wi_seek to fc80/0; last status ffff
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: failed to allocate 1594 bytes on NIC
wi0: tx buffer allocation failed
wi0: wi_cmd: busy bit won't clear.
wi0: failed to allocate 1594 bytes on NIC
wi0: mgmt. buffer allocation failed
wi0: timeout in wi_seek to fc07/0; last status ffff
wi0: timeout in wi_seek to fc81/0; last status ffff
wi0: timeout in wi_seek to fc00/0; last status ffff
wi0: timeout in wi_seek to fc83/0; last status ffff
wi0: timeout in wi_seek to fc84/0; last status ffff
wi0: timeout in wi_seek to fc06/0; last status ffff
wi0: timeout in wi_seek to fc09/0; last status ffff
wi0: timeout in wi_seek to fc0c/0; last status ffff
wi0: timeout in wi_seek to fc04/0; last status ffff
wi0: timeout in wi_seek to fc02/0; last status ffff
wi0: timeout in wi_seek to fc03/0; last status ffff
wi0: timeout in wi_seek to fc0e/0; last status ffff
wi0: timeout in wi_seek to fc2a/0; last status ffff
wi0: timeout in wi_seek to fc01/0; last status ffff
wi0: timeout in wi_seek to fc28/0; last status ffff
wi0: timeout in wi_seek to fc23/0; last status ffff
wi0: timeout in wi_seek to fc24/0; last status ffff
wi0: timeout in wi_seek to fc85/0; last status ffff
wi0: timeout in wi_seek to fc80/0; last status ffff
wi0: wi_cmd: busy bit won't clear.
wi0: wi_cmd: busy bit won't clear.
wi0: failed to allocate 1594 bytes on NIC
wi0: tx buffer allocation failed
wi0: wi_cmd: busy bit won't clear.
wi0: failed to allocate 1594 bytes on NIC
wi0: mgmt. buffer allocation failed
wi0: detached
pccard: card removed, slot 0
May  2 17:23:27 disapp pccardd[63]: wi0: 3Com (3CRWE737A AirConnect
 Wireless LAN PC Card) removed.
---------------------------------------------------------------------

and sometimes
---------------------------------------------------------------------
pccard: card removed, slot 0


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x160
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc03f12fc
stack pointer	        = 0x10:0xd870d8e8
frame pointer	        = 0x10:0xd870dd44
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 802 (ifconfig)
interrupt mask		= net 
trap number		= 12
panic: page fault
---------------------------------------------------------------------


I'm getting the same results with another random prism2 card. The
dumpcis for that odd card should be later in this message.

Now, I'd usually say that this smells of resource issues, but trying
to force irqs doesn't help because I'm using PCI irq routing and it's
always forced to irq 9 and there is only one config available on the
card.

All my other wireless cards are working fine (Cisco 350, Lucent card
and rebadged cabletron lucent card).

Clues ?

P.



Odd card dumpcis;
---------------------------------------------------------------------
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  00 00 ff
	Common memory device information:
		Device number 1, type No device, WPS = OFF
		Speed = No speed, Memory block size = 512b, 1 units
Tuple #2, code = 0x17 (Attribute memory descriptor), length = 4
    000:  67 5a 08 ff
	Attribute memory device information:
		Device number 1, type SRAM, WPS = OFF
		Speed = 5.0 x 100 ns, Memory block size = 512b, 2 units
Tuple #3, code = 0x1d (Other conditions for attribute memory), length = 5
    000:  03 67 5a 08 ff
	(MWAIT) (3V card)
Tuple #4, code = 0x15 (Version 1 info), length = 80
    000:  05 00 4f 45 4d 00 50 52 49 53 4d 32 20 49 45 45
    010:  45 20 38 30 32 2e 31 31 20 50 43 2d 43 61 72 64
    020:  00 56 65 72 73 69 6f 6e 20 30 31 2e 30 32 00 00
    030:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    040:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff
	Version = 5.0, Manuf = [OEM], card vers = [PRISM2 IEEE 802.11 PC-Card]
	Addit. info = [Version 01.02],[]
Tuple #5, code = 0x20 (Manufacturer ID), length = 4
    000:  56 01 02 00
	PCMCIA ID = 0x156, OEM ID = 0x2
Tuple #6, code = 0x21 (Functional ID), length = 2
    000:  06 00
	Network/LAN adapter
Tuple #7, code = 0x22 (Functional EXT), length = 2
    000:  01 07
	Network technology: Wireless
Tuple #8, code = 0x22 (Functional EXT), length = 5
    000:  02 40 42 0f 00
	Network speed: 1 Mb/sec
Tuple #9, code = 0x22 (Functional EXT), length = 5
    000:  02 80 84 1e 00
	Network speed: 2 Mb/sec
Tuple #10, code = 0x22 (Functional EXT), length = 5
    000:  02 60 ec 53 00
	Network speed: 5 Mb/sec
Tuple #11, code = 0x22 (Functional EXT), length = 5
    000:  02 c0 d8 a7 00
	Network speed: 11 Mb/sec
Tuple #12, code = 0x22 (Functional EXT), length = 2
    000:  03 07
	Network media: 2.4 GHz
Tuple #13, code = 0x22 (Functional EXT), length = 8
    000:  04 06 00 90 d1 01 0e 63
	Network node ID: 00 90 d1 01 0e 63
Tuple #14, code = 0x22 (Functional EXT), length = 2
    000:  05 01
	Network connector: closed connector standard
Tuple #15, code = 0x1a (Configuration map), length = 7
    000:  03 01 e0 03 00 00 01
	Reg len = 4, config register addr = 0x3e0, last config = 0x1
	Registers: X------- 
Tuple #16, code = 0x1b (Configuration entry), length = 16
    000:  c1 01 19 77 b5 1e 35 b5 3c 36 36 05 46 7f ff ff
	Config index = 0x1(default)
	Interface byte = 0x1 (I/O)
	Vcc pwr:
		Nominal operating supply voltage: 3 x 1V, ext = 0x1e
		Minimum operating supply voltage: 3 x 1V
		Maximum operating supply voltage: 3 x 1V, ext = 0x3c
		Max current average over 1 second: 3 x 100mA
		Max current average over 10 ms: 3 x 100mA
		Power down supply current: 1 x 10mA
	Card decodes 6 address lines, limited 8/16 Bit I/O
		IRQ modes: Level, Pulse
		IRQs:  NMI IOCK BERR VEND 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Tuple #17, code = 0xff (Terminator), length = 0
1 slots found
---------------------------------------------------------------------

-- 
pir                pir-sig@pir.net                 pir-sig@net.tufts.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020502225125.GB14047>