From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 16 23:10:19 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 3936E16A41B for ; Thu, 16 Aug 2007 23:10:19 +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 AB87C13C45E for ; Thu, 16 Aug 2007 23:10:18 +0000 (UTC) (envelope-from cerny@icomvision.com) Received: by mohinder.icomvision.com (Postfix, from userid 503) id 7F011F197A; Fri, 17 Aug 2007 00:53:44 +0200 (CEST) Date: Fri, 17 Aug 2007 00:53:44 +0200 From: Marian Cerny To: freebsd-hackers@freebsd.org Message-ID: <20070816225344.GA67058@icomvision.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Mailman-Approved-At: Fri, 17 Aug 2007 03:36:54 +0000 Subject: pccard0: Card has no functions! 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, 16 Aug 2007 23:10:19 -0000 Hi, 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 I have spent hours on google trying to find any solution how to make it work. I have played with the hw.cbb.start_memory, tried to disable acpi, recompiled a GENERIC kernel... Any help would be wellcomed. Relevant messages from dmesg (full dmesg at http://artax.karlin.mff.cuni.cz/~cernm0bm/claire.dmesg.txt): acpi0: on motherboard pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib5: at device 30.0 on pci0 pci5: on pcib5 cbb0: irq 23 at device 2.0 on pci5 cbb0: Found memory at fe300000 cbb0: Secondary bus is 6 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 /boot/loader.conf: hw.pci.allow_unsupported_io_range="1" hw.cbb.start_memory="0x86000000" hw.cbb.debug="1" hw.cardbus.debug="1" hw.cardbus.cis_debug="1" hw.pccard.debug="1" hw.pccard.cis_debug="1" 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 Regards, Marian Cerny