From owner-freebsd-current@FreeBSD.ORG Sun Jun 15 19:18:09 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 724EF37B401 for ; Sun, 15 Jun 2003 19:18:09 -0700 (PDT) Received: from ion.gank.org (ion.gank.org [198.78.66.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7E8B43F75 for ; Sun, 15 Jun 2003 19:18:08 -0700 (PDT) (envelope-from craig@xfoil.gank.org) Received: from localhost (ion.gank.org [198.78.66.164]) by ion.gank.org (GankMail) with ESMTP id ECFA22C958 for ; Sun, 15 Jun 2003 21:18:07 -0500 (CDT) Received: from ion.gank.org ([198.78.66.164]) by localhost (ion.gank.org [198.78.66.164]) (amavisd-new, port 10024) with LMTP id 36645-03 for ; Sun, 15 Jun 2003 21:18:07 -0500 (CDT) Received: from darth-laptop.auir.gank.org (dsl081-113-221.dfw1.dsl.speakeasy.net [64.81.113.221]) by ion.gank.org (GankMail) with ESMTP id 32FBD2C957 for ; Sun, 15 Jun 2003 21:18:06 -0500 (CDT) Date: Sun, 15 Jun 2003 21:18:00 -0500 From: Craig Boston To: current@freebsd.org Message-Id: <20030615211800.1a8c1ece.craig@xfoil.gank.org> X-Mailer: Sylpheed version 0.9.2 (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Multiple cardbus devices? (RFI) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2003 02:18:09 -0000 In continuing my quest to make FreeBSD current run flawlessly on my laptop, I'm trying to track down some issues with using multiple cardbus cards (more info on my particular problem and a workaround at the end of this message). I'd like to gather some information from people who have cardbus controllers with multiple slots and two or more cards to test. I'd appreciate it if some people could take a few minutes and privately send me the following information: 1. Attach message for the cardbus controller (including model and resources) 2. Attach messages for the first card 3. Attach messages for the second card 4. Whether or not both cards work correctly 5. Any odd messages on unplugging the cards It would be nice to see if this differs depending on the order in which the cards are inserted. Bootverbose is good for an extra bonus, but even plain dmesg output is useful. ----- The problem I've been seeing occurs on this controller: cbb0: mem 0x42000000-0x42000fff irq 11 at device 4.0 on pci0 cbb1: mem 0x42080000-0x42080fff irq 11 at device 4.1 on pci0 I have reason to suspect that it may be an alignment issue. Devices which allocate 4096 bytes, such as the two ohci components on a USB card, seem to work regardless. Devices which only allocate 256 bytes (ehci, xl) seem to interfere with each other. I've tried an awful hack of forcing a minimum size of 0x1000 for all resource allocations made by cardbus devices to make sure they're page-aligned and it seems to be working. There are occasional watchdog timeouts on the xl device, but it is at least functioning at the same time as the USB. Craig