From owner-freebsd-current@FreeBSD.ORG Sun Jun 22 05:41:17 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 2C8B937B407 for ; Sun, 22 Jun 2003 05:41:17 -0700 (PDT) Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92E964404D for ; Sun, 22 Jun 2003 05:23:01 -0700 (PDT) (envelope-from scott@fishballoon.org) Received: from fishballoon.org ([81.104.195.199]) by mta05-svc.ntlworld.com ESMTP <20030622122300.WRHS28183.mta05-svc.ntlworld.com@fishballoon.org>; Sun, 22 Jun 2003 13:23:00 +0100 Received: from tuatara.fishballoon.org (dhcp-252.fishballoon.org [192.168.1.252]) by fishballoon.org (8.12.8p1/8.12.8) with ESMTP id h5MCMG4o028849; Sun, 22 Jun 2003 13:22:16 +0100 (BST) (envelope-from scott@tuatara.fishballoon.org) Received: (from scott@localhost) by tuatara.fishballoon.org (8.12.9/8.12.9/Submit) id h5MCMB3R001247; Sun, 22 Jun 2003 13:22:11 +0100 (BST) (envelope-from scott) Date: Sun, 22 Jun 2003 13:22:11 +0100 From: Scott Mitchell To: Matt Message-ID: <20030622122211.GC608@tuatara.fishballoon.org> References: <56950.192.168.1.10.1056189123.squirrel@webmail.xtaz.co.uk> <20030621.214623.112196268.imp@bsdimp.com> <50254.192.168.1.10.1056268835.squirrel@webmail.xtaz.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50254.192.168.1.10.1056268835.squirrel@webmail.xtaz.co.uk> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.8-STABLE i386 cc: current@freebsd.org cc: "M. Warner Losh" Subject: Re: cardbus and xircom ethernet problem 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: Sun, 22 Jun 2003 12:41:19 -0000 On Sun, Jun 22, 2003 at 09:00:35AM +0100, Matt wrote: > > M. Warner Losh said: > > > > This means that there are problems reading the CIS. > > Any idea how I can go about trying to get it working? I have never used a > laptop with freebsd before and obviously it just "works" in windows so I'm > not even aware of what a "CIS" is. I've tried all the stuff mentioned in > the archives such as hw.cbb.start_memory=(tried various things here), and > hw.pci.allow_unsupported_io_range=1 as this seems to be the most common > problem but it hasn't made a difference. > > So is there anything else I can do? Or is it simply a case that this > hardware does not work under fbsd? Well, the card itself is supported by the xe driver, but the errors you're seeing are coming from the generic cardbus/pccard code. I'm not sure it's even getting as far as deciding to use the xe driver for the card... Can you try another card in this machine? It will probably throw up the same error, but it's worth trying if you can. You could also try adding the following lines to /boot/loader.conf to get some extra debug output: hw.cbb.debug=1 hw.cardbus.debug=1 hw.cardbus.cis_debug=1 hw.pccard.debug=1 hw.pccard.cis_debug=1 You'll have to reboot for those to take effect. Probably also worth booting in verbose mode (hit space when the 'boot countdown' starts, then type 'boot -v'). That said, the CEM56 is a slightly odd beast that needs special handling to enable the Ethernet part (a straightforward walk through the CIS would lead you to believe it's a modem-only card). I haven't been able to test the xe driver on a NEWCARD machine yet, so I have no idea how well it works, if at all. I suppose you could try booting the OLDCARD kernel on your laptop, but it might barf on the Cardbus controller. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon