From owner-freebsd-mobile Thu Mar 7 0:35: 5 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 358B737B404 for ; Thu, 7 Mar 2002 00:35:01 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g278Yxi90411; Thu, 7 Mar 2002 01:35:00 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g278YxL91487; Thu, 7 Mar 2002 01:34:59 -0700 (MST) (envelope-from imp@village.org) Date: Thu, 07 Mar 2002 01:34:49 -0700 (MST) Message-Id: <20020307.013449.04719869.imp@village.org> To: cjclark@alum.mit.edu, crist.clark@attbi.com Cc: mobile@FreeBSD.ORG Subject: Re: NEWCARD Docs From: "M. Warner Losh" In-Reply-To: <20020307.004729.16515576.imp@village.org> References: <20020306.230530.67882815.imp@village.org> <20020306233506.D69228@blossom.cjclark.org> <20020307.004729.16515576.imp@village.org> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message: <20020307.004729.16515576.imp@village.org> "M. Warner Losh" writes: : In message: <20020306233506.D69228@blossom.cjclark.org> : "Crist J. Clark" writes: : : On Wed, Mar 06, 2002 at 11:05:30PM -0700, M. Warner Losh wrote: : : > In message: <20020306171531.B69228@blossom.cjclark.org> : : > "Crist J. Clark" writes: : : > : Are there some docs somewhere on how to get NEWCARD working? A CardBus : : > : NIC, an xl(4), much to my surprise Just Works(tm). (Well, now it does, : : > : the machine was panicing before. I'm not sure what I changed to make : : > : it stop.) However, my trusty old ep(4), a well worn Etherlink III : : > : 3C589D-COMBO which has served me well on -STABLE for years, doesn't : : > : seem to work at all. I'm not sure where to start and can't find any : : > : manpages on the new stuff. Am I on my own trying to figure out what is : : > : going on in src/sys/dev/pccard? : : > : : > There are no man pages on the new stuff. : : > : : > Maybe you could tell me what errors you are seeing :-) : : > : : > /me goes off and gets his 3c589{c,d,e} out of storage and sees what : : > they do. : : : : Well, it's pretty simple. I put in the card and it says, : : : : pccard0: Card has no functions! : : pccbb0: PC Card card activation failed : : Can you compile the kernel with DDB enabled? Then before you insert : the card, break into ddb (control escape): : ddb> w pccardcis_debug 1 : ddb> c : and tell me what it prints? It sounds like maybe we're having : problems setting the memory to read the CIS properly. I've seen this : on one minipci-card (but I see it with OLDCARD too). I realized that this may have been a tall order (interacting with the debugger). I just implemented hw.pccard.cis_debug as a tunable (you can set it in the boot loader) and as a sysctl (you can set it after boot) that may be helpful. Also, setting hw.pccard.debug to 1 might also be useful. You will need to cvsup anytime after Mar 7, 2002 1:20am MST to get this feature. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message