From owner-freebsd-current@FreeBSD.ORG Wed Jan 7 12:29:51 2004 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 4CC2F16A4D0 for ; Wed, 7 Jan 2004 12:29:51 -0800 (PST) Received: from charm.uugrn.org (charm.uugrn.org [195.226.127.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id C50D543D4C for ; Wed, 7 Jan 2004 12:29:44 -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 i07KU14J031950 for ; Wed, 7 Jan 2004 21:30:07 +0100 (CET) Received: from uumile.UUCP (uucp@localhost) by charm.uugrn.org (8.12.9/8.12.9/Submit) with UUCP id i07KBc1h020537 for freebsd-current@freebsd.org; Wed, 7 Jan 2004 21:11:38 +0100 (CET) Received: from mobi.lestinsky.de (mobi.vpn.lestinsky.de [192.168.44.3]) by zaphod.lestinsky.de (8.12.10/8.12.10) with ESMTP id i07JxsQT005839 for ; Wed, 7 Jan 2004 20:59:54 +0100 (CET) (envelope-from michael@mobi.lestinsky.de) Received: from mobi.lestinsky.de (localhost [127.0.0.1]) by mobi.lestinsky.de (8.12.10/8.12.10) with ESMTP id i07JwMet002318 for ; Wed, 7 Jan 2004 20:58:22 +0100 (CET) (envelope-from michael@mobi.lestinsky.de) Received: (from michael@localhost) by mobi.lestinsky.de (8.12.10/8.12.10/Submit) id i07JwM2T002317 for freebsd-current@freebsd.org; Wed, 7 Jan 2004 20:58:22 +0100 (CET) (envelope-from michael) Date: Wed, 7 Jan 2004 20:58:22 +0100 From: Michael Lestinsky To: freebsd-current@freebsd.org Message-ID: <20040107195811.GB2230@mobi.lestinsky.de> References: <20031222220014.GA659@mobi.lestinsky.de> <20031224.180046.83980462.imp@bsdimp.com> <20031225222245.GB648@mobi.lestinsky.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b5gNqxB1S1yM7hjW" Content-Disposition: inline In-Reply-To: <20031225222245.GB648@mobi.lestinsky.de> User-Agent: Mutt/1.4.1i Subject: Re: [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: Wed, 07 Jan 2004 20:29:51 -0000 --b5gNqxB1S1yM7hjW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am 25.12.'03 schrieb Michael Lestinsky: > On 24.12.'03 M. Warner Losh wrote: > > You may try setting hw.cbb.start_memory as well. > =20 > I did this and applied your patch as well. Both didn't change anything. > Do you want me to enable any debugging options? Oops, after fixing some typos in my /boot/loader.conf: | hw.pci.allow_unsupported_io_range=3D1 | hw.cbb.start_memory=3D0x88000000 | hw.cbb.debug=3D1 | hw.cardbus.debug=3D1 | hw.cardbus.cis_debug=3D1 Inserting the card for the first time (or booting with the card inserted): | [...] | cbb0: at device 3.0 on pci2 | start (88000000) < sc->membase (e0200000) | end (ffffffff) > sc->memlimit (e02fffff) | cbb0: PCI Memory allocated: 88000000 | 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) | cbb1: PCI Memory allocated: 88001000 | cardbus1: on cbb1 | pccard1: <16-bit PCCard bus> on cbb1 | pcib1: slot 3 INTB is routed to irq 10 | cbb1: [MPSAFE] | [...] | Status is 0x30000006 | Status is 0x30000820 | cbb1: card inserted: event=3D0x00000000, state=3D30000820 | cbb1: cbb_power: 3V | cbb1: cbb_power: 0V | cbb1: CardBus card activation failed After one unplug-replug-cycle: | Status is 0x30000820 | cbb1: card inserted: event=3D0x00000000, state=3D30000820 | cbb1: cbb_power: 3V | start (88000000) < sc->membase (e0200000) | end (ffffffff) > sc->memlimit (e02fffff) | TUPLE: LINKTARGET [3]: 43 49 53 | Manufacturer ID: 71021200 | TUPLE: Unknown(0x04) [6]: 03 01 00 00 00 00 | TUPLE: Unknown(0x05) [14]: 41 b1 39 b5 1e 2d 4e 56 30 ff ff 02 e9 00 | cardbus1: Opening BAR: type=3DMEM, bar=3D10, len=3D10000 | CIS reading done | start (88000000) < sc->membase (e0200000) | end (ffffffff) > sc->memlimit (e02fffff) | cardbus1: Non-prefetchable memory at 88010000-8801ffff | ath0: mem 0x88010000-0x8801ffff irq 10 at device 0.0 on ca= rdbus1 | 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 24M= bps 36Mbps 48Mbps 54Mbps | ath0: 802.11 address: 00:09:5b:89:f9:37 Is there anything useful I could do in order to help debugging the problem? Thanks so far, Michael --b5gNqxB1S1yM7hjW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE//GTTO0/CT/+fAyoRAmLgAJ99HoN1UQKoGzo0qKkQt+Qf1yelVACgkD2c dwoZsbi1tR50JoMKmrP0Ha0= =+WHH -----END PGP SIGNATURE----- --b5gNqxB1S1yM7hjW--