From owner-freebsd-mobile@FreeBSD.ORG Wed May 17 19:10:09 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB84616AA4D for ; Wed, 17 May 2006 19:10:09 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9651B43D67 for ; Wed, 17 May 2006 19:10:06 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4HJ9NKj071423; Wed, 17 May 2006 13:09:23 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 17 May 2006 13:09:23 -0600 (MDT) Message-Id: <20060517.130923.104103765.imp@bsdimp.com> To: madkiss@madkiss.org From: Warner Losh In-Reply-To: <20060514000739.GA2456@martin-loschwitzs-computer.local> References: <20060514000739.GA2456@martin-loschwitzs-computer.local> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: Problems getting my pcmcia-card to work X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 19:10:10 -0000 From: Martin Loschwitz Subject: Problems getting my pcmcia-card to work Date: Sun, 14 May 2006 02:07:39 +0200 > Hi all, I am desperately trying to get my pccard to work together with FreeBSD > 6.1. With all debug mechanisms enabled, this is what I see in the dmesg: > > cbb0: irq 23 at device 11.0 on pci2 > pcib2: cbb0 requested memory range 0xeb000000-0xed7fffff: good > cbb0: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0xeb001000 > cbb0: Found memory at eb001000 > cbb0: Secondary bus is 0 > cbb0: Setting primary bus to 2 > cbb0: Secondary bus set to 3 subbus 4 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > ioapic0: routing intpin 23 (PCI IRQ 23) to vector 50 > cbb0: [MPSAFE] > cbb0: PCI Configuration space: > 0x00: 0x04751180 0x02100007 0x06070081 0x00022000 > 0x10: 0xeb001000 0x020000dc 0x20040302 0xfffff000 > 0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc > 0x30: 0x00000000 0xfffffffc 0x00000000 0x07000117 > 0x40: 0x00000000 0x00000001 0x00000000 0x00000000 > 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 > 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 > 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 > 0x80: 0x00000001 0x00000000 0x04630463 0x00000000 > 0x90: 0x00000000 0x00000000 0x00000000 0x00000000 > 0xa0: 0x00000000 0x00000000 0x00000000 0x00000000 > 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 > 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 > 0xd0: 0x00000000 0x00000000 0x00000000 0xfe0a0001 > 0xe0: 0x24c04000 0x00000000 0x00000000 0x00000000 > 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 > ... > 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 > pcib2: pccard0 requested memory range 0xeb000000-0xed7fffff: good > cis mem map 0xe52a7000 (resource: 0xeb010000) > pccard0: CIS tuple chain: > CISTPL_END > ff > cis mem map e52a7000 > CISTPL_LINKTARGET expected, code ff observed > pccard0: check_cis_quirks > pccard0: Card has no functions! > cbb0: PC Card card activation failed This sounds like the region used for the reading of the CIS doesn't work for some reason. You should try another one. I believe this can be tweaked with the hw.cbb.start_memory sysctl. Warner