From owner-freebsd-current@FreeBSD.ORG Mon Dec 22 15:29:46 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 1B72D16A4CE for ; Mon, 22 Dec 2003 15:29:46 -0800 (PST) Received: from charm.uugrn.org (charm.uugrn.org [195.226.127.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73F4A43D46 for ; Mon, 22 Dec 2003 15:29:43 -0800 (PST) (envelope-from michael@mobi.lestinsky.de) Received: from charm.uugrn.org (smmsp@localhost [127.0.0.1]) by charm.uugrn.org (8.12.9/8.12.9) with ESMTP id hBMNU14H004699 for ; Tue, 23 Dec 2003 00:30:06 +0100 (CET) Received: from uumile.UUCP (uucp@localhost) by charm.uugrn.org (8.12.9/8.12.9/Submit) with UUCP id hBMNM0Hx026043 for freebsd-current@freebsd.org; Tue, 23 Dec 2003 00:22:00 +0100 (CET) Received: from mobi (mobi.lestinsky.de [192.168.42.3]) by zaphod.lestinsky.de (8.12.10/8.12.10) with ESMTP id hBMM1SH7025898 for ; Mon, 22 Dec 2003 23:01:28 +0100 (CET) (envelope-from michael@mobi.lestinsky.de) Received: from mobi.lestinsky.de (localhost [127.0.0.1]) by mobi (8.12.10/8.12.10) with ESMTP id hBMM0Ekf000901 for ; Mon, 22 Dec 2003 23:00:14 +0100 (CET) (envelope-from michael@mobi.lestinsky.de) Received: (from michael@localhost) by mobi.lestinsky.de (8.12.10/8.12.10/Submit) id hBMM0Etp000900 for freebsd-current@freebsd.org; Mon, 22 Dec 2003 23:00:14 +0100 (CET) (envelope-from michael) Date: Mon, 22 Dec 2003 23:00:14 +0100 From: Michael Lestinsky To: freebsd-current@freebsd.org Message-ID: <20031222220014.GA659@mobi.lestinsky.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: [RELENG_5_2] Cardbus trouble 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, 22 Dec 2003 23:29:46 -0000 Hi, I just managed to bring my cardbus to life. Well sort of. There is one Problem left: Cards are not properly detected. When booting with an inserted card, they are gone from dmesg: cbb0: at device 3.0 on pci2 start (88000000) < sc->membase (e0200000) end (ffffffff) > sc->memlimit (e02fffff) cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib1: slot 3 INTA is routed to irq 10 cbb0: [MPSAFE] cbb1: at device 3.1 on pci2 start (88000000) < sc->membase (e0200000) end (ffffffff) > sc->memlimit (e02fffff) cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pcib1: slot 3 INTB is routed to irq 10 cbb1: [MPSAFE] ... cbb1: CardBus card activation failed pullig out the card (a Netgear WG511T, but the behavior is the same for other cards) and plugging it back: start (88000000) < sc->membase (e0200000) end (ffffffff) > sc->memlimit (e02fffff) start (88000000) < sc->membase (e0200000) end (ffffffff) > sc->memlimit (e02fffff) ath0: mem 0x88010000-0x8801ffff irq 10 at device 0.0 on cardbus1 start (88010000) < sc->membase (e0200000) ath0: mac 5.6 phy 4.1 5ghz radio 4.5 ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps ath0: 802.11 address: 00:09:5b:89:f9:37 from now on I can pull the card and replug it as often as I want, it always works. Only the first time after booting it doesn't. The system is booting with "hw.pci.allow_unsupported_io_range=1" in /boot/loader.conf otherwise it wouldn't work at all. Thanks, Michael