From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 15 07:46:49 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDC0037B401 for ; Fri, 15 Aug 2003 07:46:49 -0700 (PDT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id C176B43F3F for ; Fri, 15 Aug 2003 07:46:48 -0700 (PDT) (envelope-from cristjc@comcast.net) Received: from blossom.cjclark.org (12-234-159-107.client.attbi.com[12.234.159.107](untrusted sender)) by comcast.net (sccrmhc13) with ESMTP id <20030815144646016008enl6e>; Fri, 15 Aug 2003 14:46:46 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.8p1/8.12.8) with ESMTP id h7FEkKJp001360; Fri, 15 Aug 2003 07:46:21 -0700 (PDT) (envelope-from cristjc@comcast.net) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.8p1/8.12.8/Submit) id h7FEkK12001359; Fri, 15 Aug 2003 07:46:20 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to cristjc@comcast.net using -f Date: Fri, 15 Aug 2003 07:46:20 -0700 From: "Crist J. Clark" To: "M. Warner Losh" Message-ID: <20030815144620.GB93016@blossom.cjclark.org> References: <20030814235432.GA85523@blossom.cjclark.org> <20030814.233655.35978822.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030814.233655.35978822.imp@bsdimp.com> User-Agent: Mutt/1.4.1i X-URL: http://people.freebsd.org/~cjc/ cc: freebsd-mobile@freebsd.org Subject: Re: Linksys WPC11 v4 and Netgear MA401RA Troubles X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cjclark@alum.mit.edu List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2003 14:46:50 -0000 On Thu, Aug 14, 2003 at 11:36:55PM -0600, M. Warner Losh wrote: > In message: <20030814235432.GA85523@blossom.cjclark.org> > "Crist J. Clark" 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: 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: 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@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org