From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 18 15:45:25 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 1025B16A417 for ; Tue, 18 Sep 2007 15:45:25 +0000 (UTC) (envelope-from cerny@icomvision.com) Received: from mohinder.icomvision.com (icom.casablanca.cz [81.0.254.115]) by mx1.freebsd.org (Postfix) with ESMTP id D180313C4A3 for ; Tue, 18 Sep 2007 15:45:24 +0000 (UTC) (envelope-from cerny@icomvision.com) Received: by mohinder.icomvision.com (Postfix, from userid 503) id 575F3F1969; Tue, 18 Sep 2007 17:45:14 +0200 (CEST) Date: Tue, 18 Sep 2007 17:45:14 +0200 From: Marian Cerny To: freebsd-hackers@freebsd.org Message-ID: <20070918154514.GA71760@icomvision.com> References: <20070816225344.GA67058@icomvision.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070816225344.GA67058@icomvision.com> User-Agent: Mutt/1.4.2.3i X-Mailman-Approved-At: Wed, 19 Sep 2007 07:50:46 +0000 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: Tue, 18 Sep 2007 15:45:25 -0000 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. > pciconf -lv: > cbb0@pci5:2:0: class=0x060700 card=0x010114ef chip=0x04751180 rev=0x80 hdr=0x02 > vendor = 'Ricoh Co Ltd' > device = 'RL5c475 CardBus Controller' > class = bridge > subclass = PCI-CardBus The new adapter is similar to the old one according to pciconf: cbb0@pci1:0:0: class=0x060700 card=0x00000000 chip=0x04751180 rev=0x81 hdr=0x02 vendor = 'Ricoh Co Ltd' device = 'RL5c475 CardBus Controller' class = bridge subclass = PCI-CardBus Marian Cerny