Date: Thu, 7 Mar 2002 00:43:35 -0800 From: "Crist J. Clark" <crist.clark@attbi.com> To: "M. Warner Losh" <imp@village.org> Cc: mobile@FreeBSD.ORG Subject: Re: NEWCARD Docs Message-ID: <20020307004335.F69228@blossom.cjclark.org> In-Reply-To: <20020307.004729.16515576.imp@village.org>; from imp@village.org on Thu, Mar 07, 2002 at 12:47:29AM -0700 References: <20020306171531.B69228@blossom.cjclark.org> <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
On Thu, Mar 07, 2002 at 12:47:29AM -0700, M. Warner Losh wrote:
> 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).
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020307004335.F69228>
