Re: device pcic and card

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Thu, 10 Mar 2005 23:27:53 -0700 (MST)
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
Received on Fri Mar 11 2005 - 05:28:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:29 UTC