RE: pccard0: Card has no functions! (solved)



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

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: pccard0: Card has no functions!
    ... pcib5: pccard0 requested memory range 0xfe300000-0xfeafffff: good ... cis mem map 0xe6e2c000 ... PC Card card activation failed ... device = 'RL5c475 CardBus Controller' ...
    (freebsd-hackers)
  • two uarts pccard
    ... the card is recognized as generic by debian. ... pccard0: chip_socket_enable ... cis mem map 0xe694e000 ... cbb0: ...
    (freebsd-current)
  • Re: pccard0: Card has no functions! (solved)
    ... pccard0: chip_socket_enable ... cis mem map 0xe7286000 ... PC Card card activation failed ... The problem was in the PCI to PCMCIA adapter. ...
    (freebsd-hackers)
  • Adaptec APA-1460 pccard not detected
    ... cbb0: cbb_power: 0V ... pccard0: chip_socket_enable ... cis mem map 0xd3173000 ... pccard0: Card has no functions! ...
    (freebsd-current)
  • Re: HDdriver and CF card drive problem
    ... I don't think it's the cable, but the adapter is indeed acting ... The card reader uses a 25 pin connector, so to connect it to the 50 ... The other end of the cable from the ICD Link II goes to the Mega STe ... plan is to install some sort of IDE interface and use a Compact Flash ...
    (comp.sys.atari.st)