pccard0: Card has no functions! (solved)

Helge.Oldach at atosorigin.com Helge.Oldach at atosorigin.com
Thu Sep 20 01:50:48 PDT 2007


Marian Cerny wrote on Tuesday, September 18, 2007 5:45 PM:
> On 2007-08-17 00:53 +0200, Marian Cerny wrote:
>> I have Nokia Card Phone 2.0 (on a supported HW list) in a PCMCIA to
>> PCI adapter. I have used this combination some time ago (2-3 years)
>> and it worked without any problems. I don't remember what FreeBSD
>> version I used that time. 
>> 
>> I tried to get it working under FreeBSD 6.2R today but was not
>> successful. I can see those messages after boot:
>> 
>> Status is 0x30000410
>> cbb0: card inserted: event=0x00000000, state=30000410
>> pccard0: chip_socket_enable
>> cbb_pcic_socket_enable:
>> cbb0: cbb_power: 5V
>> pccard0: read_cis
>> cis mem map 0xe7286000 (resource: 0xfe310000)
>> pccard0: CIS tuple chain:
>> CISTPL_END
>>  ff
>> cis mem map e7286000
>> CISTPL_LINKTARGET expected, code ff observed
>> pccard0: check_cis_quirks
>> pccard0: Card has no functions!
>> cbb0: PC Card card activation failed
> 
> The problem was in the PCI to PCMCIA adapter. It was not able to read
> "CIS tuple chain" of any PCMCIA card. I have bought a new adapter,
> with 
> a Ricoh R5C485 chip (the old one had R5C475II) and it works without
> any problems. The real problem with the old adapter was not fixed -
> however 
> I consider the problem to be solved.

I suspect that this is related to kern/91919. This issue is also related to
a PCI-to-PCCARD adapter. The core issue is that voltage is supplied to
the PCCARD in the wrong order, which leads to the PCCARD not showing up.
(Note the order has been correct in the FreeBSD-4.11 code, which likely
explains why your card has been working in a former release.)

It is fixed already in CURRENT since March 2007 - in rev. 1.140 of
sys/dev/pccbb/pccbb.c, which actually says MFC after 3 days, but this
is another one of the forgotten MFCs... :-)

It would probably help us if you could test this fix with your old board,
just to verify.

Helge

Atos Origin GmbH, Theodor-Althoff-Str. 47, D-45133 Essen, Postfach 100 123, D-45001 Essen
Telefon: +49 201 4305 0, Fax: +49 201 4305 689095, www.atosorigin.de
ING Bank AG, Frankfurt/Main: Konto 001 014 0937, BLZ 500 210 00, Swift / BIC INGBDEFF, IBAN DE74 5002 1000 0010 1409 37
Geschäftsführer: Dominique Illien, Handelsregister Essen HRB 19354, Ust.-ID.-Nr.: DE147861238



More information about the freebsd-hackers mailing list