device pcic and card
Maksim Yevmenkin
maksim.yevmenkin at savvis.net
Mon Apr 4 12:20:36 PDT 2005
Dear Hackers,
since OLDCARD was removed from -current i can no longer use certain
pcmcia cards with NEWCARD (for example Xircom CBT card). those cards
have 16bit and 5V logos on the back, so i assume they are not cardbus cards.
the symptoms are the same - driver can not identify card. driver's
probe/attach routine returns ENXIO.
now, i do have other pcmcia cards (for example 3Com Megahertz LAN), that
also have 16bit and 5V logos on the back, that work just fine with NEWCARD.
i tried to adjust hw.pci.host_mem_start and hw.cbb.start_memory to no
avail. the result is always the same:
the cards that work with NEWCARD continue to work no matter what value i
use for hw.pci.host_mem_start and hw.cbb.start_memory (given that CIS
can be obtained from the card).
the cards the did NOT work with NEWCARD continue to NOT work no matter
what value i use for hw.pci.host_mem_start and hw.cbb.start_memory.
all cards work just fine under linux and windows. and they used to work
under OLDCARD.
so, is there anything special about non-working cards that confuses
NEWCARD? is there anything i can do to make them work? what should i be
looking for/at? is there anything particular in 'boot -v' or whatever
output i should be looking for?
max
M. Warner Losh wrote:
> In message: <4230E44A.2010007 at savvis.net>
> Maksim Yevmenkin <maksim.yevmenkin at savvis.net> writes:
> : beetle# grep -i pcic /usr/src/UPDATING
> : beetle# grep -i card /usr/src/UPDATING
> : beetle# grep -i oldcard /usr/src/UPDATING
>
> OLDCARD is what you want to grep for.
>
> : > In message: <41DC2EAD.8070403 at savvis.net>
> : > Maksim Yevmenkin <maksim.yevmenkin at savvis.net> writes:
> : > : i heard Warner said something about removing pcic and card (aka oldcard)
> : > : support from -current. has it happened? after cvsup'ing (yesterday) i no
> : > : longer can configure kernel with pcic and card.
> : > :
> : > : i can not use newcard on my tecra 8100 :( when i insert serial pc-card
> : > : my laptop hangs :( i can insert ethernet card (3com) but i can not
> : > : remove it :( same story - laptop hangs hard.
> : >
> : > Hangs hard? That's unfortunate. I'd love to help figure things out,
> : > but my tecra 8100 is working great...
> :
> : so, was oldcard support removed from -current? i have xircom credit card
> : bluetooth adapter that has standard uart (16550) and used to work with
> : oldcard (sio(4)). with newcard this adapter just hangs the system hard
> : as soon as i plug it in. also /var/log/messages says sio(4) can not
> : recognize uart type.
>
> Yes. OLDCARD has been removed from current. you should migrate to
> device cbb and pccard instead. This sounds like a resource issue with
> newcard. Some machines need to set hw.cbb.start_memory to something
> like 0xf0000000 or 0xff000000 or 0xd0000000 or some other value. I'd
> try 0xff.... (adding one f and removing one 0) until it works, and
> then try 0xd0000000, 0xe0000000, 0xc0000000, ... 0x80000000.
>
> If that fails, then you may need to set hw.pci.host_mem_start to the
> same sorts of values. In fact, it might be better to start with this
> tunable first. However, it will likely only be helpful if cbb is
> attached to pci0, and not pciN (N > 0) since it is only effective,
> really, for those systems that have no pcib.
>
> The hard lockups might also be due to subtle differences in how power
> is applied to the card. However, since dmesg says the card is
> unrecondized, let's try the allocation address first. Given the
> insert/remove problems there's a chance this is the problem. Maybe
> you have an older version of the TOPIC chipset, or its programmed,
> setup in the BIOS a little differently than mine.
>
> Warner
More information about the freebsd-current
mailing list