Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Mar 2002 01:34:49 -0700 (MST)
From:      "M. Warner Losh" <imp@village.org>
To:        cjclark@alum.mit.edu, crist.clark@attbi.com
Cc:        mobile@FreeBSD.ORG
Subject:   Re: NEWCARD Docs
Message-ID:  <20020307.013449.04719869.imp@village.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20020307.004729.16515576.imp@village.org>
            "M. Warner Losh" <imp@village.org> writes:
: In message: <20020306233506.D69228@blossom.cjclark.org>
:             "Crist J. Clark" <crist.clark@attbi.com> 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" <crist.clark@attbi.com> 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




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