From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 20 08:50:48 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D30C16A420 for ; Thu, 20 Sep 2007 08:50:48 +0000 (UTC) (envelope-from helge.oldach@atosorigin.com) Received: from smtp1.mail.atosorigin.com (smtp1.mail.atosorigin.com [160.92.103.80]) by mx1.freebsd.org (Postfix) with ESMTP id C522013C428 for ; Thu, 20 Sep 2007 08:50:47 +0000 (UTC) (envelope-from helge.oldach@atosorigin.com) Received: from filter.atosorigin.com (localhost [127.0.0.1]) by mxfed004 (Postfix) with ESMTP id 45CB026788AA; Thu, 20 Sep 2007 10:23:42 +0200 (CEST) Received: from mizar.origin-it.net (mail.de.atosorigin.com [194.8.96.234]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mxfed004 (Postfix) with ESMTP id 226B326788A8; Thu, 20 Sep 2007 10:23:42 +0200 (CEST) Received: from matar.hbg.de.int.atosorigin.com (avior.origin-it.net [213.70.176.177]) by mizar.origin-it.net (8.14.1/8.14.1/hmo020206) with ESMTP id l8K8NfSB017816 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Sep 2007 10:23:44 +0200 (CEST) (envelope-from helge.oldach@atosorigin.com) Received: from DEHHX001.deuser.de.intra (dehhx001.hbg.de.int.atosorigin.com [161.90.164.121]) by matar.hbg.de.int.atosorigin.com (8.14.1/8.14.1/hmo020206) with ESMTP id l8K8NfGf060581; Thu, 20 Sep 2007 10:23:41 +0200 (CEST) (envelope-from helge.oldach@atosorigin.com) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 20 Sep 2007 10:23:10 +0200 Message-ID: <39AFDF50473FED469B15B6DFF2262F7A03322045@DEHHX001.deuser.de.intra> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: pccard0: Card has no functions! (solved) Thread-Index: Acf6keyWz4OjpTkHRxWT5g2ZhSP4wwAzB9Tg References: <20070816225344.GA67058@icomvision.com> <20070918154514.GA71760@icomvision.com> From: To: , X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mizar.origin-it.net [194.8.96.234]); Thu, 20 Sep 2007 10:23:44 +0200 (CEST) X-Bogolevel: not-spam X-fed-spamrating: 0.008446 Cc: Subject: RE: pccard0: Card has no functions! (solved) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2007 08:50:48 -0000 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.=20 >>=20 >> I tried to get it working under FreeBSD 6.2R today but was not >> successful. I can see those messages after boot: >>=20 >> Status is 0x30000410 >> cbb0: card inserted: event=3D0x00000000, state=3D30000410 >> 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 >=20 > 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=20 > 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=20 > 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