From owner-freebsd-mobile Thu Mar 7 0:43:44 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id A545637B419 for ; Thu, 7 Mar 2002 00:43:41 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020307084336.ZDLF2951.rwcrmhc53.attbi.com@blossom.cjclark.org>; Thu, 7 Mar 2002 08:43:36 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g278hZG79991; Thu, 7 Mar 2002 00:43:35 -0800 (PST) (envelope-from cjc) Date: Thu, 7 Mar 2002 00:43:35 -0800 From: "Crist J. Clark" To: "M. Warner Losh" Cc: mobile@FreeBSD.ORG Subject: Re: NEWCARD Docs Message-ID: <20020307004335.F69228@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20020306171531.B69228@blossom.cjclark.org> <20020306.230530.67882815.imp@village.org> <20020306233506.D69228@blossom.cjclark.org> <20020307.004729.16515576.imp@village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020307.004729.16515576.imp@village.org>; from imp@village.org on Thu, Mar 07, 2002 at 12:47:29AM -0700 X-URL: http://people.freebsd.org/~cjc/ 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 On Thu, Mar 07, 2002 at 12:47:29AM -0700, M. Warner Losh wrote: > 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). Here's what I get. krillin# Debugger("manual escape to debugger") Stopped at Debugger+0x41: xorl %eax,%eax db> w pccardcis_debug 1 pccardcis_debug 0 = 0x1 db> c krillin# cis mem map c9853000 pccard1: CIS tuple chain: CISTPL_END ff cis mem map c9853000 CISTPL_LINKTARGET expected, code ff observed pccard1: Card has no functions! pccbb1: PC Card card activation failed And as a side note, the CardBus card is being loaded, but doesn't work too well. Looks like IRQ sharing issues. I get watchdog timeouts. Not sure how to tell it to try to use other IRQs. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message